:root {
    --primary-text-color: #383A8F;
    --secondary-text-color: #BF923E;
    --background-color: #ffffff;
    --light-gray-background: #f8f9fa;
}

body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: var(--background-color);
    color: var(--primary-text-color);
}

h1, h2, h3, h4 {
    color: var(--primary-text-color);
}

a {
    color: var(--secondary-text-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Navbar */
.navbar {
    display: flex;
    align-items: center;
    background-color: var(--primary-text-color);
    padding: 10px 40px;
    position: sticky; /* Keep it at the top */
    top: 0;
    z-index: 1000; /* Ensure it's above other content */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, opacity 0.3s ease; /* Added for fade/slide */
}

/* Hidden state when scrolling down */
.navbar.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.nav-logo {
    /* margin-right: auto; */ /* Push links to the right - Alternative below */
}

.nav-logo img {
    max-height: 60px; /* Adjust size as needed */
}

.nav-links {
    margin-left: auto; /* Push links to the right */
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    margin-right: 25px;
    font-size: 1.3em;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a:focus {
    color: var(--secondary-text-color);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #ffffff;
    transition: all 0.3s ease-in-out;
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--secondary-text-color); /* White text on image */
    /* background-color: var(--primary-color); /* REMOVED */
    /* You'll need to replace 'hero-image.jpg' */
    /* background: url('hero-image.jpg') no-repeat center center/cover; */ /* Using <img> tag instead */
}

/* Add overlay for better text contrast */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* Adjust opacity (0.3) as needed */
    z-index: 1; /* Place overlay between image and content */
}

.hero-content {
    position: relative;
    z-index: 2; /* Ensure content is above the image */
    max-width: 800px;
    padding: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Add shadow for readability - Applied to container for both elements */
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
    color: #ffffff; /* White text for headline on hero image */
}

.hero .cta-button {
    padding: 12px 25px;
    background-color: var(--secondary-text-color);
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); /* Add slight shadow */
}

.hero .cta-button:hover {
    background-color: var(--primary-text-color);
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the area */
    z-index: 0; /* Behind the overlay */
    /* opacity: 1; */ /* Make image fully visible - Opacity handled by overlay now */
}

/* Common Section Styling */
section {
    padding: 60px 20px;
    /* text-align: center; */ /* Now handled individually */
}

section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-align: center; /* Center section headings */
}

section p, section h3 {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    text-align: center; /* Center general paragraphs/h3 */
}

/* About Section */
.about-section {
    background-color: var(--light-gray-background);
}

.about-content {
    display: flex;
    flex-wrap: wrap-reverse; /* Image wraps below text on small screens */
    align-items: stretch; /* Make items stretch to fill height */
    justify-content: left;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto; /* Removed top margin, handled by section padding */
}

.about-text {
    flex: 1;
    min-width: 300px;
    /* text-align: left; */ /* Align text left - REVERTED */
    text-align: left; /* Align text left */
    color: var(--primary-text-color);
}

.about-text h2 {
    /* text-align: left; */ /* Align heading left - REVERTED */
    text-align: left; /* Align heading left */
    color: var(--primary-text-color);
}

.about-text p {
    max-width: none; /* Override general rule */
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
    line-height: 1.7;
    /* text-align is inherited from .about-text, which is left */
    text-align: left; /* Explicitly set left alignment */
    font-size: 1.1em; /* Increase font size */
}

.about-image {
    flex: 1;
    min-width: 250px;
    max-width: 450px;
    text-align: center; /* Center image within its container */
    display: flex; /* Allow image to stretch */
    align-items: center; /* Vertically center if needed */
}

.about-image img {
    width: 100%;
    max-width: 800px; /* Control image size */
    height: 100%; /* Stretch to fill container */
    object-fit: cover; /* Cover container while maintaining aspect ratio */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services-section {
    /* background-color: var(--background-color); */ /* REMOVED - Use body background */
}

.services-section h2 {
    color: var(--primary-text-color);
}
/* Service item H4 is handled below */

.services-section h3 {
    color: var(--primary-text-color);
    text-align: center; /* Re-apply center alignment if needed */
}

.services-section .service-item p {
    color: var(--primary-text-color);
    text-align: left; /* Keep service descriptions left-aligned */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 40px auto 0;
    text-align: left;
}

.service-item {
    background-color: var(--light-gray-background);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.service-item h4 {
    color: var(--secondary-text-color);
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 15px;
}

.service-item p {
    font-size: 1em;
    margin-bottom: 0; /* Remove bottom margin if it's the last element */
    line-height: 1.6;
}

/* Testimonial Section */
.testimonial-section {
    background-color: var(--primary-text-color);
    color: #ffffff;
    padding: 50px 20px;
    text-align: center;
}

.testimonial-section blockquote {
    font-size: 1.5em;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.4;
    position: relative;
    padding-left: 20px;
    border-left: 4px solid var(--secondary-text-color);
}

.testimonial-section cite {
    font-size: 1.1em;
    font-weight: bold;
    color: var(--secondary-text-color);
}

/* Why Choose Us Section */
.why-choose-us-section {
    background-color: var(--light-gray-background); /* Light grey for contrast */
}

.why-choose-us-section h2 {
    color: var(--primary-text-color);
}

.why-choose-us-content {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    align-items: center;
    justify-content: center;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
}

.why-choose-us-image {
    flex: 1;
    min-width: 250px; /* Minimum width before wrapping */
    max-width: 450px; /* Control max image size */
}

.why-choose-us-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.why-choose-us-list {
    flex: 1;
    min-width: 300px; /* Minimum width */
    text-align: left;
}

.why-choose-us-list ul {
    list-style: none;
    padding: 0;
}

.why-choose-us-list li {
    font-size: 1.1em;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    line-height: 1.5;
}

.why-choose-us-list li::before {
    content: '✔'; /* Checkmark symbol */
    position: absolute;
    left: 0;
    color: var(--secondary-text-color); /* Golden checkmark */
    font-size: 1.2em;
}

.why-choose-us-list strong {
    color: var(--primary-text-color);
}

/* FAQ Section */
.faq-section {
    /* background-color: var(--background-color); */ /* Use body background */
}

.faq-section h2 {
    color: var(--primary-text-color);
}

.faq-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    background-color: var(--light-gray-background);
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.faq-item h4 {
    color: var(--secondary-text-color);
    padding: 15px 20px;
    margin: 0;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.faq-item p {
    padding: 15px 20px;
    margin: 0;
    max-width: none;
    text-align: left;
}

/* Footer */
.footer {
    background-color: var(--primary-text-color);
    color: #ffffff;
    padding: 60px 20px 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.footer-slogan,
.footer-form,
.footer-contact {
    flex: 1;
    padding: 0;
    min-width: 250px;
}

.footer-slogan h4 {
    color: #ffffff;
}

.footer-form h4 {
    color: var(--secondary-text-color);
}

.footer-form form input,
.footer-form form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #ffffff;
    color: #000;
}

.footer-form form button {
    background-color: var(--secondary-text-color);
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.footer-form form button:hover {
    background-color: #a57c34;
}

.footer-contact p {
    margin: 0 0 10px;
}

.footer-contact strong {
    color: var(--secondary-text-color);
}

.footer-contact a {
    color: #ffffff;
}

.footer-contact a:hover {
    color: var(--secondary-text-color);
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 40px;
    border-top: 1px solid #444;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9em;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .navbar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 15px;
    }

    .nav-logo img {
        max-height: 50px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px; /* Adjust based on navbar height */
        left: 0;
        width: 100%;
        background-color: var(--primary-text-color);
        flex-direction: column;
        text-align: center;
        margin-left: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        display: block;
        margin: 0;
        padding: 15px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-logo {
        margin-bottom: 0;
    }

    .hero h1 {
        font-size: 2.5em;
    }

    section h2 {
        font-size: 2em;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-slogan,
    .footer-form,
    .footer-contact {
        padding: 10px 0;
        margin-bottom: 20px;
        width: 100%; /* Ensure full width on mobile */
    }

    .why-choose-us-content {
        flex-direction: column;
    }

    .why-choose-us-image,
    .why-choose-us-list {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .why-choose-us-list {
        text-align: center;
    }

    .faq-content {
        padding: 0 10px;
    }

    .about-content {
        flex-direction: column-reverse;
        gap: 30px;
    }

    .about-text {
        text-align: center;
    }
    
    .about-text h2, .about-text p {
        text-align: center;
    }

    .about-image {
        max-width: 100%;
    }

    .why-choose-us-section h2 {
        font-size: 2em;
    }
    
    .why-choose-us-content {
        gap: 30px;
        padding: 0 10px;
    }
}

@media (max-width: 1140px) { /* Adjust breakpoint slightly larger than max-width */
     .why-choose-us-section h2 {
          text-align: center; /* Center on smaller screens */
     }
} 

/* Team Section */
.team-section {
    padding: 60px 20px;
    background: #f9f9f9;
    text-align: center;
}
.team-section h2 {
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: var(--primary-text-color);
}
.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}
@media (min-width: 769px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .team-photo {
        width: 320px;
        height: 320px;
    }
}
.team-member {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 32px 16px 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.3s cubic-bezier(.4,2,.6,1), transform 0.3s cubic-bezier(.4,2,.6,1);
    margin-bottom: 24px;
}
.team-member:hover {
    box-shadow: 0 8px 32px rgba(67,79,158,0.18), 0 2px 8px rgba(0,0,0,0.10);
    transform: translateY(-8px) scale(1.04);
}
.team-member:hover .team-photo img {
    transform: scale(1.08);
    box-shadow: 0 4px 24px rgba(67,79,158,0.18);
    border: 2px solid var(--secondary-text-color);
}
/* Team member photo frame and image */
.team-photo {
    width: 320px;
    height: 320px;
    background: #e0e0e0; /* fallback if no image */
    border-radius: 0;
    margin-bottom: 18px;
    overflow: hidden;
    display: block;
    box-sizing: border-box;
    position: relative;
}
.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.3s cubic-bezier(.4,2,.6,1), box-shadow 0.3s;
    image-rendering: auto;
}
.team-member h4 {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
    color: var(--primary-text-color);
}
.team-member p {
    margin: 0;
    color: #555;
    font-size: 1rem;
} 