:root {
    --primary-blue: #0066CC;
    --secondary-blue: #004999;
    --accent-blue: #3399FF;
    --light-bg: #F8F9FA;
    --dark-text: #212529;
    --light-text: #6C757D;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    color: var(--dark-text);
    background-color: #f9fbfd;
}

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

/* Section Padding */
.section-padding {
    padding: 80px 0;
}

/* Navbar Styling */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-logo {
    height: 35px;
    width: auto;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue) !important;
    letter-spacing: -0.5px;
}

.nav-link {
    color: var(--dark-text) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0.75rem;
}

.nav-link:hover {
    color: var(--primary-blue) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--primary-blue);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Hero Section */
.about-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,149.3C960,160,1056,160,1152,138.7C1248,117,1344,75,1392,53.3L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    animation: wave 15s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.cta-btn.primary {
    background: white;
    color: var(--primary-blue);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-btn.primary:hover {
    background: var(--light-bg);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Section Styling */
.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    padding-top: 5px;
    margin-bottom: 1rem;
    color: var(--dark-text);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-blue));
    border-radius: 2px;
}

.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: var(--light-text);
    margin-bottom: 3rem;
}

.section-text {
    text-align: justify;
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--dark-text);
}

/* Who We Are Section */
.who-we-are {
    background-color: white;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: -20px;
}

.stat-number {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--primary-blue);
    display: block;
    line-height: 1.2;
}

.stat-label {
    font-size: clamp(0.875rem, 2vw, 1rem);
    color: var(--light-text);
    margin-top: 5px;
}

/* Vision & Mission Section */
.vision-mission {  
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.vm-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.vm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-blue));
}

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

.vm-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 25px;
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.3);
}

.vm-title {
    text-align: center;
    margin-bottom: 1rem;
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    color: var(--dark-text);
}

.vm-text {
    text-align: center;
    line-height: 1.7;
    color: var(--light-text);
}

/* TEAM SECTION BASE */
.team-section {
    background: #fff;
}

/* Global Leader */
.global-leader .leader-img {
    width: 200px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 15px;
}

.leader-name {
    font-size: 1.4rem;
    font-weight: 700;
}

.leader-role {
    font-size: 1rem;
    font-weight: 600;
    color: #666;
}

/* Sri Lanka Team Title */
.subteam-title {
    font-size: 1.4rem;
    font-weight: 700;
}

/* Team Cards (simple, clean like image design) */
.team-box {
    text-align: center;
    background: white;
    border-radius: 15px;
    padding: 25px 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    height: 100%;
    z-index: 1;
}

.team-box:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 15px 35px rgba(0, 102, 204, 0.18);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.team-photo {
    width: 100%;
    border-radius: 50%;
    height: auto;
    object-fit: cover;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    border: 4px solid transparent;
    max-width: 120px;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.team-box:hover .team-photo {
    transform: scale(1.15);
    border-color: var(--accent-blue);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.2);
}

.team-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.team-box:hover .team-name {
    color: var(--primary-blue);
    transform: translateY(-3px);
    text-shadow: 0 2px 4px rgba(0, 102, 204, 0.2);
}

.team-role {
    font-size: 0.95rem;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
}

.team-box:hover .team-role {
    color: var(--primary-blue);
    transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .leader-img {
        width: 160px;
        height: auto;
    }

    .team-photo {
        height: auto;
    }
}


/* Values Section */
.values-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.value-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

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

.value-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.3);
}

.value-title {
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    margin-bottom: 15px;
    color: var(--dark-text);
    font-weight: 600;
}

.value-text {
    line-height: 1.6;
    color: var(--light-text);
    font-size: clamp(0.875rem, 2vw, 1rem);
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.stat-card {
    background: white;
    border-radius: 16px;
    padding: 30px 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}



.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 102, 204, 0.15);
    border-color: var(--primary-blue);
}


.stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.3);
    transition: all 0.4s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 12px 25px rgba(0, 102, 204, 0.4);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-text);
    margin: 0;
}

/* Footer */
.footer {
    background: var(--dark-text);
    color: white;
    padding: 80px 0 30px;
}

.footer-title {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    font-weight: 700;
    margin-bottom: 25px;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: clamp(0.875rem, 2vw, 1rem);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-links span {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: clamp(0.875rem, 2vw, 1rem);
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}

.footer-contact i {
    margin-top: 2px;
    flex-shrink: 0;
}

.footer .social-links {
    margin-top: 20px;
}

.footer .social-links a {
    display: inline-flex;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 10px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer .social-links a:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 50px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: clamp(0.875rem, 2vw, 1rem);
}

/* Animations */
@keyframes wave {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 1199px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .vm-card {
        padding: 30px;
    }
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: white;
        padding: 20px;
        margin-top: 15px;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-link {
        margin: 5px 0;
        padding: 10px 15px;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .about-hero {
        padding: 120px 0 80px;
        min-height: 400px;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }
    
    .about-hero {
        padding: 100px 0 60px;
        min-height: 350px;
    }
    
    .hero-subtitle {
        margin-bottom: 2rem;
    }
    
    .cta-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .section-text {
        text-align: left;
    }
    
    .vm-card {
        padding: 25px;
    }
    
    .vm-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .team-img {
        height: 250px;
    }
    
    .team-info {
        padding: 20px;
    }
    
    .value-card {
        padding: 25px;
    }
    
    .value-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .footer {
        padding: 60px 0 20px;
    }
    
    .footer .social-links {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .section-padding {
        padding: 40px 0;
    }
    
    .about-hero {
        padding: 90px 0 50px;
        min-height: 300px;
    }
    
    .navbar-logo {
        height: 30px;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-item {
        padding: 10px;
    }
    
    .vm-card,
    .value-card {
        padding: 20px;
    }
    
    .team-img {
        height: 220px;
    }
    
    .footer-contact li {
        font-size: 0.875rem;
    }
    
    .footer .social-links a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .cta-btn {
        display: none;
    }
    
    .about-hero {
        background: var(--primary-blue);
        color: white;
        padding: 20px 0;
    }
    
    .section-padding {
        padding: 20px 0;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus States for Accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .vm-card,
    .team-card,
    .value-card {
        border: 2px solid var(--dark-text);
    }
}