/* CSS Variables */
:root {
    --primary-green: #4A7C59;
    --light-green: #8BC34A;
    --bg-green: #A8D5BA;
    --dark-navy: #2C3E50;
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-600: #4B5563;
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Proxima Nova', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.figtree {
    font-family: 'Figtree', sans-serif;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #102A3C;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    background: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Proxima Nova', sans-serif;
    cursor: pointer;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.nav-link:hover {
    color: #4CAF50;
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #4CAF50, #2E7D32);
    transition: width 0.3s ease;
}

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

.login-btn {
    background: linear-gradient(45deg, #4CAF50, #2E7D32);
    color: white;
    padding: 10px 25px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: radial-gradient(#A9D599 0%, #8CD263 50%, #486C33 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 70px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 80vh;
}

.hero-title {
    width: 32.438rem;
    position: relative;
    font-size: 2.1rem;
    line-height: 140%;
    font-weight: 100;
    font-family: 'Proxima Nova';
    color: #f5f8f7;
    text-align: left;
    display: inline-block;
}

.hero-subtitle {
    color: var(--white);
}

.hero-tagline {
    display: flex;
    align-items: center;
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 2rem;
    color: var(--white);
    font-family: 'Proxima Nova';
}

.tagline {
    font-size: 140%;
}

.hero-description {
    width: 27.688rem;
    position: relative;
    font-size: 1.1rem;
    line-height: 140%;
    font-family: 'Proxima Nova';
    color: #f5f8f7;
    text-align: left;
    margin-bottom: 2.5rem;
}

.cta-btn {
    background: var(--dark-navy);
    color: var(--white);
    border: none;
    padding: 1rem 4rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.cta-btn:hover {
    background: #375068;
    transform: translateY(-2px);
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.2);
}

.hero-image {
    position: relative;
}

.hero-card {
    border-radius: 24px;
    position: relative;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-img {
    width: 120%;
    height: auto;
    border-radius: 16px;
    object-fit: contain;
}

/* Services Section */
.services {
    padding: 3rem 0;
    background: var(--gray-50);
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #236477;
    margin-bottom: 3px;
}

.gradient-text {
    background: linear-gradient(90.75deg, #184d08, #5c9632 32.79%, #dff6ce);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description .p {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #D8E6EA;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    font-family: 'Figtree', sans-serif;
    opacity: 0;
    margin-bottom: 2rem;
}

.service-card.animate {
    opacity: 1;
}

.service-card:hover {
    box-shadow: var(--shadow);
}

.service-image {
    margin-bottom: 1.5rem;
}

.service-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

.service-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.service-description {
    color: var(--gray-600);
    line-height: 1.6;
    font-size: 14px;
}

/* Statistics Section */
.statistics {
    padding: 5rem 0;
    background: var(--dark-navy);
    position: relative;
    overflow: hidden;
}

.statistics-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #173042;
    opacity: 0.9;
}

.statistics-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-size: contain;
    opacity: 100%;
}

.statistics-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.stats-wrapper {
    background: var(--white);
    border-radius: 16px;
    padding: 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    box-shadow: var(--shadow);
}

.stat-item {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
}

.stat-item.animate {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #236477;
    display: inline;
}

.stat-plus {
    font-size: 3rem;
    font-weight: 700;
    color: #236477;
    display: inline;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-navy);
}

.stat-description {
    color: var(--gray-600);
    font-size: 0.9rem;
}


/* Grid layouts for different levels */
.cards-grid.single {
    grid-template-columns: 1fr;
    max-width: 350px;
    margin: 0 auto;
}

/* Advisory Board Revise */
/* Medical Advisory Board Section */
.advisory {
    padding: 3rem 0;
    background: #F9FAFB;
    font-family: 'Figtree', sans-serif;
}

.advisory-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #236477;
    margin-bottom: 0.5rem;
}

.section-description {
    font-size: 1.1rem;
    color: #4B5563;
    max-width: 700px;
    margin: 0 auto;
}

/* Hierarchy Container */
.hierarchy-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Level Container */
.level-container {
    text-align: center;
}

.level-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 2rem;
    margin-top: 2rem;
    position: relative;
}

.level-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #4CAF50, #2E7D32);
    border-radius: 2px;
}

/* Card Grid */
.cards-grid {
    display: grid;
    gap: 1.5rem;
    justify-items: center;
}

/* Grid layouts for different levels */
.cards-grid.single {
    grid-template-columns: 1fr;
    max-width: 350px;
    margin: 0 auto;
}

.cards-grid.multi {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    justify-content: center;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

/* Advisory Card */
.advisor-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    font-family: 'Figtree', sans-serif;
    width: 100%;
    max-width: 500px;
    height: auto;
    min-height: 260px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.advisor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #4CAF50, #2E7D32);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.advisor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

.advisor-card:hover::before {
    transform: scaleX(1);
}

.advisor-card.expanded {
    transform: translateY(0);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
}

.advisor-card.expanded::before {
    transform: scaleX(1);
}

.advisor-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 4px solid #E5E7EB;
    transition: all 0.3s ease;
}

.advisor-card:hover .advisor-image {
    border-color: #4CAF50;
    transform: scale(1.1);
}

.advisor-name {
    font-size: 1rem;
    font-weight: 550;
    color: #2C3E50;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    font-family: 'Proxima Nova', sans-serif;
}

.advisor-specialty {
    font-size: 0.9rem;
    color: #4B5563;
    line-height: 1;
    font-family: 'Proxima Nova', sans-serif;
    margin-bottom: 1rem;
}

/* Additional Information Section */
.additional-info {
    max-height: 0;
    overflow: hidden;
    text-align: left;
    padding: 0 1rem;
}

.additional-info.expanded {
    max-height: 500px;
    padding: 1rem;
    border-top: 1px solid #E5E7EB;
}

.additional-info p {
    font-size: 0.9rem;
    color: #4B5563;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    font-family: 'Proxima Nova', sans-serif;
}

.additional-info h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}

.additional-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.additional-info li {
    font-size: 0.9rem;
    color: #4B5563;
    line-height: 1.5;
    margin-bottom: 0.3rem;
    position: relative;
    padding-left: 1rem;
}

.additional-info li::before {
    content: '•';
    color: #4CAF50;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Expand indicator button */
.expand-indicator {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 30px;
    height: 30px;
    background: #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.expand-indicator.expanded {
    transform: rotate(180deg);
}

/* Modal overlay effect */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal card styles */
.advisor-card.modal-active {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.advisor-card.modal-active .expand-indicator {
    background: #f44336;
}

.advisor-card.modal-active .expand-indicator.expanded {
    background: #f44336;
}

/* Close button */
.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: #f44336;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    z-index: 1002;
    transition: all 0.2s ease;
}

.close-modal:hover {
    background: #d32f2f;
    transform: scale(1.1);
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Show More Button */
.show-more-container {
    text-align: center;
    margin-top: 2rem;
}

.show-more-btn {
    background: linear-gradient(45deg, #4CAF50, #2E7D32);
    color: white;
    border: none;
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    position: relative;
    overflow: hidden;
}

.show-more-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.show-more-btn:hover::before {
    width: 300px;
    height: 300px;
}

.show-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

.show-more-btn:active {
    transform: translateY(0);
}

.show-more-btn span {
    position: relative;
    z-index: 1;
}

/* Hidden content */
.hidden-content {
    display: none;
}

.hidden-content.show {
    display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cards-grid.multi {
        grid-template-columns: 1fr;
    }

    .advisor-card {
        max-width: 100%;
    }
}

/* Footer */
.footer {
    background: #486C33;
    color: var(--white);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.footer-logo {
    position: absolute;
    bottom: 95%;
    right: 37%;
    width: 10px;
    height: 10px;
    background-size: contain;
    opacity: 100%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.brand-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
}

.footer-icon {
    width: 28px;
    height: 28px;
    margin-right: 12px;
    margin-bottom: 1rem;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-address {
    font-style: normal;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.link-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

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

.link-list li {
    margin-bottom: 0.5rem;
    text-align: center;
}

.link-list a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.link-list a:hover {
    color: var(--dark-navy);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.legal-links a:hover {
    color: var(--dark-navy);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--white);
    transform: scale(1.1);
}

.social-links i {
    width: 24px;
    height: 24px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .advisor-card {
        flex: 0 0 calc(33.333% - 0.67rem);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
        width: auto;
    }

    .hero-description {
        width: auto;
    }

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

    .stats-wrapper {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }


    .advisory-container {
        padding: 0 1rem;
    }

    .carousel-container {
        margin: 0;
    }

    .prev-btn {
        left: 0px;
    }

    .next-btn {
        right: 0px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .legal-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .advisor-card {
        flex: 0 0 100%;
    }

    .advisory-container {
        padding: 0 2rem;
    }

    .prev-btn {
        left: 0px;
    }

    .next-btn {
        right: 0px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }
}
