/* --- CSS Variables --- */
:root {
    --primary-color: #007bff; /* A vibrant, medical-appropriate blue for health and trust */
    --secondary-color: #6c757d; /* Muted grey for secondary text and borders */
    --accent-color: #28a745; /* A subtle, fresh green for success, highlights, and growth */
    --dark-color: #212529; /* Dark text/background */
    --light-color: #f8f9fa; /* Light background for sections */
    --white-color: #ffffff;

    --font-heading: 'Playfair Display', serif; /* Elegant and sophisticated for titles */
    --font-body: 'Montserrat', sans-serif; /* Modern, clean, and highly readable for body text */

    --max-width: 1200px; /* Maximum width for content container */
    --spacing-sm: 1rem; /* Small spacing */
    --spacing-md: 2rem; /* Medium spacing */
    --spacing-lg: 4rem; /* Large spacing for section padding */

    --header-height: 80px; /* Fixed header height */

    /* Shadows for depth and elegance */
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

/* --- Base Styles & Reset --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth; /* Smooth scrolling for anchor links */
    font-size: 16px; /* Base font size */
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white-color);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden; /* Prevent horizontal scroll issues from animations */
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--dark-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Prevent body scroll when mobile nav is open */
body.no-scroll {
    overflow: hidden;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
    color: var(--dark-color);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2.2rem; }
h4 { font-size: 1.8rem; }
h5 { font-size: 1.5rem; }
h6 { font-size: 1.2rem; }

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--white-color);
}

.section-title {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 0.5rem; /* Space for the underline effect */
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 80px; /* Width of the underline */
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 2px;
}

.section-title.text-white::after {
    background: linear-gradient(90deg, var(--white-color) 0%, var(--accent-color) 100%);
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-lg);
}

.section-subtitle.text-white {
    color: var(--white-color);
}

/* --- Utility Classes --- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section-spacing {
    padding: var(--spacing-lg) 0;
}

.bg-light {
    background-color: var(--light-color);
}

.bg-dark {
    background-color: var(--dark-color);
}

.bg-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%); /* A darker blue gradient for depth */
    color: var(--white-color);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px; /* Pill-shaped buttons */
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease; /* Smooth transitions for hover effects */
    box-shadow: var(--shadow-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary-color) 0%, #0056b3 100%);
    color: var(--white-color);
}

.btn-primary:hover {
    background: linear-gradient(90deg, #0056b3 0%, var(--primary-color) 100%); /* Reverse gradient on hover */
    box-shadow: var(--shadow-md);
    transform: translateY(-2px); /* Slight lift effect */
}

.btn-secondary {
    background-color: var(--accent-color);
    color: var(--white-color);
}

.btn-secondary:hover {
    background-color: #218838; /* Slightly darker green */
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn-tertiary {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

.btn-tertiary:hover {
    background-color: #5a6268;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}


/* --- Header & Navigation --- */
.header {
    background-color: var(--white-color);
    padding: var(--spacing-md) 0;
    box-shadow: var(--shadow-sm);
    position: sticky; /* Sticky header */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 0;
}

.logo:hover {
    color: var(--dark-color);
}

.nav-menu ul {
    display: flex;
}

.nav-menu li {
    margin-left: var(--spacing-md);
}

.nav-menu a {
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
    left: 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001; /* Above nav menu */
}

.nav-toggle .bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--dark-color);
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* Toggle animation for hamburger icon */
.nav-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 1;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}


/* --- Hero Section --- */
.hero {
    position: relative;
    height: 70vh; /* Responsive height */
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white-color);
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/image_5.png') center/cover no-repeat;
    background-attachment: fixed; /* Parallax effect */
    overflow: hidden; /* To contain pseudo-elements */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Radial gradient overlay for subtle light effect */
    background: radial-gradient(circle at center, rgba(0, 123, 255, 0.4) 0%, rgba(0, 123, 255, 0.1) 50%, transparent 100%);
    opacity: 1;.8;
    pointer-events: none; /* Allow interaction with elements behind it */
}

.hero-content {
    max-width: 800px;
    z-index: 2; /* Ensure content is above overlays */
    padding: var(--spacing-md);
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--white-color);
    margin-bottom: 1rem;
    text-shadow: var(--shadow-md); /* Text shadow for readability */
}

.hero p {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: var(--spacing-lg);
    color: rgba(255, 255, 255, 0.9);
    text-shadow: var(--shadow-sm);
}

.hero-actions .btn {
    margin: 0 1rem;
}

/* --- About Us Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns for content and image */
    gap: var(--spacing-lg);
    align-items: center;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease; /* Zoom effect on hover */
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.about-content p {
    font-size: 1.15rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid columns */
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.service-card {
    background-color: var(--white-color);
    border-radius: 15px;
    padding: var(--spacing-lg) var(--spacing-md);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(0, 123, 255, 0.1); /* Subtle border */
}

.service-card:hover {
    transform: translateY(-10px); /* Lift effect */
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color); /* Highlight border on hover */
}

.service-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg); /* Slight rotation/scale on icon */
    color: var(--accent-color);
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.service-card p {
    font-size: 1rem;
    color: var(--secondary-color);
    flex-grow: 1; /* Make text take up available space */
}

.card-link {
    font-weight: 600;
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
}

.card-link:hover {
    color: var(--accent-color);
}

.card-link i {
    margin-left: 0.5rem;
    font-size: 0.9em;
}

/* --- Why Choose Us Section --- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.why-item {
    background: var(--white-color);
    padding: var(--spacing-lg);
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 123, 255, 0.1);
}

.why-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.why-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.why-item:hover .why-icon {
    color: var(--accent-color);
}

.why-item h3 {
    font-size: 1.6rem;
    color: var(--dark-color);
    margin-bottom: 0.8rem;
}

.why-item p {
    font-size: 1rem;
    color: var(--secondary-color);
}

/* --- Refill Section --- */
.refill-section {
    position: relative;
    background: linear-gradient(45deg, var(--dark-color) 0%, #343a40 100%); /* Dark gradient background */
    padding: var(--spacing-lg) 0;
    color: var(--white-color);
    text-align: center;
}

.refill-content {
    max-width: 700px;
    margin: 0 auto;
}

.refill-section .section-title,
.refill-section .section-subtitle {
    color: var(--white-color);
}
.refill-section .section-title::after {
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--white-color) 100%);
}

.refill-form {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns for form fields */
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    padding: var(--spacing-lg);
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white background */
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    text-align: left;
}

.form-group.full-width {
    grid-column: 1 / -1; /* Make element span full width of the grid */
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white-color);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-group input[type="checkbox"] {
    margin-right: 0.8rem;
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color); /* Custom color for checkbox */
    cursor: pointer;
}

.btn-submit {
    margin-top: var(--spacing-md);
    width: auto;
    justify-self: center; /* Center button in the grid */
}

.form-message {
    text-align: center;
    margin-top: 1rem;
    font-weight: 500;
    font-size: 1.1rem;
    opacity: 1;
    transition: opacity 0.3s ease;
}
.form-message:not(:empty) {
    opacity: 1; /* Show message when content is present */
}

/* --- Testimonials Section --- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.testimonial-card {
    background-color: var(--white-color);
    padding: var(--spacing-lg);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 123, 255, 0.1);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.testimonial-card p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 3px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.testimonial-author span {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* --- FAQ Section --- */
.faq-accordion {
    max-width: 800px;
    margin: var(--spacing-lg) auto 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.faq-item {
    border-bottom: 1px solid var(--light-color);
    background-color: var(--white-color);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    background-color: var(--white-color);
    color: var(--dark-color);
    padding: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: left;
    border: none;
    cursor: pointer;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.faq-question::after {
    content: '\2b'; /* Plus sign unicode */
    font-family: "Font Awesome 6 Free"; /* Ensure FontAwesome is used */
    font-weight: 900; /* For solid icon */
    margin-left: 1rem;
    transition: transform 0.3s ease;
}

.faq-question.active {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.faq-question.active::after {
    content: '\2212'; /* Minus sign unicode */
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    background-color: var(--light-color);
    padding: 0 1.5rem; /* Initial padding, will expand */
    color: var(--secondary-color);
}

.faq-answer p {
    font-size: 1.05rem;
    margin-bottom: 1rem; /* Adjust if needed to control spacing within answer */
    padding-top: 0.5rem;
}


/* --- Contact Section --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Info on left, form on right */
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.contact-info {
    background-color: rgba(255, 255, 255, 0.1);
    padding: var(--spacing-lg);
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    color: var(--white-color);
}

.contact-info h3 {
    font-size: 2.2rem;
    color: var(--white-color);
    margin-bottom: 1.5rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-info p i {
    margin-right: 1rem;
    color: var(--accent-color);
    font-size: 1.3em;
}

.contact-info p a {
    color: inherit;
    transition: color 0.3s ease;
}

.contact-info p a:hover {
    color: var(--accent-color);
}

.contact-form-wrapper {
    background-color: rgba(255, 255, 255, 0.1);
    padding: var(--spacing-lg);
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.contact-form-wrapper h3 {
    font-size: 2.2rem;
    color: var(--white-color);
    margin-bottom: 1.5rem;
}

.contact-form .form-group label {
    color: rgba(255, 255, 255, 0.9);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--white-color);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* --- Footer --- */
.footer {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: var(--spacing-lg) 0 var(--spacing-md);
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.footer-logo {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--white-color); /* White logo for dark background */
    display: inline-block;
}
.footer-logo:hover {
    color: var(--primary-color);
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
}

.footer-contact p i {
    margin-right: 0.8rem;
    color: var(--accent-color);
    font-size: 1.1em;
}

.footer-contact p a {
    color: rgba(255, 255, 255, 0.8);
}
.footer-contact p a:hover {
    color: var(--primary-color);
}

.social-links {
    margin-top: 1.5rem;
    display: flex;
    gap: var(--spacing-md);
}

.social-links a {
    color: var(--white-color);
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-3px); /* Subtle lift for social icons */
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    h1 { font-size: 3.2rem; }
    h2 { font-size: 2.5rem; }
    .section-title { font-size: 2.8rem; }
    .section-subtitle { font-size: 1.1rem; }

    /* Mobile Navigation Specifics */
    .nav-menu {
        display: none; /* Hidden by default */
        flex-direction: column;
        position: fixed; /* Use fixed for full viewport overlay */
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height)); /* Full height below header */
        background-color: var(--white-color);
        box-shadow: var(--shadow-md);
        padding: var(--spacing-md) 0;
        border-top: 1px solid var(--light-color);
        transform: translateY(-100%); /* Start off-screen */
        transition: transform 0.4s ease-out;
        overflow-y: auto; /* Allow scrolling if menu content is long */
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
        transform: translateY(0); /* Slide in */
    }

    .nav-menu ul {
        flex-direction: column;
        width: 100%;
        padding: 0;
    }

    .nav-menu li {
        margin: 0;
        text-align: center;
    }

    .nav-menu a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid var(--light-color);
        width: 100%;
    }
    .nav-menu a::after {
        display: none; /* Hide hover underline on mobile */
    }

    .nav-toggle {
        display: flex; /* Show hamburger icon */
    }

    .hero {
        height: 60vh;
        min-height: 400px;
    }
    .hero h1 {
        font-size: 3rem;
    }
    .hero p {
        font-size: 1.2rem;
    }
    .hero-actions {
        display: flex;
        flex-direction: column; /* Stack buttons on mobile */
        gap: 1rem;
        margin-top: var(--spacing-md);
    }
    .hero-actions .btn {
        margin: 0;
    }

    .about-grid, .contact-grid {
        grid-template-columns: 1fr; /* Single column layout */
    }
    .about-image {
        order: -1; /* Image appears first */
        margin-bottom: var(--spacing-md);
    }

    .services-grid, .why-grid, .testimonial-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .refill-form {
        grid-template-columns: 1fr; /* Single column for all form fields */
        padding: var(--spacing-md);
    }
    .form-group.full-width, .btn-submit.full-width {
        grid-column: auto; /* Reset to auto for single column */
    }
    .btn-submit {
        width: 100%; /* Make button full width */
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col {
        margin-bottom: var(--spacing-md);
    }
    .footer-col h3 {
        margin-top: var(--spacing-md);
    }
    .footer-contact p, .social-links {
        justify-content: center; /* Center contact info and social links */
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .section-title { font-size: 2.2rem; }
    .section-subtitle { font-size: 1rem; }
    p { font-size: 1rem; }

    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1rem; margin-bottom: var(--spacing-md);}
    .hero .btn { padding: 0.8rem 2rem; font-size: 0.9rem;}

    .service-card, .why-item, .testimonial-card {
        padding: var(--spacing-md);
    }

    .faq-question {
        font-size: 1.1rem;
        padding: 1.2rem;
    }
    .faq-answer p {
        font-size: 0.95rem;
    }

    .contact-info h3, .contact-form-wrapper h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    h1 { font-size: 2rem; }
    .section-title { font-size: 1.8rem; }
    .section-subtitle { font-size: 0.9rem; }
    p { font-size: 0.95rem; }

    .hero {
        height: 50vh;
        min-height: 350px;
    }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 0.9rem; }
    .hero-actions .btn {
        width: 100%; /* Buttons full width */
    }

    .logo {
        font-size: 1.4rem;
    }
    .nav-toggle {
        height: 18px; /* Smaller hamburger icon */
    }
    .nav-toggle .bar {
        height: 2px;
    }
    .nav-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .nav-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }


    .about-content .btn {
        width: 100%;
        margin-top: var(--spacing-md);
    }

    .social-links {
        margin-top: 1rem;
        gap: var(--spacing-sm);
    }
    .social-links a {
        font-size: 1.3rem;
    }
}

/* --- Reveal Animation Styles --- */
.reveal {
    opacity: 1;
    transform: translateY(20px); /* Start slightly below its final position */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: var(--delay, 0s); /* Allow individual delay setting */
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0); /* Slide into final position */
}

/* Safe visibility overrides (auto-added) */
:root, html, body, main, header, footer, section, .container, .content {
  opacity: 1 !important;
  visibility: visible !important;
}
