/* --------------------------------------------------------------------------
   1. General Styles
-------------------------------------------------------------------------- */


body {
   font-family: 'Roboto', sans-serif;
   margin: 0;
   line-height: 1.6;
   background-color: #ece4e4;
   color: #4d2a2a;
}

.container {
   max-width: 1200px;
   margin: 0 auto;
   padding: 0 20px;
}

/* --------------------------------------------------------------------------
  2. Header Styles
-------------------------------------------------------------------------- */

header {
   background-color: #ffffff;
   color: #b90c0c;
   padding: 1em 0;
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   z-index: 100;
   box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header .container {
   display: flex;
   justify-content: space-between;
   align-items: center;
}
header .logo {
   display: flex;
   align-items: center;
   gap: 10px;
}

.logo-default {
   height: 50px;
   width: auto;
   object-fit: contain;
   display: block;

}

header .logo h1 {
   margin: 0;
   font-size: 24px;
   color: #b90c0c;
}
.logo h1 {
   margin: 0;
   font-size: 24px;
   color: #b90c0c;
}

nav ul {
   list-style: none;
   padding: 0;
   margin: 0;
   display: flex;
}

nav ul li {
   margin-left: 25px;
   /* Increased spacing */
}

nav ul li a {
   color: #777;
   text-decoration: none;
   padding: 0.5em 1em;
   display: block;
   font-size: 16px;
   /* Increased font-size */
}

nav ul li a:hover {
   color: #94b3d4;
   /* Changed hover color */
   background-color: #f5a75e;
   /* Light background on hover */
   border-radius: 5px;
   /* Add slight rounding */
}

.dropdown {
   position: relative;
}

.dropdown-content {
   display: none;
   position: absolute;
   background-color: #fff;
   min-width: 250px;
   /* Increased width of dropdown */
   box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
   z-index: 1;
   top: 100%;
   left: 0;
   border: 1px solid #ddd;
   border-radius: 5px;
}

.dropdown:hover .dropdown-content {
   display: block;
}

.dropdown-content li a {
   color: #333;
   padding: 12px 16px;
   text-decoration: none;
   display: block;
   font-size: 14px;
}

.dropdown-content li a:hover {
   background-color: #f0f0f0;
   color: #007bff;
}

.dropdown-content li {
   border-bottom: 1px solid #eee;
}

.dropdown-content li:last-child {
   border-bottom: none;
}

nav ul li a {
   color: #764343;
   /* Slightly darker nav color */
   text-decoration: none;
   padding: 0.5em 1em;
   display: block;
   font-size: 15px;
}

nav ul li a:hover {
   color: #007bff;
   /* Keep hover color */
   background-color: #f8f9fa;
   /* Light background on hover */
   border-radius: 5px;
   /* Add slight rounding */
}
/* ... (Your existing CSS) ... */

/* --- Testimonials Section Styles --- */
.testimonials-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
   gap: 30px;
   margin-top: 20px;
}

.testimonial-item {
   background-color: #fff;
   padding: 20px;
   border-radius: 10px;
   box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-header {
   display: flex;
   align-items: center;
   margin-bottom: 15px;
}

.testimonial-avatar {
   width: 50px;
   height: 50px;
   border-radius: 50%;
   margin-right: 15px;
   display: flex;
   align-items: center;
   justify-content: center;
   color: #fff;
   font-weight: bold;
}

.testimonial-avatar.avatar-1 {
   background-color: #e67e22;
}

.testimonial-avatar.avatar-2 {
   background-color: #3498db;
}

.testimonial-avatar.avatar-3 {
   background-color: #9b59b6;
}

.testimonial-avatar.avatar-4 {
   background-color: #2ecc71;
}

.testimonial-avatar.avatar-5 {
   background-color: #f39c12;
}

.testimonial-avatar.avatar-6 {
   background-color: #1abc9c;
}
.testimonial-info h3 {
   font-size: 1.2em;
   margin: 0 0 5px;
   color: #333;
}

.testimonial-rating {
   color: #f39c12;
   font-size: 0.9em;
}

.testimonial-source {
   margin-left: auto;
}

.testimonial-source img {
   height: 20px;
}

.testimonial-content p {
   font-size: 0.95em;
   color: #555;
   line-height: 1.6;
}

.testimonial-date {
   font-size: 0.8em;
   color: #888;
   margin-top: 10px;
}

/* --------------------------------------------------------------------------
  3. Main Content Styles
-------------------------------------------------------------------------- */

main {
   padding-top: 0px;
   /* Increased padding-top to account for larger header */
}

/* 3.1 Hero Section */
.hero {
   background-image: url('bg\ img.jpg');
   background-size: cover;
   background-position: center;
   background-repeat: no-repeat;
     height: 70vh;
   color: #fff;
   padding: 152px 0;
   /* Increased padding */
   text-align: center;
   position: relative;
}

.hero::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-color: rgba(0, 0, 0, 0.5);
   /* Slightly darker overlay */
   z-index: 1;
}

.hero-content {
   max-width: 900px;
   /* Increased max-width */
   margin: 0 auto;
   position: relative;
   z-index: 2;
   padding: 20px;
   /* Increased padding */
   border-radius: 10px;
   /* More rounded corners */
   color: #fff;
}

.hero .tagline {
   color: #eee;
   /* Lighter tagline */
   font-size: 1.3em;
   /* Increased font size */
   margin-bottom: 15px;
}

.hero h1 {
   color: #fff;
   font-size: 4em;
   /* Increased font size */
   margin-bottom: 25px;
   letter-spacing: -0.02em;
}

.hero .hero-subtext {
   color: #ddd;
   /* Lighter subtext */
   font-size: 1.2em;
   /* Increased font size */
   margin-bottom: 40px;
}

.hero .button {
   background-color: #f5a75e;
   color: #000000;
   border-radius: 8px;
   /* More rounded corners */
   padding: 15px 30px;
   /* Increased padding */
   text-decoration: none;
   font-weight: 500;
   /* Medium font weight */
   display: inline-block;
   margin: 0 15px;
   font-size: 1.1em;
}

.hero .button:hover {
   background-color: #f39131;
}

.hero-image {
   margin-top: 20px;
}



/* 3.2 About Section */
/* --- About Section Styles --- */
.about {
   padding: 35px 0;
   background-color: #fff;
   text-align: center;
}

.about .container {
   max-width: 1000px;
}

.about h2 {
   font-size: 3em;
   margin-bottom: 30px;
   color: #2c3e50;
}

.about-content {
   display: flex;
   flex-wrap: wrap;
   align-items: center;
   justify-content: center;
   gap: 30px;
   text-align: left;
}

.about-content .profile-image {
   flex: 1;
   max-width: 300px;
   border-radius: 10px;
   box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
   margin-bottom: 20px;
}

.about-content .profile-image img {
   width: 100%;
   height: auto;
   display: block;
   border-radius: 10px;
   object-fit: cover; /* Added to ensure image covers the area */
}

.about-content .profile-text {
   flex: 2;
   padding-left: 20px;
}

.about-content .profile-text p {
   font-size: 1.1em;
   line-height: 1.8;
   color: #555;
}

/* --- About Stats Styles --- */
.about-stats {
   display: flex;
   justify-content: space-around; /* Distribute items evenly */
   align-items: center;       /* Center items vertically */
   flex-wrap: wrap;          /* Allow wrapping on smaller screens */
   margin-top: 40px;          /* Add spacing between text and stats */
}

.about-stats .stat-item {
   text-align: center;
   margin: 20px;
   flex: 1;                 /* Distribute space equally */
   min-width: 150px;       /* Minimum width for each item */
}

.about-stats .stat-number {
   font-size: 48px;
   color: #b89f78;
   font-family: 'Times New Roman', serif;
}

.about-stats .stat-text {
   font-size: 18px;
   color: #2c3e50;
   font-family: 'Arial', sans-serif;
   text-transform: uppercase;   /* Ensure uppercase */
   letter-spacing: 1px;       /* Add letter spacing */
}
/* 3.3 Services Section */
.services {
   padding: 80px 0;
   /* Increased padding */
   background-color: #f9f9f9;
}

.services .container {
   max-width: 1000px;
   /* Increased max-width */
}

.services h2 {
   font-size: 3em;
   /* Increased font size */
   margin-bottom: 30px;
   text-align: center;
   color: #2c3e50;
}


.services-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
   gap: 30px;
   margin-top: 20px;
}

.service-item {
   background-color: #fff;
   padding: 30px;
   border-radius: 10px;
   box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
   transition: transform 0.3s ease;
}

.service-item:hover {
   transform: translateY(-10px);
}


.service-item h3 {
   font-size: 1.5em;
   margin-bottom: 15px;
   color: #2c3e50;
}

.service-item p {
   font-size: 1.1em;
   line-height: 1.7;
   color: #555;
}


/* 3.4 Testimonials Section */
.testimonials {
   padding: 80px 0;
   /* Increased padding */
   background-color: #fff;
   text-align: center;
}

.testimonials .container {
   max-width: 1000px;
   /* Increased max-width */
}

.testimonials h2 {
   font-size: 3em;
   /* Increased font size */
   margin-bottom: 30px;
   color: #2c3e50;
}

/* ... your existing CSS ... */

.why-choose-us {
   padding: 80px 0;
   background-color: #d3d5d4;
   text-align: center;
}

.why-choose-us h2 {
   font-size: 2.75em;
   margin-bottom: 20px;
   color: #2c3e50;
   position: relative;
   padding-bottom: 20px;
}

.why-choose-us h2::after {
   content: "";
   position: absolute;
   left: 50%;
   bottom: 0;
   transform: translateX(-50%);
   height: 4px;
   width: 70px;
   background-color: #f5a75e;
}

.why-choose-us-intro {
   max-width: 800px;
   margin: 0 auto 40px;
   font-size: 1.15em;
   color: #555;
   line-height: 1.7;
}

.why-choose-us-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
   gap: 40px;
   margin-top: 40px;
}

.why-choose-us-item {
   padding: 30px;
   background-color: #fff;
   border-radius: 12px;
   box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
   transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-choose-us-item:hover {
   transform: translateY(-5px);
   box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.why-choose-us-icon {
   background-color: #f5a75e;
   color: #fff;
   width: 60px;
   height: 60px;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   margin: 0 auto 20px;
   font-size: 24px;
}

.why-choose-us-item h3 {
   font-size: 1.4em;
   color: #333;
   margin-bottom: 15px;
}

.why-choose-us-item p {
   font-size: 1em;
   color: #666;
   line-height: 1.6;
   text-align: center;
}

.why-choose-us-bottom-cta {
   margin-top: 10px;
   padding-top: 10px;
   border-top: 1px solid #ddd;
}

.why-choose-us-bottom-cta p {
   font-size: 1.1em;
   color: #555;
   margin-bottom: 20px;
}

.why-choose-us-bottom-cta .button {
   background-color: #2c3e50;
   color: #fff;
   border-radius: 8px;
   padding: 15px 30px;
   text-decoration: none;
   font-weight: 500;
   display: inline-block;
   transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.why-choose-us-bottom-cta .button:hover {
   background-color: #34495e;
   box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ... your existing CSS ... */
/* 3.5 Contact Section */
.contact {
   padding: 80px 0;
   margin-top: 10px;
   /* Increased padding */
   background-color: #f9f9f9;
   text-align: center;
}

.contact .container {
   max-width: 1000px;
   /* Increased max-width */
}

.contact h2 {
   font-size: 3em;
   /* Increased font size */
   margin-bottom: 30px;
   color: #2c3e50;
}

.contact-details {
   background-color: #fff;
   padding: 60px;
   border-radius: 10px;
   box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
   margin-top: 10px;
   text-align: left;

}


.contact-details p {
   font-size: 1.1em;
   line-height: 1.8;
   color: #555;
   margin-bottom: 15px;
}

.contact-details a {
   color: #007bff;
   text-decoration: none;
}

.contact-details a:hover {
   text-decoration: underline;
}
/* 3.5 Appointment Section */
.appointment {
   padding: 80px 0; /* Increased padding */
   background-color: #c5b2aa; /* Light brownish-pink background from image */
   text-align: center;
}

.appointment .container {
   max-width: 1000px;
}

.appointment h2 {
   font-size: 3em;
   margin-bottom: 30px;
   color: #2c3e50; /* Dark blue-gray heading */
}

.appointment p {
   font-size: 1.1em;
   line-height: 1.8;
   color: #4d2a2a; /* Dark reddish-brown text for better contrast */
   margin-bottom: 20px;
}

.appointment .button {
   background-color: #f5a75e; /* Orange button */
   color: #000000; /* Black text on button */
   border-radius: 8px;
   padding: 15px 30px;
   text-decoration: none;
   font-weight: 500;
   display: inline-block;
   transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.appointment .button:hover {
   background-color: #f39131;
   box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* --------------------------------------------------------------------------
  4. Footer Styles
-------------------------------------------------------------------------- */
.site-footer-v2 {
   background-color: #2c3e50; /* Darker background */
   color: #fff;
   padding: 60px 0;
   font-size: 0.9em;
}

.site-footer-v2 .container {
   max-width: 1200px;
   margin: 0 auto;
   padding: 0 20px;
}

.footer-columns {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
   gap: 40px;
   margin-bottom: 40px;
}

.footer-column h3 {
   font-size: 1.2em;
   color: #f5a75e; /* Accent color for headings */
   margin-bottom: 20px;
   border-bottom: 2px solid #f5a75e;
   padding-bottom: 10px;
}

.footer-column p {
   line-height: 1.7;
   margin-bottom: 20px;
   color: #ddd;
}

.footer-column ul {
   list-style: none;
   padding: 0;
   margin: 0;
}

.footer-column ul li {
   padding: 8px 0;
}

.footer-column ul li a {
   color: #ddd;
   text-decoration: none;
   transition: color 0.3s ease;
}

.footer-column ul li a:hover {
   color: #f5a75e;
}

.footer-social a {
   display: inline-block;
   background-color: #444;
   color: #fff;
   width: 35px;
   height: 35px;
   border-radius: 50%;
   text-align: center;
   line-height: 35px;
   margin-right: 10px;
   font-size: 16px;
   transition: background-color 0.3s ease;
}

.footer-social a:hover {
   background-color: #f5a75e;
}

.keep-in-touch .contact-info {
   display: flex;
   align-items: flex-start;
   margin-bottom: 15px;
}

.keep-in-touch .contact-info i {
   font-size: 1.1em;
   color: #f5a75e;
   margin-right: 10px;
   width: 20px;
   text-align: center;
}

.keep-in-touch .contact-info p {
   margin: 0;
   color: #ddd;
}

.keep-in-touch .contact-info a {
   color: #ddd;
   text-decoration: none;
   transition: color 0.3s ease;
}

.keep-in-touch .contact-info a:hover {
   color: #f5a75e;
}

.footer-bottom {
   display: flex;
   justify-content: center; /* Center items horizontally */
   align-items: center;
   padding-top: 20px;
   border-top: 1px solid #444;
   margin-top: 40px;
   flex-direction: column; /* Stack items vertically on smaller screens if needed */
   gap: 10px; /* Add some space between the text and button */
   text-align: center; /* Center text within its container */
}

.footer-bottom p {
   margin: 0;
   color: #aaa;
   font-size: 0.85em;
}

/* In your style.css file */

/* Locate the .footer-bottom .back-to-top rule */
.footer-bottom .back-to-top {
    background-color: #444; /* Background color of the circle */
    color: #fff; /* Color of the arrow icon */
    width: 30px; /* Width of the circle */
    height: 30px; /* Height of the circle */
    border-radius: 50%; /* Makes it a perfect circle */
    font-size: 16px; /* Size of the arrow icon */
    text-decoration: none;
    transition: background-color 0.3s ease; /* Smooth transition on hover */

    /* IMPORTANT: Use these for perfect centering */
    display: flex; /* Make the button a flex container */
    align-items: center; /* Vertically centers the arrow within the button */
    justify-content: center; /* Horizontally centers the arrow within the button */

    /* Remove or comment out these lines if they were present, as they can conflict with flexbox */
    /* text-align: center; */
    /* line-height: 30px; */
}

/* Ensure the hover effect is defined */
.footer-bottom .back-to-top:hover {
    background-color: #f5a75e; /* Hover background color */
}
/* ... Your existing CSS ... */

/* New styles for the testimonials section */
.testimonials {
    padding: 60px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.testimonials h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #333;
}

.testimonial-carousel {
    width: 90%;
    margin: 0 auto;
}

.testimonial-slide {
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin: 10px;
    text-align: left;
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ddd;
    color: #555;
    font-size: 1.2em;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.testimonial-info h3 {
    font-size: 1.1em;
    margin-bottom: 5px;
    color: #222;
}

.testimonial-rating {
    color: #ffc107;
    font-size: 0.9em;
}

.testimonial-content p {
    line-height: 1.6;
    color: #555;
}

.slick-dots {
    margin-top: 30px;
    display: flex !important;
    justify-content: center;
    list-style: none;
    padding: 0;
}

.slick-dots li {
    margin: 0 10px;
}

.slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 15px;
    height: 15px;
    padding: 5px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: #ccc;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.slick-dots li.slick-active button {
    background-color: #b90c0c; /* Primary color */
}


/* Add this to your style.css, preferably near the header styles */
.mobile-nav-toggle {
    display: none; /* Hidden by default */
    font-size: 2em;
    cursor: pointer;
    color: #b90c0c; /* Match logo color */
    z-index: 101; /* Ensure it's above the nav overlay */
    background: none;
    border: none;
    padding: 0;
}

.mobile-nav-toggle:focus {
    outline: none;
}

 /* Responsive Design Adjustments */

 /* For smaller tablets (max-width: 768px) */
 @media (max-width: 768px) {
    .container {
        padding: 0 15px; /* Reduce padding */
    }

    header .container {
        flex-direction: row; /* Keep logo and toggle in a row */
        justify-content: space-between; /* Space between logo and toggle */
        align-items: center;
    }

    .mobile-nav-toggle {
        display: block; /* Show hamburger on small screens */
    }

    nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 70%; /* Adjust as needed */
        background-color: #fff;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateX(100%); /* Start off-screen */
        transition: transform 0.3s ease-out;
        z-index: 99; /* Below toggle but above content */
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    }

    nav[data-visible="true"] {
        transform: translateX(0%); /* Slide in */
    }

    nav ul {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }

    nav ul li {
        margin: 15px 0; /* Add vertical spacing */
    }

    nav ul li a {
        font-size: 1.2em; /* Increase font size for mobile links */
        padding: 10px 0;
        width: 100%;
        display: block;
    }

    .hero {
        padding: 100px 0; /* Adjust hero padding */
        text-align: center;
    }

    .hero h1 {
        font-size: 3em; /* Adjust hero heading size */
    }

    .hero .tagline {
        font-size: 1.2em; /* Adjust tagline size */
    }

    .about-content {
        flex-direction: column; /* Stack about content */
        text-align: center;
    }

    .about-content .profile-image {
        max-width: 80%;
        margin-bottom: 20px;
    }

    .about-content .profile-text {
        padding-left: 0;
    }

    .about-stats {
        flex-direction: column; /* Stack stats */
        align-items: center;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Adjust service grid */
    }

    .testimonials-grid {
        grid-template-columns: 1fr; /* Stack testimonials */
    }

    .testimonial-item {
        margin-bottom: 20px;
    }

    .contact-details {
        text-align: center;
    }

    .footer-columns {
        flex-direction: column; /* Stack footer columns */
        text-align: center;
        margin-bottom: 20px;
    }
.footer-column.keep-in-touch .map-container {
    margin-bottom: 15px; /* Add some space below the map */
}
    .footer-column ul {
        padding-left: 0;
    }
 }

 /* For mobile devices (max-width: 480px) */
 @media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5em; /* Further adjust hero heading */
    }

    .hero .tagline {
        font-size: 1.1em; /* Further adjust tagline */
    }

    .about-stats .stat-number {
        font-size: 36px; /* Adjust stat numbers */
    }

    .about-stats .stat-text {
        font-size: 16px; /* Adjust stat text */
    }

    .services-grid {
        grid-template-columns: 1fr; /* Stack services further */
    }

    .testimonial-header {
        flex-direction: column; /* Stack testimonial header info */
        align-items: flex-start;
    }

    .testimonial-info {
        margin-left: 0;
        margin-top: 10px;
    }
 }