:root {
    --primary-color: #003D80;
    --primary-dark: #002a5a;
    --light-grey: #f8f9fa;
    --text-dark: #212529;
    --font-sans: 'Inter', sans-serif;
}

.text-primary {
    color: #406F9F !important;
}

.bg-primary {
    background-color: #003D80 !important;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Navbar */
.navbar {
    background-color: var(--primary-color);
    padding: 0.2rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    padding: 0.25rem 0;
    margin: 0;
}

.nav-link {
    font-weight: 500;
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85) !important;
    transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: #fff !important;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    min-height: 600px;
    background: url('public/hero.png') no-repeat center center/cover;
    background-attachment: fixed; /* Parallax effect */
    padding-top: 80px; /* Offset for fixed navbar */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 61, 128, 0.9) 0%, rgba(0, 61, 128, 0.6) 100%);
    z-index: 1;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 61, 128, 0.3);
}

.btn-outline-light:hover {
    background-color: rgba(255,255,255,0.1);
    color: #fff;
    border-color: #fff;
}

/* Section Common */
.section-padding {
    padding: 100px 0;
}

.section-title {
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

/* Cards */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05) !important;
}

.icon-box {
    font-size: 2.5rem;
}

/* Training Cards */
.training-card {
    border-radius: 16px;
    transition: transform 0.3s ease;
}
.training-card:hover {
    transform: scale(1.02);
}
.overlay-shape {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

/* Feature List */
.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* Partners Marquee */
.marquee {
    position: relative;
    width: 100%;
}

.marquee-mask {
    overflow: hidden;
    position: relative;
    /* Gradient mask to fade edges */
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: flex;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Assumes content is duplicated once */
}

.partner-logo {
    max-height: 50px;
    max-width: 150px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
    object-fit: contain;
}

.partner-item:hover .partner-logo {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.partner-item:hover .text-logo {
    opacity: 1;
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

/* Styled Text Logos */
.text-logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: #6c757d;
    opacity: 0.6;
    background: #fff;
    padding: 0.5rem 1.5rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    white-space: nowrap;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.text-logo-ee {
    font-family: sans-serif; /* Try to mimic EE's simple sans */
    letter-spacing: -2px;
    font-weight: 900;
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

/* Footer */
.hover-text-white:hover {
    color: #fff !important;
}
.hover-opacity-100:hover {
    opacity: 1 !important;
}

/* Animations */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-fade-right {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.visible {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Background Animation */
.bg-shape-anim {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.05;
    transform: translate(-50%, -50%);
    animation: pulse 4s infinite ease-in-out;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
    100% { transform: translate(-50%, -50%) scale(1); }
}

.hover-shadow {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.hover-shadow:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transform: translateY(-5px);
    border-color: var(--primary-color) !important;
}

/* --- Training Page Redesign Styles --- */
.bg-dark-blue {
    background-color: #002a5a;
}
.text-dark-blue {
    color: #002a5a;
}
.object-fit-cover {
    object-fit: cover;
}
.tracking-tight {
    letter-spacing: -0.03em;
}
.tracking-wider {
    letter-spacing: 0.1em;
}
.h-600 {
    height: 600px;
}
.max-w-600 {
    max-width: 600px;
}

/* Split Hero */
.clip-path-hero {
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
}
@media (max-width: 991px) {
    .clip-path-hero { clip-path: none; height: 400px; }
}
.overlay-gradient {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(0,61,128,0.3), transparent);
}

/* Feature Rows */
.link-hover-arrow i {
    transition: transform 0.2s;
}
.link-hover-arrow:hover i {
    transform: translateX(5px);
}

/* Delivery Cards */
.hover-glass {
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}
.hover-glass:hover {
    background: rgba(255,255,255,0.2) !important;
    transform: translateY(-5px);
}

/* Minimal Steps */
.circle-number {
    width: 60px; height: 60px;
    border-radius: 50%;
    line-height: 60px;
    margin: 0 auto;
    font-size: 1.5rem;
}
.steps-connect::before {
    content: '';
    position: absolute;
    top: 30px; left: 10%; width: 80%; height: 2px;
    background: #dee2e6;
    z-index: 0;
}

/* --- Coaching Page Redesign Styles --- */
.hero-immersive {
    height: 85vh;
    min-height: 500px;
}
.hero-bg-image {
    transition: transform 10s ease;
}
.hero-immersive:hover .hero-bg-image {
    transform: scale(1.05);
}
.accordion-button:not(.collapsed) {
    color: var(--primary-color) !important;
    background-color: transparent !important;
    box-shadow: none !important;
}
.accordion-button::after {
    filter: grayscale(100%);
}
.accordion-button:not(.collapsed)::after {
    background-image: var(--bs-accordion-btn-icon);
    filter: none;
    transform: rotate(180deg);
}
.bento-grid .bg-light {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.bento-grid .bg-light:hover {
    transform: translateY(-5px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}
.hero-overlay-dark {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
}

/* Consulting Page Styles - Enhanced */

/* --- Partners Page Network Redesign --- */
.hero-network {
    height: 70vh;
    min-height: 500px;
}
.reveal-card {
    transition: transform 0.4s ease;
    cursor: default;
}
.reveal-card:hover {
    transform: translateY(-5px);
}
.reveal-card .reveal-text {
    max-height: 0;
    transition: all 0.5s ease;
}
.reveal-card:hover .reveal-text {
    opacity: 1 !important;
    max-height: 100px; /* Approximate max height */
    margin-top: 0.5rem;
}
.partner-logo-wall {
    filter: grayscale(100%);
    opacity: 0.6;
    max-height: 60px;
    transition: all 0.3s ease;
}
.partner-logo-wall:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}
.text-logo-wall {
    transition: all 0.3s ease;
    cursor: default;
}
.text-logo-wall:hover {
    color: var(--primary-color) !important;
    transform: scale(1.1);
}
.h-300 { height: 300px; }

/* Medium Hero */
.hero-medium {
    height: 60vh;
    min-height: 450px;
    background: linear-gradient(135deg, #002a5a 0%, #003D80 50%, #001f3f 100%);
    padding-top: 80px;
    padding-bottom: 40px;
}

/* Glassmorphism/Premium Cards */
.consulting-card {
    border: none;
    border-top: 5px solid var(--primary-color);
    border-radius: 12px;
    background: #ffffff;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.consulting-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 0%;
    background: linear-gradient(to bottom, rgba(0,61,128,0.03), transparent);
    transition: height 0.4s ease;
}

.consulting-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,61,128,0.15);
}

.consulting-card:hover::before {
    height: 100%;
}

.icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    transition: all 0.3s ease;
    background: rgba(0,61,128,0.08); /* Light primary tint */
    color: var(--primary-color);
}

.consulting-card:hover .icon-circle {
    background: var(--primary-color);
    color: #fff;
    transform: rotateY(180deg);
}

.consulting-card:hover .icon-circle i {
    transform: rotateY(-180deg); /* Keep icon facing correct way */
    transition: transform 0s 0.15s; /* Flip icon halfway through */
}

/* Enhanced Timeline */
.timeline-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 3rem;
    position: relative;
}

.timeline-line {
    position: absolute;
    top: 30px;
    left: 10%;
    width: 80%;
    height: 3px;
    background: linear-gradient(to right, transparent, #e9ecef 20%, #e9ecef 80%, transparent);
    z-index: 0;
}

.step-item {
    flex: 1;
    min-width: 200px;
    margin-bottom: 2rem;
}

.step-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
    background: #fff;
    border: 3px solid #e9ecef;
    color: #adb5bd;
    margin: 0 auto 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.step-item:hover .step-circle {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.15);
    box-shadow: 0 0 25px rgba(0,61,128,0.4);
}

.step-item h5 {
    transition: color 0.3s ease;
}
.step-item:hover h5 {
    color: var(--primary-color);
}

/* Misc Enhancements */
.bg-light-grey {
    background-color: #f8f9fa;
}

.list-check li {
    font-size: 1.05rem;
    margin-bottom: 1rem;
}
.list-check i {
    font-size: 1.25rem;
    color: var(--primary-color);
    filter: drop-shadow(0 2px 4px rgba(0,61,128,0.2));
}

.bg-shape-blob {
    position: absolute;
    top: -30px;
    left: -30px;
    width: 100%;
    height: 100%;
    background:  linear-gradient(135deg, var(--primary-color) 0%, transparent 70%);
    border-radius: 30px;
    opacity: 0.15;
    z-index: 1;
    transform: rotate(-3deg);
    transition: transform 0.5s ease;
}
.image-wrapper:hover .bg-shape-blob {
    transform: rotate(-5deg) scale(1.02);
}

/* Shared Classes */
.opacity-90 { opacity: 0.9; }
.hover-scale { transition: transform 0.2s; }
.hover-scale:hover { transform: scale(1.05); }

/* --------------------------------------------------
   CUSTOMERS PAGE REDESIGN
   -------------------------------------------------- */

/* Impact Hero */
.hero-impact {
    position: relative;
    min-height: 80vh;
    background: linear-gradient(135deg, #001233 0%, #002a5a 100%);
    display: flex;
    align-items: center;
    overflow: visible; /* Allow floating card to pop out */
    padding-bottom: 80px; /* Space for the floating card */
}

.hero-impact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.floating-stat-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    margin-top: -80px; /* Negative margin to overlap hero */
    position: relative;
    z-index: 10;
    border: 1px solid rgba(0,0,0,0.05);
}

.stat-divider {
    width: 1px;
    height: 60px;
    background-color: #e9ecef;
}

/* Case Study Rows (Z-Pattern) */
.case-study-row {
    padding: 5rem 0;
    border-bottom: 1px solid #f8f9fa;
}

.case-study-row:last-child {
    border-bottom: none;
}

.case-study-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    transition: transform 0.4s ease;
}

.case-study-image-wrapper:hover {
    transform: translateY(-5px);
}

.case-study-image-wrapper img {
    transition: transform 0.6s ease;
}

.case-study-image-wrapper:hover img {
    transform: scale(1.05);
}

.impact-metric {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--bs-primary);
    line-height: 1.2;
}

.impact-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6c757d;
    font-weight: 600;
}

/* Testimonial Grid (Masonry feel) */
.testimonial-grid-card {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 12px;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.testimonial-grid-card:hover {
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-color: #e9ecef;
    transform: translateY(-3px);
}

.quote-icon-large {
    font-size: 3rem;
    color: #dee2e6;
    line-height: 1;
    margin-bottom: 1rem;
}

/* 
   ENHANCED INDUSTRY EXPERTISE (VERTICAL TABS)
   -------------------------------------------------- 
*/
.expert-tabs-container {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    overflow: hidden;
}

.expert-nav .nav-link {
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem;
    color: var(--text-dark) !important;
    background: transparent;
    border: none;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
    text-align: left; /* Ensure text aligns left */
}

.expert-nav .nav-link i {
    font-size: 1.5rem;
    margin-right: 1.5rem;
    color: #adb5bd;
    transition: color 0.3s ease;
}

.expert-nav .nav-link:hover {
    background-color: #f8f9fa;
}

.expert-nav .nav-link.active {
    background-color: #f0f7ff;
    color: var(--primary-color) !important;
    border-left-color: var(--primary-color);
}

.expert-nav .nav-link.active i {
    color: var(--primary-color);
}

.expert-content-panel {
    padding: 3rem;
    height: 100%;
    background-image: radial-gradient(circle at top right, rgba(0,61,128,0.03), transparent 60%);
}

.stat-pill {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #eef2ff;
    color: var(--primary-color);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* --------------------------------------------------
   CONTACT PAGE STYLES
   -------------------------------------------------- */

.contact-intro {
    background-color: #fff;
    border-bottom: 1px solid #f1f1f1;
}

.contact-info-box {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 16px;
    height: 100%;
}

.contact-icon-circle {
    width: 48px;
    height: 48px;
    background: #eef2ff;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

/* Premium Form Styles */
.form-control-premium {
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    color: var(--text-dark);
    background-color: #fff;
    transition: all 0.3s ease;
}

.form-control-premium:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 61, 128, 0.1);
    background-color: #fff;
    outline: none;
}

.form-control-premium::placeholder {
    color: #adb5bd;
    font-weight: 300;
}

.form-label-premium {
    font-weight: 600;
    font-size: 0.9rem;
    color: #495057;
    margin-bottom: 0.5rem;
    display: block;
}

.form-select-premium {
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    color: var(--text-dark);
    background-color: #fff;
    transition: all 0.3s ease;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-position: right 1.25rem center;
    background-size: 16px 12px;
}

.form-select-premium:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 61, 128, 0.1);
    outline: none;
}

@media (max-width: 768px) {
   .hdsjhgdasja{
    display: flex;
    flex-direction: column;
    align-items: center;
   }
}

/* --- Responsive Logo Sizes --- */
.nav-logo {
    height: 70px !important; /* Mobile/Default */
    width: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    transition: height 0.3s ease;
}

.footer-logo {
    height: 50px; /* Mobile/Default */
    width: auto;
    transition: height 0.3s ease;
}

@media (min-width: 992px) {
    /* "Little bit large" for navbar */
    .nav-logo {
        height: 70px !important; 
    }
    
    /* "Large" for footer */
    .footer-logo {
        height: 70px;
    }
}
