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

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f8f8;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --accent: #EE3B3B;
    --accent-light: #FF5555;
    --accent-dim: rgba(238, 59, 59, 0.1);
    --border: rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 4rem;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem 4rem;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative; /* Added for slogan positioning */
}

.logo {
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--text-primary);
    text-decoration: none;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.5s;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
}

.logo-text{
    display: inline-block;
}

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

/* Language Switcher Styling */
.language-switcher {
    position: relative;
    left: auto;
    transform: none;
    /* swapped from absolute to relative for better positioning, commented is absolute config, swap if necessary */
    /* transform: translateX(-50%); */
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
    /* opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.6s; */
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 1px;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    transition: all 0.3s ease;
    position: relative;
}

.lang-btn:hover {
    color: var(--text-primary);
}

.lang-btn.active {
    color: var(--accent);
    font-weight: 500;
}

.lang-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--accent);
}

.lang-divider {
    color: var(--text-secondary);
    opacity: 0.3;
    font-weight: 300;
}

/* Hide elements based on language selection - Experimental (dont touch this rn) */
/* [data-lang="zh"]:lang(en),
[data-lang="en"]:lang(zh) {
    display: none;
} */

/* Slogan Styling */
.slogan {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9rem;
    color: var(--accent);
    letter-spacing: 1.5px;
    font-weight: 500;
    white-space: nowrap; /* Prevent slogan from wrapping */
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.6s;
}

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

.nav-links li {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.7s;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

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

.nav-cta {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: white !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(238, 59, 59, 0.2);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(238, 59, 59, 0.3);
}

.nav-cta::after {
    display: none;
}

/* Hero Section - Simple and clean with subtle animation */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

/* Subtle grid animation for hero */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
    animation: grid-move 20s linear infinite;
    z-index: 1;
}

/* Floating orbs for hero */
.hero::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 30% 80%, rgba(238, 59, 59, 0.05) 0%, transparent 25%),
        radial-gradient(circle at 70% 40%, rgba(238, 59, 59, 0.03) 0%, transparent 25%),
        radial-gradient(circle at 90% 10%, rgba(238, 59, 59, 0.04) 0%, transparent 25%);
    animation: orbFloat 30s ease-in-out infinite;
    z-index: 1;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-50px, -50px) rotate(90deg); }
    50% { transform: translate(50px, -30px) rotate(180deg); }
    75% { transform: translate(-30px, 50px) rotate(270deg); }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* About Section - Apple Style with video/animation */
.about {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Move all the hero-media styles to about section */
.about .hero-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.about .hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0;
    animation: fadeInVideo 2s ease forwards;
}

.about .hero-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    overflow: hidden;
}

.about .container {
    position: relative;
    z-index: 2;
}

/* Particle Field Animation */
.particle-field {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(238, 59, 59, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(238, 59, 59, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(238, 59, 59, 0.08) 0%, transparent 50%);
    animation: particleFloat 20s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-20px, -20px) scale(1.1); }
    50% { transform: translate(20px, -10px) scale(0.9); }
    75% { transform: translate(-10px, 20px) scale(1.05); }
}

/* Pulse Rings */
.pulse-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.pulse-ring {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(238, 59, 59, 0.2);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    animation: pulseRing 4s ease-out infinite;
}

.pulse-ring:nth-child(2) {
    animation-delay: 1s;
}

.pulse-ring:nth-child(3) {
    animation-delay: 2s;
}

@keyframes pulseRing {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(4);
        opacity: 0;
    }
}

/* Floating Medical Crosses */
.floating-crosses {
    position: absolute;
    width: 100%;
    height: 100%;
}

.medical-cross {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.1;
}

.medical-cross::before,
.medical-cross::after {
    content: '';
    position: absolute;
    background: var(--accent);
}

.medical-cross::before {
    width: 100%;
    height: 40%;
    top: 30%;
    left: 0;
}

.medical-cross::after {
    width: 40%;
    height: 100%;
    top: 0;
    left: 30%;
}

.medical-cross:nth-child(1) {
    top: 20%;
    left: 10%;
    animation: floatCross 15s ease-in-out infinite;
}

.medical-cross:nth-child(2) {
    top: 60%;
    right: 20%;
    animation: floatCross 20s ease-in-out infinite reverse;
}

.medical-cross:nth-child(3) {
    bottom: 20%;
    left: 30%;
    animation: floatCross 18s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes floatCross {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(30px, -40px) rotate(90deg);
    }
    50% {
        transform: translate(-20px, -60px) rotate(180deg);
    }
    75% {
        transform: translate(-40px, -20px) rotate(270deg);
    }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
}

.hero-tag {
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 1s;
    font-weight: 500;
    text-align: center;
    width: 100%;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 600;
    letter-spacing: -2px;
    line-height: 1.1;
    margin: 0 auto 2rem;
    color: var(--text-primary);
    text-align: center;
    width: 100%;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 1.2s;
}

.title-line {
    display: block;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.title-line:nth-child(1) {
    animation-delay: 1.2s;
}

.title-line:nth-child(2) {
    animation-delay: 1.4s;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin: 0 auto 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 1.6s;
    max-width: 600px;
    text-align: center;
    width: 100%;
}

.hero-cta {
    display: inline-block;
    padding: 1rem 3rem;
    background: transparent;
    color: var(--text-primary);
    text-decoration: none;
    border: 2px solid var(--text-primary);
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 1.8s;
    border-radius: 50px;
}

.hero-cta:hover {
    background: var(--text-primary);
    color: white;
    transform: scale(1.05);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 2s;
}

.scroll-mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 13px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--text-secondary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(15px);
        opacity: 0;
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section */
.about {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 6rem;
    align-items: center;
}

.about-tag {
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 2rem;
    font-weight: 500;
}

.about h2, .about-us h2, .capabilities h2, .partners h2, .contact h2 {
    font-size: 3rem;
    font-weight: 200;
    margin-bottom: 2rem;
    letter-spacing: -1px;
    color: var(--text-primary);
}

.about-text {
    color: var(--text-secondary);
    line-height: 1.8;
    font-weight: 400;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
    padding: 2rem 0;
    border-right: 1px solid var(--border);
}

.stat:last-child {
    border-right: none;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 200;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Our Evolution Section (New) */
.about-us {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.timeline {
    display: flex;
    justify-content: space-between;
    margin-top: 4rem;
    position: relative;
    padding-bottom: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--border);
}

.timeline-item {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 1rem;
}

.timeline-item::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
    height: 15px;
    background-color: var(--accent);
    border-radius: 50%;
    border: 2px solid var(--bg-primary);
    box-shadow: 0 0 0 3px var(--accent-dim);
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.timeline-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.callout-box {
    margin-top: 4rem;
    padding: 2rem;
    background-color: var(--accent-dim);
    color: var(--accent);
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 1px;
}

/* Capabilities Section (New) */
.capabilities {
    padding: 8rem 0;
    text-align: center;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.capability-item {
    padding: 2.5rem;
    background-color: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.capability-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.capability-item h3 {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.capability-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Vision Section */
.vision {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Animated background for Vision section */
.vision::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(238, 59, 59, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(238, 59, 59, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(238, 59, 59, 0.02) 0%, transparent 50%);
    animation: subtleFloat 25s ease-in-out infinite;
    z-index: 1;
}

.vision::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(45deg, transparent 48%, rgba(238, 59, 59, 0.02) 49%, rgba(238, 59, 59, 0.02) 51%, transparent 52%);
    background-size: 30px 30px;
    animation: diagonalMove 15s linear infinite;
    opacity: 0.3;
    z-index: 1;
}

.vision-subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0.5rem 0 1rem;
    color: #444;
    letter-spacing: 0.3px;
}

@keyframes subtleFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-30px, -30px) scale(1.05); }
    66% { transform: translate(30px, -20px) scale(0.95); }
}

@keyframes diagonalMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 30px); }
}

.vision .container {
    position: relative;
    z-index: 2;
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-top: 4rem;
}

.vision-item {
    padding: 3rem 2rem;
    border: 2px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
    border-radius: 12px;
}

.vision-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-dim);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.vision-item:hover::before {
    transform: translateY(0);
}

.vision-item:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(238, 59, 59, 0.1);
}

.vision-item h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
    color: var(--text-primary);
}

.vision-item p {
    color: var(--text-secondary);
    font-weight: 400;
    position: relative;
    z-index: 1;
}

/* Our Partners Section (New) */
.partners {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 100%);
    text-align: center;
}

.partners p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.partner-details {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.detail-item {
    flex: 1;
    min-width: 250px;
    padding: 1.5rem;
    background-color: var(--bg-primary);
    border-radius: 8px;
    border: 1px solid var(--border);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.detail-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.detail-item p {
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 0; /* Override default p margin */
}


/* Contact Section - Original landing page background with grid */
.contact {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Grid Background for Contact Section */
.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
    animation: grid-move 20s linear infinite;
    z-index: 1;
}

@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact h2 {
    font-size: 3rem;
    font-weight: 200;
    margin-bottom: 2rem;
    letter-spacing: -1px;
    color: var(--text-primary);
}

.contact-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    font-weight: 400;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.contact-cta {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--accent);
    color: white;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid var(--accent);
    border-radius: 50px;
}

.contact-cta:hover {
    background: transparent;
    color: var(--accent);
    transform: translateY(-2px);
}

.contact-cta.secondary-cta {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--text-secondary);
}

.contact-cta.secondary-cta:hover {
    background: var(--text-primary);
    color: white;
    border-color: var(--text-primary);
}

/* Footer */
footer {
    padding: 4rem 0 2rem;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    border-top: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

/* Subtle animation for footer */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(90deg, transparent 0%, rgba(238, 59, 59, 0.01) 50%, transparent 100%);
    animation: shimmer 8s ease-in-out infinite;
    z-index: 1;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

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

.footer-links a:hover {
    color: var(--accent);
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo {
    height: 30px; /* Adjust as needed */
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
}

.social-icon {
    height: 25px; /* Adjust as needed */
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.social-icon:hover {
    opacity: 1;
}

/* Responsive */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .stats {
        justify-content: center;
    }

    .vision-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 4rem auto 0;
    }

    .timeline {
        flex-direction: column;
        align-items: center;
        padding-bottom: 0;
    }

    .timeline::before {
        width: 2px;
        height: 100%;
        left: 50%;
        transform: translateX(-50%);
        bottom: auto;
        top: 0;
    }

    .timeline-item {
        padding: 2rem 1rem;
        width: 100%;
        position: relative;
    }

    .timeline-item::after {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .language-switcher {
        position: static;
        transform: none;
        order: 2;
    }

    .nav-container {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .slogan {
        display: none; /* Hide slogan on smaller screens if it overlaps */
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1.5rem 2rem;
    }

    .nav-links {
        display: none;
    }

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

    .about h2,
    .about-us h2,
    .capabilities h2,
    .partners h2,
    .contact h2 {
        font-size: 2rem;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 1.5rem 0;
    }

    .stat:last-child {
        border-bottom: none;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .logo-text {
        display: none;
    }

    .logo-img {
        height: 35px;
    }

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

    .partner-details {
        flex-direction: column;
        gap: 1.5rem;
    }

    .contact-buttons {
        flex-direction: column;
    }

    .language-switcher {
        position: absolute;
        right: 0;
    }
}