/**
 * Eğitim Pro - Main Stylesheet
 * Color: Blue (#0d47a1, #1976d2), White, Light Gray
 */

:root {
    --ep-primary: #0d47a1;
    --ep-secondary: #1976d2;
    --ep-accent: #42a5f5;
    --ep-gold: #f59e0b;
    --ep-text: #1e293b;
    --ep-muted: #64748b;
    --ep-bg: #f8fafc;
    --ep-border: #e2e8f0;
    --ep-white: #ffffff;
    --ep-whatsapp: #25D366;
    --ep-font-body: 'Inter', sans-serif;
    --ep-font-heading: 'Outfit', sans-serif;
    --ep-transition: all 0.3s ease;
    --ep-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
    --ep-shadow-lg: 0 10px 25px -5px rgba(0,0,0,.15);
    --ep-shadow-xl: 0 20px 40px -10px rgba(0,0,0,.2);
    --ep-radius: 12px;
}

/* =========================================
   RESET & BASE
   ========================================= */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    margin: 0; padding: 0;
    font-family: var(--ep-font-body);
    color: var(--ep-text);
    background: var(--ep-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5,h6 {
    font-family: var(--ep-font-heading);
    color: var(--ep-text);
    margin: 0 0 .75rem;
    font-weight: 700;
    line-height: 1.2;
}
a { color: var(--ep-secondary); text-decoration: none; transition: var(--ep-transition); }
a:hover { color: var(--ep-primary); }
img { max-width: 100%; height: auto; display: block; }
ul { padding-left: 20px; }
p { margin: 0 0 1rem; }

/* =========================================
   UTILITIES
   ========================================= */
.ep-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.egitim-pro-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 90px 0; }
.bg-light { background: var(--ep-bg); }
.bg-primary { background: var(--ep-primary); }
.bg-gradient { background: linear-gradient(135deg, var(--ep-primary) 0%, #1565c0 50%, var(--ep-secondary) 100%); }
.text-center { text-align: center; }
.text-white { color: var(--ep-white) !important; }

.section-title { text-align: center; margin-bottom: 60px; }
.section-title .label {
    display: inline-block;
    background: rgba(0,0,0,.06);
    color: var(--ep-text);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .5px;
    margin-bottom: 12px;
    text-transform: uppercase;
}
.section-title h2 { font-size: 2.5rem; margin-bottom: 16px; color: var(--ep-text); }
.section-title p { color: var(--ep-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap { display: flex; flex-wrap: wrap; gap: 30px; }

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 28px;
    border-radius: 8px;
    font-weight: 600; font-size: .95rem;
    font-family: var(--ep-font-body);
    cursor: pointer; border: 2px solid transparent;
    transition: var(--ep-transition);
    white-space: nowrap;
}
.btn-primary { background: var(--ep-primary); color: var(--ep-white); }
.btn-primary:hover { background: var(--ep-secondary); color: var(--ep-white); transform: translateY(-2px); box-shadow: var(--ep-shadow-lg); }
.btn-secondary { background: var(--ep-secondary); color: var(--ep-white); }
.btn-secondary:hover { background: var(--ep-primary); color: var(--ep-white); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ep-primary); border-color: var(--ep-primary); }
.btn-outline:hover { background: var(--ep-primary); color: var(--ep-white); }
.btn-outline-white { background: transparent; color: var(--ep-white); border-color: rgba(255,255,255,.8); }
.btn-outline-white:hover { background: var(--ep-white); color: var(--ep-primary); }
.btn-gold { background: var(--ep-gold); color: var(--ep-white); }
.btn-gold:hover { background: #d97706; color: var(--ep-white); transform: translateY(-2px); box-shadow: var(--ep-shadow-lg); }
.btn-whatsapp { background: var(--ep-whatsapp); color: var(--ep-white) !important; border-radius: 30px; padding: 10px 20px; font-size: .9rem; }
.btn-whatsapp:hover { background: #20b356; color: var(--ep-white); transform: scale(1.05); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-sm { padding: 8px 18px; font-size: .85rem; }
.btn-full { width: 100%; justify-content: center; }

/* =========================================
   TOP BAR
   ========================================= */
.top-bar {
    background: var(--ep-primary);
    color: var(--ep-white);
    padding: 9px 0;
    font-size: .83rem;
}
.top-bar a { color: rgba(255,255,255,.9); }
.top-bar a:hover { color: var(--ep-white); }
.top-bar-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.top-bar-contact { display: flex; gap: 20px; align-items: center; }
.top-bar-contact a { display: inline-flex; align-items: center; gap: 6px; }
.top-bar-social { display: flex; gap: 12px; }
.top-bar-social a { 
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(255,255,255,.15);
    display: flex; align-items: center; justify-content: center;
    font-size: .8rem;
}
.top-bar-social a:hover { background: rgba(255,255,255,.3); color: var(--ep-white); }

/* =========================================
   HEADER
   ========================================= */
.site-header {
    background: var(--ep-white);
    box-shadow: 0 2px 20px rgba(0,0,0,.08);
    position: sticky; top: 0; z-index: 999;
    transition: var(--ep-transition);
}
.site-header.scrolled { box-shadow: var(--ep-shadow-lg); }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.site-branding .site-title { font-size: 1.7rem; margin: 0; }
.site-branding .site-title a { color: var(--ep-primary); }
.site-branding .site-description { font-size: .75rem; color: var(--ep-muted); margin: 0; }
.site-branding .custom-logo { max-height: 56px; width: auto; }

/* Navigation */
.main-navigation { flex: 1; display: flex; justify-content: center; }
.main-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-navigation li { position: relative; }
.main-navigation a {
    color: var(--ep-text); font-weight: 500;
    font-family: var(--ep-font-heading); font-size: .95rem;
    padding: 8px 14px; border-radius: 6px;
    display: block; white-space: nowrap;
}
.main-navigation a:hover, .main-navigation .current-menu-item > a {
    color: var(--ep-primary);
    background: rgba(13,71,161,.06);
}
/* Dropdown */
.main-navigation ul ul {
    position: absolute; top: 100%; left: 0;
    min-width: 200px; background: var(--ep-white);
    box-shadow: var(--ep-shadow-lg); border-radius: var(--ep-radius);
    border-top: 3px solid var(--ep-primary);
    display: none; flex-direction: column; gap: 0; z-index: 999;
    padding: 8px;
}
.main-navigation li:hover > ul { display: flex; }
.main-navigation ul ul a { padding: 10px 14px; border-radius: 6px; font-size: .9rem; }

.menu-toggle {
    display: none; background: none; border: none;
    font-size: 1.5rem; color: var(--ep-primary); cursor: pointer; padding: 4px;
}
.header-cta { display: flex; align-items: center; gap: 12px; }

/* =========================================
   HERO SECTION
   ========================================= */
.hero-section {
    position: relative;
    background-color: #0d47a1;
    background-image: linear-gradient(135deg, rgba(8,36,90,0.6) 0%, rgba(13,71,161,0.55) 50%, rgba(21,101,192,0.5) 100%), url('../../assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    color: var(--ep-white);
    padding: 110px 0 90px;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.04);
    pointer-events: none;
}
.hero-section::after {
    content: '';
    position: absolute; bottom: -2px; left: 0; right: 0; height: 80px;
    background: var(--ep-white);
    clip-path: ellipse(60% 100% at 50% 100%);
}
.hero-inner { position: relative; z-index: 2; display: flex; align-items: center; gap: 60px; }
.hero-text { flex: 1; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 30px; padding: 7px 18px; font-size: .85rem;
    margin-bottom: 24px; backdrop-filter: blur(10px);
}
.hero-badge i { color: var(--ep-gold); }
.hero-text h1 { color: var(--ep-white); font-size: 3.4rem; margin-bottom: 20px; }
.hero-text h1 span { color: var(--ep-gold); }
.hero-text p { font-size: 1.15rem; opacity: .9; margin-bottom: 36px; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
    display: flex; gap: 32px; margin-top: 48px;
    padding-top: 32px; border-top: 1px solid rgba(255,255,255,.2);
}
.hero-stat-num { font-family: var(--ep-font-heading); font-size: 2.2rem; font-weight: 700; color: var(--ep-gold); }
.hero-stat-label { font-size: .85rem; opacity: .8; }
.hero-visual { flex: 0 0 380px; }
.hero-card-float {
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
}
.hero-card-float .hcf-icon { font-size: 3rem; margin-bottom: 16px; color: var(--ep-gold); }
.hero-card-float h3 { color: var(--ep-white); font-size: 1.4rem; margin-bottom: 8px; }
.hero-card-float p { color: rgba(255,255,255,.85); margin: 0; font-size: .95rem; }
.hero-mini-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.hero-mini-card {
    background: rgba(255,255,255,.1); border-radius: 12px;
    padding: 16px 12px; text-align: center;
    border: 1px solid rgba(255,255,255,.15);
}
.hero-mini-card i { font-size: 1.5rem; color: var(--ep-gold); margin-bottom: 6px; }
.hero-mini-card span { display: block; font-size: .8rem; color: rgba(255,255,255,.8); }

/* =========================================
   STATS BAR
   ========================================= */
.stats-bar {
    background: var(--ep-white);
    box-shadow: var(--ep-shadow-lg);
    border-radius: var(--ep-radius);
    padding: 36px 48px;
    margin: -40px auto 0; 
    max-width: 1100px;
    position: relative; z-index: 10;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.stat-item { text-align: center; }
.stat-item + .stat-item { border-left: 1px solid var(--ep-border); }
.stat-num { font-family: var(--ep-font-heading); font-size: 2.5rem; font-weight: 700; color: var(--ep-primary); line-height: 1; }
.stat-label { color: var(--ep-muted); font-size: .9rem; margin-top: 6px; }

/* =========================================
   COURSES SECTION
   ========================================= */
.courses-section { padding: 100px 0 90px; }

/* Course card image banners */
.course-card {
    background: var(--ep-white);
    border: 1px solid var(--ep-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--ep-shadow);
    transition: var(--ep-transition);
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
}
.course-card-banner {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.course-card:hover .course-card-banner { transform: scale(1.05); }
.course-card-body {
    padding: 24px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.course-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--ep-primary), var(--ep-accent));
    transform: scaleX(0); transform-origin: left;
    transition: transform .3s ease;
    z-index: 2;
}
.course-card:hover { transform: translateY(-8px); box-shadow: var(--ep-shadow-xl); border-color: var(--ep-accent); }
.course-card:hover::before { transform: scaleX(1); }
.course-icon {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, rgba(13,71,161,.1), rgba(25,118,210,.15));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.6rem; color: var(--ep-secondary);
    transition: var(--ep-transition);
}
.course-card:hover .course-icon { background: var(--ep-primary); color: var(--ep-white); }
.course-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.course-card p { color: var(--ep-muted); font-size: .9rem; margin-bottom: 16px; }
.course-badge {
    display: inline-block;
    background: rgba(0,0,0,.06); color: var(--ep-text);
    padding: 4px 12px; border-radius: 20px; font-size: .8rem; font-weight: 600;
    margin-top: auto;
}

/* =========================================
   FEATURES SECTION
   ========================================= */
.features-section { padding: 90px 0; background: var(--ep-bg); }
.features-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.features-text h2 { font-size: 2.4rem; margin-bottom: 16px; color: var(--ep-text); }
.features-text p { color: var(--ep-muted); font-size: 1.05rem; margin-bottom: 32px; }
.feature-list { list-style: none; padding: 0; margin: 0 0 32px; }
.feature-list li {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 14px 0; border-bottom: 1px solid var(--ep-border);
    font-size: 1rem;
}
.feature-list li:last-child { border-bottom: none; }
.feature-list .f-icon {
    width: 36px; height: 36px; min-width: 36px;
    border-radius: 8px; background: var(--ep-primary);
    display: flex; align-items: center; justify-content: center;
    color: var(--ep-white); font-size: .9rem;
}
.feature-list .f-text strong { display: block; font-weight: 600; margin-bottom: 3px; }
.feature-list .f-text span { color: var(--ep-muted); font-size: .9rem; }
.features-image { position: relative; }
.features-image img { border-radius: 16px; width: 100%; }
.features-badge {
    position: absolute; bottom: -20px; left: -20px;
    background: var(--ep-primary); color: var(--ep-white);
    border-radius: var(--ep-radius);
    padding: 16px 20px; text-align: center;
    box-shadow: var(--ep-shadow-lg);
}
.features-badge .fb-num { font-size: 2rem; font-weight: 700; display: block; }
.features-badge .fb-label { font-size: .8rem; opacity: .85; }
.img-placeholder {
    background: linear-gradient(135deg, #e8f0fe, #bbdefb);
    border-radius: 16px; 
    min-height: 400px;
    display: flex; align-items: center; justify-content: center;
    flex-direction: column; gap: 16px;
    color: var(--ep-secondary);
}
.img-placeholder i { font-size: 4rem; opacity: .4; }
.img-placeholder span { font-size: .9rem; color: var(--ep-muted); }

/* =========================================
   TEACHERS SECTION
   ========================================= */
.teachers-section { padding: 90px 0; }
.teacher-card {
    background: var(--ep-white);
    border: 1px solid var(--ep-border);
    border-radius: 16px; overflow: hidden;
    box-shadow: var(--ep-shadow);
    transition: var(--ep-transition);
    text-align: center;
}
.teacher-card:hover { transform: translateY(-6px); box-shadow: var(--ep-shadow-xl); }
.teacher-photo {
    width: 100%; height: 220px; overflow: hidden;
    background: linear-gradient(135deg, #bbdefb, #e3f2fd);
    display: flex; align-items: center; justify-content: center;
}
.teacher-photo img { width: 100%; height: 100%; object-fit: cover; }
.teacher-photo .tp-placeholder { font-size: 5rem; color: var(--ep-secondary); opacity: .4; }
.teacher-info { padding: 24px 20px; }
.teacher-info h3 { font-size: 1.2rem; margin-bottom: 4px; }
.teacher-subject {
    color: var(--ep-secondary); font-size: .9rem;
    font-weight: 600; margin-bottom: 10px;
}
.teacher-info p { color: var(--ep-muted); font-size: .875rem; margin-bottom: 16px; }
.teacher-exp {
    display: inline-block;
    background: rgba(0,0,0,.06); color: var(--ep-text);
    padding: 4px 12px; border-radius: 20px; font-size: .8rem; font-weight: 600;
}

/* =========================================
   TESTIMONIALS SECTION
   ========================================= */
.testimonials-section { padding: 90px 0; background: var(--ep-bg); }
.testimonial-card {
    background: var(--ep-white);
    border-radius: 16px; padding: 32px;
    box-shadow: var(--ep-shadow); position: relative;
    border: 1px solid var(--ep-border);
    transition: var(--ep-transition);
}
.testimonial-card:hover { box-shadow: var(--ep-shadow-xl); transform: translateY(-4px); }
.testimonial-card::before {
    content: '"';
    position: absolute; top: 20px; right: 28px;
    font-size: 5rem; font-family: Georgia, serif;
    color: rgba(13,71,161,.1); line-height: 1;
}
.testimonial-stars { color: var(--ep-gold); margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-text { color: var(--ep-text); font-size: 1rem; line-height: 1.7; margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
    width: 48px; height: 48px; border-radius: 50%;
    background: linear-gradient(135deg, var(--ep-primary), var(--ep-accent));
    display: flex; align-items: center; justify-content: center;
    color: var(--ep-white); font-weight: 700; font-size: 1.1rem;
    flex-shrink: 0;
}
.testimonial-name { font-weight: 600; font-size: .95rem; margin-bottom: 2px; }
.testimonial-school { color: var(--ep-muted); font-size: .82rem; }

/* =========================================
   REGISTRATION SECTION
   ========================================= */
.registration-section {
    padding: 90px 0;
    background-color: #0d47a1;
    background-image: linear-gradient(135deg, rgba(13,71,161,0.88) 0%, rgba(21,101,192,0.92) 100%), url('https://images.unsplash.com/photo-1427504494785-3a9ca7044f45?w=2000&q=80&fit=crop');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative; overflow: hidden;
}
.registration-section::before {
    content: '';
    position: absolute; top: -50%; right: -10%;
    width: 500px; height: 500px;
    background: rgba(255,255,255,.04);
    border-radius: 50%;
}
.registration-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 2; }
.reg-text h2 { color: var(--ep-white); font-size: 2.4rem; margin-bottom: 16px; }
.reg-text p { color: rgba(255,255,255,.85); font-size: 1.05rem; margin-bottom: 28px; }
.reg-feature { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: rgba(255,255,255,.9); }
.reg-feature i { color: var(--ep-gold); }
.reg-card {
    background: var(--ep-white);
    border-radius: 20px;
    padding: 40px 36px;
    box-shadow: var(--ep-shadow-xl);
}
.reg-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.reg-card > p { color: var(--ep-muted); font-size: .9rem; margin-bottom: 28px; }

/* =========================================
   FORM STYLES
   ========================================= */
.ep-form .form-group { margin-bottom: 18px; }
.ep-form label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; color: var(--ep-text); }
.ep-form input,
.ep-form select,
.ep-form textarea {
    width: 100%; padding: 12px 16px;
    border: 2px solid var(--ep-border);
    border-radius: 8px;
    font-family: var(--ep-font-body); font-size: .95rem;
    color: var(--ep-text);
    transition: var(--ep-transition);
    background: var(--ep-white);
    appearance: none;
}
.ep-form input:focus, .ep-form select:focus, .ep-form textarea:focus {
    outline: none; border-color: var(--ep-secondary);
    box-shadow: 0 0 0 4px rgba(25,118,210,.12);
}
.ep-form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.ep-form textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ep-form .form-note { font-size: .8rem; color: var(--ep-muted); text-align: center; margin-top: 12px; }
.ep-form .form-note i { color: var(--ep-gold); }
/* Also support old class name */
.egitim-pro-form .form-group { margin-bottom: 18px; }
.egitim-pro-form input, .egitim-pro-form select, .egitim-pro-form textarea {
    width: 100%; padding: 12px 16px; border: 2px solid var(--ep-border);
    border-radius: 8px; font-family: var(--ep-font-body); font-size: .95rem;
    color: var(--ep-text); transition: var(--ep-transition); background: var(--ep-white);
}
.egitim-pro-form input:focus, .egitim-pro-form select:focus { outline: none; border-color: var(--ep-secondary); box-shadow: 0 0 0 4px rgba(25,118,210,.12); }

/* =========================================
   BLOG / ANNOUNCEMENTS
   ========================================= */
.blog-section { padding: 90px 0; }
.post-card {
    background: var(--ep-white);
    border: 1px solid var(--ep-border);
    border-radius: 16px; overflow: hidden;
    box-shadow: var(--ep-shadow);
    transition: var(--ep-transition);
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--ep-shadow-xl); }
.post-card-img { height: 200px; overflow: hidden; background: linear-gradient(135deg, #e8f0fe, #bbdefb); }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .post-card-img img { transform: scale(1.06); }
.post-card-img .img-icon { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 3rem; color: var(--ep-secondary); opacity: .4; }
.post-card-body { padding: 24px; }
.post-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; font-size: .82rem; color: var(--ep-muted); }
.post-meta i { color: var(--ep-accent); }
.post-category { background: rgba(0,0,0,.06); color: var(--ep-text); padding: 3px 10px; border-radius: 20px; font-weight: 600; }
.post-card-body h3 { font-size: 1.15rem; margin-bottom: 10px; }
.post-card-body h3 a { color: var(--ep-primary); }
.post-card-body h3 a:hover { color: var(--ep-secondary); }
.post-card-body p { color: var(--ep-muted); font-size: .9rem; margin-bottom: 18px; }
.read-more { font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; color: var(--ep-secondary); }
.read-more:hover { gap: 10px; }

/* =========================================
   CONTACT CTA SECTION
   ========================================= */
.contact-cta-section { padding: 80px 0; background: var(--ep-bg); }
.contact-cta-inner {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
    gap: 28px;
}
.contact-info-card {
    background: var(--ep-white); border-radius: 16px;
    padding: 32px 24px; text-align: center;
    border: 1px solid var(--ep-border); box-shadow: var(--ep-shadow);
    transition: var(--ep-transition);
}
.contact-info-card:hover { transform: translateY(-4px); box-shadow: var(--ep-shadow-xl); border-color: var(--ep-accent); }
.cic-icon {
    width: 60px; height: 60px; border-radius: 50%;
    background: linear-gradient(135deg, var(--ep-primary), var(--ep-secondary));
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px; font-size: 1.4rem; color: var(--ep-white);
}
.contact-info-card h4 { font-size: 1rem; margin-bottom: 8px; }
.contact-info-card p, .contact-info-card a { color: var(--ep-muted); font-size: .9rem; margin: 0; }

/* =========================================
   PAGE HEADER (Inner Pages)
   ========================================= */
.page-hero {
    background: linear-gradient(135deg, var(--ep-primary) 0%, #1565c0 100%);
    padding: 70px 0 60px;
    text-align: center; position: relative; overflow: hidden;
}
.page-hero::after {
    content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 50px;
    background: var(--ep-white);
    clip-path: ellipse(70% 100% at 50% 100%);
}
.page-hero h1 { color: var(--ep-white); font-size: 2.8rem; margin-bottom: 12px; position: relative; z-index: 2; }
.page-hero p { color: rgba(255,255,255,.85); font-size: 1.1rem; position: relative; z-index: 2; }
.breadcrumb { display: flex; justify-content: center; gap: 8px; align-items: center; margin-top: 16px; position: relative; z-index: 2; }
.breadcrumb a { color: rgba(255,255,255,.75); font-size: .875rem; }
.breadcrumb a:hover { color: var(--ep-white); }
.breadcrumb span { color: rgba(255,255,255,.5); font-size: .875rem; }

/* =========================================
   ABOUT PAGE
   ========================================= */
.about-section { padding: 80px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-values { padding: 80px 0; background: var(--ep-bg); }
.value-card {
    background: var(--ep-white); border-radius: 16px;
    padding: 32px 24px; text-align: center;
    border: 1px solid var(--ep-border); box-shadow: var(--ep-shadow);
    transition: var(--ep-transition);
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--ep-shadow-xl); }
.value-icon { font-size: 2.5rem; color: var(--ep-secondary); margin-bottom: 16px; }
.value-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.value-card p { color: var(--ep-muted); font-size: .9rem; margin: 0; }
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: var(--ep-border); }
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-item::before {
    content: ''; position: absolute; left: -26px; top: 5px;
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--ep-primary); border: 3px solid var(--ep-white);
    box-shadow: 0 0 0 2px var(--ep-primary);
}
.timeline-year { font-size: .8rem; color: var(--ep-secondary); font-weight: 700; text-transform: uppercase; margin-bottom: 4px; }
.timeline-item h4 { margin-bottom: 6px; }
.timeline-item p { color: var(--ep-muted); font-size: .9rem; margin: 0; }

/* =========================================
   COURSES PAGE
   ========================================= */
.courses-list-section { padding: 80px 0; }
.course-detail-card {
    background: var(--ep-white);
    border: 1px solid var(--ep-border);
    border-radius: 16px; overflow: hidden;
    box-shadow: var(--ep-shadow); transition: var(--ep-transition);
    display: flex; flex-direction: column;
}
.course-detail-card:hover { transform: translateY(-5px); box-shadow: var(--ep-shadow-xl); }
.cdc-header {
    background: linear-gradient(135deg, var(--ep-primary), var(--ep-secondary));
    padding: 28px; text-align: center;
}
.cdc-header i { font-size: 2.8rem; color: rgba(255,255,255,.9); margin-bottom: 12px; display: block; }
.cdc-header h3 { color: var(--ep-white); font-size: 1.4rem; margin: 0; }
.cdc-body { padding: 28px; flex: 1; }
.cdc-body p { color: var(--ep-muted); margin-bottom: 20px; }
.cdc-features { list-style: none; padding: 0; margin: 0 0 24px; }
.cdc-features li { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: .9rem; color: var(--ep-text); }
.cdc-features li i { color: var(--ep-secondary); }
.cdc-meta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.cdc-tag { background: var(--ep-bg); border: 1px solid var(--ep-border); border-radius: 20px; padding: 5px 14px; font-size: .8rem; color: var(--ep-muted); }

/* =========================================
   SUCCESS STORIES PAGE
   ========================================= */
.success-section { padding: 80px 0; }
.success-card {
    background: var(--ep-white);
    border-radius: 20px; overflow: hidden;
    box-shadow: var(--ep-shadow); border: 1px solid var(--ep-border);
    transition: var(--ep-transition);
}
.success-card:hover { transform: translateY(-5px); box-shadow: var(--ep-shadow-xl); }
.success-header {
    background: linear-gradient(135deg, var(--ep-primary), var(--ep-secondary));
    padding: 28px; text-align: center;
}
.success-avatar {
    width: 80px; height: 80px; border-radius: 50%;
    background: rgba(255,255,255,.3);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 12px;
    color: var(--ep-white); font-size: 2rem; font-weight: 700;
    border: 3px solid rgba(255,255,255,.5);
}
.success-header h3 { color: var(--ep-white); font-size: 1.2rem; margin-bottom: 4px; }
.success-exam { color: rgba(255,255,255,.85); font-size: .875rem; }
.success-score {
    background: var(--ep-gold);
    color: var(--ep-white); font-weight: 700;
    padding: 4px 14px; border-radius: 20px; font-size: .85rem;
    display: inline-block; margin-top: 8px;
}
.success-body { padding: 24px; }
.success-body p { color: var(--ep-muted); font-size: .9rem; margin-bottom: 16px; font-style: italic; }
.success-school { font-weight: 600; color: var(--ep-primary); font-size: .9rem; }

/* =========================================
   CONTACT PAGE
   ========================================= */
.contact-page-section { padding: 80px 0; }
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 50px; }
.contact-info-block h3 { font-size: 1.6rem; margin-bottom: 20px; }
.contact-info-list { list-style: none; padding: 0; margin: 0 0 32px; }
.contact-info-list li {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 16px 0; border-bottom: 1px solid var(--ep-border);
}
.contact-info-list li:last-child { border-bottom: none; }
.cil-icon {
    width: 44px; height: 44px; min-width: 44px; border-radius: 10px;
    background: linear-gradient(135deg, var(--ep-primary), var(--ep-secondary));
    display: flex; align-items: center; justify-content: center;
    color: var(--ep-white);
}
.cil-label { font-size: .8rem; color: var(--ep-muted); margin-bottom: 3px; }
.cil-text { font-weight: 600; color: var(--ep-text); }
.contact-map { width: 100%; height: 320px; border-radius: var(--ep-radius); overflow: hidden; border: 1px solid var(--ep-border); margin-top: 28px; background: linear-gradient(135deg, #e8f0fe, #bbdefb); display: flex; align-items: center; justify-content: center; }
.contact-map iframe { width: 100%; height: 100%; border: none; }
.contact-form-block { background: var(--ep-white); border-radius: 20px; padding: 40px; box-shadow: var(--ep-shadow-lg); border: 1px solid var(--ep-border); }
.contact-form-block h3 { font-size: 1.5rem; margin-bottom: 8px; }
.contact-form-block > p { color: var(--ep-muted); margin-bottom: 28px; }

/* =========================================
   REGISTRATION PAGE
   ========================================= */
.registration-page-section { padding: 80px 0; background: var(--ep-bg); }
.reg-page-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 50px; align-items: start; }
.reg-page-card { background: var(--ep-white); border-radius: 20px; padding: 40px; box-shadow: var(--ep-shadow-lg); border: 1px solid var(--ep-border); }
.reg-page-card h3 { margin-bottom: 8px; }
.reg-page-card > p { color: var(--ep-muted); margin-bottom: 30px; }
.reg-info-card h4 { font-size: 1.2rem; margin-bottom: 20px; }

/* =========================================
   BLOG ARCHIVE / SINGLE
   ========================================= */
.archive-layout, .blog-layout { padding: 60px 0; }
.blog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.single-article { max-width: 820px; margin: 0 auto; background: var(--ep-white); border-radius: 16px; padding: 48px; box-shadow: var(--ep-shadow); border: 1px solid var(--ep-border); }
.single-article h1 { font-size: 2.2rem; margin-bottom: 16px; }
.article-meta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--ep-border); color: var(--ep-muted); font-size: .88rem; }
.article-body { font-size: 1.05rem; line-height: 1.8; }
.article-body h2, .article-body h3 { margin-top: 2rem; }
.article-body img { border-radius: 12px; margin: 24px 0; }
.featured-img-single { width: 100%; height: 380px; object-fit: cover; border-radius: 12px; margin-bottom: 32px; }

/* =========================================
   DEFAULT PAGE
   ========================================= */
.default-page-padding { padding: 60px 0; }
.page-content-inner { max-width: 820px; margin: 0 auto; background: var(--ep-white); border-radius: 16px; padding: 48px; box-shadow: var(--ep-shadow); border: 1px solid var(--ep-border); }
.page-title { font-size: 2.5rem; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 2px solid var(--ep-border); }

/* =========================================
   404 PAGE
   ========================================= */
.error-404-section { padding: 100px 0; text-align: center; min-height: 70vh; display: flex; align-items: center; }
.error-num { font-size: 9rem; font-weight: 800; color: var(--ep-primary); opacity: .12; line-height: 1; margin-bottom: 0; }
.error-404-section h1 { font-size: 2.2rem; margin-bottom: 12px; }
.error-404-section p { color: var(--ep-muted); font-size: 1.1rem; margin-bottom: 32px; }

/* =========================================
   FOOTER — Premium Redesign
   ========================================= */
.site-footer {
    background: #060f24;
    color: rgba(255,255,255,.75);
    font-size: .9rem;
}

/* TOP FOOTER */
.footer-top {
    padding: 80px 0 60px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    background-image:
        radial-gradient(ellipse at 10% 80%, rgba(13,71,161,.35) 0%, transparent 55%),
        radial-gradient(ellipse at 90% 10%, rgba(25,118,210,.2) 0%, transparent 55%);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
    gap: 48px;
}

/* Brand col */
.footer-brand .footer-logo-text {
    display: flex; align-items: center; gap: 12px;
    font-family: var(--ep-font-heading);
    font-size: 1.55rem; font-weight: 800;
    color: #fff;
    margin-bottom: 18px;
}
.footer-brand .footer-logo-icon {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--ep-primary), var(--ep-accent));
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; color: #fff; flex-shrink: 0;
}
.footer-brand .custom-logo { max-height: 52px; width: auto; margin-bottom: 18px; }
.footer-brand p {
    color: rgba(255,255,255,.55);
    font-size: .875rem;
    line-height: 1.75;
    margin-bottom: 28px;
}
.footer-social { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 10px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.1);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.7); font-size: .95rem;
    transition: var(--ep-transition);
}
.footer-social a:hover {
    background: var(--ep-secondary);
    border-color: var(--ep-secondary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(25,118,210,.4);
}

/* Links col */
.footer-col h4 {
    color: #fff;
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(255,255,255,.08);
    display: flex; align-items: center; gap: 8px;
    letter-spacing: .3px;
    text-transform: uppercase;
    font-size: .8rem;
}
.footer-col h4 i { color: var(--ep-accent); font-size: .85rem; }
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: rgba(255,255,255,.55);
    font-size: .875rem;
    display: flex; align-items: center; gap: 8px;
    transition: var(--ep-transition);
    text-decoration: none;
}
.footer-links a i { font-size: .6rem; color: rgba(255,255,255,.25); transition: var(--ep-transition); }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-links a:hover i { color: var(--ep-accent); }

/* Contact col */
.footer-contact-cards { display: flex; flex-direction: column; gap: 14px; }
.fcc-item {
    display: flex; align-items: flex-start; gap: 12px;
}
.fcc-icon {
    width: 36px; height: 36px; min-width: 36px;
    background: rgba(25,118,210,.2);
    border: 1px solid rgba(25,118,210,.3);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--ep-accent); font-size: .9rem;
    flex-shrink: 0;
}
.fcc-text { display: flex; flex-direction: column; }
.fcc-label { font-size: .72rem; color: rgba(255,255,255,.35); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 2px; }
.fcc-val { color: rgba(255,255,255,.75); font-size: .875rem; }
a.fcc-val:hover { color: #fff; }
.fcc-whatsapp { margin-top: 6px; }
.fcc-wa-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: #25D366;
    color: #fff !important;
    padding: 11px 20px;
    border-radius: 30px;
    font-size: .875rem;
    font-weight: 600;
    transition: var(--ep-transition);
    text-decoration: none;
}
.fcc-wa-btn:hover { background: #20b356; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,.4); }

/* FOOTER BOTTOM */
.footer-bottom {
    padding: 20px 0;
    background: rgba(0,0,0,.25);
}
.footer-bottom-inner {
    display: flex; align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
}
.footer-copy {
    font-size: .82rem;
    color: rgba(255,255,255,.4);
}
.footer-copy strong { color: rgba(255,255,255,.65); }
.footer-badges {
    display: flex; gap: 16px; flex-wrap: wrap;
}
.footer-badges span {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: .75rem;
    color: rgba(255,255,255,.35);
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.07);
    padding: 4px 10px;
    border-radius: 20px;
}
.footer-badges span i { color: var(--ep-accent); font-size: .7rem; }
.footer-back-top a {
    width: 36px; height: 36px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.5);
    transition: var(--ep-transition);
}
.footer-back-top a:hover {
    background: var(--ep-primary);
    border-color: var(--ep-primary);
    color: #fff;
    transform: translateY(-3px);
}

/* FOOTER RESPONSIVE */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-social { justify-content: flex-start; }
}
@media (max-width: 640px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand { grid-column: auto; }
    .footer-bottom-inner { flex-direction: column; align-items: center; text-align: center; }
    .footer-badges { justify-content: center; }
}

/* =========================================
   WHATSAPP FLOATING BUTTON
   ========================================= */
.whatsapp-float {
    position: fixed; bottom: 28px; right: 28px; z-index: 9999;
    width: 58px; height: 58px; border-radius: 50%;
    background: var(--ep-whatsapp);
    display: flex; align-items: center; justify-content: center;
    color: var(--ep-white) !important; font-size: 1.7rem;
    box-shadow: 0 6px 20px rgba(37,211,102,.45);
    transition: var(--ep-transition);
    animation: wa-pulse 2.5s infinite;
}
.whatsapp-float:hover { transform: scale(1.12); color: var(--ep-white) !important; box-shadow: 0 8px 28px rgba(37,211,102,.6); }
@keyframes wa-pulse {
    0%,100% { box-shadow: 0 6px 20px rgba(37,211,102,.45); }
    50% { box-shadow: 0 6px 32px rgba(37,211,102,.7), 0 0 0 8px rgba(37,211,102,.1); }
}
.whatsapp-tooltip {
    position: absolute; right: 70px; top: 50%;
    transform: translateY(-50%);
    background: var(--ep-text); color: var(--ep-white);
    padding: 6px 12px; border-radius: 6px; font-size: .8rem;
    white-space: nowrap; opacity: 0; pointer-events: none;
    transition: var(--ep-transition);
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }
.whatsapp-tooltip::after { content: ''; position: absolute; left: 100%; top: 50%; transform: translateY(-50%); border: 5px solid transparent; border-left-color: var(--ep-text); }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    .hero-inner { flex-direction: column; text-align: center; }
    .hero-text p { margin: 0 auto 36px; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { width: 100%; max-width: 480px; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); max-width: 600px; }
    .stats-bar .stat-item:nth-child(3) { border-left: none; }
    .features-layout { grid-template-columns: 1fr; }
    .registration-inner { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .reg-page-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .top-bar { display: none; }
    .menu-toggle { display: block; }
    .main-navigation { display: none; }
    .main-navigation.active {
        display: block; position: absolute;
        top: 78px; left: 0; right: 0;
        background: var(--ep-white);
        box-shadow: var(--ep-shadow-lg);
        padding: 16px;
    }
    .main-navigation.active ul { flex-direction: column; }
    .main-navigation.active a { padding: 12px 16px; }
    .header-cta .btn { display: none; }
    .hero-text h1 { font-size: 2.2rem; }
    .stats-bar { grid-template-columns: 1fr 1fr; padding: 24px; }
    .stats-bar .stat-item:nth-child(odd) { border-left: none; }
    .stats-bar .stat-item:nth-child(even) { border-left: 1px solid var(--ep-border); }
    .section-title h2 { font-size: 1.9rem; }
    .grid-3 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .page-hero h1 { font-size: 2rem; }
    .hero-stats { flex-wrap: wrap; justify-content: center; gap: 20px; }
    .single-article, .page-content-inner { padding: 28px 20px; }
    .reg-card, .reg-page-card { padding: 28px 20px; }
    .contact-form-block { padding: 28px 20px; }
}

@media (max-width: 480px) {
    .grid-4 { grid-template-columns: 1fr; }
    .hero-text h1 { font-size: 1.85rem; }
    .stats-bar { grid-template-columns: 1fr; }
    .stats-bar .stat-item { border-left: none !important; border-bottom: 1px solid var(--ep-border); padding-bottom: 16px; margin-bottom: 16px; }
    .stats-bar .stat-item:last-child { border-bottom: none; margin-bottom: 0; }
    .whatsapp-float { width: 50px; height: 50px; font-size: 1.4rem; }
}

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.animate-fade-up { animation: fadeInUp .6s ease forwards; }
.animate-fade { animation: fadeIn .5s ease forwards; }

/* Scroll reveal helper classes */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }