/* 
    Career Vahini Online MBA Landing Page - Core Design System
    Matching Career Vahini brand identity
*/

:root {
    --primary-color: #00cc99; /* Vibrant Teal */
    --secondary-color: #003366;  /* Deep Navy */
    --accent-color: #ffcc00;  /* Gold Accent */
    --text-dark: #1a1a1a;
    --text-light: #555555;
    --text-white: #ffffff;
    --bg-dark: #001f3f;
    --bg-light: #f8faff;
    --font-header: "Inter", sans-serif;
    --font-logo: "Montserrat", sans-serif;
    --font-main: "Inter", sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--text-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%; /* Prevent iOS font scaling on orientation change */
    text-size-adjust: 100%;
    -webkit-overflow-scrolling: touch; /* Smooth momentum scrolling on iOS */
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--secondary-color);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.2;
}

p {
    color: var(--text-light);
    font-size: 1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utility Classes */
.text-red { color: var(--primary-color); }
.bg-dark { background-color: var(--bg-dark); color: var(--text-white); }
.bg-light { background-color: var(--bg-light); }
.section-padding { padding: 80px 0; }

.responsive-split-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.pathway-grid {
    grid-template-columns: 1fr 1fr;
}


/* Header Styling */
header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    background: transparent;
}

header.scrolled {
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: 75px; 
}

header.scrolled .logo img {
    height: 50px; 
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* CSS Crop & Replace for Tagline */
.brand-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    background: #fff;
    padding: 8px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.logo-crop {
    height: 42px; /* Fixed height to crop out the bottom tagline part of the PNG */
    overflow: hidden;
    display: flex;
    align-items: flex-start;
}

.logo-img {
    height: 55px; /* Original image height */
    width: auto;
    display: block;
    margin-top: -2px; /* Adjust to perfectly align the main text */
}

.logo-tagline-new {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.145em; /* Scaled relative to the container for perfect fit */
    color: #1A3B9C;
    letter-spacing: 0.1em;
    margin-top: 1px;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Header Scrolled state */
header.scrolled .brand-logo {
    background: transparent;
    box-shadow: none;
    padding: 0;
}

header.scrolled .logo-crop {
    height: 38px;
}

header.scrolled .logo-img {
    height: 48px;
}

header.scrolled .logo-tagline-new {
    font-size: 7px;
}

/* PNG has white background — pill container handles contrast */
#main-header:not(.scrolled) .logo-img {
    filter: none;
}

.footer-logo {
    height: 55px;
    width: auto;
    max-width: none; /* Removed constraint */
    object-fit: contain;
    margin-bottom: 0;
    filter: none;
}

header.scrolled .logo-img {
    height: 48px;
    max-width: none;
    filter: none;
}

nav {
    flex-grow: 1;
    display: flex;
    justify-content: center; /* Center nav links */
    margin: 0 40px; /* Add margin to keep navigation links away from logo and actions */
    min-width: 0;
}

.nav-links {
    display: flex;
    gap: 40px; /* Increased standard spacing between nav items */
    list-style: none;
    flex-wrap: nowrap;
}

.header-actions {
    margin-left: 40px; /* Space between Specializations and Apply Now */
    flex-shrink: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-white);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

header.scrolled .nav-links a {
    color: var(--text-dark);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.cta-btn {
    background: var(--primary-color);
    color: #fff;
    padding: 12px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    -webkit-appearance: none; /* iOS button reset */
    min-height: 44px; /* Apple minimum tap target */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation; /* Remove 300ms tap delay */
}

.cta-btn:hover {
    background: #009973; /* Darker Teal */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 204, 153, 0.3);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,51,102,0.8), rgba(0,0,0,0.9)), url('hero-bg.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    color: #fff;
    padding-top: var(--header-height);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.hero-text h1 {
    font-size: 4.5rem;
    color: #fff;
    margin-bottom: 20px;
}

.hero-text h1 span {
    color: var(--primary-color);
}

.hero-text p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
    text-transform: none;
}

/* Lead Form */
.lead-form-container {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    color: var(--text-dark);
}

.lead-form-container h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 16px; /* CRITICAL: Prevents iOS auto-zoom on focus (must be >= 16px) */
    -webkit-appearance: none; /* Removes iOS default styling on select/input */
    appearance: none;
    min-height: 44px; /* Apple minimum tap target */
    touch-action: manipulation;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23555' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 204, 153, 0.15);
}

.form-submit {
    width: 100%;
    margin-top: 10px;
}

/* University Slider */
.university-slider {
    padding: 60px 0;
    background: #fff;
    border-bottom: 1px solid #eee;
    overflow: hidden;
}

.slider-title {
    text-align: center;
    font-size: 1rem;
    color: #888;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.slider-track {
    display: flex;
    gap: 80px;
    animation: scroll 40s linear infinite;
    width: calc(260px * 18);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-260px * 9)); }
}

.university-logo {
    width: 180px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition-smooth);
}

.university-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.university-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Program Highlights Grid */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.expertise-card {
    background: #fff;
    padding: 40px 30px;
    border: 1px solid #eee;
    border-radius: 12px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    touch-action: manipulation;
}

.expertise-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(0, 204, 153, 0.1);
}

.expertise-card .overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--primary-color), #00664d);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 1;
}

.expertise-card:hover .overlay {
    opacity: 1;
}

.expertise-card h3, .expertise-card p {
    position: relative;
    z-index: 2;
    transition: var(--transition-smooth);
}

.expertise-card:hover h3, .expertise-card:hover p {
    color: #fff;
}

.expertise-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

/* Footer */
footer {
    background: #0f1012;
    color: #fff;
    padding: 80px 0 20px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 40px; height: 3px;
    background: var(--primary-color);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #aaa;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    color: #666;
    font-size: 0.9rem;
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* ==============================
   SPECIALIZATIONS MODAL
   ============================== */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #fff;
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    border-radius: 12px;
    position: relative;
    display: flex;
    flex-direction: column;
    transform: scale(0.95) translateY(20px);
    transition: var(--transition-smooth);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    overflow: hidden;
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: 30px 40px 20px;
    border-bottom: 1px solid #eee;
    background: #fdfdfd;
}

.modal-close {
    position: absolute;
    top: 20px; right: 25px;
    background: #f1f1f1;
    border: none;
    width: 36px; height: 36px;
    border-radius: 50%;
    font-size: 1.1rem;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    z-index: 2;
}

.modal-close:hover {
    background: var(--primary-color);
    color: #fff;
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px 40px;
    overflow-y: auto;
}

.specializations-list {
    list-style: none;
    padding: 0;
    margin: 0;
    column-count: 2;
    column-gap: 40px;
}

.specializations-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 0.95rem;
    color: var(--text-dark);
    break-inside: avoid;
    page-break-inside: avoid;
    display: flex;
    align-items: flex-start;
}

.specializations-list li::before {
    content: '\f058'; /* FontAwesome check-circle */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-color);
    margin-right: 12px;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .specializations-list { column-count: 1; }
    .modal-header { padding: 25px 25px 15px; }
    .modal-body { padding: 20px 25px; }
    .modal-close { top: 15px; right: 15px; }
}

/* ==============================
   HAMBURGER BUTTON
   ============================== */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    -webkit-appearance: none; /* iOS compatibility */
}
.hamburger-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}
header.scrolled .hamburger-btn span { background: var(--secondary-color); }
.hamburger-btn.active span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.hamburger-btn.active span:nth-child(2) { opacity: 0; }
.hamburger-btn.active span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ==============================
   MOBILE MENU DROPDOWN
   ============================== */
.mobile-menu {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--secondary-color);
    z-index: 998;
    padding: 10px 20px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    -webkit-backdrop-filter: blur(10px); /* iOS Safari compatibility */
    backdrop-filter: blur(10px); /* Premium frosted glass look */
    transition: top 0.4s ease;
}
header.scrolled + .mobile-menu {
    top: 75px; /* Match the shrunk header height */
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu ul li { border-bottom: 1px solid rgba(255,255,255,0.1); }
.mobile-menu ul li:last-child { border-bottom: none; }
.mobile-menu ul li a {
    display: block;
    padding: 15px 5px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.2s;
}
.mobile-menu ul li a:hover { color: var(--primary-color); }
.mobile-cta {
    display: block;
    margin-top: 15px;
    text-align: center;
    background: var(--primary-color);
    color: #fff;
    padding: 14px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 1200px) {
    .nav-links {
        gap: 24px;
    }
    nav {
        margin: 0 25px;
    }
}

@media (max-width: 1024px) {
    .hero-text h1 { font-size: 3.5rem; }
    .hero-content { grid-template-columns: 1fr; gap: 40px; }
    
    /* Prevent nav links and logo collision on tablet/medium screen width */
    .nav-links {
        gap: 16px;
    }
    .nav-links a {
        font-size: 0.85rem;
    }
    nav {
        margin: 0 15px;
    }
    .brand-logo {
        padding: 6px 12px;
    }
    .logo-crop {
        height: 38px !important;
    }
    .logo-img {
        height: 48px !important;
    }
}

@media (max-width: 768px) {
    .hero-text h1 { font-size: 2.5rem; }
    .footer-inner { grid-template-columns: 1fr; gap: 30px; }
    .nav-links { display: none; }

    /* Logo size fix for mobile - Responsive Crop & Replace */
    .logo-crop { height: 32px !important; }
    .logo-img, .footer-logo { height: 44px !important; max-width: 175px !important; margin-top: -2px !important; }
    .logo-tagline-new { font-size: 6px !important; margin-top: 1px !important; }
    
    .brand-logo { margin-right: 0; gap: 4px; padding: 4px 10px; }
    footer .brand-logo { padding: 4px 10px; }

    /* Show hamburger, hide desktop Apply Now */
    .hamburger-btn { display: flex; }
    .header-actions { display: none; }

    .brand-name { font-size: 1.05rem; }
    .brand-tagline { font-size: 0.6rem; }
    .header-inner { justify-content: flex-start; gap: 15px; }
    .cta-btn { padding: 10px 16px; font-size: 0.78rem; min-height: 44px; }

    .responsive-split-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .pathway-grid { grid-template-columns: 1fr; }

    .hero { height: auto; min-height: 100vh; display: block; padding-top: 120px; padding-bottom: 50px; }
    .hero-content { gap: 30px; }

    /* Reduce section padding on mobile */
    .section-padding { padding: 55px 0; }
}

@media (max-width: 480px) {
    .logo-crop { height: 30px !important; }
    .logo-img, .footer-logo { 
        height: 42px !important; 
        max-width: 65vw !important; 
    }
    .logo-tagline-new { font-size: 5.5px !important; }
    .brand-name { font-size: 0.95rem; }
    .header-inner { gap: 10px; }
    .cta-btn { padding: 10px 14px; font-size: 0.75rem; min-height: 44px; }
    .hero-text { margin-top: 0; }
    .hero-text h1 { font-size: 1.7rem; line-height: 1.1; }
    .lead-form-container { padding: 22px 18px; }
    .section-padding { padding: 45px 0; }
}
/* ==============================
   WHATSAPP FLOATING BUTTON
   ============================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    background-color: #1ebe57;
    color: #FFF;
    transform: scale(1.1);
    box-shadow: 2px 2px 15px rgba(0,0,0,0.4);
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 30px;
    }
}

/* ==============================
   ONLINE MBA SECTION
   ============================== */
.prog-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
    text-align: center;
}

.prog-stat {
    background: linear-gradient(135deg, var(--secondary-color), #005599);
    border-radius: 12px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 25px rgba(0, 51, 102, 0.15);
    transition: var(--transition-smooth);
}

.prog-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 51, 102, 0.25);
}

.prog-stat-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
    font-family: var(--font-logo);
    line-height: 1;
}

.prog-stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.prog-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.prog-feature-card {
    background: #fff;
    border: 1px solid #eef0f5;
    border-radius: 14px;
    padding: 35px 28px;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.prog-feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.prog-feature-card:hover::before {
    transform: scaleX(1);
}

.prog-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 204, 153, 0.1);
    border-color: var(--primary-color);
}

.prog-feature-card i {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 18px;
    display: block;
}

.prog-feature-card h4 {
    font-size: 1.05rem;
    margin-bottom: 12px;
    color: var(--secondary-color);
}

.prog-feature-card p {
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ==============================
   EXECUTIVE MBA SECTION
   ============================== */
.exec-checklist {
    list-style: none;
    padding: 0;
}

.exec-checklist li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
}

.exec-checklist li:last-child {
    border-bottom: none;
}

.exec-checklist li i {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.exec-info-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.exec-info-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #eef0f5;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: var(--transition-smooth);
}

.exec-info-card:hover {
    transform: translateX(6px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(0, 204, 153, 0.12);
}

.exec-info-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary-color), #009973);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.exec-info-icon i {
    font-size: 1.3rem;
    color: #fff;
}

.exec-info-card h4 {
    font-size: 1rem;
    margin-bottom: 6px;
    color: var(--secondary-color);
}

.exec-info-card p {
    font-size: 0.88rem;
    line-height: 1.6;
}

/* ==============================
   PROFESSIONAL CERTIFICATES
   ============================== */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.cert-card {
    background: #fff;
    border-radius: 16px;
    padding: 35px 28px;
    border: 1px solid #eef0f5;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: var(--transition-smooth);
}

.cert-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(0, 204, 153, 0.12);
    border-color: var(--primary-color);
}

.cert-badge {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(0, 204, 153, 0.12), rgba(0, 204, 153, 0.04));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 204, 153, 0.3);
}

.cert-badge i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.cert-card h4 {
    font-size: 1rem;
    color: var(--secondary-color);
    line-height: 1.3;
}

.cert-card p {
    font-size: 0.88rem;
    line-height: 1.65;
    flex-grow: 1;
}

.cert-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cert-meta span {
    font-size: 0.78rem;
    color: var(--text-light);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.cert-meta span i {
    color: var(--primary-color);
}

.cert-enroll-btn {
    display: inline-block;
    margin-top: 6px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    padding: 9px 20px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
    text-align: center;
}

.cert-enroll-btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 204, 153, 0.3);
}

/* ==============================
   STUDY ABROAD SECTION
   ============================== */
.study-abroad-section {
    position: relative;
    background: linear-gradient(135deg, #001225, #002244, #001f3f);
    overflow: hidden;
}

.study-abroad-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(0, 204, 153, 0.07) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 70%, rgba(0, 51, 102, 0.3) 0%, transparent 60%);
    pointer-events: none;
}

.abroad-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 60px;
}

.abroad-dest-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 28px;
    transition: var(--transition-smooth);
    -webkit-backdrop-filter: blur(10px); /* iOS Safari */
    backdrop-filter: blur(10px);
}

.abroad-dest-card:hover {
    background: rgba(0, 204, 153, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.abroad-flag {
    font-size: 2.8rem;
    margin-bottom: 14px;
    line-height: 1;
}

.abroad-dest-card h4 {
    font-size: 1.05rem;
    color: #fff;
    margin-bottom: 10px;
}

.abroad-dest-card p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.65;
    margin-bottom: 15px;
}

.abroad-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.abroad-tags span {
    background: rgba(0, 204, 153, 0.15);
    color: var(--primary-color);
    border: 1px solid rgba(0, 204, 153, 0.3);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Study Abroad - Journey Steps */
.abroad-process {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 45px 40px;
    margin-top: 20px;
}

.abroad-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.abroad-step {
    text-align: center;
    flex: 1;
    min-width: 130px;
}

.step-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    font-family: var(--font-logo);
    line-height: 1;
    margin-bottom: 10px;
}

.abroad-step h5 {
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.abroad-step p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.8rem;
}

.step-arrow {
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
    opacity: 0.6;
}

/* ==============================
   RESPONSIVE — NEW SECTIONS
   ============================== */
@media (max-width: 1024px) {
    .prog-stats-row { grid-template-columns: repeat(2, 1fr); }
    .prog-detail-grid { grid-template-columns: repeat(2, 1fr); }
    .cert-grid { grid-template-columns: repeat(2, 1fr); }
    .abroad-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .prog-stats-row { grid-template-columns: repeat(2, 1fr); }
    .prog-detail-grid { grid-template-columns: 1fr; }
    .cert-grid { grid-template-columns: 1fr; }
    .abroad-grid { grid-template-columns: 1fr; }
    .abroad-steps { flex-direction: column; gap: 15px; }
    .step-arrow { transform: rotate(90deg); }
    .abroad-process { padding: 28px 18px; }
    .exec-info-stack { gap: 12px; }

    /* Section heading sizes on mobile */
    #online-mba h2,
    #exec-mba h2,
    #certificates h2,
    #study-abroad h2 { font-size: 1.9rem !important; }

    /* Executive MBA: stack on mobile */
    .exec-info-card { flex-direction: row; align-items: flex-start; }

    /* Certificate enrol button — full-width on mobile for easier tapping */
    .cert-enroll-btn { display: block; text-align: center; min-height: 44px; line-height: 44px; padding: 0 20px; }

    /* Abroad destination cards full width */
    .abroad-dest-card { padding: 22px 18px; }
}

@media (max-width: 480px) {
    .prog-stats-row { grid-template-columns: 1fr 1fr; gap: 10px; }
    .prog-stat { padding: 18px 10px; }
    .prog-stat-num { font-size: 1.6rem; }
    .prog-stat-label { font-size: 0.72rem; letter-spacing: 0.5px; }

    /* Exec MBA info cards: stack icon above text on very small screens */
    .exec-info-card { flex-direction: column; gap: 12px; }
    .exec-info-icon { width: 44px; height: 44px; }

    /* Certificate cards padding */
    .cert-card { padding: 25px 18px; }
    .cert-meta { flex-direction: column; gap: 6px; }
    .cert-meta span { font-size: 0.82rem; }

    /* Abroad section headings */
    #online-mba h2,
    #exec-mba h2,
    #certificates h2,
    #study-abroad h2 { font-size: 1.65rem !important; }

    /* Abroad steps compact */
    .abroad-step { min-width: unset; }
    .step-num { font-size: 1.6rem; }

    /* Executive MBA checklist font */
    .exec-checklist li { font-size: 0.9rem; }

    /* Feature cards compact */
    .prog-feature-card { padding: 25px 18px; }
    .prog-feature-card i { font-size: 1.8rem; }
}

/* ============================================
   CAREER INSIGHTS BLOG CARDS (Homepage)
   ============================================ */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}
.article-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eee;
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border-color: var(--primary-color);
}
.card-img-wrap {
  height: 200px;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #001f3f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.card-img-wrap .card-icon {
  font-size: 3.5rem;
  opacity: .2;
  color: #fff;
}
.card-img-wrap .card-cat-badge {
  position: absolute;
  top: 15px; left: 15px;
}
.category-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-blue    { background: #eff6ff; color: #1d4ed8; }
.badge-green   { background: #f0fdf4; color: #16a34a; }
.badge-orange  { background: #fff7ed; color: #ea580c; }
.card-body {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
}
.card-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 10px 0 15px;
  color: var(--secondary-color);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-transform: none;
}
.card-body p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #888;
  padding-top: 18px;
  border-top: 1px solid #eee;
  margin-top: auto;
}
.card-footer .read-more {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s;
}
.card-footer .read-more:hover { gap: 10px; color: #009973; }
