:root {
    --deep-indigo: #2E3A59;
    --electric-teal: #00C2A8;
    --graphite: #333;
    --white: #fff;
    --light-gray: #f4f4f4;
}

body {
    font-family: 'Inter', 'Open Sans', sans-serif;
    color: var(--graphite);
    line-height: 1.6;
    margin: 0;
    padding-top: 60px; /* Space for fixed navigation */
    background-color: var(--white);
    transition: background-color 0.5s ease;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--deep-indigo);
    font-weight: 700;
}

 /* Logo styling */
        .top-left-logo {
            position: fixed; /* Stays in place while scrolling */
            top: 20px;
            left: 20px;
            z-index: 1000; /* Ensures it stays above other content */
            transition: transform 0.3s ease; /* Smooth hover effect */
        }
        
        .top-left-logo:hover {
            transform: scale(1.05); /* Slightly enlarges on hover */
            opacity: 0.9; /* Optional: Slight fade effect */
        }
        
        .top-left-logo img {
            height: 50px; /* Adjust size as needed */
        }

/* --- Navigation --- */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: var(--indigo);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 15px 0;
    z-index: 1000;
}

.nav-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--deep-indigo);
    text-decoration: none;
}

nav {
    display: flex;
    gap: 20px;
}


.nav-item {
    text-decoration: none;
    color: var(--deep-indigo);
    font-weight: 600;
    margin: 0 20px;
    transition: color 0.3s ease;
}

.nav-item:hover, .nav-item.active {
    color: var(--electric-teal);
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 5px;
    min-width: 250px;
    padding: 10px 0;
    z-index: 10;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: var(--deep-indigo);
    white-space: nowrap;
    transition: background-color 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--light-gray);
}


/* --- General Layout & Sections --- */
.page-section {
    padding: 80px 5%;
    min-height: 100vh;
    display: none; /* Hide all pages by default */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.page-section.active {
    display: block; /* Show active page */
    opacity: 1;
    transform: translateY(0);
}

/* --- CTA Buttons --- */
.cta-button {
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.cta-button:hover {
    transform: translateY(-3px);
}

.cta-button.primary {
    background-color: var(--electric-teal);
    color: var(--white);
    border-color: var(--electric-teal);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--deep-indigo);
    border-color: var(--deep-indigo);
}

/* --- Homepage --- */
.hero {
    text-align: center;
    padding: 80px 0;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    color: var(--graphite);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.highlights {
    display: flex;
    justify-content: space-around;
    padding: 50px 0;
    text-align: center;
    background-color: var(--light-gray);
    margin-top: 50px;
    flex-wrap: wrap;
    gap: 30px;
}

.highlight-item {
    flex-basis: 200px;
}

.highlight-item i {
    font-size: 2.5rem;
    color: var(--electric-teal);
    margin-bottom: 10px;
}

/* --- About Page --- */
#about {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    min-height: calc(100vh - 60px); /* Adjust for nav bar */
}

.about-content {
    flex: 2;
}

.about-section h2 {
    color: var(--electric-teal);
    margin-top: 0;
}

.about-image {
    flex: 1;
    max-width: 400px;
}

.grayscale-img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.values {
    background-color: var(--light-gray);
    padding: 20px;
    border-left: 5px solid var(--electric-teal);
    border-radius: 0 5px 5px 0;
}

/* --- Services Page --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-5px);
    background-color: var(--white);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.service-card i {
    font-size: 3rem;
    color: var(--electric-teal);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.learn-more {
    color: var(--electric-teal);
    text-decoration: none;
    font-weight: 600;
    display: block;
    margin-top: 15px;
}

/* --- Resources Page --- */
#resources h2 {
    text-align: center;
    margin-bottom: 40px;
}
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.resource-card {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    text-decoration: none;
    color: var(--graphite);
}

.resource-card:hover {
    transform: translateY(-5px);
    background-color: var(--white);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.resource-card i {
    font-size: 3rem;
    color: var(--electric-teal);
    margin-bottom: 20px;
}

.resource-card h3 {
    margin-top: 0;
    color: var(--deep-indigo);
}


/* --- Contact Page --- */
.contact-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form-side, .contact-info-side {
    flex: 1;
    min-width: 300px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.contact-form button {
    background-color: var(--electric-teal);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #00A38D;
}

.contact-info-side {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-block {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.info-block i {
    color: var(--electric-teal);
    font-size: 1.5rem;
}

.book-consultation {
    text-align: center;
    margin-top: 20px;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--deep-indigo);
    color: var(--white);
    padding: 20px 5%;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.social-links a {
    color: var(--white);
    font-size: 1.2rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--electric-teal);
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--electric-teal);
}


/* ... rest of the footer styles ... */

.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: var(--white);
    margin: 10% auto;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    width: 80%;
    max-width: 700px;
    position: relative;
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.modal.active .modal-content {
    transform: scale(1);
    opacity: 1;
}

.close-button {
    color: var(--deep-indigo);
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}



/* --- Responsiveness --- */
@media (max-width: 768px) {
    .top-nav {
        padding: 10px 0;
    }
    .nav-item {
        margin: 0 10px;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .page-section {
        padding: 60px 5%;
    }
    #about {
        flex-direction: column-reverse;
    }
    .about-image {
        max-width: 100%;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .contact-container {
        flex-direction: column;
    }
    .site-footer {
        flex-direction: column;
        gap: 10px;
    }
}