/* General Body & Typography */
:root {
    --color-primary: #3498db; /* Bright Blue */
    --color-secondary: #2c3e50; /* Dark Blue/Grey */
    --color-accent: #e74c3c; /* Reddish Orange for highlights/buttons */
    --color-text-dark: #333;
    --color-text-light: #ecf0f1; /* Light Grey */
    --color-background-light: #f8f9fa; /* Off-white */
    --color-background-mid: #ecf0f1;
    --color-border: #ddd;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--color-text-dark);
    background-color: var(--color-background-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-secondary);
    margin-bottom: 15px;
}

h1 { font-size: 3.2em; }
h2 { font-size: 2.5em; }
h3 { font-size: 1.8em; }

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--color-primary);
}

a:hover {
    color: var(--color-accent);
}

.btn-primary {
    display: inline-block;
    background-color: var(--color-primary);
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    font-family: var(--font-heading);
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--color-accent);
    transform: translateY(-2px);
}

.section-title {
    text-align: center;
    font-size: 2.8em;
    margin-bottom: 15px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--color-primary);
    margin: 10px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.3em;
    color: #666;
    margin-bottom: 50px;
    font-family: var(--font-body);
}

/* Header */
.header-main {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    font-family: var(--font-heading);
    font-size: 2em;
    font-weight: 700;
    color: var(--color-secondary);
}

.navigation-menu .menu-list {
    list-style: none;
    display: flex;
}

.menu-item {
    margin-left: 30px;
}

.menu-link {
    color: var(--color-text-dark);
    font-weight: 600;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}

.menu-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 3px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.menu-link:hover::after {
    width: 100%;
}

.menu-link:hover {
    color: var(--color-primary);
}

.menu-toggle {
    display: none;
    font-size: 1.8em;
    cursor: pointer;
    color: var(--color-secondary);
}

/* Hero Section */
.section-hero {
    background: linear-gradient(to right, rgba(248, 249, 250, 0.95), rgba(248, 249, 250, 0.7)), url('images/hero-bg.png') no-repeat center center/cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px; /* Offset for fixed header */
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 400px;
}

.hero-headline {
    color: var(--color-secondary);
    font-size: 4em;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subheadline {
    font-size: 1.4em;
    color: #555;
    margin-bottom: 30px;
}

.hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 300px;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}


/* About Section */
.section-about {
    background-color: #fff;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.about-image-wrapper {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.about-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.about-content {
    flex: 1.5;
    min-width: 400px;
}

.about-content .section-title,
.about-content .section-subtitle {
    text-align: left;
    margin-left: 0;
}

.about-content .section-title::after {
    margin: 10px 0 0 0;
}


/* Services Section */
.section-services {
    background-color: var(--color-background-mid);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 3.5em;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: var(--color-secondary);
}

.service-description {
    color: #666;
    font-size: 0.95em;
}

/* Testimonials Section */
.section-testimonials {
    background-color: #fff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background-color: var(--color-background-light);
    border: 1px solid var(--color-border);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: box-shadow 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.testimonial-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid var(--color-primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
    color: var(--color-secondary);
}

/* FAQ Section */
.section-faq {
    background-color: var(--color-background-mid);
}

.faq-list {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    background-color: #fff;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.faq-question {
    font-size: 1.3em;
    padding: 20px 25px;
    margin: 0;
    color: var(--color-secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fcfcfc;
    border-bottom: 1px solid transparent; /* for transition */
    transition: background-color 0.3s ease;
}

.faq-question::after {
    content: '+';
    font-size: 1.5em;
    font-weight: normal;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    content: '-';
    transform: rotate(0deg);
}

.faq-item.active .faq-question {
    background-color: var(--color-background-light);
    border-bottom: 1px solid var(--color-border);
}


.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Adjust based on content */
    padding: 15px 25px 20px;
}

.faq-answer p {
    margin-bottom: 0;
    color: #555;
}

/* Contact Section */
.section-contact {
    background-color: #fff;
    text-align: center;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.contact-item {
    text-align: center;
    flex-basis: 250px;
}

.contact-icon {
    font-size: 2.5em;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.contact-text {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 5px;
}

.contact-text a {
    color: var(--color-text-dark);
    font-weight: 600;
}

.contact-text a:hover {
    color: var(--color-primary);
}

.social-links {
    margin-top: 30px;
}

.social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--color-secondary);
    color: #fff;
    font-size: 1.3em;
    margin: 0 10px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.social-icon:hover {
    background-color: var(--color-primary);
    transform: translateY(-3px);
}

/* Footer Section */
.section-footer {
    background-color: var(--color-secondary);
    color: var(--color-text-light);
    padding-top: 60px;
    font-size: 0.95em;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-brand .footer-logo {
    color: #fff;
    font-size: 2.2em;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-brand .footer-tagline {
    color: rgba(255,255,255,0.7);
    margin-bottom: 0;
}

.footer-heading {
    font-size: 1.4em;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
}

.footer-heading::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--color-primary);
    margin-top: 8px;
    border-radius: 1.5px;
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 10px;
}

.footer-link {
    color: rgba(255,255,255,0.7);
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--color-primary);
}

.footer-text {
    color: rgba(255,255,255,0.7);
    margin-bottom: 10px;
}

.footer-bottom {
    background-color: #222;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #333;
}

.copyright-text {
    color: rgba(255,255,255,0.6);
    font-size: 0.85em;
    margin: 0;
}


/* Responsive Design */
@media (max-width: 992px) {
    .hero-headline {
        font-size: 3em;
    }

    .hero-container,
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-image-wrapper,
    .about-image-wrapper {
        order: -1; /* Image above text on smaller screens */
    }

    .about-content .section-title,
    .about-content .section-subtitle {
        text-align: center;
    }
    .about-content .section-title::after {
        margin: 10px auto 0;
    }

    .contact-info {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .header-main {
        padding: 15px 20px;
    }

    .navigation-menu .menu-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px; /* Below header */
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 8px 15px rgba(0,0,0,0.1);
        border-top: 1px solid var(--color-border);
        padding: 20px 0;
    }

    .navigation-menu.active .menu-list {
        display: flex;
    }

    .menu-item {
        margin: 0;
        text-align: center;
        width: 100%;
    }

    .menu-link {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid var(--color-background-light);
    }
    .menu-link::after {
        display: none; /* Hide underline on mobile menu */
    }

    .menu-link:hover {
        background-color: var(--color-background-light);
    }

    .menu-toggle {
        display: block;
    }

    h1, .hero-headline { font-size: 2.8em; }
    h2, .section-title { font-size: 2.2em; }
    h3 { font-size: 1.5em; }

    .hero-content,
    .about-content {
        min-width: 100%;
        padding: 0 10px;
    }

    .section-padding {
        padding: 60px 0;
    }

    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-heading::after {
        margin: 8px auto 0;
    }
}

@media (max-width: 480px) {
    h1, .hero-headline { font-size: 2.2em; }
    h2, .section-title { font-size: 1.8em; }
    h3, .faq-question { font-size: 1.2em; }

    .hero-container,
    .about-container {
        padding: 0 10px;
    }

    .hero-subheadline {
        font-size: 1.2em;
    }
    
    .section-subtitle {
        font-size: 1.1em;
    }

    .btn-primary {
        padding: 10px 20px;
        font-size: 0.9em;
        width: 100%;
    }
    
    .service-card,
    .testimonial-card,
    .faq-item {
        padding: 20px;
    }
    
    .faq-question {
        padding: 15px 20px;
    }
}