/* NextGen Modern About CSS */

:root {
    --primary-gradient: linear-gradient(135deg, #2979ff 0%, #00e5ff 100%);
    --card-bg: rgba(255, 255, 255, 0.9);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: 1px solid rgba(255, 255, 255, 0.2);
    --neon-shadow: 0 10px 30px rgba(41, 121, 255, 0.2);
}

/* Typography Overrides */
.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-weight: 800;
}

/* Glassmorphism Card (Light Mode) */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    border-radius: 20px;
    padding: 2rem;
    color: #333;
    /* Fix readability on light backgrounds */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(41, 121, 255, 0.15);
}

/* Hero Section Enhancement */
.about-hero-modern {
    position: relative;
    overflow: hidden;
}

.about-hero-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(41, 121, 255, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

/* Floating Animation */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

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

.floating-img {
    animation: float 6s ease-in-out infinite;
}

/* Mission/Vision Icons */
.mission-icon-box {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin: 0 auto 20px;
    font-size: 2.5rem;
    color: #2979ff;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    background: white;
    /* Ensure visible background */
}

.glass-card:hover .mission-icon-box {
    background: var(--primary-gradient);
    color: #fff;
    transform: rotateY(180deg);
}

.mission-icon-box i {
    transition: transform 0.3s ease;
}

.glass-card:hover .mission-icon-box i {
    transform: rotateY(-180deg);
    /* Counter rotate icon */
}

/* Stats Section Modern */
.stat-card-modern {
    text-align: center;
    padding: 30px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

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

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: #fff;
    display: block;
    margin-bottom: 5px;
    text-shadow: 0 0 20px rgba(41, 121, 255, 0.5);
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Check List Modern */
.list-modern li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    font-weight: 500;
}

.list-modern li::before {
    content: '\f00c';
    font-family: "Font Awesome 5 Pro";
    position: absolute;
    left: 0;
    top: 2px;
    width: 25px;
    height: 25px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 4px 10px rgba(41, 121, 255, 0.3);
}

/* Force Dark Text on White Sections */
/* Force Dark Text on White/Light Sections */
.bg-white,
.bgc-lighter,
.mission-vision-modern,
.about-modern-area,
.why-choose-modern {
    color: #1a1a1a !important;
}

.bg-white h1,
.bg-white h2,
.bg-white h3,
.bg-white p,
.bg-white li,
.bgc-lighter h1,
.bgc-lighter h2,
.bgc-lighter h3,
.bgc-lighter p,
.bgc-lighter li,
.mission-vision-modern h1,
.mission-vision-modern h2,
.mission-vision-modern h3,
.mission-vision-modern p,
.mission-vision-modern li,
.about-modern-area h1,
.about-modern-area h2,
.about-modern-area h3,
.about-modern-area p,
.about-modern-area li,
.why-choose-modern h1,
.why-choose-modern h2,
.why-choose-modern h3,
.why-choose-modern p,
.why-choose-modern li,
.glass-card p,
.glass-card li,
.glass-card h3 {
    color: #1a1a1a !important;
}

.bg-white .subtitle.text-gradient,
.bgc-lighter .subtitle.text-gradient,
.mission-vision-modern .subtitle.text-gradient,
.about-modern-area .subtitle.text-gradient,
.why-choose-modern .subtitle.text-gradient {
    color: transparent !important;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Modern Footer CTA - Blue Edition */
.footer-cta-modern {
    /* Vibrant Blue Gradient */
    background: linear-gradient(135deg, #0d47a1 0%, #1565c0 50%, #1976d2 100%);

    border-radius: 30px;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(13, 71, 161, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
    z-index: 10;
}

.footer-cta-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(21, 101, 192, 0.5);
    border-color: rgba(255, 255, 255, 0.4);
}

.footer-cta-modern * {
    color: #ffffff !important;
}

.footer-cta-modern h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.footer-cta-modern .subtitle {
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    margin-bottom: 20px;
    display: inline-block;
    /* Force Solid White */
    color: #ffffff !important;
    background-clip: border-box !important;
    -webkit-background-clip: border-box !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* Fix Button Hover Text in CTA */
.footer-cta-modern .theme-btn:hover {
    color: #ffffff !important;
}

.footer-cta-modern .theme-btn span {
    color: #1a1a1a;
    /* Default state color if needed, or white */
}

/* Actually, let's just force white always for the button text in this context if desired, 
   but usually theme-btn style-three might have specific hover behavior. 
   User said "üzerine gelince görünmüyor" (invisible on hover). 
   Likely it turns to same color as background. */
.footer-cta-modern .theme-btn:hover span,
.footer-cta-modern .theme-btn:hover i {
    color: #1a1a1a !important;
    /* Make it dark on hover if bg is white, or white if bg is dark. */
}

/* Wait, style-three usually has white text? Let's check style-three. 
   Safest bet based on modern styles: Dark text on white button, stays dark or goes white on blue hover.
   I'll assume the button becomes white/transparent and text disappears. 
   I will set specific high-contrast colors. */
.footer-cta-modern .theme-btn {
    background: #ffffff;
    color: #2979ff !important;
}

.footer-cta-modern .theme-btn:hover {
    background: #2979ff;
    color: #ffffff !important;
    border-color: #ffffff;
}

.footer-cta-modern::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    top: -150px;
    left: -150px;
    border-radius: 50%;
    z-index: -1;
    animation: pulseGlow 5s infinite alternate;
}

.footer-cta-modern::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(33, 150, 243, 0.4) 0%, transparent 70%);
    bottom: -100px;
    right: -100px;
    border-radius: 50%;
    z-index: -1;
}

@keyframes pulseGlow {
    0% {
        transform: scale(1);
        opacity: 0.1;
    }

    100% {
        transform: scale(1.1);
        opacity: 0.2;
    }
}