/* Inherits variables from new_homepage.css */

/* CONTENT WRAPPER CORRECTION */
/* Ensure all sections sit above the fixed background */
.about-hero,
.container {
    position: relative;
    z-index: 10;
}

.about-hero {
    padding: 120px 0 60px 0;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    /* Changed to use var from new_homepage.css */
    margin-top: 1rem;
    font-weight: 300;
}

.section-spacing {
    margin: 80px auto;
}

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

.mb-4 {
    margin-bottom: 2rem;
}

/* CARDS */
.about-card {
    background: rgba(20, 20, 25, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
    color: var(--text-main);
    /* Correction */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.about-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.intro-card {
    border-top: 1px solid var(--primary);
    /* Correction */
    background: linear-gradient(180deg, rgba(30, 30, 40, 0.6) 0%, rgba(20, 20, 25, 0.4) 100%);
}

.intro-card h2 {
    font-family: 'Clash Display', sans-serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.intro-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #ddd;
}

/* STORY SECTION */
.story-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: center;
}

.section-title {
    font-family: 'Clash Display', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
    position: relative;
    z-index: 10;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.feature-list li {
    margin-bottom: 12px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #eee;
}

.feature-list i {
    color: var(--primary);
    /* Correction */
}

.highlight-text {
    font-weight: 500;
    color: #fff;
    border-left: 3px solid var(--primary);
    /* Correction */
    padding-left: 15px;
    margin-top: 20px;
}

.visual-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.visual-card i {
    font-size: 5rem;
    color: var(--primary);
    /* Correction */
    margin-bottom: 20px;
    opacity: 0.8;
}

.visual-card h4 {
    font-size: 1.5rem;
    font-family: 'Clash Display', sans-serif;
}

/* BENEFITS GRID */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.benefit-card {
    padding: 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--secondary);
    /* Correction */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.benefit-card h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-family: 'Clash Display', sans-serif;
}

.benefit-list {
    list-style: none;
    padding: 0;
    margin-top: auto;
}

.benefit-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 0.95rem;
    color: #ccc;
    display: flex;
    gap: 8px;
}

.benefit-list li i {
    color: var(--secondary);
    /* Correction */
    margin-top: 4px;
}

.benefit-list li:last-child {
    border-bottom: none;
}

/* MISSION VISION */
.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.mv-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.icon-large {
    font-size: 2.5rem;
    color: var(--primary);
    /* Correction */
    background: rgba(99, 102, 241, 0.1);
    /* fallback primary */
    padding: 15px;
    border-radius: 12px;
}

.mv-card h4 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-family: 'Clash Display', sans-serif;
}

.mv-card p {
    color: #ddd;
    line-height: 1.6;
}

/* VALUES GRID */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.value-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    /* Correction */
    transform: translateY(-3px);
}

.value-card h5 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #fff;
}

.value-card p {
    font-size: 0.9rem;
    color: #aaa;
    line-height: 1.5;
}

/* SOCIAL CONNECT */
.connect-card {
    max-width: 800px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    /* Ensure it respects flow */
    z-index: 100;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    position: relative;
    z-index: 10;
}

/* Adjust text size if necessary */
.social-btn {
    color: inherit;
    /* Allow specific color override */
}

.social-btn i {
    font-size: 1.4rem;
}

.social-btn.twitter {
    background: rgba(29, 161, 242, 0.15);
    color: #1DA1F2;
    border-color: rgba(29, 161, 242, 0.4);
}

.social-btn.twitter:hover {
    background: #1DA1F2;
    color: #fff;
    border-color: #1DA1F2;
    box-shadow: 0 0 15px rgba(29, 161, 242, 0.5);
}

.social-btn.instagram {
    background: rgba(225, 48, 108, 0.15);
    color: #E1306C;
    border-color: rgba(225, 48, 108, 0.4);
}

.social-btn.instagram:hover {
    background: #E1306C;
    color: #fff;
    border-color: #E1306C;
    box-shadow: 0 0 15px rgba(225, 48, 108, 0.5);
}

.social-btn.youtube {
    background: rgba(255, 0, 0, 0.15);
    color: #FF0000;
    border-color: rgba(255, 0, 0, 0.4);
}

.social-btn.youtube:hover {
    background: #FF0000;
    color: #fff;
    border-color: #FF0000;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}

.social-btn.discord {
    background: rgba(88, 101, 242, 0.15);
    color: #5865F2;
    border-color: rgba(88, 101, 242, 0.4);
}

.social-btn.discord:hover {
    background: #5865F2;
    color: #fff;
    border-color: #5865F2;
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.5);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .story-grid {
        grid-template-columns: 1fr;
    }

    .story-visual {
        order: -1;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

    .feature-list li {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }


}

/* FADE IN ANIMATION */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInMove 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.8s;
}

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

/* TESTIMONIALS GRID */
.testimonials-grid {
    column-count: 2;
    /* Masonry-like layout */
    column-gap: 24px;
}

.testimonial-item {
    break-inside: avoid;
    margin-bottom: 24px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Subtle border */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-item img {
    width: 100%;
    height: auto;
    display: block;
    /* optional: slightly dim images until hover */
    /* filter: brightness(0.9); */
    transition: filter 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

.testimonial-item:hover img {
    filter: brightness(1);
}

@media (max-width: 768px) {
    .testimonials-grid {
        column-count: 1;
        /* Single column on mobile */
    }
}

/* CONTACT LINK */
.email-link {
    font-size: 1.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.email-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    transform: translateY(-2px);
}