/* Design Tokens - Styled after DigitalVayapari Orange & Black */
:root {
    --primary: #1d4ed8; /* Premium Educational Royal Blue */
    --primary-light: #eff6ff; /* Soft blue background tint */
    --secondary: #0f172a; /* Deep Slate Navy */
    --secondary-light: #f8fafc; /* Very light slate gray */
    --purple: #ff5722; /* Highlight Brand Orange */
    --purple-light: #fff5f2; /* Soft orange background tint */
    --ink: #0f172a; /* Deep readable text color */
    --muted: #475569; /* Accessible dark gray for subtext */
    --soft: #f8fafc;
    --gold: #ff6b00; /* Secondary orange accent */
    --yellow: #f59e0b; /* Amber for ratings/warnings */
    --red: #ef4444;
    --cyan: #06b6d4;
    --dark-blue: #1e3a8a; /* Rich dark blue */
    --card-border: #f1f5f9;
}

/* Base Styles */
body {
    font-family: 'Outfit', 'Segoe UI', Arial, sans-serif;
    color: var(--ink);
    background: #ffffff;
    line-height: 1.65;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.02em;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}
a:hover {
    color: var(--purple);
}

/* Header & Navbar */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(241, 245, 249, 0.8);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}

.nav-link {
    font-weight: 600;
    color: var(--ink) !important;
    font-size: 0.92rem;
    transition: all 0.2s ease-in-out;
    white-space: nowrap;
    padding-left: 10px !important;
    padding-right: 10px !important;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary) !important;
}

.dropdown-menu {
    border: 0;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}
.dropdown-item {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--muted);
}
.dropdown-item:hover {
    background-color: var(--primary-light);
    color: var(--primary);
}

/* Buttons */
.btn {
    border-radius: 50px;
    font-weight: 700;
    padding: 0.6rem 1.4rem;
    font-size: 0.95rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--purple));
    border: 0;
    box-shadow: 0 4px 15px rgba(11, 94, 215, 0.2);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--purple), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(11, 94, 215, 0.3);
}
.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
}
.btn-outline-primary:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}
.btn-outline-purple {
    border-color: var(--purple);
    color: var(--purple);
}
.btn-outline-purple:hover {
    background: var(--purple);
    color: #fff;
    transform: translateY(-2px);
}
.btn-yellow {
    background-color: var(--gold);
    color: var(--ink);
    border: 0;
}
.btn-yellow:hover {
    background-color: #f5a300;
    color: var(--ink);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-slide {
    position: relative;
    overflow: hidden;
}
.hero-slide h1 {
    font-size: clamp(2rem, 5vw, 3.8rem);
    line-height: 1.15;
}

/* Cards & Grid Styling */
.card-clean {
    border: 1px solid var(--card-border);
    background: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-clean:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08) !important;
}

/* Limit Multi-line Texts */
.limit-2-lines {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}
.limit-3-lines {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}

/* Breadcrumb Hero */
.breadcrumb-hero {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.93) 0%, rgba(20, 20, 20, 0.85) 65%, rgba(255, 107, 0, 0.35) 100%), url('../images/ai-tools-course.webp') center/cover no-repeat;
    position: relative;
    border-bottom: 5px solid var(--gold);
}
.breadcrumb-hero h1 {
    color: #ffffff !important;
    -webkit-text-stroke: 1.5px var(--gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

/* Contact & Panels */
.contact-panel {
    border: 1px solid var(--card-border);
}
.form-control, .form-select {
    border-radius: 12px;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    font-size: 0.95rem;
    color: var(--ink);
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(11, 94, 215, 0.15);
}

/* Custom Badges */
.bg-light-primary {
    background-color: var(--primary-light);
}
.bg-light-purple {
    background-color: var(--purple-light);
}
.text-purple {
    color: var(--purple) !important;
}
.bg-purple {
    background-color: var(--purple) !important;
}

/* Hover Zoom Actions */
.hover-scale {
    transition: all 0.3s ease;
}
.hover-scale:hover {
    transform: scale(1.03);
}

/* Floating Actions */
.float-btn {
    position: fixed;
    right: 20px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    z-index: 999;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}
.float-btn:hover {
    transform: translateY(-3px) scale(1.05);
    color: #fff;
}
.whatsapp {
    bottom: 95px;
    background-color: #25d366;
}
.call {
    bottom: 30px;
    background-color: var(--primary);
}

/* Back to Top */
.back-top {
    position: fixed;
    left: 20px;
    bottom: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--ink);
    z-index: 999;
    display: none;
    place-items: center;
    transition: all 0.3s ease;
}
.back-top.show {
    display: grid;
}
.back-top:hover {
    background-color: var(--purple);
    transform: translateY(-3px);
}

/* Video Containers */
.video-box iframe {
    aspect-ratio: 16/9;
}

/* Typography Details */
.leading-relaxed {
    line-height: 1.8;
}
.max-width-800 {
    max-width: 800px;
}
.max-width-700 {
    max-width: 700px;
}
.max-width-600 {
    max-width: 600px;
}

/* Layout Padding */
.section {
    position: relative;
}

/* Transitions */
.transition-all {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.hover-translate-y:hover {
    transform: translateY(-5px);
}
.duration-300 {
    transition-duration: 300ms;
}
.group:hover .group-hover-scale-105 {
    transform: scale(1.05);
}
.group:hover .group-hover-opacity-100 {
    opacity: 1 !important;
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .navbar-collapse {
        background: #fff;
        padding: 1.5rem;
        border-radius: 12px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
        margin-top: 1rem;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .nav-link {
        padding-left: 6px !important;
        padding-right: 6px !important;
        font-size: 0.85rem !important;
    }
    .site-header .btn {
        padding: 0.5rem 1rem !important;
        font-size: 0.85rem !important;
    }
}

/* Mobile Sticky Bottom Bar */
.mobile-sticky-bar {
    display: none;
    box-shadow: 0 -5px 25px rgba(15, 23, 42, 0.1);
}
@media (max-width: 767px) {
    .mobile-sticky-bar {
        display: flex !important;
    }
    body {
        padding-bottom: 60px; /* Space for the sticky bar */
    }
}

/* ==========================================================================
   Premium Hero & Contrast Enhancements (DigitalVayapari Theme)
   ========================================================================== */

.premium-hero {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.94) 0%, rgba(20, 20, 20, 0.85) 60%, rgba(255, 107, 0, 0.45) 100%), url('../images/hero-student-lab.png') center/cover no-repeat;
    position: relative;
    overflow: hidden;
    padding: 100px 0 90px 0;
}

.hero-badge {
    background: rgba(255, 69, 0, 0.12);
    border: 1px solid rgba(255, 69, 0, 0.22);
    color: #ff5722;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 0.5rem 1.1rem;
    font-size: 0.85rem;
    border-radius: 50px;
    display: inline-block;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.hero-subtitle {
    color: #cbd5e1;
    font-size: 1.125rem;
    line-height: 1.6;
}

.glass-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.floating-card {
    background: rgba(17, 24, 39, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 12px 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    position: absolute;
    z-index: 10;
    animation: floating 4s ease-in-out infinite;
}

.floating-card-1 {
    top: 15%;
    left: -20px;
}

.floating-card-2 {
    bottom: 15%;
    right: -20px;
    animation-delay: 2s;
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-img-container {
    position: relative;
    z-index: 1;
}

.hero-img-container::after {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, #ff4500, #ff8533);
    border-radius: 24px;
    z-index: -2;
    opacity: 0.3;
}

/* Trust Badges */
.trust-badge-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    padding: 8px 16px;
    color: #e2e8f0;
    font-weight: 600;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.25s ease;
}

.trust-badge-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    color: #ffffff;
}

.trust-badge-item i {
    color: #ff4500;
}

/* General Typography tweaks for WCAG contrast */
p {
    font-size: 1rem;
    line-height: 1.65;
    color: #374151; /* Dark gray for maximum text contrast */
}

.text-muted {
    color: #4b5563 !important; /* Dark slate gray for readibility */
}

/* Dynamic updates for buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), #e03e00);
    border: 0;
    color: #ffffff !important;
}
.btn-primary:hover {
    background: linear-gradient(135deg, #e03e00, var(--primary));
    color: #ffffff !important;
}
.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
}
.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff !important;
}
.btn-yellow {
    background-color: var(--primary);
    color: #ffffff !important;
    border: 0;
    font-weight: 700;
}
.btn-yellow:hover {
    background-color: #d03900;
    color: #ffffff !important;
}

/* Alert styles contrast */
.alert-success {
    background-color: #d1e7dd;
    color: #0f5132;
    border-color: #badbcc;
}

/* Card titles and text contrast fixes */
.card-clean .card-title {
    color: #111827 !important;
}
.card-clean .card-text {
    color: #4b5563 !important;
}
.card-clean .text-primary {
    color: #ff4500 !important;
}
.card-clean .btn-outline-primary {
    border-color: #ff4500;
    color: #ff4500;
}
.card-clean .btn-outline-primary:hover {
    background: #ff4500;
    color: #ffffff !important;
}

/* Premium Footer & Social Styles */
.footer {
    background-color: #0b0f19 !important; /* Premium Midnight/Slate Black */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #cbd5e1 !important;
}
.footer h4 {
    color: #ffffff !important;
    font-size: 1.15rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
}
.footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 3px;
    background-color: var(--gold);
    border-radius: 2px;
}
.footer p, .footer li, .footer a {
    color: #cbd5e1 !important;
    font-size: 0.92rem;
}
.footer a:hover {
    color: var(--gold) !important;
    text-decoration: underline !important;
}
.footer-social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.07) !important;
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 1rem;
}
.footer-social-icon i {
    color: #ffffff !important;
    transition: all 0.3s ease;
}
.footer .socials a.footer-social-icon:hover {
    background-color: var(--gold) !important;
    color: #000000 !important;
    transform: translateY(-3px) scale(1.08) !important;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3) !important;
    text-decoration: none !important;
}
.footer .socials a.footer-social-icon:hover i {
    color: #000000 !important;
}

/* Footer elements contrast consistency */
.footer p, .footer li, .footer a, .footer span, .footer div {
    color: #cbd5e1 !important;
}
.footer a:hover {
    color: var(--gold) !important;
    text-decoration: underline !important;
}
.footer h4 {
    color: #ffffff !important;
}

/* AI Futuristic Section Card & Contrast Overrides */
.ai-futuristic-section h2 {
    color: #ffffff !important;
}
.futuristic-card {
    position: relative;
    z-index: 1;
    min-height: 270px;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    overflow: hidden;
}
.futuristic-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 27, 75, 0.9) 100%);
    z-index: -1;
}
.futuristic-card-content {
    position: relative;
    z-index: 2;
}



