/* ============================================
   HOMEPAGE ULTRA MODERN DESIGN
   Premium, Contemporary, Vibrant
   ============================================ */

/* CSS Variables */
:root {
    /* Colors - Italian Flag Theme */
    --primary-gradient: linear-gradient(135deg, #009246 0%, #007a3d 100%);
    /* Italian Green Gradient */
    --secondary-gradient: linear-gradient(135deg, #CE2B37 0%, #a8222c 100%);
    /* Italian Red Gradient */

    --color-primary: #009246;
    /* Italian Green */
    --color-secondary: #CE2B37;
    /* Italian Red */
    --color-teal: #0d9488;
    --color-purple: #a855f7;
    --color-blue: #3b82f6;

    --color-text-dark: #1f2937;
    /* Black for text */
    --color-text-light: #6b7280;
    --color-bg-light: #f9fafb;
    --color-white: #ffffff;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    /* Typography - Consistent with Main Theme */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Outfit', 'Inter', -apple-system, sans-serif;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.25);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ============================================
   GLOBAL STYLES
   ============================================ */

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ============================================
   HERO SECTION - ULTRA MODERN
   ============================================ */

.hero-ultra-modern {
    position: relative;
    min-height: 70vh;
    /* Reduced from 90vh */
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    overflow: hidden;
    padding: 140px var(--space-md) var(--space-3xl);
    /* Added top padding for header */
    z-index: 10;
}

/* Animated Background Shapes */
.hero-ultra-modern::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.hero-ultra-modern::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -100px;
    left: -100px;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(50px, 50px) scale(1.1);
    }
}

.hero-content-ultra {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInDown 0.8s ease;
}

.hero-content-ultra h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-content-ultra p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: var(--space-xl);
    opacity: 0.9;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.btn-hero-primary,
.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 1.2rem 2.5rem;
    border-radius: var(--radius-full);
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.btn-hero-primary {
    background: white;
    color: var(--color-primary);
}

.btn-hero-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: var(--color-secondary);
    color: white;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    border-color: white;
}



/* ============================================
   SECTION HEADERS
   ============================================ */

.section-ultra-modern {
    padding: var(--space-3xl) 0;
}

.section-header-ultra {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-badge {
    display: inline-block;
    background: rgba(15, 23, 42, 0.1);
    /* Subtle dark badge */
    color: var(--color-primary);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-md);
}

.section-header-ultra h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--color-text-dark);
    margin-bottom: var(--space-sm);
}

.section-header-ultra p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   PROGRAMS SECTION
   ============================================ */

.programs-grid-ultra {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.program-card-ultra {
    position: relative;
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    height: 380px;
}

.program-card-ultra::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.9) 100%);
    z-index: 1;
}

.program-card-ultra:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.program-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.program-card-ultra:hover .program-bg-image {
    transform: scale(1.05);
}

.program-content-ultra {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-lg);
    z-index: 2;
    color: white;
}

.program-icon-badge {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.program-content-ultra h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
    font-weight: 700;
}

.program-content-ultra p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: var(--space-md);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-program {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: white;
    color: var(--color-primary);
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all var(--transition-base);
}

.btn-program:hover {
    background: var(--color-secondary);
    color: white;
}

/* ============================================
   STATISTICS SECTION
   ============================================ */

.stats-ultra-modern {
    background: var(--primary-gradient);
    color: white;
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
    position: relative;
    z-index: 2;
}

.stat-item-ultra {
    text-align: center;
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(5px);
}

.stat-number-ultra {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: var(--space-xs);
    color: white;
}

.stat-label-ultra {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   UNIVERSITY CARDS
   ============================================ */

.universities-grid-ultra {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.university-card-ultra {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.university-card-ultra:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.university-image-wrapper {
    position: relative;
    height: 200px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    border-bottom: 1px solid #f0f0f0;
}

.university-logo {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: transform var(--transition-base);
}

.university-card-ultra:hover .university-logo {
    transform: scale(1.05);
}

.university-type-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f3f4f6;
    color: var(--color-text-dark);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.university-card-content {
    padding: var(--space-lg);
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.university-card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: var(--space-md);
    color: var(--color-text-dark);
    font-weight: 700;
}

.university-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: var(--space-lg);
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.university-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.university-meta-item i {
    color: var(--color-secondary);
}

.btn-university {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--color-bg-light);
    color: var(--color-text-dark);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all var(--transition-base);
    margin-top: auto;
}

.btn-university:hover {
    background: var(--color-primary);
    color: white;
}

/* ============================================
   BLOG CARDS
   ============================================ */

.blog-grid-ultra {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-lg);
}

.blog-card-ultra {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card-ultra:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card-ultra:hover .blog-featured-image {
    transform: scale(1.05);
}

.blog-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.blog-card-body {
    padding: var(--space-lg);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta-ultra {
    display: flex;
    gap: 15px;
    margin-bottom: var(--space-sm);
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.blog-meta-ultra i {
    color: var(--color-secondary);
}

.blog-card-body h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
    line-height: 1.4;
    font-weight: 700;
}

.blog-card-body h3 a {
    color: var(--color-text-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.blog-card-body h3 a:hover {
    color: var(--color-secondary);
}

.blog-excerpt-ultra {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: var(--space-lg);
    flex-grow: 1;
}

.btn-blog-read {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    align-self: flex-start;
}

.btn-blog-read:hover {
    color: var(--color-secondary);
    gap: 8px;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-ultra-modern {
    background: var(--primary-gradient);
    color: white;
    padding: var(--space-3xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content-ultra {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.cta-content-ultra h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: var(--space-md);
}

.cta-content-ultra p {
    font-size: 1.2rem;
    margin-bottom: var(--space-xl);
    opacity: 0.9;
}

.btn-cta-ultra {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: white;
    color: var(--color-primary);
    padding: 1.2rem 3rem;
    border-radius: var(--radius-full);
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
}

.btn-cta-ultra:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center {
    text-align: center;
}

.mt-xl {
    margin-top: var(--space-xl);
}

.bg-light {
    background: var(--color-bg-light);
}

/* Animations Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {

    .features-grid,
    .programs-grid-ultra,
    .universities-grid-ultra,
    .blog-grid-ultra,
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
}

@media (max-width: 768px) {
    .hero-ultra-modern {
        min-height: auto;
        padding: 120px var(--space-md) var(--space-xl);
        text-align: center;
    }

    .features-grid,
    .programs-grid-ultra,
    .universities-grid-ultra,
    .blog-grid-ultra,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero-cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }

    .section-ultra-modern {
        padding: var(--space-xl) 0;
    }
}

/* Colors - Modern Palette */
--primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
--secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
--teal-gradient: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
--purple-gradient: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
--blue-gradient: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);

--color-primary: #667eea;
--color-secondary: #764ba2;
--color-teal: #0d9488;
--color-purple: #a855f7;
--color-blue: #3b82f6;

--color-text-dark: #1f2937;
--color-text-light: #6b7280;
--color-bg-light: #f9fafb;
--color-white: #ffffff;

/* Spacing */
--space-xs: 0.5rem;
--space-sm: 1rem;
--space-md: 1.5rem;
--space-lg: 2rem;
--space-xl: 3rem;
--space-2xl: 4rem;
--space-3xl: 6rem;

/* Typography */
--font-body: 'Inter',
-apple-system,
BlinkMacSystemFont,
'Segoe UI',
sans-serif;
--font-heading: 'Playfair Display',
Georgia,
serif;

/* Shadows */
--shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
--shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
--shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
--shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.25);

/* Border Radius */
--radius-sm: 8px;
--radius-md: 16px;
--radius-lg: 24px;
--radius-xl: 32px;
--radius-full: 9999px;

/* Transitions */
--transition-fast: 0.2s ease;
--transition-base: 0.3s ease;
--transition-slow: 0.5s ease;
}

/* ============================================
   GLOBAL STYLES
   ============================================ */

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ============================================
   HERO SECTION - ULTRA MODERN
   ============================================ */

.hero-ultra-modern {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    overflow: hidden;
    padding: var(--space-3xl) var(--space-md);
    z-index: 10;
}

/* Animated Background Shapes */
.hero-ultra-modern::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.hero-ultra-modern::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -100px;
    left: -100px;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(50px, 50px) scale(1.1);
    }
}

.hero-content-ultra {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: fadeInDown 0.8s ease;
}

.hero-content-ultra h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-content-ultra p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: var(--space-xl);
    opacity: 0.95;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.btn-hero-primary,
.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 1.2rem 2.5rem;
    border-radius: var(--radius-full);
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.btn-hero-primary {
    background: white;
    color: var(--color-primary);
}

.btn-hero-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-hero-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-hero-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
    border-color: white;
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features-ultra-modern {
    padding: var(--space-3xl) 0;
    background: var(--color-bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.feature-card-ultra {
    background: white;
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card-ultra::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.feature-card-ultra:hover::before {
    transform: scaleX(1);
}

.feature-card-ultra:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.feature-icon-ultra {
    width: 70px;
    height: 70px;
    background: var(--primary-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-md);
}

.feature-card-ultra h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    color: var(--color-text-dark);
}

.feature-card-ultra p {
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ============================================
   SECTION HEADERS
   ============================================ */

.section-ultra-modern {
    padding: var(--space-3xl) 0;
}

.section-header-ultra {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-badge {
    display: inline-block;
    background: var(--primary-gradient);
    color: white;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-md);
}

.section-header-ultra h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--color-text-dark);
    margin-bottom: var(--space-sm);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header-ultra p {
    font-size: 1.2rem;
    color: var(--color-text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   PROGRAMS SECTION
   ============================================ */

.programs-grid-ultra {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.program-card-ultra {
    position: relative;
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    height: 400px;
}

.program-card-ultra::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
    transition: all var(--transition-base);
}

.program-card-ultra:hover::before {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
}

.program-card-ultra:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.program-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.program-card-ultra:hover .program-bg-image {
    transform: scale(1.1);
}

.program-content-ultra {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-xl);
    z-index: 2;
    color: white;
}

.program-icon-badge {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: var(--space-md);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.program-content-ultra h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: var(--space-sm);
    font-weight: 700;
}

.program-content-ultra p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: var(--space-md);
}

.btn-program {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: white;
    color: var(--color-primary);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    font-weight: 700;
    text-decoration: none;
    transition: all var(--transition-base);
}

.btn-program:hover {
    gap: var(--space-sm);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

/* ============================================
   STATISTICS SECTION
   ============================================ */

.stats-ultra-modern {
    background: var(--primary-gradient);
    color: white;
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}

.stats-ultra-modern::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    right: -200px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
    position: relative;
    z-index: 2;
}

.stat-item-ultra {
    text-align: center;
    padding: var(--space-lg);
}

.stat-number-ultra {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: var(--space-sm);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.stat-label-ultra {
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 0.95;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   UNIVERSITY CARDS
   ============================================ */

/* ============================================
   UNIVERSITY CARDS
   ============================================ */

.universities-grid-ultra {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--space-xl);
}

.university-card-ultra {
    background: white;
    border-radius: 30px;
    /* More rounded corners per reference */
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    /* Softer, larger shadow */
    transition: all var(--transition-base);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.university-card-ultra:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.university-image-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
    /* Soft gradient background similar to reference */
    background: linear-gradient(180deg, #dae2ed 0%, #eaeff5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
}

.university-logo {
    width: 80%;
    /* Limit width to keep logo contained */
    height: 80%;
    object-fit: contain;
    transition: transform var(--transition-base);
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.05));
}

.university-card-ultra:hover .university-logo {
    transform: scale(1.08);
}

.university-type-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(5px);
}

.university-card-content {
    padding: var(--space-xl);
    text-align: center;
    /* Centered content */
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

.university-card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: var(--space-md);
    color: #1f2937;
    /* Darker text */
    line-height: 1.3;
    font-weight: 700;
}

.university-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: var(--space-xl);
    width: 100%;
    align-items: center;
}

.university-meta-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #6b7280;
    font-size: 1rem;
    font-weight: 500;
}

.university-meta-item i {
    color: var(--color-primary);
    /* Use primary color for icons */
    font-size: 1.1rem;
}

.btn-university {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--primary-gradient);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all var(--transition-base);
    width: 80%;
    /* Wider button */
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.25);
    margin-top: auto;
    /* Push to bottom if needed */
}

.btn-university:hover {
    gap: 15px;
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.4);
    transform: translateY(-3px);
}

/* ============================================
   BLOG CARDS
   ============================================ */

.blog-grid-ultra {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--space-xl);
    grid-auto-rows: auto;
    align-items: start;
}

.blog-card-ultra {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.blog-card-ultra:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.blog-image-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.blog-featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.blog-card-ultra:hover .blog-featured-image {
    transform: scale(1.1);
}

.blog-category-badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    background: var(--primary-gradient);
    color: white;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
}

.blog-card-body {
    padding: var(--space-xl);
}

.blog-meta-ultra {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.blog-meta-ultra span {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.blog-meta-ultra i {
    color: var(--color-primary);
}

.blog-card-body h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    color: var(--color-text-dark);
    line-height: 1.4;
}

.blog-card-body h3 a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-base);
}

.blog-card-body h3 a:hover {
    color: var(--color-primary);
}

.blog-excerpt-ultra {
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.btn-blog-read {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-primary);
    font-weight: 700;
    text-decoration: none;
    transition: gap var(--transition-base);
}

.btn-blog-read:hover {
    gap: var(--space-sm);
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-ultra-modern {
    background: var(--primary-gradient);
    color: white;
    padding: var(--space-3xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-ultra-modern::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: -150px;
    left: -150px;
    animation: float 20s ease-in-out infinite;
}

.cta-content-ultra {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content-ultra h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: var(--space-md);
    color: white;
    -webkit-text-fill-color: white;
}

.cta-content-ultra p {
    font-size: 1.3rem;
    margin-bottom: var(--space-xl);
    opacity: 0.95;
}

.btn-cta-ultra {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: white;
    color: var(--color-primary);
    padding: 1.2rem 3rem;
    border-radius: var(--radius-full);
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: var(--shadow-xl);
    transition: all var(--transition-base);
}

.btn-cta-ultra:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center {
    text-align: center;
}

.mt-xl {
    margin-top: var(--space-xl);
}

.mb-xl {
    margin-bottom: var(--space-xl);
}

.bg-white {
    background: white;
}

.bg-light {
    background: var(--color-bg-light);
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {

    .programs-grid-ultra,
    .universities-grid-ultra {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .blog-grid-ultra {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    :root {
        --space-3xl: 3rem;
    }

    .hero-ultra-modern {
        min-height: 70vh;
        padding: var(--space-xl) var(--space-md);
    }

    .hero-cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }

    .features-grid,
    .programs-grid-ultra,
    .stats-grid,
    .universities-grid-ultra,
    .blog-grid-ultra {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .program-card-ultra {
        height: 350px;
    }

    .section-ultra-modern {
        padding: var(--space-xl) 0;
    }
}

@media (max-width: 480px) {

    .feature-card-ultra,
    .university-card-content,
    .blog-card-body {
        padding: var(--space-md);
    }

    .program-content-ultra {
        padding: var(--space-md);
    }

    .stat-item-ultra {
        padding: var(--space-md);
    }
}

/* ============================================
   MOBILE RESPONSIVE UPDATES - UNIVERSITY LIST VIEW
   ============================================ */

@media (max-width: 768px) {

    /* University Cards - List View Transformation */
    .universities-grid-ultra {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .university-card-ultra {
        flex-direction: row !important;
        /* Horizontal layout */
        height: auto !important;
        min-height: 130px;
        align-items: stretch !important;
    }

    .university-image-wrapper {
        width: 120px !important;
        /* Fixed width for logo area */
        height: auto !important;
        min-height: 100%;
        padding: 10px !important;
        flex-shrink: 0;
        border-right: 1px solid rgba(0, 0, 0, 0.03);
    }

    .university-logo {
        width: 100% !important;
        height: 100% !important;
    }

    .university-type-badge {
        top: 5px !important;
        left: 5px !important;
        right: auto !important;
        padding: 2px 8px !important;
        font-size: 0.6rem !important;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .university-card-content {
        padding: 15px !important;
        text-align: left !important;
        align-items: flex-start !important;
        justify-content: center !important;
        width: 100%;
    }

    .university-card-content h3 {
        font-size: 1.1rem !important;
        margin-bottom: 8px !important;
        text-align: left !important;
    }

    .university-meta {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 12px !important;
        margin-bottom: 12px !important;
        width: auto !important;
        align-items: center !important;
    }

    .university-meta-item {
        font-size: 0.85rem !important;
        justify-content: flex-start !important;
    }

    .btn-university {
        width: auto !important;
        padding: 8px 20px !important;
        font-size: 0.85rem !important;
        margin-top: 5px;
        align-self: flex-start !important;
        border-radius: 8px !important;
    }
}

/* ============================================
   MOBILE 2-COLUMN LAYOUT UPDATES
   ============================================ */
@media (max-width: 768px) {

    /* Neden Biz & İstatistikler - 2 Sütun */
    .features-grid,
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    /* İstatistik yazılarını biraz küçült sığması için */
    .stat-number-ultra {
        font-size: 2.5rem !important;
    }

    .stat-label-ultra {
        font-size: 0.9rem !important;
    }

    /* Özellik kartı padding azalt */
    .feature-card-ultra,
    .stat-item-ultra {
        padding: 15px !important;
    }

    /* Footer Widget Alanı - 2 Sütun */
    /* .footer-grid sınıfını hedefleyerek 2 sütun yapıyoruz */
    .footer-grid,
    .footer-widgets,
    .site-footer .widget-area,
    #footer .widgets,
    footer .container .row,
    .footer-modern-widgets {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }

    /* Footer widgetları (sütunları) */
    .footer-col,
    .footer-widget,
    .widget,
    footer .col-md-3,
    footer .col-sm-6,
    .footer-modern-widget {
        width: 100% !important;
        margin-bottom: 0 !important;
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0 !important;
        /* Fazla padding varsa sıfırla */
    }
}