/* --- UNIVERSAL STYLES & COLOR PALETTE --- */
:root {
    --dark-bg: #1a1a1a;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --dark-text: #343a40;
    --light-text: #6c757d;
    --brand-blue: #007bff;
    --header-height: 80px;
}

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

html, body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--light-bg);
    color: var(--dark-text);
    scroll-behavior: smooth;
}

/* --- HEADER & NAVIGATION (DESKTOP) --- */
.main-header {
    background-color: var(--dark-bg);
    padding: 0 2rem;
    position: fixed;
    width: 100%;
    height: var(--header-height);
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    color: var(--white);
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 700;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.8rem;
    margin-top: 0; /* Removed margin-top */
}

.main-nav ul li a {
    color: #e9ecef;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: var(--brand-blue);
    border-bottom-color: var(--brand-blue);
}

/* --- HAMBURGER & MOBILE NAVIGATION --- */
.mobile-nav-toggle {
    display: none;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.hamburger {
    display: block;
    position: relative;
    width: 24px;
    height: 3px;
    background: var(--white);
    transition: all 0.3s ease-in-out;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 24px;
    height: 3px;
    background: var(--white);
    transition: all 0.3s ease-in-out;
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

/* --- NAVIGATION DROPDOWN STYLES --- */

/* Style the dropdown container (the <li>) */
.main-nav .dropdown {
    position: relative; /* This is crucial for positioning the dropdown menu */
}

/* Style the little down arrow icon */
.main-nav .dropdown .fa-chevron-down {
    font-size: 0.7em;
    margin-left: 5px;
}

/* The dropdown menu itself - hidden by default */
.main-nav .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%; /* Position it right below the "About" link */
    left: 0;
    background-color: var(--dark-bg);
    list-style: none;
    padding: 10px 0;
    margin-top: 10px; /* A little space from the top link */
    border-radius: 5px;
    min-width: 200px; /* Give it some width */
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* Show the dropdown menu when hovering over the dropdown container */
.main-nav .dropdown:hover .dropdown-menu {
    display: block;
}

/* Styling for the links inside the dropdown */
.main-nav .dropdown-menu li a {
    color: #e9ecef;
    padding: 12px 20px;
    display: block;
    white-space: nowrap; /* Prevents text from wrapping */
    border-bottom: none; /* Remove the underline effect from the parent */
}

.main-nav .dropdown-menu li a:hover {
    background-color: var(--brand-blue);
    color: var(--white);
    border-bottom: none;
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        inset: 0;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-100%);
        transition: all 0.4s ease-in-out;
        display: flex; /* Ensure it's flex for centering */
    }
    .main-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    .main-nav ul li a {
        font-size: 1.5rem;
    }
    .mobile-nav-toggle {
        display: block;
        position: absolute; /* Keep it positioned */
        right: 1.5rem;
        top: 50%; /* Center vertically */
        transform: translateY(-50%); /* Center vertically */
    }
    /* Active states for mobile nav */
    .main-nav.nav-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
    .mobile-nav-toggle.is-active .hamburger {
        background: transparent;
    }
    .mobile-nav-toggle.is-active .hamburger::before {
        transform: rotate(45deg) translate(5px, 6px);
    }
    .mobile-nav-toggle.is-active .hamburger::after {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    .main-header {
        justify-content: space-between; /* Change from center to space-between */
    }
}

/* --- HERO SECTION --- */
.hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 0 1rem;
}
.hero-title { font-size: clamp(3rem, 10vw, 5rem); font-weight: 700; margin-bottom: 0.5rem; }
.hero-tagline { font-size: clamp(1.2rem, 4vw, 1.5rem); margin-bottom: 2rem; }
.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    max-width: 600px;
    margin: -1rem auto 2.5rem auto;
    color: #e9ecef;
    opacity: 0.9;
}
.hero-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--brand-blue);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
}
.hero-button:hover { background-color: #0056b3; }


/* --- REUSABLE COMPONENTS & GENERIC PAGE STYLES --- */
.section-title { font-size: clamp(2rem, 7vw, 2.5rem); margin-bottom: 3.5rem; color: var(--dark-text); text-align: center; }
.page-content {
  padding: calc(var(--header-height) + 2rem) 1.5rem 4rem 1.5rem;
}
.page-title-container { text-align: center; margin-bottom: 4rem; }
.page-title-container h1 { font-size: clamp(2.5rem, 8vw, 3rem); color: var(--dark-text); margin-bottom: 1rem; }
.page-title-container p { font-size: 1.2rem; color: var(--light-text); max-width: 700px; margin: 0 auto; }

/* --- PILLARS SECTION --- */
.pillars-section { padding: 5rem 1.5rem; background-color: var(--white); }
.pillars-container { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 2rem; }
.pillar {
    background-color: var(--light-bg);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    text-align: center;
    width: 100%;
    max-width: 350px;
    transition: transform 0.3s ease;
}
/* Add this to your CSS, maybe after the .pillar styles */
.pillar-link {
    text-decoration: none; /* Removes the underline from the link */
    color: inherit; /* Makes the text inside inherit its color, not the default blue */
    display: block; /* Ensures the link takes up the full space */
}
.pillar:hover { transform: translateY(-10px); }
.pillar-icon { margin-bottom: 1.5rem; color: var(--brand-blue); font-size: 2.5rem; }
.pillar-title { font-size: 1.5rem; color: var(--dark-text); margin-bottom: 1rem; }
.pillar-description { font-size: 1rem; color: var(--light-text); line-height: 1.6; }

/* --- PROJECTS SECTION (FLOATING CARDS) --- */
.projects-section {
    padding: 5rem 1.5rem;
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    align-items: stretch;
}
.project-card {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}
.project-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}
.project-image { width: 100%; height: 220px; object-fit: cover; }
.project-info { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.project-title { font-size: 1.4rem; color: var(--dark-text); margin: 0 0 0.75rem 0; }
.project-description { color: var(--light-text); font-size: 1rem; line-height: 1.6; flex-grow: 1; margin-bottom: 1.5rem; }
.project-tech-tags { margin-bottom: 1.5rem; }
.project-tech-tags span {
    background-color: #e9ecef;
    color: #495057;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-right: 5px;
    display: inline-block;
}
.project-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent;
    color: var(--brand-blue);
    border: 2px solid var(--brand-blue);
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    align-self: flex-start;
    transition: all 0.3s ease;
}
.project-button:hover { background-color: var(--brand-blue); color: var(--white); }
.disabled-link {
    color: #999;
    border-color: #ccc;
    pointer-events: none;
    cursor: default;
}
.disabled-link:hover { background-color: transparent; color: #999; }

/* --- ABOUT PAGE --- */
.about-hero { display: flex; align-items: center; gap: 3rem; flex-wrap: wrap; margin-bottom: 5rem; }
.about-hero-text { flex: 1; min-width: 300px; }
.about-hero-text h1 { font-size: clamp(2.5rem, 8vw, 3rem); color: var(--dark-text); }
.about-hero-text p { font-size: 1.2rem; color: var(--light-text); line-height: 1.6; }
.about-hero-image { flex: 1; min-width: 300px; }
.about-hero-image img { width: 100%; border-radius: 8px; }
.about-section {
    max-width: 800px;
    margin: 0 auto 5rem auto;
    padding: 0 2rem;
}


/* --- FOOTER / CONTACT SECTION --- */
.contact-section {
    padding: 5rem 1.5rem;
    background-color: var(--dark-bg);
    color: var(--light-bg);
    text-align: center;
}

.contact-section .section-title {
    color: var(--white);
}

.contact-subtitle {
    max-width: 600px;
    margin: -2.5rem auto 2.5rem auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-form-container {
    max-width: 700px;
    margin: 0 auto;
}

/* New Form Group Styling */
.form-group {
    text-align: left;
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #e9ecef;
}

.contact-form-container input,
.contact-form-container textarea {
    width: 100%;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #444;
    background-color: #333;
    color: var(--white);
    font-size: 1rem;
    font-family: inherit;
}

.contact-form-container input:focus,
.contact-form-container textarea:focus {
    outline: none;
    border-color: var(--brand-blue);
}

.submit-button {
    display: inline-block;
    width: 100%; /* Make button full width */
    padding: 15px 40px;
    background-color: var(--brand-blue);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #0056b3;
}

/* Separator and WhatsApp Button */
.separator-text {
    margin: 1.5rem 0;
    color: #777;
    font-weight: 500;
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px 40px;
    background-color: #25D366; /* WhatsApp Green */
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.whatsapp-button i {
    margin-right: 0.75rem;
    font-size: 1.3rem;
}

.whatsapp-button:hover {
    background-color: #1DA851;
}

.contact-info {
    margin-top: 2.5rem;
    font-size: 1rem;
    color: #aaa;
}

.contact-info a {
    color: var(--brand-blue);
    text-decoration: none;
    font-weight: bold;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Hides the Netlify anti-spam field */
.hidden {
    display: none;
}

/* --- FINAL MOBILE BREAKPOINTS FOR LAYOUT --- */
@media (max-width: 768px) {
    /* Padding for general sections on mobile */
    .pillars-section, .projects-section, .contact-section, .testimonials-section {
        padding: 3rem 1rem;
    }

    /* Correct padding for About/Projects pages on mobile to prevent header overlap */
    .page-content {
        padding: calc(var(--header-height) + 1rem) 1rem 3rem 1rem;
    }
    .about-hero { text-align: center; }
}

/* --- OUR STORY SECTION STYLES --- */
.story-section {
    max-width: 800px; /* Optimal width for reading text */
    margin: 0 auto 5rem auto;
    text-align: left; /* Left-align for better readability */
}

.story-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

.story-emphasis {
    font-size: 1.3rem !important;
    font-weight: 500;
    font-style: italic;
    color: var(--dark-text) !important;
    text-align: center;
    padding: 1rem 0;
}

.story-section blockquote {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark-text);
    border-left: 4px solid var(--brand-blue);
    padding-left: 1.5rem;
    margin: 2.5rem 0;
}

.story-section blockquote cite {
    display: block;
    font-size: 1rem;
    font-weight: 400;
    font-style: normal;
    color: var(--light-text);
    margin-top: 0.5rem;
}

/* --- MISSION SECTION STYLES --- */
.mission-section {
    background-color: var(--white);
    border-radius: 8px;
    padding: 4rem 2.5rem;
}

.mission-intro, .mission-outro {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--light-text);
}

.mission-intro {
    margin-bottom: 3.5rem;
}

.mission-outro {
    margin-top: 3.5rem;
    font-weight: 500;
    color: var(--dark-text);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    text-align: center;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    padding: 3.5rem 0;
}

.mission-icon {
    font-size: 2.5rem;
    color: var(--brand-blue);
    margin-bottom: 1rem;
}

.mission-pillar h3 {
    font-size: 1.6rem;
    color: var(--dark-text);
    margin-bottom: 1rem;
}

.mission-pillar p {
    color: var(--light-text);
    font-size: 1rem;
    line-height: 1.6;
}
/* --- STYLES FOR NEW MISSION LINKS ON ABOUT PAGE --- */
.more-to-mission {
    text-align: center;
    padding: 4rem 1.5rem;
    background-color: var(--white);
    border-radius: 8px;
}

.mission-links-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap; /* Allows buttons to stack on small screens */
    margin-top: 2.5rem;
}

.mission-link-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 15px 30px;
    background-color: var(--brand-blue);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid var(--brand-blue);
}

.mission-link-button:hover {
    background-color: var(--white);
    color: var(--brand-blue);
    transform: translateY(-5px);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .mission-section {
        padding: 3rem 1.5rem;
    }
}
/* --- THANK YOU PAGE STYLES --- */
.thank-you-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 50vh;
}

.thank-you-icon {
    font-size: 4rem;
    color: #28a745; /* A success green color */
    margin-bottom: 1.5rem;
}

.thank-you-container h1 {
    font-size: 3rem;
    color: var(--dark-text);
    margin-bottom: 1rem;
}

.thank-you-container p {
    font-size: 1.2rem;
    color: var(--light-text);
    max-width: 500px;
    margin-bottom: 2rem;
}
/* --- VIEW MORE CARD STYLES --- */
.view-more-card {
    border: 2px dashed #d0d0d0;
    border-radius: 12px;
    background-color: #fdfdfd;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px; /* Give it some height */
}

.view-more-card:hover {
    border-color: var(--brand-blue);
    background-color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
}

.view-more-card a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--light-text);
    font-size: 1.3rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.view-more-card a:hover {
    color: var(--brand-blue);
}

.view-more-card a span {
    margin-bottom: 1rem;
}

.view-more-card a .fas {
    font-size: 2rem;
}
/* --- TESTIMONIALS SECTION STYLES --- */
.testimonials-section {
    padding: 5rem 1.5rem;
    background-color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: var(--light-bg);
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.testimonial-card .fa-quote-left {
    font-size: 2.5rem;
    color: var(--brand-blue);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.testimonial-card blockquote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--dark-text);
    line-height: 1.7;
    margin: 0;
    flex-grow: 1; /* Pushes the citation to the bottom */
}

.testimonial-card cite {
    margin-top: 1.5rem;
    font-style: normal;
    text-align: right;
    border-top: 1px solid #e0e0e0;
    padding-top: 1.5rem;
}

.testimonial-link {
    display: block;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin: -1.5rem -2.5rem -2.5rem; /* Extend link to fill the padding area */
    padding: 1.5rem 2.5rem; /* Restore padding inside the link */
    border-radius: 12px;
}

.testimonial-link:hover {
    background-color: #e9ecef;
}

.testimonial-link .client-name,
.testimonial-link .client-role,
.testimonial-link .fa-external-link-alt {
    color: var(--dark-text);
    text-decoration: none;
}

.testimonial-link:hover .client-name {
    color: var(--brand-blue);
}

.testimonial-link .fa-external-link-alt {
    font-size: 0.8em;
    margin-left: 6px;
    opacity: 0.6;
}
/* --- FINAL FOOTER STYLES --- */
.main-footer {
    background-color: var(--dark-bg);
    color: #e9ecef;
    text-align: center;
    padding: 4rem 1.5rem;
}

.footer-text {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.footer-copyright {
    margin-top: 3rem;
    font-size: 0.9rem;
    color: var(--light-text);
    padding-top: 2rem;
    border-top: 1px solid #444;
}

/* Specific adjustment for the contact section's copyright */
.contact-section .footer-copyright {
    max-width: 700px; /* Match form width */
    margin-left: auto;
    margin-right: auto;
}
/* --- SCROLL ANIMATION --- */
.pillar, .project-card, .testimonial-card, .about-hero > div, .story-section > *, .mission-section > * {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s forwards;
    animation-play-state: paused; /* Start paused */
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* --- FOOTER SOCIALS --- */
.footer-socials {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.footer-socials a {
    color: var(--light-text);
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-socials a:hover {
    color: var(--brand-blue);
    transform: translateY(-3px);
}
/* --- DEDICATED CONTACT PAGE STYLES --- */
.contact-hub-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 5rem auto;
}

.contact-direct {
    text-align: center;
}

.contact-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 4px solid var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-direct h3, .contact-form-wrapper h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--dark-text);
}

.contact-direct p, .contact-form-wrapper p {
    color: var(--light-text);
    margin-bottom: 2rem;
}

.contact-option-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 15px;
    margin-bottom: 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    color: var(--dark-text);
    background-color: var(--white);
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.contact-option-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: var(--brand-blue);
}

.contact-option-button.schedule { color: #007bff; }
.contact-option-button.whatsapp { color: #25D366; }

.contact-form-wrapper {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
/* --- COOLER FORM STYLING (FLOATING LABELS) --- */
.form-group-float {
    position: relative;
    margin-bottom: 2rem;
}

.form-input {
    width: 100%;
    padding: 10px 0;
    font-size: 1rem;
    font-family: inherit;
    color: var(--dark-text);
    background-color: transparent;
    border: none;
    border-bottom: 2px solid #ccc;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-label {
    position: absolute;
    top: 10px;
    left: 0;
    font-size: 1rem;
    color: var(--light-text);
    pointer-events: none;
    transition: all 0.3s ease;
}

/* The magic happens here */
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
    top: -15px;
    font-size: 0.8rem;
    color: var(--brand-blue);
}

.form-input:focus {
    border-bottom-color: var(--brand-blue);
}

/* Style update for the submit button */
.contact-form-wrapper .submit-button {
    margin-top: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

.contact-form-wrapper .submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}
.footer-copyright p {
    margin-bottom: 0.5rem;
    color: var(--light-text);
}
/* --- SERVICES SECTION STYLES --- */
.services-section {
    padding: 5rem 1.5rem;
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--light-bg);
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-icon {
    font-size: 2.5rem;
    color: var(--brand-blue);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.6rem;
    color: var(--dark-text);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--light-text);
    font-size: 1rem;
    line-height: 1.6;
}
/* Mobile adjustments for contact page */
@media (max-width: 900px) {
    .contact-hub-grid {
        grid-template-columns: 1fr;
    }
}
/* --- BLOG PAGE STYLES --- */

/* The grid holding all post cards */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Individual post card styling */
.post-card {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}
.post-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.post-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.post-card-info {
    padding: 1.5rem;
}
.post-card-category {
    display: inline-block;
    background-color: #e9ecef;
    color: #495057;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
}
.post-card-title {
    font-size: 1.4rem;
    color: var(--dark-text);
    margin: 0 0 0.75rem 0;
}
.post-card-excerpt {
    color: var(--light-text);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.post-card-readmore {
    font-weight: bold;
    color: var(--brand-blue);
}

/* --- SINGLE BLOG POST STYLES --- */

/* The main white container for the article */
.blog-post-content {
    max-width: 800px; /* Optimal width for reading text */
    margin: 0 auto;
    background-color: var(--white);
    padding: 2rem 3rem; /* Add spacing inside the container */
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* Post title and metadata section */
.post-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.post-header h1 {
    font-size: clamp(2rem, 8vw, 2.8rem); /* Responsive font size */
    color: var(--dark-text);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.post-meta {
    font-size: 0.9rem;
    color: var(--light-text);
}

/* The main image for the article */
.post-featured-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 2.5rem;
    height: auto; /* Maintain aspect ratio */
}

/* Styling for the main article text */
.post-body h2 {
    font-size: 1.8rem;
    color: var(--dark-text);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.post-body p {
    font-size: 1.1rem;
    line-height: 1.8; /* Generous line spacing for easy reading */
    color: var(--dark-text);
    margin-bottom: 1.5rem;
}

.post-body a {
    color: var(--brand-blue);
    text-decoration: underline;
    font-weight: 500;
}

/* The link to go back to the main blog page */
.back-to-blog-link {
    display: inline-block;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
    width: 100%;
    font-weight: bold;
    color: var(--brand-blue);
    text-decoration: none; /* This is the key property that removes the underline */
    transition: color 0.3s ease;
}

.back-to-blog-link:hover {
    color: #0056b3;
}
/* Adjust padding on smaller screens */
@media (max-width: 768px) {
    .blog-post-content {
        padding: 1.5rem;
    }
}
/* --- COMING SOON PAGE STYLES --- */
.coming-soon-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 50vh; /* Ensures it takes up a good amount of vertical space */
    padding: 2rem;
}

.coming-soon-icon {
    font-size: 4rem;
    color: var(--brand-blue);
    margin-bottom: 1.5rem;
}

.coming-soon-container h1 {
    font-size: 3rem;
    color: var(--dark-text);
    margin-bottom: 1rem;
}

.coming-soon-container p {
    font-size: 1.2rem;
    color: var(--light-text);
    max-width: 600px;
    margin-bottom: 2rem;
}
/* --- WHY CHOOSE US SECTION STYLES --- */
.why-choose-us-section {
    padding: 5rem 1.5rem;
    background-color: var(--white); /* Or var(--light-bg) for contrast */
}

.why-choose-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: var(--light-bg);
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
    /* Add this line to hook into your existing scroll animation */
    animation: fadeIn 0.8s forwards;
    animation-play-state: paused;
}

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

.feature-icon {
    font-size: 2.5rem;
    color: var(--brand-blue);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.6rem;
    color: var(--dark-text);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--light-text);
    font-size: 1rem;
    line-height: 1.6;
}