/* ============================================================
   HOME PAGE STYLES
   ============================================================ */

/* HERO */
.d7-hero {
    position: relative;
    padding: 90px 0 100px;
    background: linear-gradient(135deg, #c8102e 0%, #8b0a1f 60%, #5a0716 100%);
    color: #fff;
    overflow: hidden;
}
.d7-hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: #ffc72c;
    opacity: 0.08;
}
.d7-hero-bg-shapes .s1 { width: 400px; height: 400px; top: -150px; left: -100px; }
.d7-hero-bg-shapes .s2 { width: 250px; height: 250px; bottom: -80px; right: -50px; opacity: 0.12; }
.d7-hero-bg-shapes .s3 { width: 150px; height: 150px; top: 30%; right: 10%; opacity: 0.05; }

.d7-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.d7-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,199,44,0.15);
    color: #ffc72c;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255,199,44,0.3);
}

.d7-hero-title {
    color: #fff;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    line-height: 1.15;
    margin-bottom: 20px;
}
.d7-hero-title span {
    color: #ffc72c;
}

.d7-hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 35px;
    max-width: 600px;
}

.d7-hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.d7-hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.stat-item .stat-number, .stat-item span {
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffc72c;
    font-family: 'Playfair Display', serif;
}
.stat-item p {
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
    margin: 0;
    letter-spacing: 1px;
}

/* HERO VISUAL CARDS */
.hero-card-stack {
    position: relative;
    height: 450px;
}
.hero-card {
    background: rgba(255,255,255,0.97);
    color: #1a1a1a;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    padding: 30px;
}
.hero-card-main {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 320px;
    border: 3px solid #ffc72c;
}
.hero-card-icon {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, #c8102e, #8b0a1f);
    color: #ffc72c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 15px;
}
.hero-card-main h3 { color: #c8102e; margin-bottom: 5px; }
.hero-card-main p { color: #555; font-style: italic; }
.subj-tag {
    display: inline-block;
    background: #ffc72c;
    color: #8b0a1f;
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 10px 0;
}
.credentials {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
    border-top: 1px dashed #ccc;
    padding-top: 15px;
}
.credentials span {
    font-size: 0.85rem;
    color: #c8102e;
    font-weight: 500;
}

.hero-card-float {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 600;
    color: #c8102e;
    animation: d7-float 4s ease-in-out infinite;
}
.hero-card-float i {
    width: 32px; height: 32px;
    background: #ffc72c;
    color: #c8102e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-card-1 { position: absolute; top: 5%; left: -10%; animation-delay: 0s; }
.hero-card-2 { position: absolute; bottom: 8%; right: -5%; animation-delay: 2s; }

@keyframes d7-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* FEATURES STRIP */
.d7-features-strip {
    background: #fff8e1;
    padding: 50px 0;
    margin-top: -1px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    text-align: center;
}
.feature-item {
    padding: 20px;
    transition: all 0.35s;
    border-right: 2px dashed rgba(200,16,46,0.2);
}
.feature-item:last-child { border-right: none; }
.feature-item:hover { transform: translateY(-5px); }
.feature-icon {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, #c8102e, #8b0a1f);
    color: #ffc72c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 12px;
    box-shadow: 0 8px 20px rgba(200,16,46,0.25);
}
.feature-item h4 { color: #c8102e; margin-bottom: 5px; font-size: 1rem; }
.feature-item p { color: #777; font-size: 0.85rem; margin: 0; }

/* COURSES GRID */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.course-card {
    background: #fff;
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border-top: 5px solid #c8102e;
}
.course-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 120px; height: 120px;
    background: rgba(255,199,44,0.15);
    border-radius: 50%;
    transition: all 0.4s;
}
.course-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-top-color: #ffc72c;
}
.course-card:hover::before { transform: scale(1.5); }
.course-card-1 { border-top-color: #c8102e; }
.course-card-2 { border-top-color: #8b0a1f; }
.course-card-3 { border-top-color: #ffc72c; }
.course-card-4 { border-top-color: #e63946; }

.course-icon {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, #fff8e1, #ffc72c);
    color: #c8102e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
}
.course-tag {
    display: inline-block;
    background: #c8102e;
    color: #fff;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.course-card h3 {
    color: #c8102e;
    margin-bottom: 12px;
    font-size: 1.3rem;
}
.course-subjects {
    list-style: none;
    text-align: left;
    margin: 20px 0;
    padding: 0;
}
.course-subjects li {
    padding: 6px 0;
    color: #555;
    font-size: 0.9rem;
}
.course-subjects li i {
    color: #ffc72c;
    background: #c8102e;
    width: 18px; height: 18px;
    border-radius: 50%;
    font-size: 0.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}
.course-link {
    color: #c8102e;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
}
.course-link:hover { color: #8b0a1f; gap: 10px; }

/* WHY CHOOSE */
.why-choose-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}
.why-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 25px;
}
.why-feature {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}
.why-icon {
    width: 50px; height: 50px;
    background: linear-gradient(135deg, #c8102e, #8b0a1f);
    color: #ffc72c;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.why-feature h4 { color: #c8102e; margin-bottom: 4px; font-size: 1rem; }
.why-feature p { font-size: 0.85rem; margin: 0; }

.why-choose-visual {
    position: relative;
    height: 450px;
}
.why-image-card {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #fff8e1, #fff);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border: 3px solid #ffc72c;
}
.why-image-placeholder { text-align: center; }
.why-image-placeholder h3 { font-size: 3rem; color: #c8102e; margin: 15px 0 5px; }
.why-stat-bubble {
    position: absolute;
    background: #fff;
    padding: 15px 22px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 12px;
}
.why-stat-bubble i {
    width: 40px; height: 40px;
    background: #c8102e;
    color: #ffc72c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.why-stat-bubble strong { display: block; color: #c8102e; font-size: 1.3rem; font-family: 'Playfair Display', serif; }
.why-stat-bubble span { font-size: 0.8rem; color: #777; }
.bubble-1 { top: 10%; left: -10%; }
.bubble-2 { bottom: 15%; right: -8%; }

/* TESTIMONIALS */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.testimonial-card {
    background: #fff;
    border-radius: 20px;
    padding: 35px 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    position: relative;
    transition: all 0.35s;
    border-bottom: 4px solid #ffc72c;
}
.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.quote-mark {
    font-size: 5rem;
    font-family: Georgia, serif;
    color: #ffc72c;
    line-height: 1;
    margin-bottom: -20px;
}
.testimonial-card p {
    color: #555;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.7;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px dashed #eee;
}
.author-avatar {
    width: 50px; height: 50px;
    background: linear-gradient(135deg, #c8102e, #8b0a1f);
    color: #ffc72c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
}
.testimonial-author h5 { margin: 0; color: #c8102e; font-size: 1rem; }
.testimonial-author span { font-size: 0.85rem; color: #777; }
.rating { color: #ffc72c; font-size: 1.1rem; margin-top: 10px; }

/* CTA */
.d7-cta {
    background: linear-gradient(135deg, #c8102e 0%, #8b0a1f 100%);
    color: #fff;
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}
.d7-cta::before, .d7-cta::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: #ffc72c;
    opacity: 0.08;
}
.d7-cta::before { width: 300px; height: 300px; top: -150px; left: -50px; }
.d7-cta::after { width: 200px; height: 200px; bottom: -100px; right: -50px; }
.cta-inner {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.cta-content h2 { color: #fff; margin-bottom: 10px; }
.cta-content p { color: rgba(255,255,255,0.9); margin: 0; }
.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cta-actions .d7-btn { text-align: center; }

/* RESPONSIVE */
@media (max-width: 992px) {
    .d7-hero-grid, .why-choose-grid, .cta-inner { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: repeat(3, 1fr); }
    .courses-grid, .testimonials-grid { grid-template-columns: 1fr 1fr; }
    .hero-card-stack { height: 400px; max-width: 450px; margin: 0 auto; }
    .feature-item:nth-child(3) { border-right: none; }
}
@media (max-width: 768px) {
    .features-grid { grid-template-columns: 1fr 1fr; }
    .feature-item { border-right: none !important; border-bottom: 1px dashed rgba(200,16,46,0.2); padding-bottom: 25px; }
    .courses-grid, .testimonials-grid { grid-template-columns: 1fr; }
    .why-features { grid-template-columns: 1fr; }
    .d7-hero-stats { gap: 25px; }
    .stat-item .stat-number, .stat-item span { font-size: 2rem; }
    .hero-card-1, .hero-card-2 { display: none; }
}
