/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #002A15; /* Dark Green */
    --primary-color: #00AD57; /* Medium Green */
    --primary-light: #80e5a7; /* Light Green */
    --secondary-color: #FFDE00; /* Ethiopian Yellow */
    --accent-color: #EF3340; /* Ethiopian Red */
    --text-color: #002A15;
    --light-bg: #EDEEF0; /* Light Gray */
    --white: #FFFFFF;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    height: 100%;
    overflow-y: auto;
}

/* Header and Navigation */
header {
    background-color: #ECF8F2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    padding: 0;
    background: none;
}

.logo img {
    height: 100px;
    width: auto;
    background: transparent;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    background: url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    overflow: hidden;
    margin-top: 60px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 42, 21, 0.85), 
        rgba(0, 173, 87, 0.75));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.cta-buttons {
    display: flex;
    justify-content: center;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background-color: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.cta-button:hover {
    background-color: var(--primary-light);
    color: var(--primary-dark);
}

.cta-coming-soon {
    display: inline-block;
    font-size: 2rem;
    font-weight: bold;
    background: var(--white);
    border-radius: 8px;
    padding: 1.2rem 3rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    animation: pulse-green 1.2s infinite;
    letter-spacing: 1px;
    margin-top: 0.5rem;
    background-clip: padding-box;
    /* Green gradient text */
    background-image: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 173, 87, 0.7);
        transform: scale(1);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(128, 229, 167, 0);
        transform: scale(1.08);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 173, 87, 0);
        transform: scale(1);
    }
}

/* About Section */
.about {
    padding: 5rem 1rem;
    background-color: var(--light-bg);
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Services Section */
.services {
    padding: 5rem 1rem;
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

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

.service-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Leadership Section */
.leadership {
    padding: 5rem 1rem;
    background-color: var(--white);
}

.leadership h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

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

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    justify-items: center;
}

.leader-card {
    background: var(--light-bg);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    width: 100%;
    max-width: 250px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.leader-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.leader-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary-color);
}

.leader-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Specific adjustment for Hussein's photo */
img[alt*="Hussein Kedir"] {
    object-position: center 10%;
    filter: brightness(1.1);
}

/* Specific container style for Hussein's photo */
.leader-image:has(img[alt*="Hussein Kedir"]) {
    background-color: #E6D5A7;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

/* Specific adjustment for Hassan's photo */
img[alt*="Hassan Kedir"] {
    object-position: center 30%;
    transform: scale(1.15);
}

/* Specific adjustment for Mohamed's photo */
img[alt*="Mohamed Kedir"] {
    object-position: center 15%;
    transform: scale(0.95);
    filter: brightness(1.15);
}

.leader-image i {
    font-size: 3rem;
    color: var(--primary-color);
    background: var(--light-bg);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.leader-card h3 {
    color: var(--primary-dark);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.leader-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.leader-description {
    color: var(--text-color);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Fees Section */
.fees {
    padding: 5rem 1rem;
    background-color: var(--light-bg);
}

.fees h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

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

.fees-info {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

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

.fee-card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.fee-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.fee-card:hover {
    transform: translateY(-5px);
}

.fee-card.featured:hover {
    transform: translateY(-5px) scale(1.05);
}

.fee-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
}

.fee-header i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.fee-amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.fee-details {
    list-style: none;
    margin-top: 1.5rem;
    text-align: left;
}

.fee-details li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.fee-details li:before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.fee-note {
    margin-top: 2rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 5px;
    display: inline-block;
}

.fee-note i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Contact Section */
.contact {
    padding: 5rem 1rem;
    background-color: var(--light-bg);
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateY(-3px);
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 30px;
}

.info-item p {
    font-size: 1.1rem;
    color: var(--text-color);
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 3rem 1rem 1rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-light);
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-light);
}

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

.social-links a {
    font-size: 1.5rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .burger {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .cta-button {
        padding: 1rem 2.5rem;
    }

    .about-features,
    .services-grid,
    .contact-container,
    .fee-structure {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }
    
    .fee-card.featured {
        transform: scale(1);
    }

    .contact-container {
        padding: 1.5rem;
    }

    .info-item {
        padding: 0.8rem;
    }

    .info-item p {
        font-size: 1rem;
    }
}

@media screen and (max-width: 1200px) {
    .leadership-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .leadership-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation for burger menu */
.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Fade-in animation for sections */
.section-fade {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
}
.section-fade.visible {
    opacity: 1;
    transform: none;
}

/* Card hover animation for service and leadership cards */
.service-card, .leader-card {
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s cubic-bezier(0.4,0,0.2,1);
}
.service-card:hover, .leader-card:hover {
    transform: translateY(-10px) scale(1.04);
    box-shadow: 0 8px 24px rgba(0,173,87,0.15);
}

/* Navbar link slide-in animation - only when nav-active */
.nav-links li {
    opacity: 1;
    transform: none;
    animation: none;
}
.nav-links.nav-active li {
    opacity: 0;
    transform: translateY(-20px);
    animation: navSlideIn 0.7s forwards;
}
.nav-links.nav-active li:nth-child(1) { animation-delay: 0.1s; }
.nav-links.nav-active li:nth-child(2) { animation-delay: 0.2s; }
.nav-links.nav-active li:nth-child(3) { animation-delay: 0.3s; }
.nav-links.nav-active li:nth-child(4) { animation-delay: 0.4s; }
.nav-links.nav-active li:nth-child(5) { animation-delay: 0.5s; }
@keyframes navSlideIn {
    to {
        opacity: 1;
        transform: none;
    }
}

/* Button hover ripple effect */
.cta-button, .cta-coming-soon {
    position: relative;
    overflow: hidden;
}
.cta-button::after, .cta-coming-soon::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
    background: rgba(0,173,87,0.15);
    border-radius: 100%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    pointer-events: none;
}
.cta-button:hover::after, .cta-coming-soon:hover::after {
    width: 250px;
    height: 250px;
}

main {
    padding-top: 120px; /* To account for fixed header height */
}

.disclosures {
    max-width: 900px;
    margin: 0 auto 3rem auto;
    padding: 2rem 1.5rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    font-size: 1.15rem;
    line-height: 1.8;
}

.disclosures h1 {
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--primary-color);
    font-size: 2.2rem;
}

.disclosures-content {
    margin-bottom: 2.5rem;
}

.state-disclosures {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.state-disclosure {
    background: var(--light-bg);
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.04);
    padding: 1.5rem 1.2rem;
    font-size: 1.08rem;
    line-height: 1.7;
}

.state-disclosure h2 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.state-disclosure p {
    margin-bottom: 0;
    color: var(--text-color);
    white-space: pre-line;
}

.state-nav {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding: 1rem 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f0f0f0;
    position: relative;
    background: linear-gradient(90deg, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,1) 5%, 
        rgba(255,255,255,1) 95%, 
        rgba(255,255,255,0) 100%);
    border-radius: 8px;
    background-color: #fafafa;
}

.state-nav-content {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: 1;
}

.state-nav-content::-webkit-scrollbar {
    display: none;
}

.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    opacity: 0;
    pointer-events: none;
}

.scroll-arrow:hover {
    background: var(--primary-dark);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.scroll-arrow.visible {
    opacity: 1;
    pointer-events: auto;
}

.scroll-left {
    left: 5px;
}

.scroll-right {
    right: 5px;
}

/* Add scroll hint animation */
@keyframes scrollHint {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.state-nav:not(:hover)::-webkit-scrollbar-thumb {
    animation: scrollHint 2s ease-in-out infinite;
}

.state-nav a {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: var(--light-bg);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.state-nav a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,173,87,0.3);
}

.state-nav a:active {
    transform: translateY(0);
} 