/* Custom Color Overrides from V2X Template */
:root {
    --bs-primary: #0056D2;
    /* V2X Blue */
    --bs-secondary: #0041a8;
    /* Darker Blue */
    --bs-success: #0056D2;
    /* Force Blue */
    --bs-info: #0056D2;
    /* Force Blue */
    --bs-warning: #FFC107;
    /* V2X Yellow */
    --bs-danger: #FFC107;
    /* Force Yellow for alerts */
    --bs-orange: #FFC107;
    /* V2X Yellow */
    --bs-link-color: #0056D2;
    --bs-link-hover-color: #0041a8;
}

/* Ensure Header Background is visible (Dark Blue) so white text shows up 
.main-header {
    background-color: #061434 !important;
     Secondary Dark Blue 
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 9999 !important;
}
*/

/* Primary Elements (Blue) */
.btn-primary,
.bg-primary,
.badge-primary,
.nav-pills .nav-link.active,
.page-item.active .page-link {
    background-color: #0056D2 !important;
    border-color: #0056D2 !important;
    color: #fff !important;
}

.text-primary,
a.text-primary:hover,
a.text-primary:focus {
    color: #0056D2 !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #0044A6 !important;
    border-color: #0044A6 !important;
}

.btn-outline-primary {
    color: #0056D2 !important;
    border-color: #0056D2 !important;
}

.btn-outline-primary:hover {
    background-color: #0056D2 !important;
    color: #fff !important;
}

/* Warning/Highlight Elements (Yellow) */
.btn-warning,
.bg-warning,
.badge-warning,
.highlight-hero-title-inner,
.highlight-hero-title {
    background-color: #FFC107 !important;
    border-color: #FFC107 !important;
    color: #0B0D0F !important;
    /* Dark text for contrast */
}

.text-warning {
    color: #FFC107 !important;
}

/* Specific Hero Overrides */
.hero-title .highlight-hero-title-inner {
    background: #FFC107 !important;
    color: #000 !important;
}

/* Premium Card Animations & Effects */
.course-hover-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 86, 210, 0.15) !important;
}

.course-hover-card:hover .transition-transform {
    transform: scale(1.08) !important;
}

.object-fit-cover {
    object-fit: cover;
}

.backdrop-blur {
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.btn-hover-scale {
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-hover-scale:hover {
    transform: scale(1.05);
}

.course-image-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.8) 100%);
}

/* --- Shared Contact Section Styles --- */
:root {
    --v2x-blue: #0056D2;
    --v2x-yellow: #FFC107;
    --v2x-dark: #1a1a2e;
    --v2x-light: #f8f9fa;
}

.v2x-hero {
    background: linear-gradient(135deg, var(--v2x-blue) 0%, #0041a8 100%);
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 50px 50px;
    color: white;
    text-align: center;
}

.v2x-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.15) 0%, rgba(255, 193, 7, 0) 70%);
    border-radius: 50%;
}

.contact-card {
    background: white !important;
    border: 1px solid #eee !important;
    border-radius: 20px !important;
    padding: 30px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
}

.contact-card:hover {
    transform: translateY(-10px) !important;
    border-color: var(--v2x-blue) !important;
    box-shadow: 0 20px 50px rgba(0, 86, 210, 0.1) !important;
}

.contact-icon {
    background: rgba(0, 86, 210, 0.05) !important;
    color: var(--v2x-blue) !important;
    width: 70px !important;
    height: 70px !important;
    line-height: 70px !important;
    border-radius: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 2rem !important;
    margin-bottom: 20px !important;
}

.yellow-highlight {
    background: var(--v2x-yellow);
    color: var(--v2x-dark);
    padding: 0 15px;
    display: inline-block;
    transform: skewX(-10deg);
}

.yellow-highlight span {
    display: inline-block;
    transform: skewX(10deg);
}

.btn-v2x-blue {
    background: var(--v2x-blue);
    color: white !important;
    font-weight: 700;
    padding: 12px 25px;
    border-radius: 50px;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    border: none;
}

.btn-v2x-blue:hover {
    background: #0041a8;
    transform: translateY(-2px);
    color: white !important;
}

.branch-card {
    border-radius: 30px !important;
    border: none !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05) !important;
    overflow: hidden;
}

.branch-card .card-body {
    padding: 40px !important;
}

.map-container iframe {
    width: 100%;
    height: 350px;
    border: none;
    border-radius: 20px;
}

/* Map Container Styles */
.map-container iframe {
    width: 100%;
    height: 300px;
    border-radius: 15px;
    border: 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--bs-primary);
    margin-bottom: 1rem;
}

.yellow-highlight {
    background: var(--bs-warning);
    color: #1a1a2e;
    padding: 0 15px;
    display: inline-block;
    transform: skewX(-10deg);
}

.yellow-highlight span {
    display: inline-block;
    transform: skewX(10deg);
}

/* Header Core Styles */
/* Header Core Styles */
/* --- Professional Header & Navigation --- */
.top-info-bar {
    background: #0056D2; /* V2X Brand Blue */
    padding: 8px 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.2px;
}

.top-info-bar i {
    color: #FFC107; /* Brand Yellow for high visibility */
    margin-right: 8px;
    font-size: 1rem;
    vertical-align: middle;
}

.top-info-bar a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.top-info-bar a:hover {
    color: #FFC107;
    transform: translateY(-1px);
}

.top-info-bar .social-links a {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: white;
}

.top-info-bar .social-links a:hover {
    background: #FFC107;
    color: #0056D2;
    transform: translateY(-3px) rotate(8deg);
}

.top-info-bar .social-links a i {
    margin-right: 0;
    font-size: 1.1rem;
    color: inherit;
}

.owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    background: #e6e6e6;
    transition: all 0.3s ease;
}

.owl-dots .owl-dot.active span {
    background: #0056D2;
    width: 25px;
}

/* Student Project Card Styles */
.hover-card {
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 86, 210, 0.15) !important;
    border-color: #0056D2;
}

.hover-card:hover img {
    transform: scale(1.05);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0056D2 0%, #0041a8 100%);
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 50px 50px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: rgba(255, 193, 7, 0.1);
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-weight: 300;
}

/* Product Cards */
.product-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid #eee;
    height: 100%;
    will-change: transform;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 86, 210, 0.15);
    border-color: #0056D2;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 15px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    border-left: 4px solid transparent;
}

.service-card:hover {
    border-left-color: #FFC107;
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 45px;
    height: 45px;
    background: rgba(0, 86, 210, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0056D2;
    font-size: 1.2rem;
}

/* Project Slide */
.project-slide {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
    will-change: transform;
}

/* Stats */
.stat-box {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #0056D2;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.btn-whatsapp-mobile {
    width: 36px;
    height: 36px;
    background: #25d366;
    color: white;
    border: none;
}

/* Mobile Link Styles */
.mobile-nav-list .nav-item {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-list .nav-link {
    padding: 12px 0 !important;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.mobile-nav-list .nav-link:hover,
.mobile-nav-list .nav-link.active {
    background: #f8fbff;
    padding-left: 10px !important;
}

/* Mobile Toggle */
.hamburger-icon span {
    display: block;
    width: 26px;
    height: 2px;
    background-color: #1a1a2e;
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Responsive tweaks */
@media (max-width: 1199px) {
    .site-logo {
        height: 32px;
    }
}

/* Small Social Icons for Compact Footer */
.social-icon-btn.icon-sm {
    width: 32px;
    height: 32px;
    font-size: 1rem;
    line-height: 32px;
}

/* Accessibility Contrast Overrides */
.text-muted,
.text-secondary {
    color: #555555 !important; /* Darker gray for > 4.5:1 contrast */
}

.service-card small,
.section-subtitle,
.product-card small,
.small {
    color: #555555 !important;
}

.badge.bg-light {
    color: #1a1a2e !important; /* Darkest gray */
}

/* --- Header Button Styling --- */
/* Call Now Button */
.btn-outline-custom {
    color: #0056D2 !important;
    border: 2px solid #0056D2 !important;
    background-color: transparent !important;
    transition: all 0.3s ease !important;
}

.btn-outline-custom:hover {
    background-color: #0056D2 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 86, 210, 0.2);
}

/* WhatsApp Button */
.btn-whatsapp {
    background-color: #25D366 !important;
    color: #ffffff !important;
    border: none !important;
    width: 42px;
    height: 42px;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background-color: #1eb954 !important;
    transform: scale(1.1) rotate(8deg);
    color: #ffffff !important;
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}

/* Contact Us Button */
.btn-primary-custom {
    background-color: #0056D2 !important;
    color: #ffffff !important;
    border: 1px solid #0056D2 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(0, 86, 210, 0.2);
}

.btn-primary-custom:hover {
    background-color: #0041a8 !important;
    border-color: #0041a8 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 86, 210, 0.3);
}

/* Responsive adjustments for header buttons */
@media (max-width: 1199px) {
    .btn-whatsapp {
        width: 36px;
        height: 36px;
    }
}

/* --- Sleek and Compact Professional Header Overrides --- */
.top-info-bar {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
    font-size: 0.85rem !important;
}

.main-header {
    background-color: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05) !important;
    min-height: 52px !important;
    transition: all 0.3s ease;
}

.main-header .navbar {
    padding-top: 0.2rem !important;
    padding-bottom: 0.2rem !important;
    min-height: 52px !important;
}

.main-header .site-logo {
    height: 36px !important; /* Compact, elegant logo height */
    width: auto !important;
    transition: all 0.3s ease;
}

.main-header .nav-link {
    font-size: 0.925rem !important; /* Smaller, cleaner professional navigation font size */
    font-weight: 500 !important;
    color: #1a1a2e !important;
    padding: 0.5rem 0.75rem !important;
    transition: all 0.2s ease !important;
    position: relative;
}

/* Elegant accent underline for active/hover state */
.main-header .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #0056D2; /* V2X Brand Blue */
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.main-header .nav-link:hover {
    color: #0056D2 !important;
}

.main-header .nav-link.active {
    color: #0056D2 !important;
    font-weight: 600 !important;
}

.main-header .nav-link.active::after,
.main-header .nav-link:hover::after {
    width: 80%;
}

/* Header action buttons height & vertical alignment */
.main-header .d-xl-flex {
    align-items: center !important;
}

.main-header .btn-outline-custom,
.main-header .btn-primary-custom,
.main-header .btn-whatsapp {
    height: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    margin: 0 !important;
}

.main-header .btn-outline-custom {
    padding: 0 1.25rem !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    border: 1.5px solid #0056D2 !important;
    border-radius: 50px !important;
}

.main-header .btn-primary-custom {
    padding: 0 1.35rem !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    border: 1.5px solid #0056D2 !important;
    border-radius: 50px !important;
}

.main-header .btn-whatsapp {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    padding: 0 !important;
    border-radius: 50% !important;
}

/* --- Streamlined Hero & Page Headers (Balanced Spacing) --- */
.hero-section,
.page-header {
    padding-top: 45px !important;
    padding-bottom: 40px !important;
}

.v2x-hero {
    padding-top: 65px !important;
    padding-bottom: 125px !important;
}

.hero-section h1,
.v2x-hero h1,
.page-header h1,
.hero-section .display-4,
.v2x-hero .display-4,
.page-header .display-4 {
    margin-top: 0 !important;
    margin-bottom: 0.75rem !important;
}

.hero-section .lead,
.v2x-hero .lead,
.v2x-hero .hero-subtitle,
.page-header .lead {
    margin-bottom: 1.5rem !important;
}

/* --- Uniform Hero & Action Button Alignment --- */
.hero-buttons-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 1rem !important;
    margin-bottom: 1rem !important;
}

.btn-v2x-outline,
.btn-v2x-yellow,
.btn-v2x-filled,
.btn-v2x-primary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 48px !important;
    padding: 0 30px !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    margin: 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.btn-v2x-filled,
.btn-v2x-primary {
    background-color: #ffffff !important;
    color: #0056D2 !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

.btn-v2x-filled:hover,
.btn-v2x-primary:hover {
    background-color: #f8fbff !important;
    border-color: #f8fbff !important;
    color: #0041a8 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

.btn-v2x-outline {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
}

.btn-v2x-outline:hover {
    background-color: #ffffff !important;
    color: #0056D2 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2) !important;
}

.btn-v2x-yellow {
    background-color: #FFC107 !important;
    color: #1a1a2e !important;
    border: 2px solid #FFC107 !important;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.2) !important;
}

.btn-v2x-yellow:hover {
    background-color: #e5ac00 !important;
    border-color: #e5ac00 !important;
    color: #1a1a2e !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.35) !important;
}