/* ==========================================================================
   IT Support Academy - Main Theme (Tech Blue, Modern & High-Performance)
   ========================================================================== */

:root {
    --primary: #1E40AF;        /* Royal Blue */
    --primary-dark: #0F172A;   /* Deep Tech Slate */
    --primary-navy: #0A192F;   /* Cyber Navy */
    --primary-light: #2563EB;  /* Tech Blue */
    --accent: #0284C7;         /* Sky Tech */
    --accent-cyan: #06B6D4;    /* Electric Cyan */
    --accent-glow: rgba(37, 99, 235, 0.15);
    --secondary-bg: #F8FAFC;
    --card-bg: #FFFFFF;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --text-light: #94A3B8;
    --border-color: #E2E8F0;
    --border-highlight: #BFDBFE;
    --gradient-hero: linear-gradient(135deg, #0A192F 0%, #0F2744 50%, #1E3A8A 100%);
    --gradient-blue: linear-gradient(135deg, #1E40AF 0%, #2563EB 50%, #38BDF8 100%);
    --gradient-card: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
    --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 8px 24px rgba(30, 64, 175, 0.08);
    --shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.12);
    --shadow-glow: 0 0 25px rgba(37, 99, 235, 0.25);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    color: var(--text-main);
    background-color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: -0.02em;
}

/* Ensure crystal clear white text contrast on dark backgrounds, modals, and banners */
.text-white,
.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white h5,
.text-white h6,
.bg-dark h1,
.bg-dark h2,
.bg-dark h3,
.bg-dark h4,
.bg-dark h5,
.bg-dark h6,
.modal-header h1,
.modal-header h2,
.modal-header h3,
.modal-header h4,
.modal-header h5,
.modal-header h6,
.modal-header .modal-title,
.modal-title,
.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section h4,
.hero-section h5,
.hero-section h6,
.page-banner h1,
.page-banner h2,
.page-banner h3,
.page-banner h4,
.page-banner h5,
.page-banner h6,
.page-banner-dark h1,
.page-banner-dark h2,
.page-banner-dark h3,
.page-banner-dark h4,
.cta-dark-banner h1,
.cta-dark-banner h2,
.cta-dark-banner h3,
.cta-dark-banner h4,
.main-footer h1,
.main-footer h2,
.main-footer h3,
.main-footer h4,
.main-footer h5,
.main-footer h6,
.main-footer .footer-heading,
h1.text-white,
h2.text-white,
h3.text-white,
h4.text-white,
h5.text-white,
h6.text-white {
    color: #FFFFFF !important;
}

.page-banner {
    background: linear-gradient(135deg, #0A192F 0%, #1E40AF 100%);
    color: #FFFFFF;
}

.page-banner .lead,
.page-banner p,
.page-banner-dark .lead,
.page-banner-dark p,
.cta-dark-banner .lead,
.cta-dark-banner p,
.modal-header p,
.modal-header .text-light,
.text-white > p,
.text-white > .lead {
    color: #F1F5F9 !important;
}

.text-gradient {
    background: linear-gradient(135deg, #2563EB 0%, #06B6D4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
    background: linear-gradient(135deg, #38BDF8 0%, #6EE7B7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navbar */
.main-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--transition);
    padding: 10px 0;
    z-index: 1030;
}

.main-navbar.scrolled {
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
    padding: 7px 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.45rem;
    color: var(--primary-dark) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-icon {
    width: 42px;
    height: 42px;
    background: var(--gradient-blue);
    color: #fff;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.brand-logo-img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
    border: 1.5px solid rgba(56, 189, 248, 0.4);
    transition: transform 0.25s ease;
}

.brand-logo-img:hover {
    transform: scale(1.05);
}

.footer-logo-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    border: 1.5px solid rgba(56, 189, 248, 0.4);
}

.nav-link {
    font-weight: 600;
    color: #334155 !important;
    padding: 8px 16px !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-light) !important;
    background-color: #EFF6FF;
}

/* Badges */
.badge-tech {
    background: #EFF6FF;
    color: #1D4ED8;
    border: 1px solid #BFDBFE;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.badge-glow {
    background: rgba(37, 99, 235, 0.2);
    color: #93C5FD;
    border: 1px solid rgba(147, 197, 253, 0.4);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.badge-job {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #FFFFFF;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Buttons */
.btn-primary-tech {
    background: var(--gradient-blue);
    color: #FFFFFF;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    border: none;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary-tech:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.5);
    color: #FFFFFF;
}

.btn-outline-tech {
    background: transparent;
    color: #2563EB;
    border: 2px solid #2563EB;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline-tech:hover {
    background: #EFF6FF;
    color: #1D4ED8;
    border-color: #1D4ED8;
}

.btn-light-tech {
    background: #FFFFFF;
    color: var(--primary-dark);
    font-weight: 700;
    padding: 12px 26px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.btn-light-tech:hover {
    background: #F1F5F9;
    color: var(--primary-light);
    transform: translateY(-2px);
}

/* Hero Section - Compact Viewport Optimization */
.hero-section {
    background: var(--gradient-hero);
    color: #FFFFFF;
    position: relative;
    padding: 38px 0 28px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(56, 189, 248, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.05) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.35) 0%, rgba(10, 25, 47, 0) 70%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Hero Graphics Showcase */
.hero-graphics-wrapper {
    position: relative;
    z-index: 2;
}

.hero-graphics-screen {
    position: relative;
    border-radius: 16px;
    border: 2px solid rgba(56, 189, 248, 0.35);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(37, 99, 235, 0.25);
    overflow: hidden;
    background: #091322;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    max-height: 330px;
}

.hero-graphics-screen:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(56, 189, 248, 0.4);
}

.hero-graphics-screen img {
    width: 100%;
    height: auto;
    max-height: 330px;
    object-fit: cover;
    display: block;
}

/* Floating Glassmorphic Badges */
.hero-float-card {
    position: absolute;
    background: rgba(10, 25, 47, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 12px;
    padding: 10px 14px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
    color: #FFFFFF;
    z-index: 3;
    animation: floatSmooth 4s ease-in-out infinite alternate;
}

.hero-float-card.top-right {
    top: -14px;
    right: -10px;
    animation-delay: 0.5s;
}

.hero-float-card.bottom-left {
    bottom: -16px;
    left: -10px;
    animation-delay: 1.2s;
}

.hero-float-card.center-badge {
    bottom: 20px;
    right: 15px;
    animation-delay: 2s;
}

@keyframes floatSmooth {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-8px); }
}

.pulse-radar-dot {
    width: 9px;
    height: 9px;
    background: #10B981;
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

.pulse-radar-dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.5);
    animation: radarRipple 1.8s infinite ease-out;
}

@keyframes radarRipple {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2.6); opacity: 0; }
}

.hero-lead-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
}

/* Floating Stats & Counters - Standardized Uniform UI */
.stat-box {
    background: rgba(15, 30, 58, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(56, 189, 248, 0.22);
    border-radius: 14px;
    padding: 14px 16px;
    height: 100%;
    min-height: 118px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.7), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-3px);
    border-color: rgba(56, 189, 248, 0.55);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35), 0 0 18px rgba(56, 189, 248, 0.2);
}

.stat-box:hover::before {
    opacity: 1;
}

.stat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(56, 189, 248, 0.15);
    color: #38BDF8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    border: 1px solid rgba(56, 189, 248, 0.25);
}

.stat-badge {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    color: #94A3B8;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-number {
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.1;
    color: #FFFFFF;
    letter-spacing: -0.02em;
    margin-bottom: 2px;
    background: linear-gradient(180deg, #FFFFFF 30%, #BAE6FD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.84rem;
    font-weight: 700;
    color: #F8FAFC;
    margin-bottom: 1px;
    line-height: 1.25;
}

.stat-sub {
    font-size: 0.7rem;
    color: #94A3B8;
    margin-bottom: 0;
    line-height: 1.2;
}

@media (max-width: 991.98px) {
    .hero-section {
        padding: 22px 0 20px;
    }
    .hero-graphics-screen {
        max-height: 250px;
    }
    .hero-graphics-screen img {
        max-height: 250px;
    }
}

/* Course Cards */
.course-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.course-card:hover {
    transform: translateY(-8px);
    border-color: #93C5FD;
    box-shadow: var(--shadow-lg);
}

.course-card-header {
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    padding: 24px;
    border-bottom: 1px solid #E2E8F0;
    position: relative;
}

.course-card-header .course-icon-wrapper {
    width: 54px;
    height: 54px;
    background: #FFFFFF;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary-light);
    box-shadow: var(--shadow-sm);
    margin-bottom: 14px;
}

.course-card-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.tool-tag {
    background: #F1F5F9;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    display: inline-block;
    margin: 2px 2px 2px 0;
}

.course-card-footer {
    padding: 18px 24px;
    background: #F8FAFC;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Feature Box */
.feature-box {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: var(--transition);
    height: 100%;
}

.feature-box:hover {
    border-color: var(--border-highlight);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.feature-icon {
    width: 58px;
    height: 58px;
    border-radius: var(--radius-sm);
    background: #EFF6FF;
    color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: var(--transition);
}

.feature-box:hover .feature-icon {
    background: var(--gradient-blue);
    color: #FFFFFF;
}

/* Roadmap Pipeline */
.roadmap-step {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 26px;
    position: relative;
    height: 100%;
    transition: var(--transition);
}

.roadmap-step:hover {
    border-color: #38BDF8;
    box-shadow: var(--shadow-md);
}

.step-number {
    position: absolute;
    top: -16px;
    left: 24px;
    background: var(--gradient-blue);
    color: #fff;
    font-weight: 800;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

/* Trainer Cards */
.trainer-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px;
    text-align: center;
    transition: var(--transition);
}

.trainer-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: #93C5FD;
}

.trainer-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--gradient-blue);
    color: #FFFFFF;
    font-size: 2.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.25);
    border: 4px solid #EFF6FF;
}

/* Floating WhatsApp & Counseling Buttons */
.floating-whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 1040;
    transition: var(--transition);
    text-decoration: none;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    color: #FFFFFF;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.floating-counseling-btn {
    position: fixed;
    bottom: 95px;
    right: 25px;
    background: var(--primary-dark);
    color: #FFFFFF;
    border-radius: var(--radius-full);
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: var(--shadow-lg);
    z-index: 1040;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
    cursor: pointer;
}

.floating-counseling-btn:hover {
    background: var(--primary-light);
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* Footer */
.main-footer {
    background: #0A192F;
    color: #94A3B8;
    padding: 70px 0 25px;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-heading {
    color: #FFFFFF;
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 22px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94A3B8;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: #38BDF8;
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 25px;
    margin-top: 50px;
    font-size: 0.9rem;
}

/* Micro Animations */
@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(37, 99, 235, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

.pulse-animation {
    animation: pulseGlow 2s infinite;
}

/* Section Spacing */
.section-padding {
    padding: 80px 0;
}

.bg-tech-light {
    background-color: #F8FAFC;
}

.bg-tech-blue {
    background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 100%);
    color: #FFFFFF;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
    background: #94A3B8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #64748B;
}

/* Hiring Partners Corporate Logos */
.partner-logos-wrapper {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 10px;
}

.partner-logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px 20px;
}

.partner-logo-item {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 58px;
    min-width: 120px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.partner-logo-item img {
    max-height: 32px;
    max-width: 115px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.partner-logo-item:hover {
    transform: translateY(-3px);
    border-color: #93C5FD;
    box-shadow: 0 10px 22px rgba(30, 64, 175, 0.12);
}

.partner-logo-item:hover img {
    transform: scale(1.05);
}
