:root {
    /* Branding Colors */
    --primary: #6528F7;
    --primary-dark: #531ed6;
    --secondary: #000080;
    --hero-bg: #2a1b75;       /* Deep Purple */
    --text-dark: #150E1F;
    --text-light: #584D66;
    --white: #ffffff;
    --bg-light: #F9F9FF;
    
    /* Fonts */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* --- RESET & GLOBAL --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text-light); line-height: 1.6; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--text-dark); margin-bottom: 1rem; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

/* --- UTILITIES --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-fluid { max-width: 100%; padding: 0; }
.section { padding: 60px 0; }
.bg-light { background-color: var(--bg-light); }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 50px; color: var(--secondary); font-weight: 800;}
.highlight { color: var(--primary); }

/* --- BUTTONS --- */
.btn-primary {
    background: var(--primary); color: var(--white); padding: 14px 35px;
    border-radius: 8px; font-weight: 700; display: inline-block;
    text-transform: uppercase; font-size: 0.9rem; letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(101, 40, 247, 0.3);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-text { color: var(--primary); font-weight: 600; }
.btn-text:hover { text-decoration: underline; }

/* --- NAVBAR --- */
.navbar {
    height: 90px; background: var(--white); 
    display: flex; align-items: center; position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.nav-container { display: flex; align-items: center; width: 100%; }
.logo img { width: 380px; height: auto; display: block; }
.nav-menu { margin: 0 auto; } 
.nav-links { display: flex; gap: 35px; }
.nav-links a { 
    font-weight: 700; font-size: 0.9rem; color: #444; 
    text-transform: uppercase; letter-spacing: 0.5px;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.hamburger { display: none; background: none; border: none; cursor: pointer; }

/* --- HERO SECTION --- */
/* =========================================
   HERO IMAGE UPDATE (Larger & Floating)
========================================= */
/* =========================================
   HERO IMAGE FIX (Perfect Fit & Alignment)
========================================= */
/* =========================================
   HERO SECTION LAYOUT (FIXED)
========================================= */

.hero {
    padding: 80px 0 60px 0;
    position: relative;
    overflow: hidden;
    /* Ensure the background stays dark/gradient as defined in .hero rules */
}

/* 1. Define the Grid to hold Text (Left) and Image (Right) */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Split screen 50/50 */
    gap: 50px;
    align-items: center; /* Vertically center both text and image */
    min-height: 60vh;    /* Ensure enough height for the banner */
    position: relative;
    z-index: 2;
}

/* 2. Lock the Left Side (Text) Position */
.hero-content {
    text-align: left; /* Forces text to stay left */
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

/* Ensure text sizes stay consistent */
.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.1rem;
    max-width: 90%; /* Prevents text from stretching too wide */
    margin-bottom: 30px;
}

/* 3. Fix the Right Side (Image) Sizing */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-image img {
    width: 100%;
    height: auto;
    
    /* Constraint: Image won't get wider than 600px */
    max-width: 1200px; 
    
    /* Ensure it scales nicely */
    object-fit: contain; 
    
    /* Animation: Only float up/down, NO zooming/scaling */
    transform: translateY(0); 
    animation: floating3D 4s ease-in-out infinite;
    
    /* Shadow for depth */
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.2));
}

/* Floating Animation (Gentle Bounce) */
@keyframes floating3D {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

/* --- MOBILE RESPONSIVENESS (Stacking) --- */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr; /* Stack vertically */
        text-align: center; /* Center aligned on phone */
        gap: 40px;
        min-height: auto;
        padding-bottom: 40px;
    }

    .hero-content {
        text-align: center; /* Center text on mobile */
        align-items: center;
        order: 1; /* Text First */
    }
    
    .hero h1 { font-size: 2.2rem; } /* Smaller font on mobile */
    .hero p { margin: 0 auto 30px auto; } /* Center paragraph */

    .hero-image {
        order: 2; /* Image Second */
        margin-top: 0;
    }
    
    .hero-image img {
        max-width: 85%; /* Make image slightly smaller on mobile to fit screen */
    }
}

/* --- PROCESS ROW --- */
.process-row {
    display: flex; justify-content: space-between; flex-wrap: wrap; text-align: center;
    margin-top: 10px; 
}
.process-item { flex: 1; min-width: 150px; margin-bottom: 20px; }
.icon-circle {
    width: 70px; height: 70px; background: rgba(255, 255, 255, 0.1);
    border-radius: 50%; margin: 0 auto 15px auto;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; color: var(--white); transition: 0.3s;
}
.process-item:hover .icon-circle { background: var(--white); color: var(--hero-bg); transform: scale(1.1); }
.process-item p { font-weight: 600; color: var(--white); font-size: 1rem; }

/* --- REAL ICONS SCROLLING SKILLS --- */
.skills-section {
    padding: 60px 0;
    background: #fff;
    overflow: hidden; /* Hides scrollbars */
}

.skills-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px; /* Space between the two rows */
    margin-top: 40px;
}

.marquee {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-content {
    display: flex;
    align-items: center;
    /* Two sets of items for seamless loop */
    animation: scroll 40s linear infinite;
}

/* Row 1: Moves Left */
.scroll-left .marquee-content {
    animation: scrollLeft 15s linear infinite;
}

/* Row 2: Moves Right */
.scroll-right .marquee-content {
    animation: scrollRight 15s linear infinite;
}

/* Style for the Real Icons */
.skill-card {
    background: #fff;
    border: 0px solid #f0f0f0;
    padding: 15px 30px;
    margin: 0 15px;
    border-radius: 12px;
    box-shadow: 0 35px 45px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: max-content;
    transition: transform 0.3s;
}

.skill-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 25px 35px rgba(101, 40, 247, 0.15);
}

.skill-card img {
    height: 50px; /* Adjust icon size here */
    width: auto;
}

.skill-card span {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.1rem;
}

/* Animation Keyframes */
@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scrollRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* Mobile Tweak */
@media (max-width: 768px) {
    .skill-card img { height: 40px; }
    .skill-card { padding: 10px 20px; margin: 0 10px; }
}
/* --- WHY CHOOSE US --- */
.why-choose-section { padding: 40px 0; background: #fff; }
.choose-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 50px; align-items: center; }
.choose-text .section-title { text-align: left; font-size: 2.4rem; }
.choose-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }


.choose-card {
    background: #fff; 
    padding: 20px;       /* Reduced padding from 30px to 20px */
    border-radius: 12px; 
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); 
    border: 1px solid #f0f0f0;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.choose-card:hover { 
    transform: translateY(-5px); /* Reduced movement slightly */
    box-shadow: 0 15px 30px rgba(0,0,0,0.1); 
    border-color: var(--primary); 
}

/* REDUCED ICON SIZE */
.choose-card img { 
    height: 90px;        /* Reduced from 180px to 90px */
    width: auto;         
    margin-bottom: 15px; /* Reduced margin */
    display: block; 
    margin-left: auto; 
    margin-right: auto; 
}

.choose-card h3 { 
    font-size: 1rem;     /* Slightly smaller font for better proportion */
    font-weight: 700; 
}


/* --- GENERAL CARDS & HOME GRID --- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.feature-card { 
    background: white; padding: 40px; border-radius: 15px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-top: 4px solid var(--primary);
    transition: transform 0.3s;
}
.feature-card:hover { transform: translateY(-5px); }

/* --- PREMIUM HERO SECTION --- */
.page-hero {
    position: relative;
    /* Rich Dark Gradient Background */
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    padding: 120px 0 100px 0; /* More vertical space for grandeur */
    text-align: center;
    color: #fff;
    overflow: hidden; /* Keeps background effects contained */
}

/* Ambient Glow Effect (Top Left) */
.page-hero::before {
    content: '';
    position: absolute;
    top: -100px; left: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(101, 40, 247, 0.4) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    z-index: 0;
    filter: blur(50px);
}

/* Ambient Glow Effect (Bottom Right) */
.page-hero::after {
    content: '';
    position: absolute;
    bottom: -100px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(40, 167, 69, 0.3) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    z-index: 0;
    filter: blur(50px);
}

/* Ensure Text is above the glow */
.page-hero .container {
    position: relative;
    z-index: 1;
}

/* Premium Title Style */
.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
    /* Subtle Text Gradient */
    background: linear-gradient(to right, #ffffff, #dcdcdc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5); /* Drop shadow for pop */
}

/* Sub-headline accent */
.hero-lead {
    font-size: 1.5rem !important;
    font-weight: 600;
    color: #fff !important;
    margin-bottom: 30px !important;
    display: inline-block;
    position: relative;
}

/* Decorative Line under Sub-headline */
.hero-lead::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary); /* Purple accent line */
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Description Text */
.hero-description-box p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85); /* Slightly transparent white for elegance */
    margin-bottom: 15px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .page-hero { padding: 80px 0 60px 0; }
    .page-hero h1 { font-size: 2.5rem; }
    .hero-lead { font-size: 1.2rem !important; }
}

/* Detailed Course Card (For courses.html) */

/* =========================================
   ANIMATED COURSE CARDS
========================================= */

/* 1. The Card Container */
.course-card-detailed {
    background: #fff; 
    border-radius: 12px; 
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); 
    border: 1px solid #eee;
    
    /* Smooth Transition for Hover */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.3s ease;
    display: flex; 
    flex-direction: column;
    
    /* Entrance Animation (Fade In Up on Load) */
    opacity: 0; /* Hidden initially */
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Staggered Delay for Entrance (First 4 cards) */
.course-card-detailed:nth-child(1) { animation-delay: 0.1s; }
.course-card-detailed:nth-child(2) { animation-delay: 0.2s; }
.course-card-detailed:nth-child(3) { animation-delay: 0.3s; }
.course-card-detailed:nth-child(4) { animation-delay: 0.4s; }

/* 2. Hover Effect: Lift Up & Glow */
.course-card-detailed:hover {
    transform: translateY(-10px); /* Moves up */
    box-shadow: 0 20px 40px rgba(101, 40, 247, 0.15); /* Purple Shadow */
    border-color: var(--primary); /* Border turns purple */
}

/* 3. Thumbnail Container */
.course-thumb {
    height: 250px; 
    width: 100%; 
    background-color: #f0f0f0; 
    position: relative; 
    overflow: hidden; /* Keeps the zoomed image inside the box */
}

/* 4. Image Zoom Animation */
.course-thumb img {
    width: 100%; 
    height: 100%; 
    object-fit: cover;
    
    /* Smooth zoom transition */
    transition: transform 0.6s ease;
}

/* Zoom image when card is hovered */
.course-card-detailed:hover .course-thumb img {
    transform: scale(1.1); /* Zooms in 10% */
}

/* Badge Styling (Kept same) */
.badge {
    position: absolute; top: 15px; left: 15px;
    background-color: #FFC107; color: #333;
    padding: 5px 12px; border-radius: 4px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
    z-index: 2; /* Ensure badge stays on top of zoomed image */
}
.badge.new { background-color: var(--primary); color: white; }

/* Card Body (Kept same) */
.course-body { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; }
.course-body h3 { font-size: 1.3rem; margin-bottom: 10px; color: var(--text-dark); }
.course-body p { font-size: 0.95rem; color: #666; margin-bottom: 20px; flex-grow: 1; }

.course-meta { display: flex; gap: 15px; margin-bottom: 15px; font-size: 0.9rem; color: #555; }
.course-meta i { color: var(--primary); margin-right: 5px; }
.course-body hr { border: 0; border-top: 1px solid #eee; margin-bottom: 15px; }
.course-footer { display: flex; justify-content: space-between; align-items: center; }

/* --- MENTOR STYLES (Animated) --- */

.mentor-card { 
    text-align: center; 
    border-top: none; 
    padding: 40px 20px;
    background: #fff;       /* Added background for shadow visibility */
    border-radius: 16px;    /* Rounded corners */
    border: 1px solid #f0f0f0; 
    
    /* Smooth Transition for the card movement */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

/* Hover Effect: Card Lifts Up & Glows */
.mentor-card:hover {
    transform: translateY(-15px); /* Moves card up */
    box-shadow: 0 20px 50px rgba(101, 40, 247, 0.15); /* Purple glow shadow */
    border-color: var(--primary); /* Border turns purple */
}

/* Photo Styling */
.mentor-photo {
    width: 210px; 
    height: 210px; 
    border-radius: 60%; /* 50% ensures a perfect circle */
    
    /* KEY FIX: Centers the image on the face (top-center) */
    object-fit: cover;
    object-position: center top; 
    
    margin: 0 auto 30px auto; 
    display: block; 
    border: 4px solid #f0f0f0;
    
    /* Smooth Transition for the image */
    transition: transform 0.5s ease, border-color 0.3s ease;
}

/* Hover Effect: Reduced Zoom & Tilt */
.mentor-card:hover .mentor-photo {
    transform: scale(1.05) rotate(2deg); /* Changed from 1.1 to 1.05 for less zoom */
    border-color: var(--primary); 
}

.mentor-card h3 { 
    font-size: 1.4rem; 
    color: var(--text-dark); 
    margin-bottom: 5px; 
    font-weight: 800; 
    transition: color 0.3s;
}

/* Hover Effect: Name changes color */
.mentor-card:hover h3 {
    color: var(--primary);
}

.designation { 
    font-size: 0.95rem; 
    color: #666; 
    margin-bottom: 5px; 
    font-weight: 500; 
}

.company { 
    color: var(--primary); 
    font-weight: 700; 
    font-size: 1rem; 
}

/* --- CONNECT BOX --- */
.connect-box {
    text-align: center; max-width: 700px; margin: 0 auto;
    background: white; padding: 50px; border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* --- FOOTER --- */
.footer { background: #fff; color: #333; padding: 60px 0 20px; border-top: 1px solid #eee; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col:nth-child(2) { text-align: center; }

.footer-brand { font-size: 1.8rem; margin-bottom: 10px; line-height: 1.2; }
.brand-blue { color: #000080; }
.brand-green { color: #28a745; margin-left: 5px; }
.footer-tagline { color: #000000 !important; font-weight: 500; margin-top: 5px; font-size: 1rem; }

/* UPDATED: Headings (Quick Links, Contact) - Increased Size */
.footer h4 { 
    color: var(--secondary); 
    margin-bottom: 20px; 
    font-weight: 800; 
    text-transform: uppercase; 
    font-size: 1.3rem;  /* Increased from 0.9rem to 1.3rem */
}

/* UPDATED: Links - Increased Size */
.footer ul li a { 
    color: #333; 
    transition: 0.3s; 
    font-size: 1.1rem; /* Increased size for links */
    display: block;    /* Ensures spacing works better */
    margin-bottom: 8px; 
}
.footer ul li a:hover { color: var(--primary); padding-left: 5px; }

/* UPDATED: Contact Info Text - Increased Size */
.footer-col p {
    font-size: 1.1rem; /* Increased size for phone/email */
    margin-bottom: 10px;
}

.footer-bottom { text-align: center; border-top: 1px solid #eee; padding-top: 20px; font-size: 0.9rem; color: #777; }

/* --- FOOTER ICONS --- */
.footer-col i {
    color: var(--primary); /* Makes icons purple */
    margin-right: 10px;    /* Adds space between icon and text */
    width: 20px;           /* Ensures icons align perfectly vertically */
    text-align: center;
}

/* --- FLOATING WHATSAPP --- */
.float-whatsapp {
	position: fixed; width: 60px; height: 60px; bottom: 70px; right: 30px;
	background-color: #25d366; color: #FFF; border-radius: 50px;
	text-align: center; font-size: 30px; box-shadow: 2px 2px 3px #999; z-index: 1000;
    display: flex; align-items: center; justify-content: center; transition: 0.3s;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    animation: pulse-green 2s infinite;
}
.float-whatsapp:hover { background-color: #1ebc57; transform: scale(1.1); }
@keyframes pulse-green {
	0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
	70% { transform: scale(1.1); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
	100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ========================================= */
/* MOBILE RESPONSIVE FIXES (Strict)          */
/* ========================================= */
@media (max-width: 768px) {
    /* 1. NAVBAR */
    .navbar { height: 70px; }
    .hamburger { display: block; }
    .hamburger span { display: block; width: 25px; height: 3px; margin: 5px auto; background: var(--text-dark); }
    .nav-menu {
        position: fixed; left: -100%; top: 70px; flex-direction: column; background: white;
        width: 100%; padding: 30px; transition: 0.3s; border-top: 1px solid #eee;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }
    .nav-menu.active { left: 0; }
    .nav-links { flex-direction: column; text-align: center; gap: 20px; }

    /* 2. HERO SECTION */
    .hero { padding: 40px 0 20px 0; text-align: center; }
    .hero-grid { grid-template-columns: 1fr; gap: 30px; }
    
    /* --- HERO TEXT COLOR FIX --- */
.hero h1 {
    color: #ffffff !important; /* Forces text to be WHITE on all screens */
    
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

    .hero-image img { margin: 0 auto; max-width: 90%; }

    /* 3. PROCESS ICONS (Force 2 per row) */
    .process-row { 
        flex-direction: row !important; flex-wrap: wrap !important;
        justify-content: center; gap: 15px; margin-top: 30px;
    }
    .process-item { 
        flex: 0 0 45% !important; min-width: auto; margin-bottom: 15px; 
    }

    /* 4. SECTIONS & GRIDS */
    .section { padding: 40px 0; }
    .section-title { font-size: 2rem; margin-bottom: 30px; }
    .grid-3 { grid-template-columns: 1fr; gap: 30px; }
    .choose-layout { grid-template-columns: 1fr; text-align: center; }
    .choose-grid { grid-template-columns: 1fr; }
    
    /* 5. FOOTER */
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .footer-col:nth-child(2) { text-align: center; }
    
    /* 6. COURSE DETAIL LAYOUT MOBILE */
    .course-detail-layout { grid-template-columns: 1fr; }
    .course-sidebar { position: static; margin-top: 30px; }
}

/* --- INTERACTIVE SYLLABUS (Vertical Tabs) --- */

.syllabus-container {
    display: flex;
    gap: 0; /* No gap, borders will handle separation */
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden; /* Keeps corners rounded */
    min-height: 400px; /* Ensures consistent height */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-top: 30px;
}

/* Left Side: Menu */
.syllabus-tabs {
    flex: 0 0 250px; /* Fixed width for menu */
    background-color: #f8f9fa;
    border-right: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
}

.tab-btn {
    padding: 20px;
    text-align: left;
    background: transparent;
    border: none;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    font-weight: 600;
    color: #555;
    transition: 0.3s;
    font-size: 0.95rem;
    position: relative;
}

.tab-btn:hover {
    background-color: #eef;
    color: var(--primary);
}

.tab-btn.active {
    background-color: #fff; /* White background to blend with content */
    color: var(--primary);
    border-right: 3px solid transparent; /* Trick to hide right border */
    font-weight: 700;
}

/* Add a purple indicator line on the left of active tab */
.tab-btn.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background-color: var(--primary);
}

/* Right Side: Content */
.syllabus-content-area {
    flex: 1; /* Takes remaining space */
    padding: 40px;
    background-color: #fff;
}

.tab-content {
    display: none; /* Hidden by default */
    animation: fadeIn 0.4s ease;
}

.tab-content.active-content {
    display: block; /* Show active */
}

/* Content Styling */
.tab-content h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.tab-content ul {
    list-style: none;
    margin-left: 0;
}

.tab-content li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
    color: #444;
}

.tab-content li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #28a745; /* Green checkmark */
    font-weight: bold;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Responsive for Syllabus */
@media (max-width: 768px) {
    .syllabus-container {
        flex-direction: column; /* Stack vertically on phone */
    }
    .syllabus-tabs {
        flex: 0 0 auto;
        flex-direction: row; /* Horizontal scroll on phone */
        overflow-x: auto;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }
    .tab-btn {
        flex: 0 0 auto; /* Keep buttons standard width */
        border-bottom: none;
        white-space: nowrap;
        padding: 15px 20px;
    }
    .tab-btn.active::before {
        height: 4px; width: 100%; top: auto; bottom: 0; left: 0; /* Bottom line on mobile */
    }
}

/* --- PRICE DISPLAY STYLES (Sidebar) --- */

.price-container {
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.original-price {
    font-size: 1.1rem;
    color: #888; /* Grey color */
    text-decoration: line-through; /* This creates the strikethrough effect */
    margin-right: 8px;
    font-weight: 500;
}

.offer-price {
    font-size: 2.2rem;
    color: var(--primary); /* Your purple brand color */
    font-weight: 800;
    display: block; /* Forces it to own line or inline-block */
    line-height: 1.1;
}

.discount-text {
    color: #28a745; /* Green color for "Save X%" */
    font-size: 0.9rem;
    font-weight: 700;
    margin-top: 5px;
    display: block;
}

/* --- NEW INTERACTIVE SYLLABUS (Video Style) --- */

.curriculum-section {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr; /* Text Left, Modules Right */
    gap: 50px;
    align-items: start;
    margin-top: 40px;
}

/* Left Side: Highlights Text */
.curriculum-text h2 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 800;
}

.curriculum-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
}

/* Right Side: Interactive Stack */
.module-stack {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.module-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.module-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* Header of the Card */
.module-header {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    transition: 0.3s;
}

.module-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.module-icon {
    font-size: 1.2rem;
    color: #ccc;
    transition: 0.3s;
}

/* Active State (When Open) */
.module-card.active {
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(101, 40, 247, 0.15);
}

.module-card.active .module-header {
    background: var(--primary); /* Purple Background */
}

.module-card.active .module-title {
    color: #fff; /* White Text */
}

.module-card.active .module-icon {
    color: #fff;
    transform: rotate(180deg); /* Rotate arrow */
}

/* The Hidden Content */
.module-body {
    max-height: 0; /* Hidden by default */
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: #fff;
}

.module-body-content {
    padding: 25px;
    border-top: 1px solid #f0f0f0;
}

.module-body ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.module-body li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #555;
    font-size: 0.95rem;
}

.module-body li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
}

/* Mobile Fix */
@media (max-width: 900px) {
    .curriculum-section {
        grid-template-columns: 1fr; /* Stack vertically */
    }
}

/* --- NEW COURSE HIGHLIGHTS GRID --- */

.course-highlights-box {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    position: sticky;
    top: 100px;
}

.highlights-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 Columns */
    gap: 15px;
    margin-bottom: 25px;
}

.highlight-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
    border: 1px solid transparent;
}

.highlight-item:hover {
    background: #fff;
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(101, 40, 247, 0.1);
}

.highlight-icon {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 8px;
    display: block;
}

.highlight-label {
    font-size: 0.8rem;
    color: #666;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 3px;
}

.highlight-value {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-dark);
}

/* Price Section inside the box */
.price-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #eef2ff 100%);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 20px;
    border: 1px dashed var(--primary);
}

.price-label {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 5px;
    display: block;
}

.current-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.old-price {
    font-size: 1.1rem;
    color: #999;
    text-decoration: line-through;
    margin-right: 8px;
}

.discount-badge {
    background: #28a745;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    vertical-align: middle;
}

/* Enquire Button Animation */
.btn-enquire {
    background: var(--primary);
    color: white;
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
    display: block;
    box-shadow: 0 4px 15px rgba(101, 40, 247, 0.3);
}

.btn-enquire:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(101, 40, 247, 0.4);
}

/* --- BLOG PAGE STYLES --- */
.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.blog-thumb {
    height: 200px;
    width: 100%;
    background-color: #eee;
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
}

.blog-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.blog-content p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    margin-top: auto;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* --- CONTACT PAGE STYLES --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-box {
    background: var(--hero-bg); /* Deep Purple */
    color: white;
    padding: 40px;
    border-radius: 12px;
}

.contact-info-item {
    margin-bottom: 30px;
}

.contact-info-item i {
    font-size: 1.5rem;
    margin-bottom: 10px;
    display: block;
    color: #a29bfe; /* Light purple accent */
}

.contact-info-item h4 {
    color: white;
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.contact-form-box {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
}

/* Mobile Fix for Contact */
@media (max-width: 768px) {
    .contact-layout { grid-template-columns: 1fr; }
}

/* --- MENTOR MODAL STYLES --- */

/* The Background Overlay */
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark see-through background */
    z-index: 2000;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Open State */
.modal-overlay.open {
    display: flex;
    opacity: 1;
}

/* The White Card Box */
.modal-card {
    background: #fff;
    width: 90%;
    max-width: 700px;
    max-height: 90vh; /* Don't be taller than screen */
    overflow-y: auto; /* Scroll if text is long */
    border-radius: 12px;
    position: relative;
    padding: 0;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    
    /* Animation: Slide Up & Zoom */
    transform: translateY(50px) scale(0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    /* --- NEW: Hide Scrollbar (Firefox, IE, Edge) --- */
    scrollbar-width: none;  
    -ms-overflow-style: none;  
}

/* --- NEW: Hide Scrollbar (Chrome, Safari, Opera) --- */
.modal-card::-webkit-scrollbar {
    display: none;
}

.modal-overlay.open .modal-card {
    transform: translateY(0) scale(1);
}

/* Close Button (X) */
.close-icon {
    position: absolute;
    top: 15px; right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #fff;
    z-index: 10;
}

.close-icon:hover { color: #f0f0f0; }

/* Modal Header (Purple Top) */
.modal-header-section {
    background: var(--hero-bg);
    padding: 40px 30px;
    color: white;
    display: flex;
    align-items: center;
    gap: 20px;
}

.modal-header-section img {
    width: 100px; height: 100px;
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,0.3);
    object-fit: cover;
}

.modal-header-section h2 { margin: 0; font-size: 2rem; color: #FF9900; font-weight: 800;}
.modal-subtitle { opacity: 0.9; margin-top: 5px; font-size: 1rem; font-weight: 300; }

/* Modal Content */
.modal-body-content {
    padding: 30px;
    line-height: 1.7;
    color: #444;
}

.modal-body-content p { margin-bottom: 15px; }

/* Highlights Box (What you'll learn) */
.modal-highlights {
    background: #f9f9ff;
    border-left: 4px solid var(--primary);
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.modal-highlights h4 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.modal-highlights ul {
    list-style: none;
    padding: 0;
}

.modal-highlights li {
    margin-bottom: 8px;
    display: flex;
    align-items: start;
    gap: 10px;
}

.modal-highlights i {
    color: #28a745; /* Green Check */
    margin-top: 5px;
}

/* Mobile Fix */
@media (max-width: 600px) {
    .modal-header-section {
        flex-direction: column; text-align: center; padding: 30px 20px;
    }
    .close-icon { color: white; top: 10px; right: 15px; }
}

/* --- MENTOR MODAL STYLES --- */

/* The Background Overlay */
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark see-through background */
    z-index: 2000;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Open State */
.modal-overlay.open {
    display: flex;
    opacity: 1;
}

/* The White Card Box */
.modal-card {
    background: #fff;
    width: 90%;
    max-width: 700px;
    max-height: 90vh; /* Don't be taller than screen */
    overflow-y: auto; /* Scroll if text is long */
    border-radius: 12px;
    position: relative;
    padding: 0;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    
    /* Animation: Slide Up & Zoom */
    transform: translateY(50px) scale(0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.open .modal-card {
    transform: translateY(0) scale(1);
}

/* Close Button (X) */
.close-icon {
    position: absolute;
    top: 15px; right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #fff;
    z-index: 10;
}

.close-icon:hover { color: #f0f0f0; }

/* Modal Header (Purple Top) */
.modal-header-section {
    background: var(--hero-bg);
    padding: 40px 30px;
    color: white;
    display: flex;
    align-items: center;
    gap: 20px;
}

.modal-header-section img {
    width: 100px; height: 100px;
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,0.3);
    object-fit: cover;
}

.modal-header-section h2 { margin: 0; font-size: 2rem; }
.modal-subtitle { opacity: 0.9; margin-top: 5px; font-size: 1rem; font-weight: 300; }

/* Modal Content */
.modal-body-content {
    padding: 30px;
    line-height: 1.7;
    color: #444;
}

.modal-body-content p { margin-bottom: 15px; }

/* Highlights Box (What you'll learn) */
.modal-highlights {
    background: #f9f9ff;
    border-left: 4px solid var(--primary);
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.modal-highlights h4 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.modal-highlights ul {
    list-style: none;
    padding: 0;
}

.modal-highlights li {
    margin-bottom: 8px;
    display: flex;
    align-items: start;
    gap: 10px;
}

.modal-highlights i {
    color: #28a745; /* Green Check */
    margin-top: 5px;
}

/* Mobile Fix */
@media (max-width: 600px) {
    .modal-header-section {
        flex-direction: column; text-align: center; padding: 30px 20px;
    }
    .close-icon { color: white; top: 10px; right: 15px; }
}

/* --- PREMIUM PROFILE BUTTON --- */
.btn-profile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--primary) 0%, #8e44ad 100%); /* Purple Gradient */
    color: white;
    border: none;
    border-radius: 50px; /* Pill shape */
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(101, 40, 247, 0.2); /* Soft purple shadow */
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hover Animation: Lift & Glow */
.btn-profile:hover {
    transform: translateY(-3px); /* Moves up */
    box-shadow: 0 8px 25px rgba(101, 40, 247, 0.4); /* Shadow gets bigger/brighter */
    background: linear-gradient(135deg, #531ed6 0%, #9b59b6 100%);
}

/* Arrow Icon Animation */
.btn-profile i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-profile:hover i {
    transform: translateX(5px); /* Arrow moves right on hover */
}

/* --- MODAL CLOSE BUTTON --- */
.btn-close-modal {
    background-color: #f1f3f5;
    color: #333;
    border: 1px solid #ddd;
    padding: 10px 30px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.3s;
}

.btn-close-modal:hover {
    background-color: #e9ecef;
    border-color: #ccc;
    color: #000;
}

/* --- HERO ANIMATIONS --- */

/* Keyframes for sliding up */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Base class for animated elements */
.animate-hero {
    opacity: 0; /* Hidden initially */
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Delays for sequential appearance */
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* Styling for the longer text */
.hero-description-box {
    max-width: 900px;
    margin: 20px auto 0;
    text-align: center;
}

.hero-description-box p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
}

/* Make the lead sentence stand out */
.hero-lead {
    font-size: 1.3rem !important;
    font-weight: 600;
    color: #fff !important;
    margin-bottom: 20px !important;
}

/* --- PREMIUM BLOG GRID --- */

.blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    top: 0;
}

/* Hover Effect: Lift and Glow */
.blog-card:hover {
    top: -10px; /* Moves up */
    box-shadow: 0 20px 40px rgba(101, 40, 247, 0.15); /* Purple glow */
    border-color: #dcd6f7;
}

/* Premium Icon Thumbnail Area */
.blog-thumb-art {
    height: 180px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Gradient Backgrounds for Thumbnails */
.bg-purple { background: linear-gradient(135deg, #6528F7 0%, #9b59b6 100%); }
.bg-blue { background: linear-gradient(135deg, #007bff 0%, #00c6ff 100%); }
.bg-orange { background: linear-gradient(135deg, #ff9966 0%, #ff5e62 100%); }
.bg-green { background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%); }
.bg-dark { background: linear-gradient(135deg, #232526 0%, #414345 100%); }

.blog-thumb-art i {
    font-size: 4rem;
    color: rgba(255,255,255,0.9);
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-thumb-art i {
    transform: scale(1.2) rotate(5deg); /* Icon zooms and tilts on hover */
}

.blog-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
}

.blog-content h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 800;
    line-height: 1.4;
}

.blog-content p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.read-more-btn {
    margin-top: auto;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: 0.3s;
}

.read-more-btn i {
    margin-left: 5px;
    transition: 0.3s;
    color: var(--primary);
}

.read-more-btn:hover {
    color: var(--primary);
}

.read-more-btn:hover i {
    margin-left: 10px; /* Arrow slides right */
}

/* --- SINGLE BLOG PAGE STYLES --- */

/* The Article Container */
.blog-article-container {
    max-width: 800px; /* Optimal reading width */
    margin: 0 auto;
    padding: 60px 20px;
    background: #fff;
}

/* Header/Hero for Blog */
.blog-header-section {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.blog-category {
    display: inline-block;
    background: #eef2ff;
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.blog-main-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 20px;
}

.blog-meta {
    color: #777;
    font-size: 0.95rem;
}

.blog-meta i { margin-right: 5px; color: var(--primary); }

/* Article Content Typography */
.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.article-content h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
}

.article-content h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content ul, .article-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 10px;
}

/* Code Blocks for Technical Blogs */
.code-block {
    background: #1e1e1e;
    color: #dcdcdc;
    padding: 20px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    margin: 20px 0;
    overflow-x: auto;
    border-left: 4px solid var(--primary);
}

/* Highlight Box */
.highlight-box {
    background: #f9f9ff;
    border-left: 5px solid var(--primary);
    padding: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #555;
}

/* Navigation Buttons at bottom */
.blog-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.nav-link-blog {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}
.nav-link-blog:hover { text-decoration: underline; }

/* --- CREATIVE CONTACT PAGE --- */

.contact-section-creative {
    background-color: #f8f9ff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Background Decoration Circles */
.contact-section-creative::before {
    content: '';
    position: absolute;
    top: -50px; left: -50px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(101, 40, 247, 0.1) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.contact-section-creative::after {
    content: '';
    position: absolute;
    bottom: -50px; right: -50px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(40, 167, 69, 0.1) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.contact-grid-creative {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    position: relative;
    z-index: 1;
}

/* Left: Info Cards Stack */
.info-card-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card-creative {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease;
    border: 1px solid #fff;
}

.info-card-creative:hover {
    transform: translateX(10px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(101, 40, 247, 0.1);
}

.icon-box-creative {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, #eef2ff 0%, #fff 100%);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.info-text h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.info-text p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
}

/* Social Links Row */
.social-row {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-btn {
    width: 50px; height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-dark);
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
    text-decoration: none;
}

.social-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px);
}

/* Right: Form Container */
/* --- UPDATE THIS RULE IN style.css --- */

/* --- UPDATE THESE RULES IN style.css --- */

.creative-form-box {
    background: #fff;
    padding: 30px 40px; /* Reduced vertical padding (was 50px) */
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    /* Optional: Ensure it doesn't stretch unnecessarily */
    height: fit-content; 
}

.creative-form-box h2 {
    font-size: 1.8rem; /* Slightly smaller title */
    margin-bottom: 5px;
    color: var(--text-dark);
}

.creative-form-box p {
    color: #888;
    margin-bottom: 20px; /* Reduced margin (was 30px) */
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 12px; /* Reduced space between inputs (was 20px) */
}

/* Adjust label spacing */
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 10px; /* Slightly tighter input padding */
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Mobile Fix */
@media (max-width: 900px) {
    .contact-grid-creative {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .form-grid-2 {
        grid-template-columns: 1fr;
    }
    .info-card-creative:hover {
        transform: translateY(-5px); /* Move up instead of right on mobile */
    }
}

/* --- SCROLL ANIMATIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for grids */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* Modern Hero Text Styling */
.hero h1 {
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

/* Glass Card Effect for Features */
.choose-card, .feature-card {
    border: 1px solid rgba(0,0,0,0.05);
    background: #fff;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.choose-card:hover, .feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(101, 40, 247, 0.15);
    border-color: var(--primary);
}

/* --- SUCCESS MODAL STYLES --- */
.success-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.success-overlay.active {
    display: flex;
    opacity: 1;
}

.success-box {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    transform: translateY(30px) scale(0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-overlay.active .success-box {
    transform: translateY(0) scale(1);
}

.success-icon-anim {
    width: 80px; height: 80px;
    background: #e6fcf5;
    color: #20c997;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 20px auto;
    animation: popIn 0.5s ease;
}

.success-box h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.success-box p {
    color: #666;
    margin-bottom: 25px;
    font-size: 1rem;
}

.btn-close-success {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.btn-close-success:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

@keyframes popIn {
    0% { transform: scale(0); }
    80% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* --- BOOKING MODAL STYLES --- */
.booking-header {
    background: linear-gradient(135deg, var(--primary) 0%, #8e44ad 100%);
    padding: 30px;
    text-align: center;
    color: white;
    border-radius: 12px 12px 0 0;
}

.booking-header h2 {
    color: white;
    margin: 0;
    font-size: 1.8rem;
}

.booking-header p {
    color: rgba(255, 255, 255, 0.9);
    margin-top: 5px;
    font-size: 0.95rem;
}

.booking-body {
    padding: 30px;
}

.date-time-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

/* Customizing Date/Time Inputs */
input[type="date"], input[type="time"] {
    font-family: inherit;
    color: #555;
}

/* Close button for booking modal specific */
.close-booking {
    position: absolute;
    top: 15px;
    right: 20px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: 0.3s;
}
.close-booking:hover { transform: scale(1.1); }

@media (max-width: 600px) {
    .date-time-grid { grid-template-columns: 1fr; }
}

/* --- CLEAN DATE & TIME INPUTS (Manual + Picker) --- */
.date-input-container {
    position: relative;
    width: 100%;
}

input[type="date"], 
input[type="time"] {
    width: 100%;
    height: 50px;
    background: #f9f9ff;
    border: 2px solid #eee;
    border-radius: 6px;
    padding: 0 15px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #555;
    outline: none;
    transition: all 0.3s ease;
    
    /* This allows manual typing comfortably */
    appearance: textfield; 
    -webkit-appearance: none;
}

/* Hover & Focus */
input[type="date"]:hover, input[type="time"]:hover {
    background: #fff;
    border-color: #dcd6f7;
}

input[type="date"]:focus, input[type="time"]:focus {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(101, 40, 247, 0.1);
}

/* Custom Icon Placement */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    opacity: 0.6;
    filter: invert(18%) sepia(66%) saturate(4649%) hue-rotate(256deg) brightness(96%) contrast(96%); /* Purple */
}

input[type="date"]::-webkit-calendar-picker-indicator:hover,
input[type="time"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

/* --- FIX FOR MENTOR 3 IMAGE --- */
/* This targets the 3rd mentor card specifically */
.mentor-card:nth-of-type(3) .mentor-photo {
    object-position: center center !important; /* Moves focus to the middle instead of top */
}

/* Specific fix for images that need centering */
.mentor-photo.fix-center {
    object-position: center center !important;
}


/* --- FOOTER SOCIAL ICONS (FIXED ALIGNMENT) --- */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    justify-content: center; /* This moves the icons to the MIDDLE of the column */
}

.social-links a {
    width: 70px;
    height: 70px;
    background-color: #f0f0f0;
    color: var(--text-dark);
    border-radius: 50%;
    
    /* Centering */
    display: flex;
    align-items: center;
    justify-content: center;
    
    font-size: 2.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
    line-height: 1; 
}

/* KEY FIX: Reset the global footer icon styles */
.social-links a i {
    margin-right: 0 !important; /* Removes the side spacing */
    width: auto !important;     /* Let the icon fit naturally */
    display: inline-block;
}

/* HOVER EFFECTS */
.social-links a:hover .fa-instagram { color: #E1306C; }
.social-links a:hover .fa-linkedin-in { color: #0077b5; }
.social-links a:hover .fa-x { color: #000000; }
.social-links a:hover {
    background-color: #fff;
    box-shadow: 0 25px 45px rgba(0,0,0,0.15);
    transform: translateY(-4px);
}

/* --- HEADER TEXT LOGO STYLES --- */

/* --- HEADER TEXT LOGO STYLES (Fixed Alignment) --- */
.navbar .logo.text-logo {
    display: flex;
    
    /* CHANGED from 'center' to 'baseline' to fix the uneven look */
    align-items: baseline; 
    
    gap: 6px; 
    text-decoration: none;
}

.navbar .logo.text-logo span {
    font-family: 'Poppins', sans-serif; 
    font-weight: 800;    
    font-size: 1.7rem;   
    line-height: 1;      
}

/* Ensure colors match the footer brands */
.brand-blue { color: #000080; }
.brand-green { color: #28a745; }

/* Mobile Adjustment: Make it slightly smaller on phones if needed */
/* --- MOBILE HEADER FIXES --- */

/* --- MOBILE HEADER FIXES (CENTERED LOGO) --- */
@media (max-width: 768px) {
    /* 1. Make the container a reference point for positioning */
    .nav-container {
        position: relative; /* Essential for centering the logo */
        display: flex;
        justify-content: flex-end; /* Pushes hamburger to the right */
        align-items: center;
        width: 100%;
        padding: 15px 20px;
    }

    /* 2. Force the Logo to the Absolute Center */
    .navbar .logo.text-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%); /* Moves it back by half its width to center perfectly */
        
        white-space: nowrap; /* Keeps text on one line */
        text-align: center;
        z-index: 10;
        
        /* Adjust font size to ensure it doesn't hit the hamburger */
        font-size: 1.25rem !important; 
        gap: 5px;
    }
    
    /* Ensure the text inside spans matches the size */
    .navbar .logo.text-logo span {
        font-size: 1.25rem; 
    }

    /* 3. Keep Hamburger on the Right */
    .hamburger {
        z-index: 20; /* Ensure it's clickable above everything */
        margin-left: 0; /* No auto margin needed since we used justify-content: flex-end */
    }
}

/* --- 4 COLUMN GRID (For Mentors) --- */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 items in one row */
    gap: 25px;
}

/* Tablet: Switch to 2x2 grid */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile: Stack them 1 by 1 */
@media (max-width: 768px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }
}   

/* --- CREATIVE CUSTOM DROPDOWN --- */
.custom-dropdown {
    position: relative;
    width: 100%;
    font-family: 'Inter', sans-serif;
}

/* The Box user clicks on */
.dropdown-trigger {
    background: #f9f9ff;
    border: 2px solid #eee;
    padding: 12px 15px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    color: #555;
    transition: all 0.3s ease;
}

.dropdown-trigger:hover {
    border-color: #dcd6f7;
    background: #fff;
}

/* The Arrow Icon */
.dropdown-trigger i {
    font-size: 0.8rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

/* Active State (When Open) */
.custom-dropdown.active .dropdown-trigger {
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(101, 40, 247, 0.1);
    background: #fff;
}

/* Rotate Arrow when open */
.custom-dropdown.active .dropdown-trigger i {
    transform: rotate(180deg);
}

/* The Dropdown Menu List */
.dropdown-options {
    position: absolute;
    top: 115%; 
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border: 1px solid #f0f0f0;
    overflow: hidden;
    z-index: 100;
    
    /* Hidden State (Before Animation) */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Show Menu (Animation) */
.custom-dropdown.active .dropdown-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* List Items */
.dropdown-options li {
    padding: 14px 20px;
    cursor: pointer;
    border-bottom: 1px solid #f9f9f9;
    color: var(--text-dark);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
}

.dropdown-options li:last-child { border-bottom: none; }

/* Item Hover Effect */
.dropdown-options li:hover {
    background: #f4f0ff; /* Light purple tint */
    color: var(--primary);
    padding-left: 25px; /* Slide text to right */
}

.opt-icon { font-size: 1.2rem; }

/* --- CREATIVE HERO BUTTON (GLOW EFFECT) --- */
.btn-glow {
    background-image: linear-gradient(to right, #6528F7 0%, #A160FB 51%, #6528F7 100%);
    margin: 10px;
    padding: 16px 45px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;            
    box-shadow: 0 0 20px #eee;
    border-radius: 50px; /* Modern Pill Shape */
    display: inline-block;
    border: none;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(101, 40, 247, 0.4); /* Purple Glow */
}

.btn-glow:hover {
    background-position: right center; /* animate gradient */
    color: #fff;
    text-decoration: none;
    transform: translateY(-5px); /* Lifts up */
    box-shadow: 0 15px 40px rgba(101, 40, 247, 0.6); /* Stronger Glow */
}

.btn-glow i {
    margin-left: 10px;
    transition: transform 0.3s;
}

.btn-glow:hover i {
    transform: translateX(5px); /* Arrow moves right */
}

/* --- 🚀 NEW: HERO BACKGROUND ANIMATION (Floating Shapes) --- */
.hero {
    position: relative;
    overflow: hidden; /* Keeps shapes inside the hero box */
    /* Deep Gradient Background */
    background: linear-gradient(-45deg, #0f0c29, #302b63, #24243e, #1a1a2e);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

/* Animated Background Gradient */
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* --- FLOATING TECH ICONS ANIMATION (Updated: Larger & clearer) --- */
.hero-shapes {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    overflow: hidden;
    z-index: 0;
    padding: 0; margin: 0;
}

.hero-shapes li {
    position: absolute;
    display: block;
    list-style: none;
    /* Increased opacity for better visibility */
    color: rgba(255, 255, 255, 0.25); 
    animation: floatUp 20s linear infinite;
    bottom: -200px; /* Start further down to allow large icons to float in */
}

/* Updated Sizes: Much Bigger Icons */
.hero-shapes li:nth-child(1) { left: 10%; font-size: 100px; animation-delay: 0s; }   /* AWS */
.hero-shapes li:nth-child(2) { left: 20%; font-size: 60px; animation-delay: 2s; animation-duration: 12s; } /* Docker */
.hero-shapes li:nth-child(3) { left: 25%; font-size: 90px; animation-delay: 4s; }   /* Cloud */
.hero-shapes li:nth-child(4) { left: 40%; font-size: 80px; animation-delay: 0s; animation-duration: 18s; } /* Linux */
.hero-shapes li:nth-child(5) { left: 70%; font-size: 50px; animation-delay: 0s; }   /* Server */
.hero-shapes li:nth-child(6) { left: 80%; font-size: 120px; animation-delay: 3s; }  /* Jenkins */
.hero-shapes li:nth-child(7) { left: 32%; font-size: 140px; animation-delay: 7s; }  /* Python */
.hero-shapes li:nth-child(8) { left: 55%; font-size: 70px; animation-delay: 15s; animation-duration: 45s; } /* Code */
.hero-shapes li:nth-child(9) { left: 25%; font-size: 50px; animation-delay: 2s; animation-duration: 35s; }  /* Git */
.hero-shapes li:nth-child(10) { left: 90%; font-size: 160px; animation-delay: 0s; animation-duration: 11s; } /* Terminal */

/* The Float & Rotate Animation */
@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(-1000px) rotate(360deg);
        opacity: 0;
    }
}


/* Make sure text stays on top */
.hero-grid, .process-row, .hero h1, .hero p, .hero-cta {
    position: relative;
    z-index: 2;
}

/* --- 🌟 NEW: ANIMATED TEXT GRADIENT --- */
.text-gradient-anim {
    background: linear-gradient(to right, #a29bfe, #fff, #6528F7, #fff);
    background-size: 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShine 5s ease-in-out infinite;
    font-weight: 800;
}

@keyframes textShine {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* --- 🧊 NEW: GLASS/3D CARD HOVER EFFECT --- */
/* Glass Card Effect for Features */
.choose-card, .feature-card {
    border: 1px solid rgba(0,0,0,0.05);
    background: #fff;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    
    /* ADDED: Centers text and buttons inside the card */
    text-align: center; 
    
    /* Optional: Ensure content is vertically balanced */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.feature-card:hover, .choose-card:hover {
    transform: translateY(-10px) scale(1.02); /* Lifts and grows slightly */
    box-shadow: 0 20px 40px rgba(101, 40, 247, 0.15); /* Purple Glow */
    border-color: var(--primary);
}

/* --- ⬇️ NEW: BOUNCING SCROLL INDICATOR --- */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.6);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 10;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -10px); }
    60% { transform: translate(-50%, -5px); }
}


/* --- NEW NAVBAR BUTTONS --- */
        .nav-btn {
            padding: 8px 20px;
            border-radius: 50px; /* Pill shape */
            font-weight: 700 !important;
            font-size: 0.85rem !important;
            transition: all 0.3s ease;
            white-space: nowrap; /* Prevents text breaking */
        }
        
        /* Career Hub - Outlined Style */
        .btn-career {
            border: 2px solid #6528F7; /* Brand Primary */
            color: #6528F7 !important;
            background: transparent;
        }
        
        .btn-career:hover {
            background: #6528F7;
            color: white !important;
            transform: translateY(-2px);
        }
        
        /* Login - Solid Style */
        .btn-login {
            background: #6528F7;
            color: white !important;
            border: 2px solid #6528F7;
            box-shadow: 0 4px 12px rgba(101, 40, 247, 0.2);
        }
        
        .btn-login:hover {
            background: #531ed6;
            border-color: #531ed6;
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(101, 40, 247, 0.3);
        }

        /* Mobile Adjustment */
        @media (max-width: 768px) {
            .nav-btn {
                display: inline-block;
                margin: 5px 0;
                width: 100%; /* Full width on mobile menu */
                text-align: center;
            }
        }


        /* --- NAVBAR BUTTONS (Career Hub & Login) --- */
.nav-btn {
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    transition: all 0.3s ease;
    white-space: nowrap;
}

/* Career Hub - Outlined */
.btn-career {
    border: 2px solid #6528F7;
    color: #6528F7 !important;
    background: transparent;
}
.btn-career:hover {
    background: #6528F7;
    color: white !important;
    transform: translateY(-2px);
}

/* Login - Solid */
.btn-login {
    background: #6528F7;
    color: white !important;
    border: 2px solid #6528F7;
    box-shadow: 0 4px 12px rgba(101, 40, 247, 0.2);
}
.btn-login:hover {
    background: #531ed6;
    border-color: #531ed6;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(101, 40, 247, 0.3);
}

/* Mobile Stack */
@media (max-width: 768px) {
    .nav-btn {
        display: inline-block;
        margin: 5px 0;
        width: 100%;
        text-align: center;
    }
}