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

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}


.mobile-menu-btn {
    display: flex;
    padding: 0.5rem;
    background: transparent;
    border: none;
    color: hsl(var(--foreground));
    cursor: pointer;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}


/* ========================================
   Page Header / Hero
   ======================================== */
.page-header {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, hsl(222 47% 15%) 0%, hsl(222 47% 25%) 50%, hsl(174 62% 35%) 100%);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
    color: hsl(var(--secondary));
}

.breadcrumb span {
    color: hsl(var(--secondary));
}

.page-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   Section Labels & Titles
   ======================================== */
.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: hsl(var(--secondary));
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: hsl(var(--foreground));
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.section-title span {
    color: hsl(var(--primary));
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-description {
    color: hsl(var(--muted-foreground));
    margin-top: 1rem;
}

/* ========================================
   About Section
   ======================================== */
.about-section {
    background: hsl(var(--background));
}

.about-grid {
    display: grid;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-image {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.about-image-wrapper img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    bottom: 1.5rem;
    right: 2rem;
    background: white;
    border-radius: 1rem;
    padding: 1rem 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 3s ease-in-out infinite;
}

.about-badge-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: linear-gradient(135deg, hsl(var(--secondary)), hsl(var(--primary)));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
}

.about-badge-text h4 {
    font-weight: 700;
    color: hsl(var(--foreground));
}

.about-badge-text span {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.about-year-badge {
    position: absolute;
    top: -1rem;
    left: 2rem;
    background: hsl(var(--primary));
    color: white;
    border-radius: 1rem;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.about-year-badge p:first-child {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.9;
}

.about-year-badge p:last-child {
    font-size: 1.5rem;
    font-weight: 800;
}

.about-content p {
    color: hsl(var(--muted-foreground));
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-features {
    margin-bottom: 2rem;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.about-feature-icon {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: hsl(var(--secondary) / 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-feature-icon svg {
    color: hsl(var(--secondary));
}

.about-feature span {
    color: hsl(var(--foreground));
}

/* ========================================
   Stats Section
   ======================================== */
.stats-section {
    background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(222 47% 30%) 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 10;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-value {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

/* ========================================
   Timeline Section
   ======================================== */
.timeline-section {
    background: hsl(var(--card));
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, hsl(var(--primary)), hsl(var(--secondary)));
    border-radius: 2px;
}

@media (min-width: 768px) {
    .timeline-line {
        left: 50%;
        transform: translateX(-50%);
    }
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    padding-bottom: 2rem;
}

@media (min-width: 768px) {
    .timeline-item {
        padding-left: 0;
        display: flex;
        align-items: center;
        padding-bottom: 3rem;
    }

    .timeline-item:nth-child(odd) {
        flex-direction: row-reverse;
    }

    .timeline-item:nth-child(odd) .timeline-content {
        text-align: right;
    }
}

.timeline-dot {
    position: absolute;
    left: 10px;
    top: 0;
    width: 24px;
    height: 24px;
    background: white;
    border: 4px solid hsl(var(--primary));
    border-radius: 50%;
    z-index: 10;
}

@media (min-width: 768px) {
    .timeline-dot {
        left: 50%;
        transform: translateX(-50%);
    }
}

.timeline-content {
    flex: 1;
}

@media (min-width: 768px) {
    .timeline-content {
        padding: 0 3rem;
    }
}

.timeline-card {
    background: hsl(var(--muted) / 0.3);
    border: 1px solid hsl(var(--border));
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.timeline-year {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.timeline-year.primary {
    background: hsl(var(--primary) / 0.1);
    color: hsl(var(--primary));
}

.timeline-year.secondary {
    background: hsl(var(--secondary) / 0.1);
    color: hsl(var(--secondary));
}

.timeline-year.accent {
    background: hsl(var(--accent) / 0.2);
    color: hsl(var(--accent-foreground));
}

.timeline-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: hsl(var(--foreground));
    margin-bottom: 0.5rem;
}

.timeline-card p {
    color: hsl(var(--muted-foreground));
    font-size: 0.9375rem;
}

/* ========================================
   Values Section
   ======================================== */
.values-section {
    background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(222 47% 30%) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.values-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.values-content {
    position: relative;
    z-index: 10;
}

.values-header {
    text-align: center;
    margin-bottom: 4rem;
}

.values-header .section-label {
    color: hsl(var(--secondary));
}

.values-header .section-title {
    color: white;
}

.values-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.value-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.value-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-8px);
}

.value-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: linear-gradient(135deg, hsl(var(--secondary)), hsl(var(--accent)));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: hsl(var(--secondary-foreground));
}

.value-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.value-card p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* ========================================
   Team Section
   ======================================== */
.team-section {
    background: hsl(var(--background));
}

.team-grid {
    display: grid;
    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-card {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.team-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, hsl(var(--primary) / 0.9), transparent);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-social {
    display: flex;
    gap: 0.75rem;
}

.team-social a {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: background 0.3s ease;
}

.team-social a:hover {
    background: rgba(255, 255, 255, 0.3);
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-info h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: hsl(var(--foreground));
    margin-bottom: 0.25rem;
}

.team-info p {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

/* ========================================
   Contact Section
   ======================================== */
.contact-section {
    background: hsl(var(--muted) / 0.3);
}

.contact-grid {
    display: grid;
    gap: 4rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info p {
    color: hsl(var(--muted-foreground));
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
}

.contact-item-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon.primary {
    background: hsl(var(--primary) / 0.1);
    color: hsl(var(--primary));
}

.contact-item-icon.secondary {
    background: hsl(var(--secondary) / 0.1);
    color: hsl(var(--secondary));
}

.contact-item-icon.accent {
    background: hsl(var(--accent) / 0.2);
    color: hsl(var(--accent-foreground));
}

.contact-item-content h4 {
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 0.25rem;
}

.contact-item-content p {
    color: hsl(var(--muted-foreground));
    margin: 0;
}

.contact-form-wrapper {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form-wrapper h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: hsl(var(--foreground));
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .form-row.two-cols {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--foreground));
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid hsl(var(--border));
    border-radius: 0.75rem;
    font-family: inherit;
    font-size: 0.9375rem;
    color: hsl(var(--foreground));
    background: hsl(var(--background));
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 3px hsl(var(--primary) / 0.1);
}

.form-group textarea {
    resize: none;
    min-height: 120px;
}

.form-submit {
    width: 100%;
    padding: 1rem;
    background: hsl(var(--primary));
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background 0.3s ease;
}

.form-submit:hover {
    background: hsl(222 47% 15%);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

.footer-content {
    padding: 4rem 0;
}

.footer-grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: background 0.3s ease;
}

.footer-social a:hover {
    background: hsl(var(--secondary));
}

.footer-title {
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact svg {
    flex-shrink: 0;
    color: hsl(var(--secondary));
    margin-top: 0.25rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-bottom p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.scroll-to-top {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.scroll-to-top:hover {
    background: hsl(var(--secondary));
}