/* ============================================================
   CDIT Infotech Pvt. Ltd. — Main Stylesheet
   Design: Modern Professional — Deep Navy + Electric Blue + Gold
   Font: Plus Jakarta Sans + Space Mono
   ============================================================ */

/* --- CSS Variables --- */
:root {
    --primary:       #0d1b4b;      /* Deep Navy */
    --secondary:     #1565c0;      /* Vivid Blue */
    --accent:        #f59e0b;      /* Gold/Amber */
    --accent-dark:   #d97706;
    --text-dark:     #111827;
    --text-mid:      #374151;
    --text-light:    #6b7280;
    --surface:       #f8fafc;
    --surface2:      #eef2ff;
    --white:         #ffffff;
    --border:        #e5e7eb;
    --shadow:        0 4px 24px rgba(13,27,75,0.10);
    --shadow-lg:     0 16px 48px rgba(13,27,75,0.18);
    --radius:        10px;
    --radius-lg:     18px;
    --transition:    all 0.3s cubic-bezier(0.4,0,0.2,1);
    --font-body:     'Plus Jakarta Sans', sans-serif;
    --font-mono:     'Space Mono', monospace;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    padding-top: 80px;
}
a { color: var(--secondary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); text-decoration: none; }
img { max-width: 100%; height: auto; }
h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.25;
}

/* --- Preloader --- */
#preloader {
    position: fixed; top:0; left:0; width:100%; height:100%;
    background: var(--primary);
    z-index: 99999;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.5s, visibility 0.5s;
}
#preloader.done { opacity:0; visibility:hidden; }
.preloader-inner { text-align: center; }
.preloader-logo {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 20px;
    animation: pulse 1s infinite alternate;
}
.preloader-bar {
    width: 120px; height: 4px;
    background: rgba(255,255,255,0.15);
    border-radius: 2px;
    margin: 0 auto;
    overflow: hidden;
}
.preloader-bar span {
    display: block; height: 100%;
    background: var(--accent);
    border-radius: 2px;
    animation: loading 1.5s ease-in-out infinite;
}
@keyframes loading { 0%{width:0} 50%{width:100%} 100%{width:0;margin-left:100%} }
@keyframes pulse { from{opacity:0.7} to{opacity:1} }

/* --- Top Bar --- */
.top-bar {
    background: var(--primary);
    padding: 8px 0;
    position: fixed; top:0; left:0; right:0;
    z-index: 1100;
    font-size: 0.8rem;
}
.top-bar span { color: rgba(255,255,255,0.85); margin-right: 20px; }
.top-bar a { color: rgba(255,255,255,0.85); }
.top-bar a:hover { color: var(--accent); }
.top-bar .fa { margin-right: 5px; color: var(--accent); }
.top-bar-right a {
    color: rgba(255,255,255,0.7);
    margin-left: 12px;
    font-size: 0.95rem;
    transition: var(--transition);
}
.top-bar-right a:hover { color: var(--accent); transform: translateY(-1px); }

/* --- Navigation --- */
.navbar-custom {
    background: rgba(255,255,255,0.97);
    border: none;
    box-shadow: var(--shadow);
    top: 37px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    padding: 0;
    min-height: 65px;
}
.navbar-custom.scrolled {
    background: var(--white);
    box-shadow: 0 4px 30px rgba(13,27,75,0.15);
    top: 0;
}
.navbar-custom .navbar-brand {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 0;
    height: 65px;
}
.brand-text {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.3px;
}
.brand-text span { color: var(--secondary); }
.navbar-custom .nav > li > a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.82rem;
    padding: 22px 9px;
    position: relative;
    transition: var(--transition);
}
.navbar-custom .nav > li > a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 9px; right: 9px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px 2px 0 0;
    transform: scaleX(0);
    transition: transform 0.3s;
}
.navbar-custom .nav > li.active > a::after,
.navbar-custom .nav > li > a:hover::after { transform: scaleX(1); }
.navbar-custom .nav > li > a:hover { color: var(--secondary); background: transparent; }
.navbar-custom .dropdown-menu {
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border-top: 3px solid var(--accent);
    padding: 8px 0;
    margin-top: 0;
    min-width: 220px;
}
.navbar-custom .dropdown-menu li a {
    padding: 10px 20px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
}
.navbar-custom .dropdown-menu li a .fa { width: 20px; color: var(--secondary); }
.navbar-custom .dropdown-menu li a:hover {
    background: var(--surface2);
    color: var(--secondary);
    padding-left: 26px;
}
.nav-cta { margin-left: 10px; align-self: center; }
.btn-enroll {
    background: var(--accent) !important;
    color: var(--primary) !important;
    font-weight: 700 !important;
    padding: 8px 22px !important;
    border-radius: 50px !important;
    font-size: 0.875rem !important;
    border: 2px solid var(--accent) !important;
    transition: var(--transition) !important;
    display: inline-block !important;
}
.btn-enroll:hover {
    background: transparent !important;
    color: var(--primary) !important;
    border-color: var(--accent-dark) !important;
}
.btn-enroll::after { display: none !important; }

/* --- Hero Section --- */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, #1a237e 40%, #283593 70%, #1565c0 100%);
    min-height: calc(100vh - 102px);
    display: flex; align-items: center;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}
.hero-section::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 80px;
    background: var(--white);
    clip-path: ellipse(55% 100% at 50% 100%);
}
.hero-content { position: relative; z-index: 2; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(245,158,11,0.15);
    border: 1px solid rgba(245,158,11,0.4);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.hero-badge .fa { font-size: 0.75rem; }
.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
}
.hero-title span { color: var(--accent); }
.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 36px;
    max-width: 520px;
    line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-hero-primary {
    background: var(--accent);
    color: var(--primary);
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1rem;
    border: 2px solid var(--accent);
    transition: var(--transition);
    display: inline-flex; align-items: center; gap: 8px;
}
.btn-hero-primary:hover {
    background: transparent;
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245,158,11,0.3);
}
.btn-hero-outline {
    background: transparent;
    color: var(--white);
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1rem;
    border: 2px solid rgba(255,255,255,0.4);
    transition: var(--transition);
}
.btn-hero-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
    color: var(--white);
}
.hero-stats {
    display: flex; gap: 32px; margin-top: 50px;
    flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat .num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    font-family: var(--font-mono);
}
.hero-stat .lbl {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}
.hero-divider { width: 1px; background: rgba(255,255,255,0.2); height: 60px; align-self: center; }
.hero-visual { position: relative; z-index: 2; }
.hero-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-lg);
    padding: 30px;
    backdrop-filter: blur(20px);
    animation: float 4s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-16px)} }
.hero-card-header {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 20px;
}
.hero-card-dot {
    width: 10px; height: 10px; border-radius: 50%;
}
.hero-card-dot.red { background: #ef4444; }
.hero-card-dot.yellow { background: #f59e0b; }
.hero-card-dot.green { background: #10b981; }
.hero-code-lines { font-family: var(--font-mono); font-size: 0.8rem; }
.code-line { display: flex; gap: 8px; margin-bottom: 6px; color: rgba(255,255,255,0.6); }
.code-line .kw { color: #60a5fa; }
.code-line .fn { color: #34d399; }
.code-line .str { color: #fbbf24; }
.code-line .cm { color: rgba(255,255,255,0.3); }
.badge-float {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius);
    padding: 10px 16px;
    box-shadow: var(--shadow-lg);
    display: flex; align-items: center; gap: 10px;
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text-dark);
}
.badge-float .icon { font-size: 1.5rem; }
.badge-float-1 { top: -20px; right: -20px; }
.badge-float-2 { bottom: -20px; left: -20px; }

/* --- Section Utilities --- */
.section { padding: 80px 0; }
.section-alt { background: var(--surface); }
.section-header { text-align: center; margin-bottom: 55px; }
.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 10px;
    display: block;
}
.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
}
.section-title span { color: var(--secondary); }
.section-desc {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}
.divider-bar {
    width: 60px; height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 2px;
    margin: 16px auto 0;
}

/* --- Course Cards --- */
.course-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    position: relative;
    border: 1px solid var(--border);
}
.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}
.course-card-img {
    height: 180px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex; align-items: center; justify-content: center;
    position: relative;
    overflow: hidden;
}
.course-card-img .fa { font-size: 4rem; color: rgba(255,255,255,0.2); }
.course-card-img img { width: 100%; height: 100%; object-fit: cover; }
.course-badge {
    position: absolute; top: 12px; left: 12px;
    background: var(--accent);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.popular-badge {
    position: absolute; top: 12px; right: 12px;
    background: #ef4444;
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.course-card-body { padding: 22px; }
.course-meta {
    display: flex; align-items: center; gap: 16px;
    font-size: 0.78rem;
    color: var(--text-light);
    margin-bottom: 10px;
}
.course-meta span { display: flex; align-items: center; gap: 5px; }
.course-meta .fa { color: var(--secondary); }
.course-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1.35;
}
.course-desc { font-size: 0.875rem; color: var(--text-light); margin-bottom: 16px; line-height: 1.6; }
.course-footer {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.course-price .old { font-size: 0.8rem; color: var(--text-light); text-decoration: line-through; }
.course-price .new {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--secondary);
    font-family: var(--font-mono);
}
.btn-course {
    background: var(--primary);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
}
.btn-course:hover { background: var(--secondary); color: var(--white); }

/* --- Stats Counter --- */
.stats-section {
    background: linear-gradient(135deg, var(--primary), #1565c0);
    padding: 60px 0;
}
.stat-box { text-align: center; padding: 20px; }
.stat-box .stat-num {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    font-family: var(--font-mono);
    line-height: 1;
    margin-bottom: 8px;
    display: block;
}
.stat-box .stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.stat-box .stat-icon {
    font-size: 2rem;
    color: rgba(255,255,255,0.15);
    margin-bottom: 12px;
}

/* --- Why Choose Us --- */
.feature-item {
    display: flex; gap: 20px; align-items: flex-start;
    margin-bottom: 32px;
}
.feature-icon {
    width: 56px; height: 56px; min-width: 56px;
    background: var(--surface2);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    color: var(--secondary);
    transition: var(--transition);
}
.feature-item:hover .feature-icon {
    background: var(--secondary);
    color: var(--white);
    transform: scale(1.1);
}
.feature-content h4 { font-size: 1rem; font-weight: 700; margin-bottom: 5px; }
.feature-content p { font-size: 0.875rem; color: var(--text-light); margin: 0; }

/* --- Testimonials --- */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    position: relative;
    margin: 10px;
}
.testimonial-card::before {
    content: '\201C';
    font-size: 5rem;
    color: var(--surface2);
    font-family: Georgia, serif;
    position: absolute;
    top: 0; left: 20px;
    line-height: 1;
}
.stars { color: var(--accent); font-size: 0.875rem; margin-bottom: 12px; }
.testimonial-text { font-size: 0.9rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author img {
    width: 46px; height: 46px;
    border-radius: 50%; object-fit: cover;
    border: 2px solid var(--surface2);
}
.testimonial-author .author-initials {
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--secondary);
    color: var(--white);
    font-weight: 700; font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
}
.testimonial-author .name { font-weight: 700; font-size: 0.875rem; margin-bottom: 2px; }
.testimonial-author .role { font-size: 0.75rem; color: var(--text-light); }

/* --- Services --- */
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid var(--border);
    transition: var(--transition);
    text-align: center;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 72px; height: 72px;
    background: var(--surface2);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    color: var(--secondary);
    margin: 0 auto 20px;
    transition: var(--transition);
}
.service-card:hover .service-icon {
    background: var(--secondary);
    color: var(--white);
    transform: rotateY(360deg);
    transition: all 0.6s;
}
.service-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.service-card p { font-size: 0.875rem; color: var(--text-light); }

/* --- Contact Form --- */
.contact-form .form-control {
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    padding: 12px 16px;
    font-size: 0.9rem;
    font-family: var(--font-body);
    transition: var(--transition);
    height: auto;
}
.contact-form .form-control:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(21,101,192,0.1);
}
.contact-form .form-group label {
    font-weight: 600; font-size: 0.875rem;
    color: var(--text-dark); margin-bottom: 6px;
}
.btn-submit {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: var(--white);
    font-weight: 700;
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 1rem;
    border: none;
    width: 100%;
    transition: var(--transition);
    letter-spacing: 0.3px;
}
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(21,101,192,0.4);
}

/* --- Portfolio --- */
.portfolio-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.portfolio-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.portfolio-card img { width: 100%; height: 220px; object-fit: cover; display: block; }
.portfolio-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(13,27,75,0.95) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition);
    display: flex; align-items: flex-end;
    padding: 24px;
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-info h4 { color: var(--white); margin-bottom: 4px; font-size: 1rem; }
.portfolio-info p { color: rgba(255,255,255,0.7); font-size: 0.8rem; margin: 0; }
.portfolio-info .tags { margin-top: 8px; }
.portfolio-info .tag {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
    padding: 2px 10px;
    border-radius: 50px;
    font-size: 0.7rem;
    margin: 2px;
}
.portfolio-filter { text-align: center; margin-bottom: 36px; }
.filter-btn {
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--text-mid);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin: 4px;
    cursor: pointer;
    transition: var(--transition);
}
.filter-btn.active, .filter-btn:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--white);
}

/* --- Page Banner --- */
.page-banner {
    background: linear-gradient(135deg, var(--primary), #283593);
    padding: 60px 0 50px;
    position: relative;
    overflow: hidden;
}
.page-banner::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 50px;
    background: var(--white);
    clip-path: ellipse(55% 100% at 50% 100%);
}
.page-banner h1 { color: var(--white); font-size: 2.2rem; margin-bottom: 10px; }
.breadcrumb { background: transparent; padding: 0; margin: 0; }
.breadcrumb > li + li::before { color: rgba(255,255,255,0.5); }
.breadcrumb li { font-size: 0.875rem; }
.breadcrumb li a { color: rgba(255,255,255,0.7); }
.breadcrumb li.active { color: var(--accent); }

/* --- Blog Cards --- */
.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-card-img { height: 200px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 22px; }
.blog-cat {
    font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
    color: var(--secondary); margin-bottom: 8px;
}
.blog-card-body h3 { font-size: 1.05rem; margin-bottom: 10px; line-height: 1.35; }
.blog-card-body h3 a { color: var(--primary); }
.blog-card-body h3 a:hover { color: var(--secondary); }
.blog-meta { display: flex; gap: 16px; font-size: 0.78rem; color: var(--text-light); margin-bottom: 10px; }
.blog-excerpt { font-size: 0.875rem; color: var(--text-light); line-height: 1.6; }
.read-more {
    color: var(--secondary); font-weight: 600;
    font-size: 0.875rem; display: inline-flex;
    align-items: center; gap: 5px;
    margin-top: 14px;
}
.read-more:hover { color: var(--primary); gap: 8px; }

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, var(--accent) 0%, #d97706 100%);
    padding: 70px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,...");
    opacity: 0.1;
}
.cta-section h2 { color: var(--primary); font-size: 2.2rem; font-weight: 800; margin-bottom: 16px; }
.cta-section p { color: rgba(0,0,0,0.7); font-size: 1rem; margin-bottom: 30px; }
.btn-cta-primary {
    background: var(--primary); color: var(--white);
    padding: 14px 36px; border-radius: 50px;
    font-weight: 700; font-size: 1rem;
    transition: var(--transition);
    display: inline-block;
}
.btn-cta-primary:hover { background: var(--white); color: var(--primary); transform: translateY(-2px); }
.btn-cta-outline {
    background: transparent; color: var(--primary);
    padding: 14px 36px; border-radius: 50px;
    font-weight: 700; font-size: 1rem;
    border: 2px solid var(--primary);
    margin-left: 12px;
    transition: var(--transition);
    display: inline-block;
}
.btn-cta-outline:hover { background: var(--primary); color: var(--white); }

/* --- Footer --- */
.site-footer { background: var(--primary); }
.footer-top { padding: 60px 0 40px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo img { height: 36px; width: auto; max-width: 120px; object-fit: contain; }
.footer-logo span { color: var(--white); font-size: 1.2rem; font-weight: 800; }
.footer-about { color: rgba(255,255,255,0.6); font-size: 0.875rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social a {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.875rem; margin-right: 8px;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--accent); color: var(--primary); transform: translateY(-3px); }
.footer-heading {
    color: var(--white); font-size: 0.95rem;
    font-weight: 700; margin-bottom: 18px;
    position: relative; padding-bottom: 10px;
}
.footer-heading::after {
    content: ''; position: absolute;
    bottom: 0; left: 0;
    width: 30px; height: 2px;
    background: var(--accent);
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
    transition: var(--transition);
    display: inline-flex; align-items: center; gap: 6px;
}
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact-list { list-style: none; padding: 0; margin: 0; }
.footer-contact-list li {
    display: flex; gap: 12px;
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
    margin-bottom: 12px;
    line-height: 1.6;
}
.footer-contact-list .fa { color: var(--accent); margin-top: 3px; min-width: 14px; }
.footer-contact-list a { color: rgba(255,255,255,0.7); }
.footer-contact-list a:hover { color: var(--accent); }

/* Newsletter */
.footer-newsletter {
    background: rgba(255,255,255,0.05);
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 30px 0;
}
.footer-newsletter h4 { color: var(--white); font-size: 1rem; margin-bottom: 4px; }
.footer-newsletter p { color: rgba(255,255,255,0.6); font-size: 0.85rem; margin: 0; }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form .form-control {
    border-radius: 50px;
    border: 1.5px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.08);
    color: var(--white);
    padding: 10px 20px;
    font-size: 0.875rem;
    flex: 1;
}
.newsletter-form .form-control::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form .form-control:focus { border-color: var(--accent); box-shadow: none; background: rgba(255,255,255,0.12); }
.btn-subscribe {
    background: var(--accent);
    color: var(--primary);
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 50px;
    border: none;
    font-size: 0.875rem;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-subscribe:hover { background: var(--accent-dark); transform: translateY(-1px); }

/* Footer Bottom */
.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 16px 0;
}
.footer-bottom p { color: rgba(255,255,255,0.5); font-size: 0.8rem; margin: 0; }
.footer-bottom-links { list-style: none; padding: 0; margin: 0; display: inline-flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,0.5); font-size: 0.8rem; }
.footer-bottom-links a:hover { color: var(--accent); }

/* --- Back to Top --- */
#backToTop {
    position: fixed; bottom: 90px; right: 24px;
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--secondary);
    color: var(--white);
    display: flex; align-items: center; justify-content: center;
    z-index: 999;
    opacity: 0; visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}
#backToTop.show { opacity: 1; visibility: visible; }
#backToTop:hover { background: var(--primary); transform: translateY(-3px); }

/* --- WhatsApp Float --- */
.whatsapp-float {
    position: fixed; bottom: 24px; right: 24px;
    background: #25d366;
    color: var(--white);
    width: 54px; height: 54px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    z-index: 999;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4);
    transition: var(--transition);
}
.whatsapp-float:hover { background: #20ba57; transform: scale(1.1); color: var(--white); }
.whatsapp-label {
    position: absolute; right: 64px;
    background: var(--white);
    color: var(--text-dark);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 50px;
    white-space: nowrap;
    box-shadow: var(--shadow);
    opacity: 0; visibility: hidden;
    transition: var(--transition);
}
.whatsapp-float:hover .whatsapp-label { opacity: 1; visibility: visible; }

/* --- Alert / Notification --- */
.alert-custom {
    padding: 14px 20px;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert-success-custom { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error-custom { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* --- Animations --- */
.wow { visibility: hidden; }

/* --- Hamburger / Navbar Toggle --- */
.navbar-custom .navbar-toggle {
    float: right;
    margin-top: 12px;
    margin-bottom: 12px;
    margin-right: 10px;
    padding: 8px 10px;
    border: 2px solid var(--secondary);
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    display: none;           /* hidden on desktop, shown by Bootstrap on mobile */
}
.navbar-custom .navbar-toggle .icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 1px;
    background-color: var(--primary);
    margin: 4px 0;
}
.navbar-custom .navbar-toggle:hover,
.navbar-custom .navbar-toggle:focus {
    background-color: var(--surface2);
    outline: none;
}

/* --- Responsive --- */
@media (max-width: 991px) {
    body { padding-top: 60px; }
    .top-bar { display: none; }
    .navbar-custom { top: 0; min-height: 60px; }
    .navbar-custom .navbar-toggle { display: block; }
    .hero-title { font-size: 2.2rem; }
    .hero-visual { margin-top: 40px; }
    .section-title { font-size: 1.8rem; }
}
@media (max-width: 767px) {
    .navbar-custom .navbar-collapse {
        background: var(--white);
        border-top: 2px solid var(--accent);
        box-shadow: 0 8px 24px rgba(13,27,75,0.12);
        padding: 10px 0;
    }
    .navbar-custom .navbar-nav { margin: 0; }
    .navbar-custom .nav > li > a {
        padding: 12px 20px;
        border-bottom: 1px solid var(--border);
    }
    .navbar-custom .nav > li > a::after { display: none; }
    .nav-cta { margin: 10px 20px !important; }
    .btn-enroll { display: inline-block; }
}
@media (max-width: 767px) {
    .hero-section { padding: 50px 0 70px; text-align: center; }
    .hero-subtitle { margin: 0 auto 30px; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-divider { display: none; }
    .stats-section .col-sm-6 { margin-bottom: 20px; }
    .cta-section h2 { font-size: 1.6rem; }
    .btn-cta-outline { margin: 12px 0 0; }
    .newsletter-form { flex-direction: column; }
    .footer-bottom .text-right { text-align: left !important; margin-top: 8px; }
}
@media (max-width: 480px) {
    .hero-title { font-size: 1.8rem; }
    .btn-hero-primary, .btn-hero-outline { width: 100%; text-align: center; justify-content: center; }
}
