/* CSS Custom Properties / Variables */
:root {
    /* Color Palette - Dark Blue Theme */
    --color-dark-blue: #1e3a8a;
    --color-medium-blue: #3b82f6;
    --color-light-blue: #eff6ff;
    --color-accent: #0d69f2;
    --color-black: #000000;
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-danger: #ef4444;
    --color-info: #06b6d4;
    --color-mixgold: linear-gradient(135deg, #f9dcc4, #f5b57f);
    
    /* Typography */
    --font-family-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Border Radius */
    --border-radius-sm: 0.375rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Bootstrap Variable Overrides */
:root {
    --bs-primary: #1e3a8a;
    --bs-secondary: #6b7280;
    --bs-success: #10b981;
    --bs-info: #06b6d4;
    --bs-warning: #f59e0b;
    --bs-danger: #ef4444;
    --bs-light: #f8fafc;
    --bs-dark: #1f2937;
    --bs-font-sans-serif: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Base Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-normal);
    line-height: 1.6;
    color: #374151;
    background-color: #ffffff;
    scroll-behavior: smooth;
    padding-top: 70px
}


/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--color-dark-blue) !important;
}

.page-header h1, .page-header h2, .page-header h3, .page-header h4, .page-header h5, .page-header h6 {
    color: white !important;
}

.hero-section h1, .hero-section h2, .hero-section h3, .hero-section h4, .hero-section h5, .hero-section h6 {
    color: white !important;
}

.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-weight: var(--font-weight-bold);
    line-height: 1.1;
}

.lead {
    font-size: 1.25rem;
    font-weight: var(--font-weight-normal);
    line-height: 1.6;
}

.hero-bg-video-container {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 1;
    overflow: hidden;
    background: linear-gradient(135deg, #2c2f48, #4a4f69);
     /* fallback color */
}

.hero-bg-video {
    filter: brightness(0.6); /* darken and enhance colors */
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

/* Optional: overlay gradient for better text contrast */
.hero-bg-video-container::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom right, rgba(0,0,0,0.2), rgba(30,58,138,0.4));
    z-index: 2;
}

/* Ensure content stays above */
.hero-section .container.position-relative {
    z-index: 10; /* Increased from 3 for better safety margin */
}

/* Optional: Add contrast to text for better readability */
.hero-section h1,
.hero-section p {
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Custom Color Classes */
.bg-dark-blue {
    background-color: var(--color-dark-blue) !important;
}

.bg-mixgold

.bg-medium-blue {
    background-color: var(--color-medium-blue) !important;
}

.bg-light-blue {
    background-color: var(--color-light-blue) !important;
}

.bg-accent {
    background-color: var(--color-accent) !important;
}

.bg-gradient-dark {
    background: linear-gradient(135deg, var(--color-dark-blue) 0%, #1e40af 100%);
}

.bg-gradient-accent {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-medium-blue) 100%);
}

.text-dark-blue {
    color: var(--color-dark-blue) !important;
}

.text-medium-blue {
    color: var(--color-medium-blue) !important;
}

.text-light-blue {
    color: #93c5fd !important;
}

.text-accent {
    color: var(--color-accent) !important;
}

.text-gold{
    color: #ffa251 !important;
}
.border-medium-blue {
    border-color: var(--color-medium-blue) !important;
}

/* Navigation Styles */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
}

.navbar-nav .nav-link {
    font-weight: var(--font-weight-medium);
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: var(--border-radius-md);
    transition: all 0.3s ease;
}

/* Adjust hover for light background */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background-color: rgba(0, 0, 0, 0.05); /* light gray hover */
    color: #0d6efd !important;             /* primary blue or your brand color */
    transform: translateY(-1px);
}

/* Button Styles */
.btn {
    font-weight: var(--font-weight-medium);
    border-radius: var(--border-radius-md);
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-accent {
    background-color: var(--color-accent);
    color: white;
}

.btn-accent:hover {
    background-color: #0b5ed7;
    color: white;
}

.btn-outline-accent {
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
    background-color: transparent;
}

.btn-outline-accent:hover {
    background-color: var(--color-accent);
    color: white;
}

.btn-medium-blue {
    background-color: var(--color-medium-blue);
    color: white;
}

.btn-medium-blue:hover {
    background-color: #2563eb;
    color: white;
}

/* Card Styles */
.card {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.card-header {
    border: none;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0 !important;
}

/* Hero Section */
.hero-section {
    /* background-color: #1e3a8a; */
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    /* padding-top: 80px; Prevents nav overlap */
    /* padding-bottom: 80px; */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.5;
}

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

.hero-image-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.hero-illustration {
    width: 100%;
    height: auto;
    animation: floatAnimation 6s ease-in-out infinite;
}

.service-image-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.service-illustration {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.service-detail-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.company-illustration-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.company-illustration {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    animation: floatAnimation 8s ease-in-out infinite;
}

.floating-cards {
    animation: floatAnimation 6s ease-in-out infinite;
}

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


/* sevice small card */

.training-card {
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.training-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    /* background-color: #ea94ffab; Optional: light background change */
}


/* Service Cards */
.service-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(174, 30, 190, 0.084), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    margin-bottom: var(--spacing-md);
}

/* Feature Items */
.feature-item {
    text-align: center;
    padding: var(--spacing-md);
}

.value-card,
.benefit-item {
    transition: all 0.3s ease;
    padding: var(--spacing-lg);
}

.value-card:hover,
.benefit-item:hover {
    transform: translateY(-5px);
}

/* Page Headers */
.page-header {
    padding: 5rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, #2c2f48, #4a4f69);
    opacity: 0.9;
    z-index: 0; /* ADD THIS */
}

.page-header > .container {
    position: relative;
    z-index: 1; /* ADD THIS */
}



/* Form Styles */
.form-control,
.form-select {
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius-md);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 0.2rem rgba(13, 105, 242, 0.25);
}

.form-label {
    font-weight: var(--font-weight-medium);
    color: var(--color-dark-blue);
    margin-bottom: 0.5rem;
}

/* Contact Page Styles */
.contact-icon {
    width: 3rem;
    height: 3rem;
    font-size: 1.25 rem;
}

.contact-icon {
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.social-link {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-2px) scale(1.1);
}

.quick-contact-card {
    transition: all 0.3s ease;
}

.quick-contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.quick-contact-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
}

/* Training Cards */
.training-card {
    transition: all 0.3s ease;
    overflow: hidden;
}

.training-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.training-card .card-header {
    position: relative;
    overflow: hidden;
}

.training-card .card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.training-card:hover .card-header::before {
    opacity: 1;
    top: -100%;
    left: -100%;
}

/* Process Steps */
.process-step {
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
}

/* Statistics */
.stats-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: black;
}

footer .container {
    position: relative;
    z-index: 2;
}

.text-light-blue {
    color: #93c5fd !important;
}


/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.6s ease-out;
}

.animate-fade-in-right {
    animation: fadeInRight 0.6s ease-out;
}

@media (max-width: 1024px) {
  .top-right-contact {
    display: none !important;
  }
}


/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 20px !important;
        /* padding-bottom: 20px !important; */
        min-height: auto;
        
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .display-6 {
        font-size: 1.5rem;
    }
    
    .floating-cards .card {
        margin-bottom: 1rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .service-card {
        margin-bottom: 2rem;
    }
    
    .page-header {
        padding: 3rem 0 2rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0.25rem 0;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .btn-group .btn {
        width: auto;
        margin-bottom: 0;
    }
    
    .hero-section .col-lg-6:first-child {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-cards {
        animation: none;
    }
}

/* Focus States */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .navbar,
    footer,
    .btn,
    .contact-form {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: black !important;
        page-break-after: avoid;
    }
    
    .page-header {
        background: none !important;
        color: black !important;
    }
}

/* Utility Classes */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bg-overlay {
    position: relative;
}

.bg-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.bg-overlay > * {
    position: relative;
    z-index: 2;
}

.min-vh-100 {
    min-height: 100vh;
}

.sticky-top {
    position: sticky;
    top: 0;
    z-index: 1020;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--color-medium-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-dark-blue);
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
