/* ========================================
   TeleSource Landing Page Styles
   Bootstrap 5 Custom Theme
======================================== */

/* CSS Custom Properties */
:root {
    /* Primary Colors - Deep Navy */
    --tsi-primary: #0a1628;
    --tsi-primary-light: #162238;
    
    /* Accent Colors - TeleSource Blue */
    --tsi-accent: rgba(23, 72, 126, 1);
    --tsi-accent-rgb: 23, 72, 126;
    --tsi-accent-glow: rgba(23, 72, 126, 0.15);
    --tsi-accent-dark: #0f3a66;
    --tsi-accent-light: #2a5a8f;
    
    /* Secondary Colors - Lighter Blue Complement */
    --tsi-secondary: #4a90c2;
    --tsi-secondary-rgb: 74, 144, 194;
    --tsi-secondary-light: #6ba8d4;
    
    /* Highlight Color - For CTAs & Important Elements */
    --tsi-highlight: #e8b923;
    --tsi-highlight-dark: #c9a01e;
    
    /* Typography */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    
    /* Neutral Colors */
    --tsi-gray-100: #f8fafc;
    --tsi-gray-200: #e2e8f0;
    --tsi-gray-500: #64748b;
    --tsi-gray-700: #334155;
    
    /* Shadows */
    --shadow-glow: 0 0 40px rgba(23, 72, 126, 0.3);
    --shadow-card: 0 4px 20px rgba(23, 72, 126, 0.1);
}

/* ========================================
   Base Styles
======================================== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: var(--font-display);
    font-weight: 600;
}

/* ========================================
   Top Contact Bar
======================================== */
.top-contact-bar {
    background: linear-gradient(90deg, #0a1628 0%, #162238 50%, #0a1628 100%);
    border-bottom: 1px solid rgba(232, 185, 35, 0.3);
    padding: 8px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1031;
    font-size: 0.875rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-bar-cta {
    color: var(--tsi-highlight);
    font-weight: 600;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.top-bar-cta i {
    margin-right: 6px;
}

.top-bar-phone {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-phone:hover {
    color: var(--tsi-highlight);
}

.top-bar-phone i {
    color: var(--tsi-highlight);
}

.top-bar-divider {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 4px;
}

.top-bar-email {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-email:hover {
    color: var(--tsi-highlight);
}

.top-bar-email i {
    color: var(--tsi-highlight);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-badge {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-badge i {
    color: var(--tsi-highlight);
    font-size: 0.875rem;
}

/* Adjust body padding for fixed top bar + navbar */
body {
    padding-top: calc(40px + 76px); /* top bar height + navbar height */
}

/* Hide top bar on scroll (optional enhancement) */
.top-contact-bar.hidden {
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

/* Mobile adjustments */
@media (max-width: 991.98px) {
    .top-contact-bar {
        padding: 10px 0;
    }
    
    .top-bar-content {
        justify-content: center;
    }
    
    .top-bar-left {
        justify-content: center;
    }
    
    .top-bar-phone {
        font-size: 1rem;
    }
    
    .top-bar-phone span {
        font-weight: 700;
    }
    
    .top-bar-email {
        font-size: 1rem;
        font-weight: 700;
    }
    
    .top-bar-email span {
        font-weight: 700;
    }
    
    body {
        padding-top: calc(44px + 76px);
    }
}

@media (max-width: 575.98px) {
    .top-contact-bar {
        padding: 8px 0;
    }
    
    .top-bar-left {
        gap: 8px;
    }
    
    body {
        padding-top: calc(40px + 76px);
    }
}

/* ========================================
   Navbar Styles
======================================== */
.navbar-landing {
    top: 40px; /* Position below top bar */
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-landing.scrolled {
    background: rgba(10, 22, 40, 0.98);
    padding: 0.5rem 0;
}

/* Mobile navbar positioning */
@media (max-width: 991.98px) {
    .navbar-landing {
        top: 44px;
    }
}

@media (max-width: 575.98px) {
    .navbar-landing {
        top: 40px;
    }
}

.navbar-landing .navbar-brand img {
    height: 40px;
    width: auto;
}

.navbar-landing .nav-link {
    font-family: var(--font-display);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7) !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s ease;
    position: relative;
}

.navbar-landing .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--tsi-accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.navbar-landing .nav-link:hover {
    color: #fff !important;
}

.navbar-landing .nav-link:hover::after {
    transform: scaleX(1);
}

.navbar-landing .navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-landing .navbar-toggler:focus {
    box-shadow: none;
}

.navbar-landing .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.phone-link {
    color: #fff !important;
    font-family: var(--font-display);
    font-weight: 600;
}

.phone-link i {
    color: var(--tsi-accent);
}

/* ========================================
   Button Styles
======================================== */
.btn-tsi-primary {
    background: linear-gradient(135deg, var(--tsi-accent) 0%, var(--tsi-accent-dark) 100%);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 600;
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(var(--tsi-accent-rgb), 0.4);
}

.btn-tsi-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--tsi-accent-rgb), 0.5);
    color: #fff;
    background: linear-gradient(135deg, var(--tsi-accent-light) 0%, var(--tsi-accent) 100%);
}

.btn-tsi-secondary {
    background: transparent;
    color: #fff;
    font-family: var(--font-display);
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.75rem 1.75rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-tsi-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.btn-tsi-outline {
    background: transparent;
    color: var(--tsi-accent);
    font-family: var(--font-display);
    font-weight: 600;
    border: 2px solid var(--tsi-accent);
    padding: 0.75rem 1.75rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

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

.btn-tsi-white {
    background: #fff;
    color: var(--tsi-primary);
    font-family: var(--font-display);
    font-weight: 600;
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-tsi-white:hover {
    background: #f1f5f9;
    color: var(--tsi-primary);
    transform: translateY(-2px);
}

/* ========================================
   Hero Section
======================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--tsi-primary) 0%, var(--tsi-primary-light) 50%, #1a365d 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(var(--tsi-accent-rgb), 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(var(--tsi-secondary-rgb), 0.08) 0%, transparent 40%),
        radial-gradient(ellipse at 60% 80%, rgba(var(--tsi-accent-rgb), 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.5;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 500;
    color: #fff;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    color: #fff;
}
    color: var(--tsi-accent);
}

.hero-title {
    color: #fff;
    font-weight: 700;
}

/* Gradient Text - Subtle white to light blue gradient with gentle animation */
.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #e0f2fe 50%, #bae6fd 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    color: transparent !important; /* Ensure color doesn't override */
    animation: gradientShift 4s ease-in-out infinite;
}

/* Keep specific selector for hero-title if needed for specificity */
.hero-title .gradient-text,
.service-hero-title .gradient-text,
h1 .gradient-text,
h2 .gradient-text,
h3 .gradient-text,
h4 .gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #e0f2fe 50%, #bae6fd 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent !important;
    animation: gradientShift 4s ease-in-out infinite;
}

/* Subtle animated gradient keyframes */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.125rem;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.stat-number span {
    color: var(--tsi-accent);
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Floating elements */
.hero-float {
    position: absolute;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.hero-float-1 {
    width: 200px;
    height: 200px;
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.hero-float-2 {
    width: 150px;
    height: 150px;
    bottom: 30%;
    right: 25%;
    animation-delay: 2s;
}

.hero-float-3 {
    width: 100px;
    height: 100px;
    top: 40%;
    right: 5%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@media (max-width: 991.98px) {
    .hero-float { display: none; }
}

/* ========================================
   Section Styles
======================================== */
.section-dark {
    background: linear-gradient(135deg, var(--tsi-primary) 0%, var(--tsi-primary-light) 100%);
    color: #fff;
}

.section-gray {
    background-color: #f8fafc;
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--tsi-accent);
    margin-bottom: 0.75rem;
}

.lead-text {
    font-size: 1.125rem;
    color: #64748b;
    line-height: 1.7;
}

.section-dark .lead-text {
    color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   Service Cards
======================================== */
.service-card {
    position: relative;
    padding: 2rem;
    background: #fff;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--tsi-accent) 0%, var(--tsi-secondary) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tsi-accent-glow);
    border-radius: 0.75rem;
    margin-bottom: 1.25rem;
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--tsi-accent-dark);
}

.service-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: #64748b;
    margin-bottom: 1rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--tsi-accent-dark);
    text-decoration: none;
    transition: gap 0.2s ease;
}

.service-link:hover {
    gap: 0.75rem;
    color: var(--tsi-accent-dark);
}

/* Service Card Highlight (for new/featured services) */
.service-card-highlight {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfeff 100%);
    border-color: var(--tsi-accent);
}

.service-card-highlight::before {
    transform: scaleX(1) !important;
    background: linear-gradient(90deg, #10b981 0%, var(--tsi-accent) 100%);
}

/* Consolidation Message Box */
.consolidation-message {
    border-left: 4px solid var(--tsi-accent);
}

/* ========================================
   About Section
======================================== */
.about-image-wrapper {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--tsi-primary) 0%, var(--tsi-primary-light) 100%);
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(var(--tsi-accent-rgb), 0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(var(--tsi-secondary-rgb), 0.2) 0%, transparent 50%);
}

.about-image-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.about-years {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.about-years span {
    color: var(--tsi-accent);
}

.about-label {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tsi-accent-glow);
    border-radius: 0.5rem;
    flex-shrink: 0;
}

.feature-icon i {
    color: var(--tsi-accent-dark);
}

/* ========================================
   Connect Platform Section
======================================== */
.connect-dashboard {
    background: var(--tsi-primary);
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.dashboard-dots {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.dashboard-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dashboard-dot:nth-child(1) { background: #ff5f57; }
.dashboard-dot:nth-child(2) { background: #febc2e; }
.dashboard-dot:nth-child(3) { background: #28c840; }

.connect-metric {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    padding: 1.25rem;
}

.connect-metric-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.connect-metric-value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.connect-metric-value.accent {
    color: var(--tsi-accent);
}

.connect-list-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.connect-list-item:last-child {
    border-bottom: none;
}

.connect-list-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tsi-highlight);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(232, 185, 35, 0.3);
}

.connect-list-icon i {
    font-size: 0.875rem;
    color: var(--tsi-primary);
    font-weight: 700;
}

/* ========================================
   Trust / Values Section
======================================== */
.trust-quote {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.trust-quote-icon {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3rem;
    color: var(--tsi-accent);
    opacity: 0.3;
}

.trust-quote-text {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 500;
    font-style: italic;
    color: #fff;
    line-height: 1.5;
}

.trust-value {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    height: 100%;
}

.trust-value-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tsi-accent);
    border-radius: 0.75rem;
    margin: 0 auto 1.25rem;
}

.trust-value-icon i {
    font-size: 1.25rem;
    color: var(--tsi-primary);
}

.trust-value h4 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.trust-value p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* ========================================
   CTA Section
======================================== */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(var(--tsi-accent-rgb), 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.cta-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.cta-contact-item i {
    color: var(--tsi-accent);
}

.cta-contact-item a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.cta-contact-item a:hover {
    color: var(--tsi-accent);
}

/* ========================================
   Footer
======================================== */
.footer-landing {
    background: #0f172a;
    padding: 4rem 0 1.5rem;
}

.footer-brand img {
    height: 40px;
    margin-bottom: 1.25rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-social-link:hover {
    background: var(--tsi-accent);
    color: var(--tsi-primary);
}

.footer-column h5 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    margin-bottom: 1.25rem;
}

.footer-link {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9375rem;
    padding: 0.25rem 0;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--tsi-accent);
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: var(--tsi-accent);
}

/* ========================================
   Animations
======================================== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Responsive Utilities
======================================== */
@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .about-years {
        font-size: 4rem;
    }
    
    .trust-quote-text {
        font-size: 1.25rem;
    }
}


/* ========================================
   Service Page Styles
======================================== */

/* Service Hero */
.service-hero {
    position: relative;
    min-height: 75vh;
    background: linear-gradient(135deg, var(--tsi-primary) 0%, var(--tsi-primary-light) 50%, #1a365d 100%);
    padding-top: 0;
    display: flex;
    align-items: center;
}

.service-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(var(--tsi-accent-rgb), 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(var(--tsi-secondary-rgb), 0.08) 0%, transparent 40%);
    pointer-events: none;
}

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

.breadcrumb-dark {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-dark .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-dark .breadcrumb-item a:hover {
    color: var(--tsi-accent);
}

.breadcrumb-dark .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb-dark .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4);
}

.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(var(--tsi-accent-rgb), 0.1);
    border: 1px solid rgba(var(--tsi-accent-rgb), 0.3);
    border-radius: 50px;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--tsi-accent);
}

.service-hero-title {
    color: #fff;
    font-weight: 700;
}

/* Ensure all hero titles are white by default */
h1.service-hero-title,
h1.hero-title {
    color: #fff !important;
}

.service-hero-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.125rem;
    max-width: 550px;
}

/* Service badge on service hero pages - make white */
.service-hero .service-badge {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    backdrop-filter: blur(10px);
}

.service-hero .service-badge i {
    color: #fff;
}

.service-hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.service-icon-large {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--tsi-accent-rgb), 0.1);
    border: 2px solid rgba(var(--tsi-accent-rgb), 0.3);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.service-icon-large i {
    font-size: 5rem;
    color: var(--tsi-accent);
}

/* Enhanced Service Hero Visual (reusable component) */
.service-hero .service-hero-visual-enhanced {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    min-height: 400px;
}

.service-hero .service-visual-core {
    position: relative;
    width: 280px;
    height: 280px;
    z-index: 1;
}

.service-hero .service-visual-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid transparent;
}

.service-hero .service-visual-ring-1 {
    width: 280px;
    height: 280px;
    border-color: rgba(var(--tsi-accent-rgb), 0.4);
    animation: serviceRingPulse 3s ease-in-out infinite;
}

.service-hero .service-visual-ring-2 {
    width: 220px;
    height: 220px;
    border-color: rgba(var(--tsi-accent-rgb), 0.5);
    animation: serviceRingPulse 3s ease-in-out infinite 0.5s;
}

.service-hero .service-visual-ring-3 {
    width: 160px;
    height: 160px;
    border-color: rgba(var(--tsi-accent-rgb), 0.6);
    animation: serviceRingPulse 3s ease-in-out infinite 1s;
}

@keyframes serviceRingPulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1); 
        opacity: 1; 
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.05); 
        opacity: 0.7; 
    }
}

.service-hero .service-visual-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--tsi-accent) 0%, var(--tsi-secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 60px rgba(var(--tsi-accent-rgb), 0.6);
    z-index: 3;
}

.service-hero .service-visual-center i {
    font-size: 3.5rem;
    color: #fff;
}

.service-hero .service-floating-metrics {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}

.service-hero .service-metric-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(10px);
    min-width: 140px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    /* Prevent "pop" on delayed animations by applying the 0% keyframe during the delay */
    animation-fill-mode: both;
}

/* Position Set 1: Original layout - all cards on outer ring */
.service-hero [data-position-set="1"] .service-metric-1 {
    top: 5%;
    left: 0;
    animation: serviceFloatMetric 6s ease-in-out 0s infinite both;
}

.service-hero [data-position-set="1"] .service-metric-2 {
    top: 10%;
    right: 0;
    animation: serviceFloatMetric 6s ease-in-out 1.5s infinite both;
}

.service-hero [data-position-set="1"] .service-metric-3 {
    bottom: 12%;
    left: 50%;
    animation: serviceFloatMetricCenteredX 6s ease-in-out 3s infinite both;
}

/* Position Set 2: Varied layout - all cards on outer ring */
.service-hero [data-position-set="2"] .service-metric-1 {
    top: 5%;
    left: 5%;
    animation: serviceFloatMetric 6s ease-in-out 0s infinite both;
}

.service-hero [data-position-set="2"] .service-metric-2 {
    top: 10%;
    right: 0;
    animation: serviceFloatMetric 6s ease-in-out 1.5s infinite both;
}

.service-hero [data-position-set="2"] .service-metric-3 {
    bottom: 8%;
    left: 50%;
    animation: serviceFloatMetricCenteredX 6s ease-in-out 3s infinite both;
}

/* Position Set 3: Alternative layout - all cards on outer ring */
.service-hero [data-position-set="3"] .service-metric-1 {
    top: 0;
    left: 0;
    animation: serviceFloatMetric 6s ease-in-out 0s infinite both;
}

.service-hero [data-position-set="3"] .service-metric-2 {
    top: 0;
    right: 0;
    animation: serviceFloatMetric 6s ease-in-out 1.5s infinite both;
}

.service-hero [data-position-set="3"] .service-metric-3 {
    bottom: 5%;
    left: 50%;
    animation: serviceFloatMetricCenteredX 6s ease-in-out 3s infinite both;
}

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

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

@keyframes serviceFloatMetricCenteredX {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-12px);
    }
}


.service-hero .metric-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 193, 7, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-hero .metric-icon i {
    font-size: 1.25rem;
    color: #ffc107;
}

.service-hero .metric-content {
    flex: 1;
}

.service-hero .metric-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.service-hero .metric-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.2;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .service-hero .service-visual-ring-1,
    .service-hero .service-visual-ring-2,
    .service-hero .service-visual-ring-3 {
        animation: none;
    }
    
    .service-hero .service-metric-1,
    .service-hero .service-metric-2,
    .service-hero .service-metric-3 {
        animation: none;
    }
    
    .service-hero [data-position-set="3"] .service-metric-2 {
        transform: translateY(-50%);
    }
}

/* Mobile: Hide enhanced visual on small screens */
@media (max-width: 991.98px) {
    .service-hero .service-hero-visual-enhanced {
        display: none;
    }
}

/* Feature Cards Grid */
.feature-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.feature-card-mini {
    padding: 1.5rem;
    background: #fff;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.feature-card-mini:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-card-mini-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tsi-accent-glow);
    border-radius: 0.75rem;
    margin-bottom: 1rem;
}

.feature-card-mini-icon i {
    font-size: 1.25rem;
    color: var(--tsi-accent-dark);
}

.feature-card-mini h5 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.feature-card-mini p {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

/* Benefit Stats */
.benefit-stat {
    padding: 1.5rem;
    background: var(--tsi-accent-glow);
    border-radius: 1rem;
    text-align: center;
}

.benefit-stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--tsi-accent-dark);
}

.benefit-stat-label {
    font-size: 0.875rem;
    color: #64748b;
}

/* Data Type Cards */
.data-type-card {
    padding: 2rem;
    background: #fff;
    border-radius: 1rem;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    height: 100%;
}

.data-type-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--tsi-accent);
}

.data-type-card i {
    font-size: 2.5rem;
    color: var(--tsi-accent);
    margin-bottom: 1rem;
}

.data-type-card h5 {
    margin-bottom: 0.75rem;
}

.data-type-card p {
    font-size: 0.9375rem;
    color: #64748b;
    margin: 0;
}

/* Service Feature Cards */
.service-feature-card {
    padding: 2rem;
    background: #fff;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    height: 100%;
    transition: all 0.3s ease;
}

.service-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-feature-card.highlight-card {
    background: linear-gradient(135deg, var(--tsi-primary) 0%, var(--tsi-primary-light) 100%);
    border: none;
    color: #fff;
}

.service-feature-card.highlight-card h4 {
    color: #fff;
}

.service-feature-card.highlight-card .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.service-feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tsi-accent-glow);
    border-radius: 0.75rem;
    margin-bottom: 1.25rem;
}

.service-feature-icon i {
    font-size: 1.5rem;
    color: var(--tsi-accent-dark);
}

.highlight-card .service-feature-icon {
    background: rgba(var(--tsi-accent-rgb), 0.2);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
    color: #64748b;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--tsi-accent);
    font-weight: bold;
}

.highlight-card .feature-list li {
    color: rgba(255, 255, 255, 0.8);
}

.savings-stat {
    text-align: center;
    padding: 1rem;
    background: rgba(var(--tsi-accent-rgb), 0.2);
    border-radius: 0.75rem;
}

.savings-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--tsi-accent);
}

.savings-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Support Stats */
.support-stat-card {
    padding: 2rem;
    background: var(--tsi-accent-glow);
    border-radius: 1rem;
}

.support-stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--tsi-accent-dark);
}

.support-stat-label {
    font-size: 0.875rem;
    color: #64748b;
}

/* Advantage List */
.advantage-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.advantage-item i {
    color: var(--tsi-accent);
    font-size: 1.25rem;
    margin-top: 0.125rem;
}

/* Support Services Card */
.support-services-card {
    padding: 2rem;
    background: linear-gradient(135deg, var(--tsi-primary) 0%, var(--tsi-primary-light) 100%);
    border-radius: 1.5rem;
    color: #fff;
}

.support-services-card h4 {
    color: #fff;
}

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

.support-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.support-list li {
    position: relative;
    padding: 0.75rem 0 0.75rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.support-list li:last-child {
    border-bottom: none;
}

.support-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--tsi-accent);
}

/* Mobility Cards */
.mobility-card {
    padding: 2rem;
    background: #fff;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    height: 100%;
    transition: all 0.3s ease;
}

.mobility-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.mobility-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--tsi-accent-glow);
}

.mobility-card-header i {
    font-size: 1.75rem;
    color: var(--tsi-accent);
}

.mobility-card-header h4 {
    margin: 0;
    font-size: 1.25rem;
}

.mobility-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobility-list li {
    position: relative;
    padding: 0.5rem 0 0.5rem 1.5rem;
    font-size: 0.9375rem;
    color: #64748b;
}

.mobility-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--tsi-accent);
    font-weight: bold;
}

.mobility-stat {
    padding: 1.5rem;
}

.mobility-stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--tsi-accent);
}

.mobility-stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Solution Cards */
.solution-card {
    padding: 2rem;
    background: #fff;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--tsi-accent);
}

.solution-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tsi-accent-glow);
    border-radius: 50%;
    margin: 0 auto 1.25rem;
}

.solution-icon i {
    font-size: 1.75rem;
    color: var(--tsi-accent-dark);
}

.solution-card h5 {
    margin-bottom: 0.75rem;
}

.solution-card p {
    font-size: 0.9375rem;
    color: #64748b;
    margin: 0;
}

/* Difference List */
.difference-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.difference-item {
    display: flex;
    gap: 1rem;
}

.difference-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tsi-accent-glow);
    border-radius: 0.75rem;
    flex-shrink: 0;
}

.difference-icon i {
    font-size: 1.25rem;
    color: var(--tsi-accent-dark);
}

.difference-item h5 {
    margin-bottom: 0.25rem;
}

/* Project CTA Card */
.project-cta-card {
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--tsi-primary) 0%, var(--tsi-primary-light) 100%);
    border-radius: 1.5rem;
    color: #fff;
}

.project-cta-card h3 {
    color: #fff;
}

.project-industries {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.industry-tag {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Dropdown Styles */
.navbar-landing .nav-item.dropdown {
    position: relative;
}

/* Desktop: Show dropdown on hover */
@media (min-width: 992px) {
    .navbar-landing .nav-item.dropdown:hover > .dropdown-menu,
    .navbar-landing .nav-item.dropdown:focus-within > .dropdown-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }
}

/* Mobile & Click: Show dropdown when Bootstrap adds .show class */
.navbar-landing .dropdown-menu.show {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.dropdown-menu-dark {
    background: var(--tsi-primary);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.75rem;
    padding: 0.5rem;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

.dropdown-menu-dark .dropdown-item {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.dropdown-menu-dark .dropdown-item:hover,
.dropdown-menu-dark .dropdown-item:focus {
    background: rgba(var(--tsi-accent-rgb), 0.15);
    color: #fff;
}

.dropdown-menu-dark .dropdown-item.active {
    background: var(--tsi-accent);
    color: #fff;
}

.dropdown-menu-dark .dropdown-item i {
    opacity: 0.7;
}

.dropdown-menu-dark .dropdown-item:hover i,
.dropdown-menu-dark .dropdown-item.active i {
    opacity: 1;
}

.dropdown-menu-dark .dropdown-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 0.5rem 0;
}

/* Mobile Responsive */
@media (max-width: 991.98px) {
    .feature-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .service-hero {
        min-height: auto;
        padding: 120px 0 60px;
    }
    
    .min-vh-75 {
        min-height: auto;
    }
}

@media (max-width: 767.98px) {
    .service-hero-title {
        font-size: 2rem;
    }
    
    .solution-card,
    .mobility-card,
    .service-feature-card {
        padding: 1.5rem;
    }
}

/* ========================================
   Consultation Form Styles
======================================== */

/* Hero Section */
.consultation-hero {
    position: relative;
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--tsi-primary) 0%, var(--tsi-primary-light) 50%, #1a365d 100%);
}

.consultation-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 30% 50%, rgba(var(--tsi-accent-rgb), 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 30%, rgba(var(--tsi-secondary-rgb), 0.1) 0%, transparent 40%);
    pointer-events: none;
}

/* Form Section */
.consultation-form-section {
    background: var(--tsi-gray-100);
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.consultation-card {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .consultation-card {
        padding: 3rem;
    }
}

/* Progress Indicator */
.form-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--tsi-gray-200);
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.step-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tsi-gray-200);
    color: var(--tsi-gray-500);
    border-radius: 50%;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.step-label {
    font-size: 0.875rem;
    color: var(--tsi-gray-500);
    font-weight: 500;
    transition: all 0.3s ease;
}

.progress-step.active .step-number {
    background: var(--tsi-accent);
    color: #fff;
    box-shadow: 0 4px 12px rgba(var(--tsi-accent-rgb), 0.4);
}

.progress-step.active .step-label {
    color: var(--tsi-accent);
}

.progress-step.completed .step-number {
    background: var(--tsi-accent);
    color: #fff;
}

.progress-step.completed .step-number::after {
    content: "✓";
}

.progress-line {
    flex: 1;
    height: 3px;
    background: var(--tsi-gray-200);
    margin: 0 1rem;
    margin-bottom: 1.5rem;
    max-width: 100px;
    position: relative;
}

/* Mobile Progress */
.mobile-progress {
    text-align: center;
}

.mobile-progress-bar {
    height: 6px;
    background: var(--tsi-gray-200);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.mobile-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--tsi-accent) 0%, var(--tsi-accent-light) 100%);
    transition: width 0.4s ease;
    border-radius: 3px;
}

.mobile-progress-text {
    font-size: 0.875rem;
    color: var(--tsi-gray-500);
    font-weight: 500;
}

/* Form Steps */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-header {
    text-align: center;
}

.step-title {
    font-size: 1.5rem;
    color: var(--tsi-primary);
    margin-bottom: 0.5rem;
}

.step-title i {
    color: var(--tsi-accent);
}

.step-description {
    font-size: 0.9375rem;
}

/* Form Controls */
.form-floating > .form-control,
.form-floating > .form-select {
    border: 2px solid var(--tsi-gray-200);
    border-radius: 0.75rem;
    padding: 1rem 1rem;
    height: auto;
    min-height: 60px;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
    border-color: var(--tsi-accent);
    box-shadow: 0 0 0 4px rgba(var(--tsi-accent-rgb), 0.1);
}

.form-floating > label {
    padding: 1rem;
    color: var(--tsi-gray-500);
}

/* Fix for select dropdowns with floating labels */
.form-floating > .form-select {
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
}

/* When select is empty/placeholder - show label in normal position */
.form-floating > .form-select:invalid ~ label {
    transform: none;
    opacity: 1;
    padding: 1rem;
}

/* When select has a value - float the label up */
.form-floating > .form-select:not(:invalid) ~ label,
.form-floating > .form-select:focus ~ label {
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
    opacity: 0.65;
    background: #fff;
    padding: 0 0.5rem;
    margin-left: 0.5rem;
    height: auto;
}

/* Ensure proper z-index for form elements */
.form-floating {
    position: relative;
}

/* Style dropdown options */
.form-floating > .form-select option {
    padding: 10px;
    background: #fff;
    color: #333;
}

/* Hide the hidden placeholder option in the dropdown */
.form-floating > .form-select option[hidden] {
    display: none;
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #dc3545;
}

.form-text {
    font-size: 0.8125rem;
    color: var(--tsi-gray-500);
    margin-top: 0.5rem;
}

/* Services Grid (Checkboxes) */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 576px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-checkbox-card {
    position: relative;
    cursor: pointer;
}

.service-checkbox-card input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.service-checkbox-card .card-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #fff;
    border: 2px solid var(--tsi-gray-200);
    border-radius: 0.75rem;
    transition: all 0.2s ease;
}

.service-checkbox-card .card-content i {
    font-size: 1.5rem;
    color: var(--tsi-accent);
    flex-shrink: 0;
}

.service-checkbox-card .card-content span {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--tsi-gray-700);
}

.service-checkbox-card .check-indicator {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tsi-gray-200);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.2s ease;
}

.service-checkbox-card .check-indicator i {
    font-size: 0.875rem;
    color: #fff;
}

.service-checkbox-card:hover .card-content {
    border-color: var(--tsi-accent);
    background: rgba(var(--tsi-accent-rgb), 0.02);
}

.service-checkbox-card input:checked + .card-content {
    border-color: var(--tsi-accent);
    background: rgba(var(--tsi-accent-rgb), 0.05);
}

.service-checkbox-card input:checked ~ .check-indicator {
    opacity: 1;
    transform: scale(1);
    background: var(--tsi-accent);
}

/* Consent Checkbox */
.consent-check {
    padding: 1rem;
    background: var(--tsi-gray-100);
    border-radius: 0.75rem;
}

.consent-check .form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.125rem;
    border: 2px solid var(--tsi-gray-200);
}

.consent-check .form-check-input:checked {
    background-color: var(--tsi-accent);
    border-color: var(--tsi-accent);
}

.consent-check .form-check-label {
    font-size: 0.875rem;
    color: var(--tsi-gray-500);
    line-height: 1.5;
}

/* Step Actions */
.step-actions {
    padding-top: 1.5rem;
    border-top: 1px solid var(--tsi-gray-200);
}

/* Success State */
.form-success {
    text-align: center;
    padding: 3rem 1rem;
}

.success-icon {
    margin-bottom: 1.5rem;
}

.success-icon i {
    font-size: 5rem;
    color: var(--tsi-accent);
}

.form-success h3 {
    font-size: 1.75rem;
    color: var(--tsi-primary);
    margin-bottom: 0.75rem;
}

.form-success p {
    max-width: 400px;
    margin: 0 auto 1.5rem;
}

/* Contact Alternatives */
.alt-contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--tsi-gray-700);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.alt-contact-link:hover {
    color: var(--tsi-accent);
}

.alt-contact-link i {
    color: var(--tsi-accent);
}

/* Button Styles for Form */
.btn-outline-secondary {
    border-color: var(--tsi-gray-200);
    color: var(--tsi-gray-700);
}

.btn-outline-secondary:hover {
    background: var(--tsi-gray-100);
    border-color: var(--tsi-gray-200);
    color: var(--tsi-gray-700);
}

/* ========================================
   Contact Page Styles
======================================== */

/* Hero Section */
.contact-hero {
    position: relative;
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--tsi-primary) 0%, var(--tsi-primary-light) 50%, #1a365d 100%);
}

.contact-hero .service-badge {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    backdrop-filter: blur(10px);
}

.contact-hero .service-badge i {
    color: #fff;
}

.contact-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(var(--tsi-accent-rgb), 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 30%, rgba(var(--tsi-secondary-rgb), 0.1) 0%, transparent 40%);
    pointer-events: none;
}

/* Contact Section */
.contact-section {
    background: var(--tsi-gray-100);
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

/* Contact Info Wrapper */
.contact-info-wrapper {
    position: sticky;
    top: 100px;
}

.contact-info-card {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: #fff;
    border-radius: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--tsi-accent-rgb), 0.1);
    border-radius: 0.75rem;
    flex-shrink: 0;
}

.contact-info-icon i {
    font-size: 1.25rem;
    color: var(--tsi-accent);
}

.contact-info-content h5 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--tsi-primary);
}

.contact-info-content p {
    font-size: 0.9375rem;
    color: var(--tsi-gray-700);
    line-height: 1.6;
}

.contact-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
    font-size: 0.9375rem;
}

.contact-label {
    color: var(--tsi-gray-500);
    font-weight: 500;
}

.contact-detail a {
    color: var(--tsi-accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.contact-detail a:hover {
    color: var(--tsi-accent-dark);
    text-decoration: underline;
}

.contact-link {
    color: var(--tsi-accent);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: var(--tsi-accent-dark);
}

.contact-email {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(var(--tsi-accent-rgb), 0.1);
    border-radius: 0.5rem;
    color: var(--tsi-accent);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.contact-email:hover {
    background: var(--tsi-accent);
    color: #fff;
}

/* Contact Form Card */
.contact-form-card {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .contact-form-card {
        padding: 2.5rem;
    }
}

/* Map Section */
.map-section {
    position: relative;
}

.map-wrapper {
    position: relative;
}

.map-wrapper iframe {
    display: block;
    filter: grayscale(20%);
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 2rem;
}

.map-card {
    display: flex;
    gap: 1rem;
    background: #fff;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    pointer-events: auto;
    max-width: 320px;
}

.map-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tsi-accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.map-card-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.map-card-content h5 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--tsi-primary);
}

.map-card-content p {
    font-size: 0.875rem;
    color: var(--tsi-gray-500);
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* Mobile Adjustments */
@media (max-width: 991.98px) {
    .contact-info-wrapper {
        position: static;
        margin-bottom: 2rem;
    }
    
    .map-overlay {
        position: relative;
        padding: 0;
        margin-top: -60px;
        margin-bottom: 2rem;
        justify-content: center;
    }
    
    .map-card {
        margin: 0 1rem;
    }
}

@media (max-width: 575.98px) {
    .map-card {
        flex-direction: column;
        text-align: center;
        max-width: 100%;
    }
    
    .map-card-icon {
        margin: 0 auto;
    }
}

/* ========================================
   Hero Video Styles
======================================== */

.hero-video-wrapper {
    position: relative;
    margin-top: 2rem;
}

@media (min-width: 992px) {
    .hero-video-wrapper {
        margin-top: 0;
    }
}

.hero-video-container {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    background: var(--tsi-primary);
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio fallback for older browsers */
    height: 0;
    min-height: 200px; /* Minimum height fallback */
    aspect-ratio: 16 / 9;
}

/* Fallback for browsers that don't support aspect-ratio */
@supports not (aspect-ratio: 16 / 9) {
    .hero-video-container {
        height: auto;
        min-height: 300px;
    }
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 1rem;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 22, 40, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(2px);
    z-index: 2;
}

.video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.video-play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--tsi-accent);
    border: 4px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(23, 72, 126, 0.5);
    margin-bottom: 1rem;
    z-index: 3;
    cursor: pointer;
    position: relative;
}

.video-play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(23, 72, 126, 0.7);
    background: var(--tsi-accent-light);
}

.video-play-btn:active {
    transform: scale(0.95);
}

.video-label {
    color: #fff;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.video-caption {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.video-caption p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    margin: 0;
}

.video-caption i {
    color: var(--tsi-accent);
}

/* Mobile Optimizations */
@media (max-width: 991.98px) {
    .hero-video-wrapper {
        margin-top: 2rem;
    }
    
    .video-play-btn {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
    
    .video-label {
        font-size: 0.9375rem;
    }
    
    .video-caption {
        font-size: 0.8125rem;
    }
}

@media (max-width: 575.98px) {
    .hero-video-container {
        border-radius: 0.75rem;
    }
    
    .video-play-btn {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        border-width: 3px;
    }
    
    .video-label {
        font-size: 0.875rem;
    }
    
    .video-caption {
        padding: 0.625rem 0.875rem;
    }
}

/* ============================================
   Our Story Page Styles
   ============================================ */

/* Story Stats */
.story-visual-card {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(23, 72, 126, 0.05) 0%, rgba(23, 72, 126, 0.1) 100%);
    border-radius: 1rem;
    border: 1px solid rgba(23, 72, 126, 0.1);
}

.story-stat {
    text-align: center;
    padding: 1.5rem;
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(23, 72, 126, 0.15);
}

.story-stat-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--tsi-accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.story-stat-number span {
    font-size: 2rem;
    font-weight: 600;
}

.story-stat-label {
    font-size: 0.9375rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Value Cards */
.value-card {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(23, 72, 126, 0.1);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(23, 72, 126, 0.15);
}

.value-card.highlight-card {
    background: linear-gradient(135deg, var(--tsi-accent) 0%, var(--tsi-accent-light) 100%);
    color: #fff;
    border: none;
}

.value-card.highlight-card h4,
.value-card.highlight-card p,
.value-card.highlight-card .value-list li {
    color: #fff;
}

.value-icon {
    width: 60px;
    height: 60px;
    background: var(--tsi-accent);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    color: #fff;
}

.value-card.highlight-card .value-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.value-card h4 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.value-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.value-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.value-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.value-list li:before {
    content: "\f26e";
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    color: var(--tsi-accent);
    font-size: 0.875rem;
}

.value-card.highlight-card .value-list li:before {
    color: #fff;
}

/* Industry Cards */
.industry-card {
    background: #fff;
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(23, 72, 126, 0.1);
    height: 100%;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(23, 72, 126, 0.15);
}

.industry-card i {
    font-size: 3rem;
    color: var(--tsi-accent);
    margin-bottom: 1rem;
    display: block;
}

.industry-card h5 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

/* Branding Visual */
.branding-visual {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.branding-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease, transform 0.3s ease;
}

.branding-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.branding-icon {
    width: 50px;
    height: 50px;
    background: var(--tsi-accent);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    flex-shrink: 0;
}

.branding-item h4 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.branding-item p {
    margin: 0;
    line-height: 1.6;
}

/* Office Cards */
.office-card {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(23, 72, 126, 0.1);
    height: 100%;
    position: relative;
}

.office-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(23, 72, 126, 0.15);
}

.office-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--tsi-accent) 0%, var(--tsi-accent-light) 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #fff;
}

.office-card h4 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.office-address {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.office-phone {
    margin-bottom: 1rem;
}

.office-phone a {
    color: var(--tsi-accent);
    text-decoration: none;
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.office-phone a:hover {
    color: var(--tsi-accent-light);
}

.office-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--tsi-accent);
    color: #fff;
    border-radius: 2rem;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 1rem;
}

/* Mobile Responsive */
@media (max-width: 991.98px) {
    .story-visual-card {
        margin-top: 2rem;
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .story-stat {
        flex: 1;
        min-width: calc(50% - 1rem);
    }
    
    .branding-visual {
        margin-top: 2rem;
    }
}

@media (max-width: 767.98px) {
    .story-stat-number {
        font-size: 2.5rem;
    }
    
    .story-stat-number span {
        font-size: 1.5rem;
    }
    
    .value-card,
    .industry-card,
    .office-card {
        margin-bottom: 1.5rem;
    }
    
    .branding-item {
        flex-direction: column;
        text-align: center;
    }
    
    .branding-icon {
        margin: 0 auto;
    }
}

@media (max-width: 575.98px) {
    .story-visual-card {
        flex-direction: column;
    }
    
    .story-stat {
        min-width: 100%;
    }
    
    .story-stat-number {
        font-size: 2rem;
    }
    
    .value-icon,
    .office-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .industry-card i {
        font-size: 2.5rem;
    }
}

/* Our Story Hero Image */
.our-story-hero-image {
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out;
}

.our-story-hero-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border: 4px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.our-story-hero-image img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Our Story Image Wrapper */
.our-story-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
}

.our-story-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.our-story-image-wrapper:hover img {
    transform: scale(1.05);
}

.our-story-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(23, 72, 126, 0.1) 0%, rgba(23, 72, 126, 0.05) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Mobile Responsive for Our Story Images */
@media (max-width: 991.98px) {
    .our-story-hero-image {
        margin-top: 2rem;
    }
    
    .our-story-image-wrapper {
        margin-bottom: 2rem;
    }
}

@media (max-width: 767.98px) {
    .our-story-hero-image img {
        border-width: 2px;
    }
}

/* ========================================
   Media Resources Page Styles
======================================== */

/* Hero Section */
.media-hero {
    position: relative;
    overflow: hidden;
}

.media-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(11, 37, 69, 0.95) 0%, rgba(22, 78, 99, 0.9) 100%);
    z-index: 1;
}

.media-hero .container {
    z-index: 2;
}

.media-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.media-play-icon {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, var(--tsi-accent) 0%, var(--tsi-accent-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    box-shadow: 0 20px 60px rgba(23, 72, 126, 0.4);
    animation: mediaPulse 2s infinite;
}

@keyframes mediaPulse {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 0 20px 60px rgba(23, 72, 126, 0.4); 
    }
    50% { 
        transform: scale(1.05); 
        box-shadow: 0 25px 80px rgba(23, 72, 126, 0.5); 
    }
}

.media-floating-badge {
    position: absolute;
    bottom: 60px;
    right: 40px;
    background: white;
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.media-floating-badge .badge-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--tsi-primary);
    line-height: 1;
}

.media-floating-badge .badge-text {
    font-size: 0.875rem;
    color: var(--tsi-gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Featured Video Section */
.featured-video-wrapper {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.1);
}

.featured-video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.featured-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.featured-video-caption {
    padding: 20px 30px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-top: 1px solid #e2e8f0;
}

.video-play-indicator {
    width: 50px;
    height: 50px;
    background: var(--tsi-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

/* Video Cards Grid */
.video-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.video-card-featured {
    border: 2px solid var(--tsi-accent);
}

.video-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--tsi-accent);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 4px;
}

.video-card-thumbnail {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: var(--tsi-primary);
}

.video-card-thumbnail iframe,
.video-card-thumbnail video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-card-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.video-card-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--tsi-accent);
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.video-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--tsi-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.video-card-description {
    color: var(--tsi-gray-500);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.video-card-link {
    color: var(--tsi-accent);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.video-card-link:hover {
    color: var(--tsi-accent-dark);
    gap: 10px;
}

/* Media Stats Section */
.media-stat {
    padding: 20px;
}

.media-stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 8px;
}

.media-stat-number span {
    color: var(--tsi-accent);
}

.media-stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Media CTA Section */
.media-cta-section {
    background: linear-gradient(135deg, var(--tsi-primary) 0%, #0f3d5c 50%, #164e63 100%);
    position: relative;
    overflow: hidden;
}

.media-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: 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='%2317487e' fill-opacity='0.15'%3E%3Cpath d='m36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm-22 22v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.media-cta-content {
    position: relative;
    z-index: 2;
}

.media-cta-content .eyebrow {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.media-cta-content h2 {
    color: #ffffff;
}

.media-cta-content .lead {
    color: rgba(255, 255, 255, 0.8);
}

.media-cta-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.media-cta-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-weight: 500;
}

.media-cta-feature i {
    color: var(--tsi-highlight, #e8b923);
    font-size: 1.25rem;
}

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

/* CTA Card in Media Section */
.media-cta-section .cta-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

.media-cta-section .cta-card-header {
    background: var(--tsi-accent);
    color: #ffffff;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 1.1rem;
}

.media-cta-section .cta-card-header i {
    font-size: 1.5rem;
}

.media-cta-section .cta-card-body {
    padding: 24px;
    background: #ffffff;
}

.media-cta-section .cta-card-body .cta-contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #e2e8f0;
}

.media-cta-section .cta-card-body .cta-contact-item:last-child {
    border-bottom: none;
}

.media-cta-section .cta-card-body .cta-contact-item i {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--tsi-accent) 0%, var(--tsi-accent-dark) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.media-cta-section .cta-card-body .cta-contact-item small {
    display: block;
    color: var(--tsi-gray-500);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.media-cta-section .cta-card-body .cta-contact-item strong {
    color: var(--tsi-primary);
    font-size: 1rem;
}

/* Media Resources Responsive */
@media (max-width: 991.98px) {
    .media-hero-visual {
        display: none;
    }
    
    .media-stat-number {
        font-size: 2.5rem;
    }
    
    .featured-video-container {
        padding-bottom: 60%;
    }
}

@media (max-width: 767.98px) {
    .media-stat-number {
        font-size: 2rem;
    }
    
    .media-stat-label {
        font-size: 0.75rem;
    }
    
    .video-card-title {
        font-size: 1.1rem;
    }
    
    .media-cta-features {
        flex-direction: column;
        gap: 12px;
    }
    
    .media-cta-content h2 {
        font-size: 2rem;
    }
}

/* ========================================
   Legal Pages (Privacy Policy, Terms)
   Minimal custom CSS - uses Bootstrap utilities
======================================== */

/* Hero gradient background - Bootstrap doesn't provide this */
.legal-hero {
    background: linear-gradient(135deg, var(--tsi-primary) 0%, var(--tsi-primary-light) 50%, #1a365d 100%);
    padding-top: 120px; /* Account for fixed header */
    position: relative;
    overflow: hidden;
}

.legal-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(232, 185, 35, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(23, 72, 126, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

/* Custom text color utility - Bootstrap doesn't have our brand navy */
.text-primary-dark {
    color: var(--tsi-primary) !important;
}

/* ========================================
   Homepage SSE/Zero Trust Promo Section
======================================== */
.sse-promo-section {
    background: linear-gradient(135deg, #0c1929 0%, #1a1a2e 50%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.sse-promo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.sse-promo-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.sse-promo-shield {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid;
}

.promo-ring-1 {
    width: 280px;
    height: 280px;
    border-color: rgba(0, 212, 255, 0.15);
    animation: promoRingPulse 4s ease-in-out infinite;
}

.promo-ring-2 {
    width: 220px;
    height: 220px;
    border-color: rgba(124, 58, 237, 0.2);
    animation: promoRingPulse 4s ease-in-out infinite 0.5s;
}

.promo-ring-3 {
    width: 160px;
    height: 160px;
    border-color: rgba(0, 212, 255, 0.3);
    animation: promoRingPulse 4s ease-in-out infinite 1s;
}

@keyframes promoRingPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.6; }
}

.promo-shield-core {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 50%, #ec4899 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 60px rgba(0, 212, 255, 0.4);
    z-index: 2;
}

.promo-shield-core i {
    font-size: 2.5rem;
    color: #fff;
}

.sse-promo-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 50px;
    padding: 12px 24px;
    backdrop-filter: blur(10px);
}

.sse-promo-badge .netskope-logo {
    height: 24px;
    width: auto;
}

.sse-promo-badge .netskope-fallback {
    color: #00d4ff;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sse-promo-badge .partner-type {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-left: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.sse-eyebrow-light {
    display: inline-flex;
    align-items: center;
    color: #00d4ff;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.sse-feature-mini {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.sse-feature-mini:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 212, 255, 0.3);
}

.sse-feature-mini i {
    color: #00d4ff;
    font-size: 1.125rem;
}

.btn-sse-home-primary {
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.btn-sse-home-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.4);
    color: #fff;
}

.btn-sse-home-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-weight: 600;
    padding: 12px 26px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-sse-home-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

/* Text Hover Utility Class */
.text-hover-white:hover {
    color: #ffffff !important;
}

.text-hover-white:hover * {
    color: #ffffff !important;
}

/* Netskope Badge in Hero - High Contrast for Readability */
.netskope-badge {
    background: rgba(0, 212, 255, 0.25) !important;
    border-color: #00d4ff !important;
    border-width: 2px !important;
    color: #ffffff !important; /* White text for maximum readability */
    font-weight: 600;
    transition: all 0.3s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Override Bootstrap text-info, text-dark and all child elements */
.netskope-badge,
.netskope-badge.text-info,
.netskope-badge.text-dark,
.netskope-badge * {
    color: #ffffff !important;
}

.netskope-badge i {
    color: #00d4ff !important; /* Cyan icon for brand consistency */
    filter: drop-shadow(0 0 4px rgba(0, 212, 255, 0.8));
}

.netskope-badge:hover {
    background: rgba(0, 212, 255, 0.35) !important;
    border-color: #00ffff !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4), 0 0 30px rgba(0, 212, 255, 0.2);
}

.netskope-badge:hover,
.netskope-badge:hover * {
    color: #ffffff !important;
}

.netskope-badge:hover i {
    color: #00ffff !important;
    filter: drop-shadow(0 0 8px rgba(0, 255, 255, 1));
}

/* Footer New Link Style */
.footer-link-new {
    color: #00d4ff !important;
    font-weight: 500;
}

.footer-link-new:hover {
    color: #fff !important;
}

/* SSE Promo Responsive */
@media (max-width: 991.98px) {
    .sse-promo-shield {
        width: 220px;
        height: 220px;
    }
    
    .promo-ring-1 { width: 220px; height: 220px; }
    .promo-ring-2 { width: 170px; height: 170px; }
    .promo-ring-3 { width: 120px; height: 120px; }
    
    .promo-shield-core {
        width: 80px;
        height: 80px;
    }
    
    .promo-shield-core i {
        font-size: 2rem;
    }
}

@media (max-width: 575.98px) {
    .sse-promo-visual {
        margin-bottom: 2rem;
    }
    
    .sse-feature-mini {
        font-size: 0.8125rem;
        padding: 10px 12px;
    }
    
    .sse-promo-badge {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding: 16px 20px;
    }
    
    .sse-promo-badge .partner-type {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        padding-top: 8px;
    }
}
