/* ========================================
   GLASSMORPHISM UI COMPONENTS FOR ABOUT PAGE
   ======================================== */

/* UI Components inherit global tokens from style.css */

/* Base Glass Card */
.ui-glass-card {
    background: var(--glass-bg-light);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 16px;
    border: var(--glass-border-light);
    box-shadow: var(--glass-shadow);
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ui-glass-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary);
}

/* Gradient Text */
.ui-gradient-text {
    background: var(--button-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Label */
.ui-label {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(113, 201, 206, 0.1);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    border-radius: 20px;
    margin-bottom: 24px;
}

/* Hero About Section */
.ui-hero-about {
    padding: 140px 0 100px;
    /* Transparent to let body background show through, matching index.html flow */
    background: transparent;
    position: relative;
    overflow: hidden;
}

.ui-hero-about::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(113, 201, 206, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.ui-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.ui-hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.ui-hero-subtitle {
    margin-top: 32px;
    max-width: 90%;
}

.ui-hero-subtitle p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

.ui-hero-illustration {
    position: relative;
    z-index: 1;
}

.ui-hero-illustration svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* About Section */
.ui-about-section {
    padding: 100px 0;
    /* Allow alternation from style.css */
    background: transparent;
}

.ui-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.ui-section-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.ui-section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.ui-about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.ui-feature-card {
    text-align: center;
}

.ui-feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    padding: 20px;
    background: radial-gradient(circle, rgba(113, 201, 206, 0.15) 0%, rgba(166, 227, 233, 0.15) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.ui-feature-card:hover .ui-feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: radial-gradient(circle, rgba(113, 201, 206, 0.25) 0%, rgba(166, 227, 233, 0.25) 100%);
}

.ui-feature-icon svg {
    width: 100%;
    height: 100%;
}

.ui-feature-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.ui-feature-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Vision & Mission Section */
.ui-vision-mission {
    padding: 100px 0;
    background: transparent;
}

.ui-vm-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.ui-vm-card {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.ui-vm-illustration {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
}

.ui-vm-illustration svg {
    width: 100%;
    height: 100%;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.9;
        transform: scale(1.05);
    }
}

.ui-vm-content h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.ui-vm-content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Why Choose Us Section */
.ui-why-section {
    padding: 100px 0;
    background: transparent;
}

.ui-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.ui-why-card {
    text-align: center;
    padding: 40px 28px;
}

.ui-why-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    transition: transform 0.3s ease;
}

.ui-why-card:hover .ui-why-icon {
    transform: scale(1.15) rotate(-5deg);
}

.ui-why-icon svg {
    width: 100%;
    height: 100%;
}

.ui-why-card h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.ui-why-card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Team Section */
.ui-team-section {
    padding: 100px 0;
    background: transparent;
}

.ui-team-card {
    max-width: 1000px;
    margin: 0 auto;
}

.ui-team-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(166, 227, 233, 0.5);
}

.ui-stat {
    text-align: center;
}

.ui-stat-number {
    font-size: 48px;
    font-weight: 800;
    background: var(--button-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.ui-stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.ui-team-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    text-align: center;
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
    .ui-hero-grid {
        gap: 40px;
    }

    .ui-hero-title {
        font-size: 42px;
    }

    .ui-about-grid,
    .ui-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .ui-hero-title {
        font-size: 36px;
    }

    .ui-hero-subtitle {
        max-width: 100%;
    }

    .ui-section-title {
        font-size: 36px;
    }

    .ui-about-grid,
    .ui-why-grid,
    .ui-vm-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ui-team-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .ui-vm-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .ui-glass-card {
        padding: 24px;
    }
}

@media screen and (max-width: 480px) {
    .ui-hero-title {
        font-size: 28px;
    }

    .ui-section-title {
        font-size: 28px;
    }

    .ui-hero-subtitle p {
        font-size: 16px;
    }

    .ui-team-stats {
        grid-template-columns: 1fr;
    }

    .ui-stat-number {
        font-size: 36px;
    }
}

/* Fade-in Animation on Scroll */
.ui-glass-card,
.ui-hero-content,
.ui-hero-illustration {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.ui-hero-content {
    animation-delay: 0.2s;
}

.ui-hero-illustration {
    animation-delay: 0.4s;
}

.ui-glass-card:nth-child(1) {
    animation-delay: 0.1s;
}

.ui-glass-card:nth-child(2) {
    animation-delay: 0.2s;
}

.ui-glass-card:nth-child(3) {
    animation-delay: 0.3s;
}

.ui-glass-card:nth-child(4) {
    animation-delay: 0.4s;
}

.ui-glass-card:nth-child(5) {
    animation-delay: 0.5s;
}

.ui-glass-card:nth-child(6) {
    animation-delay: 0.6s;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA Section */
.ui-cta-section {
    padding: 80px 0;
    background: transparent;
}