/* ==========================================================================
   JAYSUIT GLOBAL DESIGN SYSTEM & MASTER CSS
   ========================================================================== */

:root {
    --brand-indigo: #291A7B;
    --brand-blue: #0096D6;
    --text-dark: #1e293b;
    --text-muted: #475569;
    --text-light: #f8fafc;
    --bg-light: #f1f5f9; 
    --bg-white: #ffffff;
    --bg-dark: #120A38;
    --card-bg-frost: #fafbfc; 
    --gradient-primary: linear-gradient(135deg, var(--brand-indigo) 0%, var(--brand-blue) 100%);
    --border-radius-sm: 8px;
    --border-radius-md: 15px;
    --border-radius-lg: 20px;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.05);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* ADDED: Defines the base sans font so var(--font-sans) works properly */
    --font-sans: 'Inter'; 
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-sans), Arial, Helvetica, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { 
    font-family: var(--font-sans), Arial, Helvetica, sans-serif; 
    font-weight: 700; 
    color: var(--brand-indigo); 
    margin-bottom: 1rem; 
    line-height: 1.2; 
}
.text-brand-blue { color: var(--brand-blue) !important; }
.text-brand-indigo { color: var(--brand-indigo) !important; }
.bg-corporate { background-color: var(--bg-dark); color: var(--text-light); }
.section-padding { padding: 5rem 0; }
p { color: var(--text-muted); }

/* ==========================================================================
   NAVIGATION - FLAWLESS 2D SLIDE REVEAL (Padding Bleed Fix)
   ========================================================================== */
.navbar { background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(10px); box-shadow: var(--shadow-sm); transition: var(--transition-smooth); padding: 0.8rem 0; }
.navbar-brand .main-logo { height: 80px; width: auto; object-fit: contain; }

.nav-link-3d { 
    position: relative; 
    display: inline-block; 
    font-weight: 700; 
    padding: 0.5rem 0.5rem !important; 
    text-transform: uppercase; 
    font-size: 0.95rem; 
    white-space: nowrap; 
}

/* 1. Make the real text transparent to act purely as a perfectly-sized invisible mask */
.nav-link-3d span { 
    display: inline-block; 
    position: relative; 
    color: transparent !important; 
    overflow: hidden; /* Mask applied perfectly to the text height */
    vertical-align: text-bottom; 
}

/* 2. Setup Default (Indigo) and Hover (Blue) text layers */
.nav-link-3d span::before,
.nav-link-3d span::after { 
    content: attr(data-text); 
    position: absolute; 
    left: 0; 
    width: 100%; 
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); 
}

/* Default state sits at top */
.nav-link-3d span::before { 
    top: 0; 
    color: var(--brand-indigo); 
}

/* Hover state hides exactly below the mask */
.nav-link-3d span::after { 
    top: 100%; 
    color: var(--brand-blue); 
}

/* 3. Slide both layers up together smoothly */
.nav-link-3d:hover span::before,
.nav-link-3d.active span::before,
.nav-link-3d:hover span::after,
.nav-link-3d.active span::after { 
    transform: translateY(-100%); 
}

/* Dropdown styling */
.dropdown-toggle::after { vertical-align: 0.155em; margin-left: 0.4em; color: var(--brand-indigo); }
.dropdown-menu { border: none; border-radius: var(--border-radius-md); box-shadow: 0 15px 35px rgba(0,0,0,0.1); padding: 1rem 0; margin-top: 0; border-top: 3px solid var(--brand-blue); }
.dropdown-item { font-weight: 600; font-size: 0.95rem; color: var(--text-dark); padding: 0.7rem 1.5rem; transition: var(--transition-smooth); }
.dropdown-item:hover { background-color: rgba(0, 150, 214, 0.08); color: var(--brand-blue); padding-left: 1.8rem; }
.navbar-toggler { border: none; background: transparent; cursor: pointer; padding: 0.5rem; }
.hamburger { width: 30px; height: 3px; background: var(--brand-indigo); display: block; position: relative; transition: var(--transition-smooth); }
.hamburger::before, .hamburger::after { content: ''; position: absolute; width: 100%; height: 100%; background: var(--brand-indigo); left: 0; transition: var(--transition-smooth); }
.hamburger::before { top: -8px; } .hamburger::after { bottom: -8px; }
.navbar-toggler[aria-expanded="true"] .hamburger { background: transparent; }
.navbar-toggler[aria-expanded="true"] .hamburger::before { transform: rotate(45deg); top: 0; }
.navbar-toggler[aria-expanded="true"] .hamburger::after { transform: rotate(-45deg); bottom: 0; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-primary-3d { background: var(--gradient-primary); color: var(--bg-white) !important; padding: 12px 28px; border-radius: 50px; font-weight: 600; border: none; position: relative; overflow: hidden; z-index: 1; transition: var(--transition-smooth); box-shadow: 0 10px 20px rgba(0, 150, 214, 0.3); text-decoration: none; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; }
.btn-primary-3d::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: var(--brand-indigo); z-index: -1; transform: scaleX(0); transform-origin: right; transition: transform 0.4s ease-in-out; border-radius: 50px; }
.btn-primary-3d:hover { transform: translateY(-3px); color: var(--bg-white); }
.btn-primary-3d:hover::before { transform: scaleX(1); transform-origin: left; }

/* ==========================================================================
   HOME PAGE: HERO SLIDER
   ========================================================================== */
.hero-slider-section { padding-top: 96px; position: relative; background-color: var(--bg-dark); height: 100vh; min-height: 650px; }
.hero-slider-section .carousel, .hero-slider-section .carousel-inner, .hero-slider-section .carousel-item { height: 100%; width: 100%; }
.hero-slider-section .carousel-item { background-size: cover; background-position: center; background-repeat: no-repeat; position: relative; }
.hero-slider-section .carousel-item::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(18, 10, 56, 0.65); z-index: 1; }
.hero-slider-section .carousel-item > .container { height: 100%; display: flex; align-items: center; justify-content: center; text-align: center; position: relative; z-index: 3; }
.hero-slider-content { position: relative; width: 100%; max-width: 850px; padding-bottom: 3rem; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.hero-tech-tag { display: inline-block; color: #ffffff; background: var(--brand-blue); padding: 6px 16px; border-radius: 50px; font-size: 0.9rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 1.2rem; box-shadow: 0 4px 10px rgba(0,0,0,0.3); }
.hero-slider-content h1 { color: var(--bg-white); font-size: clamp(2.2rem, 4vw, 4.5rem); text-shadow: 0 4px 20px rgba(0,0,0,0.9); line-height: 1.2; margin-bottom: 1.2rem; font-weight: 800; }
.hero-slider-content p { color: #f8fafc; font-size: clamp(1rem, 1.5vw, 1.25rem); font-weight: 500; margin-bottom: 2rem; line-height: 1.6; text-shadow: 0 2px 10px rgba(0,0,0,0.9); }
.hero-slider-section .carousel-control-prev, .hero-slider-section .carousel-control-next { z-index: 10; width: 10%; opacity: 0.7; }
.hero-slider-section .carousel-control-prev:hover, .hero-slider-section .carousel-control-next:hover { opacity: 1; }
.carousel-indicators { position: absolute; bottom: 30px; margin-bottom: 0; justify-content: center; z-index: 10; left: 0; right: 0; }
.carousel-indicators [data-bs-target] { width: 35px; height: 4px; border-radius: 2px; background-color: rgba(255, 255, 255, 0.4); border: none; margin: 0 6px; transition: all 0.3s ease; }
.carousel-indicators .active { background-color: var(--brand-blue); width: 55px; }

/* Floating Service Icons (Background) */
.floating-service-icons { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.service-float { position: absolute; color: rgba(255, 255, 255, 0.08); animation: floatUp 25s linear infinite; }
.service-float.left-1 { left: 4%; bottom: -20%; animation-delay: 0s; font-size: 8rem; }
.service-float.left-2 { left: 12%; bottom: -20%; animation-delay: 8s; font-size: 5rem; }
.service-float.left-3 { left: 6%; bottom: -20%; animation-delay: 16s; font-size: 10rem; }
.service-float.right-1 { right: 5%; bottom: -20%; animation-delay: 2s; font-size: 12rem; }
.service-float.right-2 { right: 15%; bottom: -20%; animation-delay: 10s; font-size: 7rem; }
.service-float.right-3 { right: 8%; bottom: -20%; animation-delay: 18s; font-size: 9rem; }
@keyframes floatUp { 0% { transform: translateY(0) rotate(0deg); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(-120vh) rotate(360deg); opacity: 0; } }

/* ==========================================================================
   RESTORED & UPGRADED: INTERNAL SERVICE & SUB-PAGES LAYOUT
   ========================================================================== */
.service-hero-section {
    padding-top: 130px;
    padding-bottom: 90px;
    position: relative;
    background-color: var(--brand-indigo);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Elegant Overlay for internal pages */
.service-hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(41, 26, 123, 0.95) 0%, rgba(18, 10, 56, 0.9) 100%);
    z-index: 1;
}

/* Sidebar Box styling */
.service-sidebar {
    background: var(--card-bg-frost);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(41, 26, 123, 0.06);
}

.service-nav-list { margin: 0; padding: 0; }
.service-nav-list li { margin-bottom: 0.8rem; }

/* Interactive Sidebar Links */
.service-nav-link {
    display: flex; align-items: center; padding: 14px 20px;
    background: #ffffff; color: var(--text-dark);
    text-decoration: none; font-weight: 600;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.service-nav-link i { color: var(--text-muted); transition: var(--transition-smooth); width: 25px; }

.service-nav-link:hover { 
    background: #ffffff; color: var(--brand-blue); 
    transform: translateX(5px); border-color: rgba(0, 150, 214, 0.2); 
    box-shadow: 0 4px 10px rgba(0,150,214,0.1); 
}
.service-nav-link:hover i { color: var(--brand-blue); }

.service-nav-link.active { 
    background: var(--brand-blue); color: var(--bg-white); 
    box-shadow: 0 5px 15px rgba(0, 150, 214, 0.3); 
    border-color: var(--brand-blue); 
}
.service-nav-link.active i { color: var(--bg-white); }

/* FAQ Accordion Styling */
.custom-accordion .accordion-item { 
    background: transparent; 
    border: 1px solid rgba(41,26,123,0.06); 
    margin-bottom: 10px; 
    border-radius: var(--border-radius-md) !important; 
    overflow: hidden;
}
.custom-accordion .accordion-button { 
    background: var(--card-bg-frost); 
    color: var(--brand-indigo); 
    box-shadow: none !important; 
    font-weight: 700; 
    transition: var(--transition-smooth); 
}
.custom-accordion .accordion-button:not(.collapsed) { 
    color: var(--brand-blue); 
    background: #ffffff; 
}
.custom-accordion .accordion-body { background: #ffffff; }

/* Case Study Callout Box */
.case-study-box {
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-md);
}
.case-study-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* ==========================================================================
   THE MASTER PREMIUM CARDS (Used for About Us, Core Values, Internal Services)
   ========================================================================== */
.premium-card {
    background: var(--card-bg-frost); /* Pearl Frost, No White */
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(41, 26, 123, 0.06);
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.premium-card:hover {
    transform: translateY(-8px);
    background: #ffffff; /* Subtle illumination on hover */
    border-color: rgba(0, 150, 214, 0.3);
    box-shadow: 0 15px 35px rgba(41, 26, 123, 0.1);
}

.premium-card .icon-box {
    width: 65px; height: 65px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; margin-bottom: 1.5rem;
    background: rgba(0, 150, 214, 0.1); color: var(--brand-indigo);
    transition: var(--transition-smooth);
}

.premium-card:hover .icon-box {
    background: var(--brand-blue); color: var(--bg-white);
    transform: scale(1.1) rotate(-5deg); /* Playful pop animation */
}

/* Ensure text stretches naturally */
.premium-card p { flex-grow: 1; }

/* ==========================================================================
   BENTO-BOX SERVICE CARDS (Index Page Home Services) - CUSTOM BLUE
   ========================================================================== */
.service-feature-card { 
    background: #a2c5f3; 
    border-radius: 20px; 
    padding: 2.5rem 2rem; 
    height: 100%; 
    display: flex; 
    flex-direction: column; 
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
    position: relative; 
    overflow: hidden; 
    border: 1px solid rgba(255, 255, 255, 0.5); /* Frosted white glass edge */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.04); 
    z-index: 1; 
}

/* Spotlight Hover Effect: Lifts up and illuminates to white */
.service-feature-card:hover { 
    transform: translateY(-8px); 
    background: #a2c5f3; 
    border-color: rgba(0, 150, 214, 0.3); 
    box-shadow: 0 20px 40px -12px rgba(41, 26, 123, 0.15); 
}

.sf-icon-box { 
    width: 60px; 
    height: 60px; 
    border-radius: 14px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 1.6rem; 
    margin-bottom: 1.8rem; 
    color: #ffffff; 
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); 
}

.service-feature-card:hover .sf-icon-box { 
    transform: scale(1.1) rotate(-5deg); 
}

.service-feature-card h3 { 
    color: var(--brand-indigo); 
    font-size: 1.3rem; 
    font-weight: 700; 
    margin-bottom: 0.8rem; 
    letter-spacing: -0.3px; 
}

/* FIX: Darkened paragraph text to ensure readability on the blue background */
.service-feature-card p { 
    flex-grow: 1; 
    margin-bottom: 2rem; 
    color: #1e293b; 
    font-weight: 500; 
}

.service-feature-card a { 
    margin-top: auto; 
    font-weight: 700; 
    font-size: 0.95rem; 
    color: var(--brand-indigo); 
    text-decoration: none; 
    display: inline-flex; 
    align-items: center; 
    transition: all 0.3s ease; 
}

.service-feature-card a i { 
    margin-left: 6px; 
    font-size: 0.85rem; 
    transition: transform 0.3s ease; 
}

.service-feature-card:hover a i { 
    transform: translateX(6px); 
}

/* Service Card Unique Gradients */
.icon-grad-1 { background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%); box-shadow: 0 8px 16px -4px rgba(99, 102, 241, 0.4); }
.service-feature-card:hover:has(.icon-grad-1) a { color: #4338ca; }
.icon-grad-2 { background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%); box-shadow: 0 8px 16px -4px rgba(59, 130, 246, 0.4); }
.service-feature-card:hover:has(.icon-grad-2) a { color: #1d4ed8; }
.icon-grad-3 { background: linear-gradient(135deg, #ec4899 0%, #be185d 100%); box-shadow: 0 8px 16px -4px rgba(236, 72, 153, 0.4); }
.service-feature-card:hover:has(.icon-grad-3) a { color: #be185d; }
.icon-grad-4 { background: linear-gradient(135deg, #06b6d4 0%, #0f766e 100%); box-shadow: 0 8px 16px -4px rgba(6, 182, 212, 0.4); }
.service-feature-card:hover:has(.icon-grad-4) a { color: #0f766e; }
.icon-grad-5 { background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%); box-shadow: 0 8px 16px -4px rgba(245, 158, 11, 0.4); }
.service-feature-card:hover:has(.icon-grad-5) a { color: #b45309; }
.icon-grad-6 { background: linear-gradient(135deg, #10b981 0%, #047857 100%); box-shadow: 0 8px 16px -4px rgba(16, 185, 129, 0.4); }
.service-feature-card:hover:has(.icon-grad-6) a { color: #047857; }

/* ==========================================================================
   PREMIUM PORTFOLIO (Home Page)
   ========================================================================== */
.portfolio-item { border-radius: var(--border-radius-lg); overflow: hidden; position: relative; box-shadow: var(--shadow-md); background: var(--card-bg-frost); transition: var(--transition-smooth); height: 100%; display: flex; flex-direction: column; border: 1px solid rgba(41, 26, 123, 0.06); }
.portfolio-item:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(41, 26, 123, 0.1); background: #ffffff; border-color: rgba(0, 150, 214, 0.3); }
.portfolio-img-wrapper { flex: 0 0 240px; height: 240px; width: 100%; position: relative; background-size: cover; background-position: center; background-repeat: no-repeat; }
.portfolio-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 10, 56, 0.1) 0%, rgba(18, 10, 56, 0.8) 100%); transition: var(--transition-smooth); }
.portfolio-item:hover .portfolio-overlay { background: linear-gradient(180deg, rgba(0, 150, 214, 0.3) 0%, rgba(41, 26, 123, 0.95) 100%); }
.portfolio-icon { position: absolute; bottom: -28px; right: 30px; width: 65px; height: 65px; background: var(--gradient-primary); color: #ffffff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; border: 5px solid #ffffff; z-index: 2; transition: var(--transition-smooth); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); }
.portfolio-item:hover .portfolio-icon { transform: rotate(360deg) scale(1.1); background: var(--brand-blue); border-color: var(--bg-light); }
.portfolio-content { padding: 2.8rem 2rem 2rem; flex-grow: 1; display: flex; flex-direction: column; position: relative; z-index: 1; }
.portfolio-category { color: var(--brand-blue); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 0.6rem; display: block; }
.portfolio-content h4 { font-size: 1.35rem; margin-bottom: 1rem; color: var(--brand-indigo); font-weight: 800; }
.portfolio-content p { flex-grow: 1; margin-bottom: 1.8rem; color: var(--text-muted); line-height: 1.6; }
.portfolio-link { margin-top: auto; color: var(--brand-indigo); font-weight: 700; font-size: 0.95rem; text-decoration: none; display: inline-flex; align-items: center; transition: all 0.3s ease; }
.portfolio-link i { margin-left: 8px; transition: transform 0.3s ease; }
.portfolio-link:hover { color: var(--brand-blue); } .portfolio-link:hover i { transform: translateX(6px); }

/* ==========================================================================
   TIMELINE ANIMATIONS & STYLES (About Us)
   ========================================================================== */
.timeline-wrapper { position: relative; max-width: 1000px; margin: 0 auto; padding: 40px 0; overflow-x: hidden; }
.timeline-progress-bar { position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; background: #e2e8f0; transform: translateX(-50%); z-index: 1; border-radius: 4px; }
.timeline-progress-fill { position: absolute; top: 0; left: 0; width: 100%; height: 0%; background: #4a00e0; border-radius: 4px; transition: height 0.1s ease-out; }
.timeline-content-wrapper { position: relative; display: inline-block; width: 100%; }
.timeline-card { background: var(--card-bg-frost); border-radius: 12px; padding: 2rem; box-shadow: var(--shadow-md); border: 1px solid rgba(41, 26, 123, 0.06); border-top: 4px solid var(--brand-blue) !important; transition: var(--transition-smooth); }
.timeline-card:hover { transform: translateY(-5px); background: #ffffff; box-shadow: 0 15px 35px rgba(41, 26, 123, 0.1); border-color: rgba(0, 150, 214, 0.3); }
.timeline-dot { width: 22px; height: 22px; background: #f59e0b; border-radius: 50%; position: relative; z-index: 3; border: 4px solid #7c89f5; box-shadow: 0 0 0 4px #f8fafc; margin: 0 auto; transition: transform 0.3s ease; }
.timeline-year { position: absolute; background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%); color: #ffffff; font-weight: 600; padding: 6px 20px; border-radius: 50px; font-size: 0.95rem; box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3); top: -15px; z-index: 4; white-space: nowrap; }
.year-left { right: -30px; } 
.year-right { left: -30px; } 
.timeline-left-box { opacity: 0; transform: translateX(-150px); transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1); }
.timeline-right-box { opacity: 0; transform: translateX(150px); transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1); }
.timeline-box-visible { opacity: 1; transform: translateX(0); }

/* ==========================================================================
   LEADERSHIP QUOTES (About Us)
   ========================================================================== */
.leadership-quote-card { background: var(--card-bg-frost); border: 1px solid rgba(41, 26, 123, 0.06); border-radius: 20px; padding: 3.5rem 2.5rem 2.5rem; position: relative; height: 100%; box-shadow: var(--shadow-md); transition: var(--transition-smooth); z-index: 1; overflow: hidden; }
.leadership-quote-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px -10px rgba(41, 26, 123, 0.15); border-color: rgba(0, 150, 214, 0.3); background: #ffffff; }
.quote-icon-bg { position: absolute; top: 20px; right: 25px; font-size: 5rem; color: rgba(0, 150, 214, 0.05); z-index: 0; transition: transform 0.4s ease, color 0.4s ease; }
.leadership-quote-card:hover .quote-icon-bg { transform: scale(1.1) rotate(5deg); color: rgba(0, 150, 214, 0.12); }
.quote-header h4 { color: var(--brand-indigo); font-size: 1.4rem; position: relative; z-index: 2; }
.title-underline { width: 40px; height: 4px; background: var(--brand-blue); border-radius: 2px; margin-top: 10px; transition: width 0.3s ease; }
.leadership-quote-card:hover .title-underline { width: 60px; }
.quote-text { position: relative; z-index: 2; font-size: 1.05rem; line-height: 1.8; color: var(--text-muted); font-style: italic; margin-bottom: 0; }

/* ==========================================================================
   MASTER CTA SECTION (Animated Cyber Lines & Laser Sweep)
   ========================================================================== */
.cta-section { 
    position: relative; 
    background: linear-gradient(135deg, #0d0822 0%, var(--brand-indigo) 100%); 
    overflow: hidden; 
    color: #ffffff; 
    z-index: 1;
    padding: 6rem 0;
}

/* Outstanding Animated Diagonal Tech Grid */
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: 
        repeating-linear-gradient( 60deg, transparent, transparent 40px, rgba(0, 150, 214, 0.08) 40px, rgba(0, 150, 214, 0.08) 41px ),
        repeating-linear-gradient( 120deg, transparent, transparent 80px, rgba(255, 255, 255, 0.04) 80px, rgba(255, 255, 255, 0.04) 81px );
    z-index: -2;
    animation: ctaLinesMove 60s linear infinite;
}

/* Sweeping Light Beam Effect */
.cta-section::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 25%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 150, 214, 0.35), transparent);
    transform: skewX(-35deg);
    animation: ctaCyberBeam 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    z-index: -1;
}

@keyframes ctaLinesMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

@keyframes ctaCyberBeam {
    0% { left: -100%; }
    60%, 100% { left: 250%; }
}

.cta-section .container { position: relative; z-index: 1; }
.cta-section p.high-contrast-text { color: #e2e8f0 !important; font-weight: 400; opacity: 1; line-height: 1.8; }

/* Premium CTA Button */
.cta-btn-master {
    background: #ffffff;
    color: var(--brand-indigo);
    font-size: 1.15rem;
    padding: 16px 45px;
    border-radius: 50px;
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(0, 150, 214, 0.3);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    letter-spacing: 0.5px;
}
.cta-btn-master i { margin-left: 8px; transition: transform 0.3s ease; }
.cta-btn-master:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 150, 214, 0.6);
    color: var(--brand-blue);
}
.cta-btn-master:hover i { transform: translateX(5px); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { position: relative; background: var(--brand-indigo); color: #ffffff; padding: 3rem 0 2rem; overflow: hidden; }
.footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-image: radial-gradient(circle at 15% 50%, rgba(255, 255, 255, 0.08) 2px, transparent 3px), radial-gradient(circle at 85% 30%, rgba(255, 255, 255, 0.08) 2px, transparent 3px), linear-gradient(45deg, transparent 49%, rgba(255,255,255,0.03) 50%, transparent 51%); background-size: 80px 80px, 120px 120px, 60px 60px; z-index: 0; pointer-events: none; }
.footer .container { position: relative; z-index: 1; }
.footer h5 { color: #ffffff; font-size: 1.2rem; margin-bottom: 1.5rem; font-weight: 700; }
.footer p, .footer span, .footer a, .footer-bottom p { color: #f8fafc !important; }
.footer a { text-decoration: none; transition: var(--transition-smooth); display: block; margin-bottom: 0.5rem; opacity: 0.9; }
.footer a:hover { color: var(--brand-blue) !important; transform: translateX(5px); opacity: 1; }
.social-icons a { display: inline-flex; width: 40px; height: 40px; background: rgba(255, 255, 255, 0.15); color: #ffffff !important; align-items: center; justify-content: center; border-radius: 50%; margin-right: 0.5rem; transition: var(--transition-smooth); }
.social-icons a:hover { background: #fff; transform: translateY(-3px) translateX(0); color: var(--brand-indigo) !important; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.2); margin-top: 1rem; padding-top: 2rem; text-align: center; font-size: 0.95rem; }
.footer-industries li { margin-bottom: 10px; color: rgba(255,255,255,0.85); transition: all 0.3s ease; }
.footer-industries li:hover { color: #00bfff; transform: translateX(5px); }
.footer-industries i { color: #00bfff; }

/* ==========================================================================
   MOBILE RESPONSIVENESS FIXES
   ========================================================================== */
@media (max-width: 991px) {
    .navbar-collapse { background: var(--bg-white); padding: 1rem; border-radius: var(--border-radius-md); box-shadow: var(--shadow-md); margin-top: 1rem; }
    .nav-link-3d { margin: 0.5rem 0; }
    .hero-slider-section { height: 100vh; min-height: 550px; }
    .hero-slider-content { text-align: center; padding-bottom: 3rem; }
    .service-hero-section { padding-top: 110px; padding-bottom: 60px; text-align: center; }
    
    .timeline-progress-bar { left: 30px; }
    .timeline-row { text-align: left !important; padding-left: 50px; }
    .timeline-row .col-lg-5 { text-align: left !important; padding: 0 !important; }
    .timeline-dot { position: absolute; left: 20px; top: 0; margin: 0; }
    .timeline-year { position: relative; top: 0; right: auto; left: auto; margin: 0 0 15px 0; display: inline-block; }
    .year-left, .year-right { margin: 0 0 15px 0; }
    .timeline-left-box, .timeline-right-box { transform: translateX(50px); } 
    .timeline-box-visible { transform: translateX(0); }
}

/* ==========================================================================
   MODERN TESTIMONIAL SLIDER (Home Page)
   ========================================================================== */
.modern-testimonial { 
    background: var(--card-bg-frost); 
    border-radius: 20px; 
    padding: 3rem 2.5rem 2.5rem; 
    margin-top: 40px; 
    margin-bottom: 20px; 
    box-shadow: var(--shadow-md); 
    position: relative; 
    border: 1px solid rgba(41, 26, 123, 0.06); 
    height: calc(100% - 60px); 
    transition: var(--transition-smooth); 
    z-index: 1;
}

.modern-testimonial:hover { 
    transform: translateY(-8px); 
    background: #ffffff; 
    border-color: rgba(0, 150, 214, 0.3); 
    box-shadow: 0 15px 35px rgba(41, 26, 123, 0.1); 
}

/* Floating Avatar Circle */
.mt-avatar { 
    width: 80px; 
    height: 80px; 
    border-radius: 50%; 
    position: absolute; 
    top: -40px; 
    left: 2.5rem; 
    border: 4px solid #ffffff; 
    box-shadow: 0 8px 20px rgba(0,0,0,0.1); 
    background: var(--gradient-primary); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: white; 
    font-size: 1.5rem; 
    font-weight: bold; 
    overflow: hidden; 
    z-index: 3;
}

/* Large Decorative Background Quote */
.mt-quote-icon { 
    position: absolute; 
    top: 1.5rem; 
    right: 2rem; 
    font-size: 3.5rem; 
    color: rgba(0, 150, 214, 0.06); 
    z-index: 0;
    transition: transform 0.4s ease;
}

.modern-testimonial:hover .mt-quote-icon {
    transform: scale(1.1) rotate(5deg);
    color: rgba(0, 150, 214, 0.1);
}

/* 5-Star Rating */
.modern-testimonial .stars { 
    color: #ffb400; 
    margin-bottom: 1rem; 
    font-size: 1rem; 
    position: relative;
    z-index: 2;
}

/* Quote Text */
.modern-testimonial p { 
    color: var(--text-muted); 
    font-size: 1.05rem; 
    line-height: 1.7; 
    font-style: italic; 
    margin-bottom: 1.5rem; 
    position: relative; 
    z-index: 2; 
}

/* Author Details */
.modern-testimonial h5 { 
    color: var(--brand-indigo); 
    font-weight: 700; 
    margin-bottom: 0.2rem; 
}

.modern-testimonial span { 
    color: var(--brand-blue); 
    font-size: 0.85rem; 
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
}

/* ==========================================================================
   FLOATING CONTACT BUTTONS (WhatsApp & Phone)
   ========================================================================== */
.floating-contact-wrap {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999; /* Ensures it stays on top of everything */
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #ffffff !important;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

/* WhatsApp Brand Color */
.floating-btn.whatsapp {
    background-color: #25D366; 
}

/* Call Button - Matches your brand gradient */
.floating-btn.phone {
    background: var(--gradient-primary); 
}

/* Hover Animation */
.floating-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    color: #ffffff;
}

/* Premium Tooltip Label that slides out on hover */
.floating-btn::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 75px;
    background-color: #1e293b;
    color: #ffffff;
    font-size: 0.85rem;
    padding: 8px 14px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    transform: translateX(10px);
    font-weight: 600;
    font-family: var(--font-sans), sans-serif;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Tooltip Arrow */
.floating-btn::after {
    content: '';
    position: absolute;
    right: 69px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent #1e293b;
    opacity: 0;
    transition: all 0.3s ease;
}

.floating-btn:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.floating-btn:hover::after {
    opacity: 1;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .floating-contact-wrap {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    .floating-btn::before,
    .floating-btn::after {
        display: none; /* Hides tooltips on mobile to save screen space */
    }
}