:root {
    --primary: 220, 85%, 52%;
    --primary-glow: 220, 85%, 62%;
    --accent: 28, 88%, 62%;
    --warm: 28, 88%, 62%;
    --secondary: 210, 40%, 96.1%;
    --muted-foreground: 215.4, 16.3%, 46.9%;
    --foreground: 222.2, 84%, 4.9%;
    --card: 0, 0%, 100%;
    --background: 0, 0%, 100%;
    --radius: 0.5rem;
}
.card-title {
display: block !important; /* or inline, grid, contents � whatever you want */
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 3rem 1rem 5rem;
    background: linear-gradient(
        135deg,
        hsl(var(--primary)) 0%,
        hsl(var(--primary-glow)) 25%,
        hsl(var(--accent)) 50%,
        hsl(var(--warm)) 75%,
        hsl(var(--primary)) 100%
    );
    background-size: 200% 200%;
    animation: shimmer 4s ease-in-out infinite;
    color: white;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: shine 3s ease-in-out infinite;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
}

.hero-particles {
    position: absolute;
    inset: 0;
    opacity: 0.1;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.particle:nth-child(1) {
    top: 2.5rem;
    left: 2.5rem;
    width: 5rem;
    height: 5rem;
}

.particle:nth-child(2) {
    top: 8rem;
    right: 5rem;
    width: 4rem;
    height: 4rem;
    animation-delay: 0.3s;
}

.particle:nth-child(3) {
    bottom: 5rem;
    left: 8rem;
    width: 3rem;
    height: 3rem;
    animation-delay: 0.7s;
}

.particle:nth-child(4) {
    bottom: 8rem;
    right: 2.5rem;
    width: 6rem;
    height: 6rem;
    animation-delay: 0.5s;
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 10;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(
        to right,
        hsl(var(--primary)),
        hsl(var(--primary-glow)),
        hsl(var(--accent)),
        hsl(var(--warm)),
        hsl(var(--primary))
    );
    background-size: 300% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 5s linear infinite, fade-in 0.6s ease-out;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    animation: slide-up 0.5s ease-out 0.2s both;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 2rem;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    animation: scale-in 0.4s ease-out 0.4s both;
    position: relative;
}

.hero-badge::before {
    content: '';
    position: absolute;
    inset: -2px;
    padding: 2px;
    background: conic-gradient(from 0deg, 
        hsl(var(--primary)), 
        hsl(var(--primary-glow)), 
        hsl(var(--accent)), 
        hsl(var(--warm)), 
        hsl(var(--primary))
    );
    border-radius: inherit;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: subtract;
    -webkit-mask-composite: xor;
}

.hero-badge:hover {
    background: rgba(255, 255, 255, 0.3);
}

.hero-icon {
    width: 1rem;
    height: 1rem;
    animation: pulse 2s ease-in-out infinite;
}

/* About Section */
.about-section {
    padding: 3rem 1rem 0rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    animation: fade-in 0.6s ease-out;
}

.gradient-title {
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(to right, 
        hsl(var(--primary)), 
        hsl(var(--accent)), 
        hsl(var(--warm))
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s ease-in-out infinite;
}

.section-description {
    color: hsl(var(--muted-foreground));
    font-size: 1.125rem;
    max-width: 48rem;
    margin: 0 auto;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (min-width: 640px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.mission-card {
    background: hsl(var(--card));
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.5s ease;
    animation: slide-up 0.5s ease-out both;
    position: relative;
}

.mission-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    padding: 2px;
    background: linear-gradient(to right, 
        hsl(var(--primary)), 
        hsl(var(--primary-glow)), 
        hsl(var(--accent)), 
        hsl(var(--warm))
    );
    border-radius: inherit;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: subtract;
    -webkit-mask-composite: xor;
    z-index: -1;
}

.mission-card:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.card-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, 
        hsla(var(--primary), 0.2), 
        hsla(var(--primary), 0.1)
    );
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 10;
}

.card-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: hsl(var(--primary));
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 10;
}

.card-description {
    color: hsl(var(--muted-foreground));
    position: relative;
    z-index: 10;
}

/* Team Section */
.team-section {
    padding: 0rem 1rem 0rem;
    background: linear-gradient(to right, 
        hsla(var(--secondary), 0.2), 
        hsla(var(--warm), 0.05)
    );
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 640px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.team-member {
    background: hsl(var(--card));
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.5s ease;
    animation: slide-up 0.5s ease-out both;
    position: relative;
}

.team-member::before {
    content: '';
    position: absolute;
    inset: -2px;
    padding: 2px;
    background: linear-gradient(to right, 
        hsl(var(--primary)), 
        hsl(var(--primary-glow)), 
        hsl(var(--accent)), 
        hsl(var(--warm))
    );
    border-radius: inherit;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: subtract;
    -webkit-mask-composite: xor;
    z-index: -1;
}

.team-member:hover {
    transform: scale(1.05);
    background: hsla(var(--secondary), 0.5);
}

.member-avatar {
    position: relative;
    width: 6rem;
    height: 6rem;
    margin: 0 auto 1.5rem;
}

.avatar-bg {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(45deg, 
        hsl(var(--primary)), 
        hsl(var(--accent)), 
        hsl(var(--warm))
    );
    opacity: 0.2;
}

.member-image {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.5s ease;
}

.team-member:hover .member-image {
    border-color: hsl(var(--primary));
}

.member-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 10;
    transition: all 0.3s ease;
}

.team-member:hover .member-name {
    background: linear-gradient(to right, 
        hsl(var(--primary)), 
        hsl(var(--warm))
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.member-role {
    color: hsl(var(--primary));
    font-weight: 500;
    margin-bottom: 1rem;
    position: relative;
    z-index: 10;
}

.member-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
    position: relative;
    z-index: 10;
}

.contact-icon {
    width: 1rem;
    height: 1rem;
    color: hsl(var(--primary));
    animation: pulse 2s ease-in-out infinite;
}

.contact-link {
    color: inherit;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: hsl(var(--primary));
    transform: scale(1.1);
}

/* CTA Section */
.cta-section {
    padding: 0rem 1rem 4rem;
}

.cta-card {
    background: linear-gradient(to right, 
        hsla(var(--primary), 0.05), 
        hsla(var(--warm), 0.05), 
        hsla(var(--primary), 0.05)
    );
    border: 1px solid hsla(var(--primary), 0.2);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    max-width: 64rem;
    margin: 2rem auto;
    animation: scale-in 0.4s ease-out;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-description {
    color: hsl(var(--muted-foreground));
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    color: white;
}

.cta-button::before {
    content: '';
    position: absolute;
    inset: -1px;
    padding: 1px;
    background: linear-gradient(to right, 
        hsl(var(--primary-glow)), 
        hsl(var(--accent)), 
        hsl(var(--warm)), 
        hsl(var(--primary))
    );
    border-radius: inherit;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: subtract;
    -webkit-mask-composite: xor;
    z-index: -1;
}

.cta-button-primary {
    background: linear-gradient(135deg, 
        hsl(var(--primary)), 
        hsl(var(--primary-glow))
    );
}

.cta-button-secondary {
    background: linear-gradient(135deg, 
        hsl(var(--warm)), 
        hsla(var(--warm), 0.8)
    );
}

.cta-button:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

.cta-icon {
    width: 1.25rem;
    height: 1.25rem;
    animation: pulse 2s ease-in-out infinite;
    position: relative;
    z-index: 10;
}

.cta-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid hsla(var(--primary), 0.1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
}

@media (min-width: 640px) {
    .cta-footer {
        flex-direction: row;
        justify-content: center;
    }
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-divider {
    width: 1px;
    height: 1rem;
    background: hsla(var(--primary), 0.2);
}

@media (max-width: 639px) {
    .footer-divider {
        display: none;
    }
}

/* Animations */
@keyframes shimmer {
    0%, 100% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
}

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scale-in {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slide-up {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Animation delays */
.mission-card:nth-child(2) {
    animation-delay: 0.1s;
}

.mission-card:nth-child(3) {
    animation-delay: 0.2s;
}

.team-member:nth-child(1) {
    animation-delay: 0s;
}

.team-member:nth-child(2) {
    animation-delay: 0.1s;
}

.team-member:nth-child(3) {
    animation-delay: 0.2s;
}

.team-member:nth-child(4) {
    animation-delay: 0.3s;
}