/* =========================================
   STYLE ENHANCED - DIGITECH TRAINING
   Theme: Indigo & Emerald (Modern Professional)
   Font: Poppins / Inter
   ========================================= */

:root {
    /* --- COLOR PALETTE --- */
    --primary-color: #3b82f6;
    /* Blue 500 - Vibrant Tech Blue */
    --primary-hover: #1d4ed8;
    /* Blue 700 */
    --secondary-color: #10b981;
    /* Emerald 500 - Success/Growth */
    --accent-color: #f59e0b;
    /* Amber 500 - Call to Actions */

    --bg-body: #0f172a;
    /* Slate 900 - Dark Background */
    --bg-white: #1e293b;
    /* Slate 800 - Component Background */
    --bg-light: #334155;
    /* Slate 700 - Secondary Background */

    --text-main: #f8fafc;
    /* Slate 50 - High Contrast Text */
    --text-muted: #cbd5e1;
    /* Slate 300 - Secondary Text */
    --text-light: #94a3b8;
    /* Slate 400 */

    /* --- SHADOWS & RADII --- */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;

    /* --- FONTS --- */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Force Bootstrap bg-white to match our theme */
.bg-white {
    background-color: var(--bg-white) !important;
    color: var(--text-main);
}

.text-dark {
    color: var(--text-main) !important;
}


/* ============================
   GLOBAL RESET & TYPOGRAPHY
============================ */
body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease-in-out;
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.section-padding {
    padding: 5rem 0;
}

/* ============================
   BUTTONS
============================ */
.btn {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
    background: transparent;
    color: white;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    border-color: white;
}

.btn-warning {
    background-color: var(--accent-color);
    color: black;
}

.btn-warning:hover {
    filter: brightness(110%);
}

/* ============================
   TOP BAR (Modern Dark)
============================ */
.top-bar {
    background-color: var(--primary-color) !important;
    /* Indigo/Purple - Forced */
    padding: 8px 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9) !important;
    /* Semi-transparent white */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}



.top-bar a {
    color: rgba(255, 255, 255, 0.9) !important;
    transition: all 0.2s ease;
    margin-right: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.top-bar i {
    color: white !important;
    /* White icons on purple background */
    font-size: 0.95rem;
}

.top-bar a:hover {
    color: white !important;
}

.top-bar .social-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.top-bar .social-links a {
    margin: 0;
    font-size: 1rem;
    width: auto;
    height: auto;
    background: transparent !important;
    border-radius: 0;
    color: rgba(255, 255, 255, 0.9) !important;
}

.top-bar .social-links a:hover {
    background: transparent !important;
    transform: translateY(-2px);
    box-shadow: none;
    color: white !important;
}

.btn-pay-online {
    background: rgba(245, 158, 11, 0.1);
    /* Accent with low opacity */
    color: var(--accent-color) !important;
    padding: 3px 12px;
    border-radius: 20px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    border: 1px solid rgba(245, 158, 11, 0.2);
    margin-left: 1rem;
}

.btn-pay-online:hover {
    background: var(--accent-color) !important;
    color: white !important;
    border-color: var(--accent-color);
}

/* ============================
   NAVBAR (Modern Glassmorphism)
============================ */
.navbar {
    background-color: rgba(30, 41, 59, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-sm);

    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.navbar-brand span {
    color: var(--accent-color);
}

.nav-link {
    font-weight: 500;
    color: var(--text-main) !important;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius-md);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
    background-color: rgba(79, 70, 229, 0.05);
}

/* ============================
   HERO SECTION
============================ */
.hero-slider .carousel-item {
    min-height: 600px;
    /* Taller hero */
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(37, 99, 235, 0.8) 100%);
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}


.hero-overlay h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-overlay p.lead {
    font-size: 1.25rem;
    font-weight: 400;
    opacity: 0.9;
}

/* Hero Form Card */
.hero-slider .bg-white {
    background: rgba(30, 41, 59, 0.95) !important;
    border-radius: var(--radius-lg) !important;
    backdrop-filter: blur(4px);
    color: var(--text-main);
}


/* ============================
   STATS COUNTER
============================ */
.counter-section {
    background-color: var(--primary-color);
    color: white;
}

.counter-section h2 {
    font-size: 2.5rem;
}

/* ============================
   SECTION TITLES
============================ */
.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title h2 {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
    position: relative;
    display: inline-block;
}

/* Title underline decoration */
.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================
   FEATURE BOXES (Cards)
============================ */
.feature-box {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
    color: var(--text-main);
}


.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(79, 70, 229, 0.1);
}

.feature-box i {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    display: inline-block;
}

.feature-box h5 {
    font-weight: 600;
    margin-bottom: 0.75rem;
}

/* ============================
   COURSE CARDS (General)
============================ */
.course-card {
    background: var(--bg-white);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.course-card .card-title {
    color: var(--text-main);
    min-height: 2.5em;
    /* Ensure uniform height for titles */
}

.course-card .card-body {
    color: var(--text-muted);
}

.hover-text-primary:hover {
    color: var(--primary-color) !important;
}

/* ============================
   TEAL COURSE CARDS (Updated to Modern)
============================ */
.teal-section {
    background-color: #0F172A;
    /* Slate 900 */
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.teal-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
}

.teal-course-card {
    background: rgba(30, 41, 59, 0.7);
    /* Slate 800 */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    z-index: 1;
}

.teal-course-card:hover {
    background: rgba(30, 41, 59, 0.9);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.teal-course-card h4 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.teal-course-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.course-img-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 1.5rem;
    height: 180px;
}

.course-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.teal-course-card:hover .course-img-wrapper img {
    transform: scale(1.05);
}

.read-more-link {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

/* ============================
   IMMERSIVE TABS
============================ */
.immersive-section {
    background: var(--bg-white);
}

.feature-tab-btn {
    display: flex;
    align-items: center;
    padding: 1.25rem;
    margin-bottom: 1rem;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.2s ease;
}

.feature-tab-btn:hover {
    background: var(--bg-light);
}

.feature-tab-btn.active {
    background: rgba(79, 70, 229, 0.05);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.feature-tab-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1.25rem;
    width: 3rem;
    height: 3rem;
    background: rgba(79, 70, 229, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.active .feature-tab-icon {
    background: var(--primary-color);
    color: white;
}

.feature-tab-content h5 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}


.feature-tab-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.immersive-img-container {
    height: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.immersive-img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}


/* ============================
   MASTERCLASS (Ripple)
============================ */
.ripple-container {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-masterclass {
    background: linear-gradient(135deg, var(--primary-color), #8B5CF6);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s;
}

.btn-masterclass:hover {
    transform: scale(1.05);
    color: white;
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
}

/* ============================
   MENTOR CARDS
============================ */
.mentor-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.mentor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: #E5E7EB;
}

.mentor-img-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.25rem;
    position: relative;
}

.mentor-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgba(79, 70, 229, 0.1);
}

.mentor-designation {
    display: block;
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.mentor-exp {
    display: inline-block;
    background: var(--bg-light);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ============================
   BATCH TABLE
============================ */
.table-responsive {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.batch-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    color: var(--text-main);
}


.batch-table thead {
    background: var(--primary-color);
    color: white;
}

.batch-table th,
.batch-table td {
    padding: 1.25rem;
    text-align: left;
}

.batch-table tr:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}


.batch-table tr:hover {
    background-color: var(--bg-light);
}


/* ============================
   FOOTER
============================ */
.footer-section {
    background-color: #111827;
    color: #9CA3AF;
    padding: 4rem 0 2rem;
}

.footer-section h5 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-link {
    display: block;
    margin-bottom: 0.75rem;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

/* ============================
   RESPONSIVE ADJUSTMENTS
============================ */
@media (max-width: 992px) {
    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg);
        margin-top: 1rem;
    }

    .hero-overlay h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .section-title h2 {
        font-size: 1.75rem;
    }

    .hero-overlay h1 {
        font-size: 2rem;
    }

    .immersive-tab-content {
        display: none;
        /* Simplify for mobile if needed, or stack */
    }
}

/* ============================
   TECH STACK SECTION
============================ */
.tech-category-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.tech-category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}


.tech-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1.5rem;
}

.tech-category-card h5 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.tech-tags span {
    background: var(--bg-body);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    border: 1px solid #F3F4F6;
    transition: all 0.2s;
}

.tech-category-card:hover .tech-tags span {
    background: var(--bg-light);
    color: var(--text-main);
    border-color: #E5E7EB;
}

/* Tech Colors */
.bg-blue-100 {
    background-color: #DBEAFE;
}

.text-blue-600 {
    color: #2563EB;
}

.bg-green-100 {
    background-color: #DCFCE7;
}

.text-green-600 {
    color: #16A34A;
}

.bg-purple-100 {
    background-color: #F3E8FF;
}

.text-purple-600 {
    color: #9333EA;
}

.bg-orange-100 {
    background-color: #FFEDD5;
}

.text-orange-600 {
    color: #EA580C;
}

/* ============================
   BOOTSTRAP OVERRIDES & UTILITIES
============================ */
.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-warning {
    background-color: var(--accent-color) !important;
}

.text-warning {
    color: var(--accent-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn-warning {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #0f172a;
}


.btn-warning:hover {
    background-color: #D97706;
    /* Amber 600 */
    border-color: #D97706;
    color: #fff;
}

.badge {
    padding: 0.5em 0.75em;
    font-weight: 600;
}

.bg-soft-primary {
    background-color: rgba(59, 130, 246, 0.1) !important;
    color: var(--primary-color) !important;
}

.bg-soft-warning {
    background-color: rgba(251, 191, 36, 0.1) !important;
    color: var(--accent-color) !important;
}

.card {
    background-color: var(--bg-white);
    color: var(--text-main);
    border-color: rgba(255, 255, 255, 0.05);
}


.bg-light {
    background-color: var(--bg-light) !important;
    color: var(--text-main) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}


.text-secondary {
    color: var(--text-muted) !important;
}

.text-dark {
    color: var(--text-main) !important;
}


.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}

.rounded-3 {
    border-radius: var(--radius-lg) !important;
}

/* ============================
   PARTNERS SECTION
============================ */
.partners-section {
    padding: 5rem 0;
    background-color: #020617;
    /* Slate 950 */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}


.partner-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #94A3B8;
    /* Slate 400 */
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: default;
    user-select: none;
    padding: 1rem;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    box-shadow: var(--shadow-sm);
}

.partner-logo:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: var(--shadow-md);
    background: var(--bg-white);
}


/* ============================
   FOOTER TWEAKS
============================ */
/* Ensure the footer background is distinctively dark */
.footer-section {
    background-color: #0B1120 !important;
    /* Extremely dark Slate */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 0;
    padding-top: 5rem;
}

.footer-brand {
    font-size: 1.8rem;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.footer-section p {
    color: #94A3B8;
    /* Lighter slate for better readability */
    line-height: 1.7;
}

.footer-section h4 {
    font-size: 0.9rem;
    color: white;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.footer-section ul li {
    margin-bottom: 0.85rem;
}

.footer-section a {
    color: #CBD5E1;
    /* Slate 300 - Much brighter than before */
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.social-links a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 0.75rem;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.4);
}