@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #6c5ce7;
    --primary-dark: #4834d4;
    --secondary: #a29bfe;
    --accent: #00cec9;
    --dark: #2d3436;
    --text-light: #636e72;
    --bg-light: #ffffff;
    --bg-off-white: #f9faff;
    --gradient: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    --shadow: 0 15px 30px rgba(108, 92, 231, 0.15);
    --radius: 15px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-light);
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
}

/* --- UTILITIES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

/* SPECIFIC FIX: Reduce padding just for Testimonials section */
#testimonials.section-padding {
    padding: 40px 0; 
}

/* --- UPDATED: TIGHTER HEADING SPACING --- */
.section-title {
    text-align: center;
    margin-bottom: 20px; 
    position: relative;
    z-index: 2;
}

.section-title span {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 5px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0; 
    line-height: 1.2;
}

.section-title p {
    margin-top: 10px;
    color: var(--text-light);
}

/* --- BUTTONS --- */
.btn {
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 10px 20px rgba(108, 92, 231, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(108, 92, 231, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-light {
    background: white;
    color: var(--dark);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}
.btn-light:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px);
}

/* --- NAVBAR --- */
header {
    background: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 400px;
    max-width: 100%;
    height: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-links.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    background: white;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    padding-top: 120px; 
    z-index: 999;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: 0.3s;
    font-size: 1rem;
}

.nav-links a:hover {
    color: var(--primary);
}

.mobile-btn-container a.btn-primary {
    color: white;
}
.mobile-btn-container a.btn-primary:hover {
    color: white;
}

/* --- MENU BUTTON (DEFAULT HIDDEN) --- */
.menu-btn {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1001; 
    position: relative;
    color: var(--primary); 
    transition: 0.3s;
}

.menu-btn:hover {
    color: var(--primary-dark);
}

/* --- HERO SECTION --- */
.hero-section {
    background: linear-gradient(rgba(45, 52, 54, 0.7), rgba(45, 52, 54, 0.7)), url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0;
    color: white;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 100px; /* Space for the bar */
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: white;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    color: #dfe6e9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* --- BOTTOM FEATURE BAR (Floating on Desktop) --- */
.hero-features-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #1e1e2f;
    padding: 30px 0;
}

.feature-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.feature-text h3 {
    color: white;
    font-size: 1.8rem;
    line-height: 1.2;
    text-align: left;
    margin-bottom: 0;
}

.feature-boxes {
    display: flex;
    gap: 20px;
}

.f-box {
    min-width: 140px; 
    padding: 15px 25px;
    height: auto; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: white;
    transition: 0.3s;
    cursor: pointer;
}
.f-box:hover { transform: translateY(-5px); }

.box-1 { background: var(--primary); } 
.box-2 { background: var(--accent); } 
.box-3 { background: #ff7675; } 

.f-box i { font-size: 1.8rem; margin-bottom: 10px; }
.f-box h4 { 
    font-size: 1.1rem; 
    font-weight: 700; 
    margin: 0;
    line-height: 1.2;
}
.f-box h4 span {
    font-size: 0.8rem;
    font-weight: 400;
    text-transform: uppercase;
    opacity: 0.9;
}

/* --- COURSES GRID --- */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.course-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: 0.4s;
    border: 1px solid #eee;
    min-height: 220px;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(108, 92, 231, 0.2);
    border-color: var(--secondary);
}

.card-img-wrapper {
    height: 140px;
    overflow: hidden;
    position: relative;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.course-card:hover .card-img-wrapper img {
    transform: scale(1.1);
}

.card-content {
    padding: 16px 18px;
}

.card-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-off-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.card-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* --- SALARY ESTIMATOR --- */
.salary-card-wrapper {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    padding: 25px 20px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.salary-header h2 {
    color: #4a00e0;
    font-size: 2rem;
    margin-bottom: 10px;
}

.salary-header p {
    color: var(--text-light);
    margin-bottom: 5px;
}

.salary-header .sub-text {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 30px;
}

.slider-wrapper {
    margin: 40px 0;
    position: relative;
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    color: #4a00e0;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.custom-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: #4a00e0;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
}

.custom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 25px;
    height: 25px;
    background: #fff;
    border: 3px solid #4a00e0;
    border-radius: 50%;
    cursor: grab;
    transition: transform 0.2s;
}

.custom-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.salary-display {
    margin-bottom: 40px;
}

.salary-display h3 {
    font-size: 2.5rem;
    color: #4a00e0;
    margin: 0;
    font-weight: 700;
}

.selection-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 1px;
}

.role-badge {
    display: inline-block;
    margin-top: 15px;
    border: 1px solid #4a00e0;
    color: #4a00e0;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    background: rgba(74, 0, 224, 0.05);
}

.info-grid {
    display: flex;
    gap: 30px;
    text-align: left;
}

.info-box {
    flex: 1;
    background: #f8f9fe;
    padding: 12px 15px;
    border-radius: 12px;
    border: 1px solid #eee;
    line-height: 1.0;
}

.info-box h4 {
    margin-bottom: 15px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
}

.info-box h4 i {
    color: #4a00e0;
}

.skills-box ul {
    list-style: none;
    padding: 0;
}

.skills-box ul li {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 8px;
    padding-left: 15px;
    position: relative;
    line-height: 1.4;
}

.skills-box ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #4a00e0;
    font-weight: bold;
}

.effort-box {
    background: #f3e5f5;
    border-color: #e1bee7;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.effort-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.effort-content h2 {
    font-size: 3rem;
    color: #6a1b9a;
    margin: 0;
}

.difficulty-pill {
    font-size: 0.75rem;
    border: 1px solid #8e24aa;
    color: #8e24aa;
    padding: 2px 10px;
    border-radius: 20px;
    margin: 5px 0 15px 0;
}

.market-note {
    font-size: 0.7rem;
    color: #888;
    margin-top: auto;
}

/* --- TESTIMONIALS SLIDER SECTION --- */
.testimonial-slider-container {
    position: relative;
    max-width: 1350px;
    margin: 0 auto;
    /* FIX 1: REDUCED PADDING TO REMOVE HUGE GAP */
    padding: 0 25px; 
}

/* The viewport hides the overflow */
.testimonial-viewport {
    overflow: hidden;
    width: 100%;
    padding-top: 60px; /* Space for avatar heads popping out */
    padding-bottom: 30px; /* Space for shadows */
}

/* The track holds multiple "Pages" */
.testimonial-track {
    display: flex;
    width: 100%; 
    transition: transform 0.5s ease-in-out;
}

/* A "Page" is a 2x3 Grid of cards (6 Cards Total) */
.testimonial-page {
    flex: 0 0 100%; /* Takes full width of viewport */
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Columns */
    grid-template-rows: repeat(2, auto);   /* 2 Rows */
    gap: 30px; /* Gap between cards */
    
    /* FIX 2: INTERNAL PADDING */
    /* This ensures content doesn't touch edges but stays wide */
    padding: 0 40px; 
}

/* Individual Card Styling */
.testimonial-card {
    position: relative;
    background: white;
    padding: 85px 40px 40px 40px;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

/* --- NAVIGATION ARROWS (FIXED POSITIONING) --- */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    border: none;
    box-shadow: 0 2px 8px rgba(108,92,231,0.08);
    color: var(--primary);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 100;
    transition: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-arrow:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

/* FIX 3: ALIGN ARROWS TO EDGES */
.slider-arrow.prev { left: 0; } 
.slider-arrow.next { right: 0; }

.card-header-visuals {
    position: absolute;
    top: -45px;
    left: -35px;
    display: flex;
    align-items: center;
}

/* --- FIXED AVATAR WRAPPER --- */
.avatar-wrapper {
    position: relative;
    width: 130px;
    height: 130px;
    background: linear-gradient(135deg, #6200ea, #9d46ff); 
    padding: 5px; 
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    box-shadow: 0 10px 25px rgba(98, 0, 234, 0.4); 
}

.avatar-wrapper img {
    border: 5px solid white; 
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background-color: #f0f0f0; 
    display: block;
}

.name-badge {
    background: white;
    padding: 12px 40px 12px 50px;
    border-radius: 0 50px 50px 0;
    margin-left: -40px;
    z-index: 5;
    position: relative;
    top: -15px;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.03);
    min-width: 220px;
}

.name-badge h3 {
    margin: 0;
    color: #1a1a1a;
    font-size: 1.2rem;
    font-weight: 700;
}

.name-badge span {
    color: #6200ea;
    font-size: 0.9rem;
    font-weight: 600;
}

.purple-swoosh {
    position: absolute;
    left: 50px;
    top: 50px;
    width: 200px;
    height: 40px;
    background: linear-gradient(90deg, #8e2de2, #4a00e0);
    border-radius: 0 0 50px 0;
    z-index: 4;
}

.stars {
    color: #ffc107;
    font-size: 1.2rem;
    position: absolute;
    right: 40px;
    top: 60px;
}

.review-text {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 10px;
}

/* --- ROADMAP --- */
.roadmap-container {
    position: relative;
    max-width: 900px;
    margin: 50px auto;
    padding-bottom: 100px;
}

.hidden {
    display: none !important;
}

.road-line {
    position: absolute;
    left: 50%;
    top: 50px;
    bottom: 100px;
    width: 6px;
    background: repeating-linear-gradient(to bottom, var(--secondary) 0, var(--secondary) 15px, transparent 15px, transparent 30px);
    transform: translateX(-50%);
    z-index: 0;
}

.scrolling-character {
    position: absolute;
    left: 50%;
    top: 50px;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    border: 4px solid var(--primary);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.scrolling-character img {
    width: 40px;
}

.roadmap-step {
    position: relative;
    width: 45%;
    margin-bottom: 60px;
    z-index: 1;
}

.roadmap-step.left {
    left: 0;
    text-align: right;
}

.roadmap-step.right {
    left: 55%;
    text-align: left;
}

.step-content {
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-left: 5px solid var(--primary);
    transition: 0.3s;
}

.step-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.roadmap-step::after {
    content: '';
    position: absolute;
    top: 30px;
    width: 15px;
    height: 15px;
    background: var(--primary);
    border-radius: 50%;
    z-index: 2;
}

.roadmap-step.left::after {
    right: -5.7%;
}

.roadmap-step.right::after {
    left: -5.7%;
}

/* --- MENTOR SLIDER STYLES --- */

#top-mentors.section-padding {
    background-color: #e1bee7; /* Pastel purple background */
    padding: 60px 0;
}

.mentor-slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    /* Space for arrows + overlap prevention */
    padding: 0 50px; 
}

.mentor-viewport {
    overflow: hidden;
    width: 100%;
    padding: 20px 0; /* Space for shadows */
}

.mentor-track {
    display: flex;
    gap: 20px; /* Space between cards */
    transition: transform 0.5s ease-in-out;
    /* Ensure flex items don't shrink below their basis */
    flex-wrap: nowrap;
}

/* SMALLER MENTOR CARDS (REDUCED SIZE & BETTER FIT) */
.mentor-card {
    background: white;
    padding: 20px; 
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
    border: 1px solid #eee;
    
    /* Fixed width for consistent slider: 240px */
    min-width: 240px; 
    max-width: 240px;
    flex: 0 0 240px;
}

.mentor-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
    box-shadow: 0 15px 30px rgba(108, 92, 231, 0.15);
}

.mentor-img-wrapper {
    width: 100px; /* Smaller Image */
    height: 100px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--bg-off-white);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.mentor-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.mentor-card h3 {
    font-size: 1.1rem; /* Smaller Font */
    margin-bottom: 3px;
    color: var(--dark);
    font-weight: 600;
}

.mentor-card p {
    color: var(--primary);
    font-weight: 500;
    font-size: 0.85rem; /* Smaller Font */
    margin-bottom: 12px;
}

.mentor-socials {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.mentor-socials a {
    color: #b2bec3;
    font-size: 1rem;
    transition: 0.3s;
}

.mentor-socials a:hover {
    color: var(--primary);
}

/* --- PARTNERS --- */
.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 30px 0;
    background: white;
}

.marquee-container::before,
.marquee-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 50px; 
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, white 10%, transparent);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, white 10%, transparent);
}

.marquee-track {
    display: inline-block;
    animation: scrollLeft 40s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

/* --- FIXED MOBILE TOP RECRUITERS LAYOUT --- */
.company-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 180px; /* Default Desktop Width */
    height: 90px;
    margin: 0 15px;
    padding: 15px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: 0.3s;
    vertical-align: middle;
}

.company-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: 0.3s;
}

.company-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: var(--secondary);
}

.company-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- CONTACT SECTION --- */
.contact-section {
    background: #1e1e2f; 
    padding: 0 0 40px 0; 
    position: relative;
    color: white;
}

.newsletter-bar {
    background: var(--gradient);
    padding: 60px 0;
    text-align: center;
    color: white;
    margin-bottom: 60px;
}

.news-content h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.news-content p {
    opacity: 0.9;
    margin-bottom: 30px;
    color: #f1f1f1;
}

.subscribe-form {
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: 500px;
    margin: 0 auto;
}

.subscribe-form input {
    padding: 15px;
    border: none;
    background: white;
    color: var(--dark);
    width: 70%;
    border-radius: 30px 0 0 30px;
    outline: none;
    padding-left: 25px;
}

.subscribe-form button {
    width: 30%;
    background: var(--dark);
    border: none;
    font-weight: 600;
    cursor: pointer;
    border-radius: 0 30px 30px 0;
    color: white;
    transition: 0.3s;
}

.subscribe-form button:hover {
    background: #000;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px; 
}

.about-features li {
    margin-bottom: 15px;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #f1f1f1;
}

.about-features li i {
    color: var(--accent); 
    font-size: 1.2rem;
}

.contact-form-card {
    background: rgba(255, 255, 255, 0.05); 
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.contact-form-card .form-group {
    margin-bottom: 20px;
}

.contact-form-card label {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 8px;
    display: block;
    font-weight: 500;
}

.contact-form-card input,
.contact-form-card textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: white;
    border-radius: 18px;
    font-size: 0.95rem;
    transition: 0.3s;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 10px rgba(0, 206, 201, 0.2);
}

.footer-merged {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-merged h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-socials {
    margin: 20px 0;
}

.footer-socials i {
    font-size: 1.5rem;
    margin: 0 10px;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

.footer-socials i:hover {
    color: var(--accent);
    transform: translateY(-3px);
}

/* =========================================
   RESPONSIVE ADJUSTMENTS (ALL FIXES HERE)
   ========================================= */
@media (max-width: 900px) {

    .container {
        padding: 0 15px;
    }

    /* --- FIX 1: LOGO SIZE ON MOBILE --- */
    .logo img {
        width: 250px; /* Bigger logo */
    }

    .section-padding {
        padding: 60px 0;
    }

    /* Mobile Navbar (Hidden by default, shown via JS) */
    .nav-links {
        display: none;
        align-items: center;
        justify-content: flex-start;
        gap: 25px;
    }
    
    .mobile-btn-container {
        margin-top: 10px;
        width: 80%;
        text-align: center;
    }
    
    .mobile-btn-container .btn {
        display: block;
        width: 100%;
    }

    /* --- FIX 2: MENU BUTTON VISIBILITY --- */
    .menu-btn {
        display: block; /* Show hamburger on mobile */
    }

    /* --- FIX 3: HERO SECTION LAYOUT --- */
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding-top: 100px;
        padding-bottom: 50px;
        flex-direction: column;
        justify-content: flex-start;
    }

    .hero-content {
        padding-bottom: 40px;
        max-width: 100%;
        position: relative;
        z-index: 5;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    /* --- FIX 4: PREVENT FEATURE BAR OVERLAP --- */
    /* This makes the bar sit BELOW the text naturally */
    .hero-features-bar {
        position: relative !important;
        bottom: auto;
        left: auto;
        width: 100%;
        background: transparent;
        padding: 0;
        margin-top: 20px;
    }

    .feature-grid {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .feature-text {
        text-align: center;
        margin-bottom: 10px;
    }

    .feature-text h3 {
        font-size: 1.5rem;
    }

    .feature-boxes {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .f-box {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .hero-btns .btn {
        width: 80%;
        text-align: center;
    }

    /* Contact & Footer Stack */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .subscribe-form {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .subscribe-form input,
    .subscribe-form button {
        width: 100%;
        border-radius: 50px;
    }

    /* Other Mobile Adjustments */

    /* Reduce Career Path (Roadmap) section height on mobile */
    .roadmap-container {
        margin: 20px auto;
        padding-bottom: 40px;
    }
    .roadmap-step {
        margin-bottom: 28px;
    }
    .roadmap-step, .roadmap-step h3, .roadmap-step p, .roadmap-step li {
        font-size: 0.92rem;
        line-height: 0.9;
    }
    .info-grid {
        flex-direction: column;
    }
    
    .salary-card-wrapper {
        padding: 30px;
    }

    /* --- FIXED: SMALLER COMPANY LOGO ON MOBILE --- */
    .company-logo {
        width: 140px; /* Reduced from 340px */
        height: 80px; /* Reduced from 120px */
        margin: 0 10px;
    }

    /* --- CLEANER MOBILE HEADER VISUALS --- */
    .card-header-visuals {
        position: relative;
        top: -35px; /* Reduced lift on mobile */
        left: -15px; /* Reduced negative margin on mobile */
        margin-bottom: 20px;
        transform: none;
    }
    
    /* FIX FOR MOBILE CARD LAYOUT - SMALLER & CLEANER */
    .testimonial-card {
        padding: 60px 25px 25px 25px; /* Reduced internal padding */
        margin-top: 20px;
    }
    
    .name-badge {
        margin-left: -30px; /* Reduced negative margin */
        padding: 8px 30px 8px 40px; /* Smaller badge padding */
        width: auto;
        min-width: unset;
    }
    
    .name-badge h3 {
        font-size: 1.1rem; /* Smaller font */
    }
    
    .name-badge span {
        font-size: 0.8rem; /* Smaller font */
    }
    
    /* SMALLER AVATAR ON MOBILE */
    .avatar-wrapper {
        width: 100px;
        height: 100px;
    }
    .avatar-wrapper img {
        width: 88px; /* Adjusted inner img size */
        height: 88px;
    }

    .stars {
        position: relative;
        right: auto;
        top: auto;
        margin-bottom: 15px;
        display: block;
    }

    .road-line {
        left: 30px; 
    }

    .scrolling-character {
        left: 30px;
        width: 50px;
        height: 50px;
    }
    
    .scrolling-character img {
        width: 30px;
    }

    .roadmap-step {
        width: 100%;
        left: 0 !important;
        padding-left: 70px;
        text-align: left !important;
        margin-bottom: 40px;
    }

    .roadmap-step.left::after,
    .roadmap-step.right::after {
        left: 25px; 
        right: auto;
    }
    
    .step-content img {
        width: 100%;
        height: auto;
    }

    /* --- UPDATED: MOBILE SLIDER FIX --- */
    .testimonial-page {
        grid-template-columns: 1fr; /* Single column on mobile */
        grid-template-rows: auto;
        /* Adjusted padding to match smaller visual elements */
        padding: 0 10px; 
        gap: 15px;
    }
    
    .testimonial-slider-container {
        padding: 0; /* Remove extra container padding on mobile */
    }
    
    /* Make room for bottom arrows */
    .testimonial-viewport {
        padding-bottom: 60px; /* Extra space at bottom */
    }
    
    .slider-arrow {
        top: auto;
        bottom: 0px; /* Position arrows below the cards */
        transform: none;
    }
    
    .slider-arrow.prev { left: 30%; }
    .slider-arrow.next { right: 30%; }
}

/* RESPONSIVE MENTOR SLIDER */
@media (max-width: 768px) {
    .mentor-slider-container {
        padding: 0 35px; /* Less side padding on mobile */
    }
    
    /* Ensure sizing sticks on mobile */
    .mentor-card {
        min-width: 240px;
        max-width: 240px;
        flex: 0 0 240px;
    }
}

@media (min-width: 601px) and (max-width: 1024px) {
    /* --- TABLET SLIDER (2 Columns) --- */
    .testimonial-page {
        grid-template-columns: 1fr 1fr; /* 2 cols */
    }
}

@media (max-width: 600px) {
  .form-container {
    padding: 18px;
    border-radius: 12px;
    max-width: 98vw;
    min-width: 0;
  }
  .form-header h2 {
    font-size: 1.3rem;
  }
  .form-header p {
    font-size: 0.95rem;
  }
  .form-group label {
    font-size: 0.95rem;
  }
  .form-group input,
  .form-group select {
    padding: 10px 12px;
    font-size: 1rem;
  }
  .btn.btn-primary {
    font-size: 1.1rem;
    padding: 12px 0;
  }
  .close-btn {
    top: 10px;
    right: 10px;
    font-size: 2rem;
  }
}

/* =========================================
   POPUP MODAL STYLES (ADDED)
   ========================================= */

/* --- MODAL POPUP OVERLAY --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8); /* Dark dimmed background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000; /* Sit on top of everything */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px); /* Blur effect */
}

/* State when popup is open */
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* --- MODAL BOX DESIGN --- */
.modal-container {
    background: white;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: scale(0.8); /* Start slightly smaller */
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy effect */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-overlay.active .modal-container {
    transform: scale(1); /* Scale up to normal size */
}

/* Close 'X' Button */
.close-modal-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: #888;
    cursor: pointer;
    line-height: 1;
    transition: 0.2s;
}

.close-modal-btn:hover {
    color: red;
}

/* Form Styling inside Modal */
.modal-container h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 25px;
    font-weight: 700;
}

.modal-container .form-group {
    margin-bottom: 15px;
}

.modal-container label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
    font-weight: 500;
}

.modal-container input,
.modal-container select {
    width: 100%;
    padding: 12px;
    border: 2px solid #eee;
    border-radius: 10px;
    outline: none;
    font-size: 1rem;
    transition: 0.3s;
}

.modal-container input:focus,
.modal-container select:focus {
    border-color: var(--primary);
    background: #fdfdfd;
}