/* ================= VARIABLES ================= */
:root {
    /* THEME: VIOLET ACCENTS with BLACK TEXT */
    --primary: #7f13ec;       /* Violet 500 */
    --secondary: #7c3aed;     /* Violet 600 */
    --accent: #e355ff;        /* Neon Pink */
    
    /* Text Colors */
    --dark-text: #000000;     
    --body-text: #1a1a1a;     
    --light-text: #4a4a4a;    
    --white-text: #ffffff;
    
    /* Backgrounds */
    --bg-body: #ffffff;
    --bg-light: #f9f8ff;      
    
    /* UI Elements */
    --border: #e2e8f0;
    --shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
    --shadow-hover: 0 20px 40px -10px rgba(127, 19, 236, 0.15);
}

* { font-family: 'Outfit', sans-serif; }
body { text-align: left; }
.text-content h2 {
    margin-bottom: 20px;   /* Increase space below heading */
}

.text-content p {
    margin-bottom: 15px;   /* Space between paragraphs */
}

/* ================= HERO SECTION - RESPONSIVE FIT (NO SCROLLING) ================= */
.hero-section {
    width: 100%;
    height: 80vh;
    max-height: 900px;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    padding: 0;
    margin: 0;
    background: url('../images/counselling cell/1.jpg') no-repeat center center/cover;
    background-size: cover;
    background-position: center;
    color: var(--white-text);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.68);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 60px 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    border-radius: 50px;
    background: var(--accent);
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 25px;
    box-shadow: var(--shadow);
}

.hero-title {
    font-size: clamp(32px, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: white;
    letter-spacing: 2px; /* increased tracking for headline */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.highlight-text {
    color: white;
    letter-spacing: 2px; /* match headline tracking */
}

.hero-subtitle {
    font-size: clamp(14px, 3.5vw, 1.25rem);
    color: #e9d5ff;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    padding: 14px 35px;
    background: white;
    color: var(--primary);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
    min-width: 180px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    padding: 14px 35px;
    border: 2px solid white;
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
    min-width: 180px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* ================= SECTIONS & UTILITIES ================= */
.section { padding: 40px 0; border-bottom: 1px solid var(--border); }
.bg-offset { background-color: var(--bg-light); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }

.section-header h2 { font-size: 2.5rem; margin-bottom: 15px; font-weight: 800; color: var(--dark-text); }
.gradient-line { width: 80px; height: 5px; margin: 0 auto 50px; background: linear-gradient(to right, var(--primary), var(--accent)); border-radius: 10px; }

.layout-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.section-tag { color: var(--secondary); text-transform: uppercase; font-weight: 800; letter-spacing: 2px; font-size: 0.9rem; display: block; margin-bottom: 15px; }
.text-content p { color: var(--body-text); font-size: 1.1rem; margin-bottom: 25px; }

/* Lists */
.clean-list { list-style: none; padding: 0; margin-top: 20px; }
.clean-list li { margin-bottom: 15px; display: flex; align-items: center; gap: 15px; font-size: 1.1rem; color: var(--dark-text); font-weight: 500; }
.clean-list i { color: var(--primary); font-size: 1.3rem; background: #e0e7ff; padding: 8px; border-radius: 50%; }

/* Image Frames */
.clean-frame { 
    padding: 15px; background: white; border-radius: 24px; 
    box-shadow: var(--shadow-hover); transition: 0.3s; 
    border: 3px solid var(--dark-text); transform: rotate(-2deg);
}
.clean-frame:hover { transform: rotate(0deg); }
.clean-frame img { width: 100%; border-radius: 16px; display: block; }

/* Feature Box (Mentor Section) */
.feature-box {
    display: flex; align-items: center; gap: 20px; padding: 20px;
    background: white; border-left: 5px solid var(--accent);
    border-radius: 8px; box-shadow: var(--shadow); margin-top: 30px;
}
.feature-box i { font-size: 2.5rem; color: var(--accent); }
.feature-box h4 { margin-bottom: 5px; color: var(--primary); font-size: 1.1rem; }

/* App Frame (Lyceum) */
.app-frame {
    position: relative; padding: 10px; border-radius: 30px; background: var(--dark-text);
    box-shadow: var(--shadow-hover); border: 8px solid var(--dark-text);
}
.app-frame img { width: 100%; border-radius: 20px; display: block; }
.floating-icon {
    position: absolute; bottom: -20px; right: -20px; width: 70px; height: 70px;
    background: var(--accent); color: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* ================= GRID & CARDS ================= */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.clean-card { 
    background: white; border: 1px solid var(--border); padding: 40px 30px; 
    border-radius: 20px; text-align: center; transition: 0.3s; 
}
.clean-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); border-color: var(--primary); }

.icon-box { 
    font-size: 2.5rem; color: var(--primary); margin: 0 auto 25px; 
    background: var(--bg-light); width: 80px; height: 80px; 
    border-radius: 50%; display: flex; align-items: center; justify-content: center; 
    border: 1px solid #ddd6fe;
}

.clean-card h3 { margin-bottom: 15px; font-size: 1.3rem; font-weight: 700; color: var(--dark-text); }
.clean-card p { color: var(--light-text); font-weight: 500; }



/* ================= RESPONSIVE: DESKTOP (1200px and above) ================= */
@media (max-width: 1200px) {
    .hero-section {
        height: 70vh;
        max-height: 800px;
        min-height: 420px;
    }

    .hero-content {
        padding: 50px 35px;
    }

    .hero-title {
        font-size: clamp(28px, 5.5vw, 3.8rem);
    }

    .hero-subtitle {
        font-size: clamp(13px, 3vw, 1.1rem);
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px 32px;
        min-width: 170px;
    }
}

/* ================= RESPONSIVE: LANDSCAPE TABLETS (1024px) ================= */
@media (max-width: 1024px) {
    .hero-section {
        height: 65vh;
        max-height: 700px;
        min-height: 400px;
    }

    .hero-content {
        padding: 40px 30px;
    }

    .hero-badge {
        padding: 8px 22px;
        font-size: 0.8rem;
        margin-bottom: 18px;
    }

    .hero-title {
        font-size: clamp(26px, 5vw, 3.5rem);
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: clamp(13px, 2.8vw, 1rem);
        margin: 0 auto 28px;
    }

    .hero-actions {
        gap: 14px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 11px 28px;
        font-size: 14px;
        min-width: 160px;
    }

    .layout-split {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ================= RESPONSIVE: TABLETS (768px - 1024px) ================= */
@media (max-width: 768px) {
    .hero-section {
        height: auto;
        aspect-ratio: 16 / 9;
        min-height: 320px;
        max-height: 550px;
        background-position: center;
    }

    .hero-overlay {
        background: rgba(15, 23, 42, 0.65);
    }

    .hero-content {
        padding: 35px 20px;
    }

    .hero-badge {
        padding: 7px 18px;
        font-size: 0.72rem;
        margin-bottom: 14px;
    }

    .hero-title {
        font-size: clamp(22px, 5vw, 2.5rem);
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: clamp(12px, 3vw, 0.95rem);
        margin: 0 auto 20px;
    }

    .hero-actions {
        gap: 10px;
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        padding: 11px 24px;
        font-size: 14px;
        width: 100%;
        max-width: 280px;
        min-width: auto;
    }

    .layout-split,
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

/* ================= RESPONSIVE: SMALL MOBILES (480px - 767px) ================= */
@media (max-width: 480px) {
    .hero-section {
        aspect-ratio: 16 / 10;
        min-height: 300px;
        max-height: 450px;
    }

    .hero-overlay {
        background: rgba(15, 23, 42, 0.62);
    }

    .hero-content {
        padding: 28px 15px;
    }

    .hero-badge {
        padding: 6px 15px;
        font-size: 0.68rem;
        margin-bottom: 12px;
    }

    .hero-title {
        font-size: clamp(18px, 4.5vw, 2rem);
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: clamp(11px, 2.8vw, 0.88rem);
        margin: 0 auto 16px;
    }

    .hero-actions {
        gap: 8px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 10px 20px;
        font-size: 13px;
        max-width: 260px;
    }

    .layout-split,
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ================= RESPONSIVE: EXTRA SMALL PHONES (< 380px) ================= */
@media (max-width: 380px) {
    .hero-section {
        aspect-ratio: 16 / 11;
        min-height: 280px;
        max-height: 400px;
    }

    .hero-content {
        padding: 22px 12px;
    }

    .hero-badge {
        padding: 5px 12px;
        font-size: 0.65rem;
        margin-bottom: 10px;
    }

    .hero-title {
        font-size: clamp(16px, 4vw, 1.8rem);
        margin-bottom: 8px;
    }

    .hero-subtitle {
        font-size: clamp(10px, 2.5vw, 0.8rem);
        margin: 0 auto 12px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 9px 18px;
        font-size: 12px;
        max-width: 240px;
    }
}

/* ================= ANIMATIONS ================= */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease-out;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.fade-in {
    animation: fadeIn 1s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}