:root {
    --primary-blue: #0e477b;
    --dark-blue: #0e477b;
    --light-blue: #eef2fa;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.text-primary-blue {
    color: var(--primary-blue);
}

.bg-primary-blue {
    background-color: var(--primary-blue);
}

.bg-light-blue {
    background-color: var(--light-blue);
}

/* Navbar Customization (Glassmorphism Pill) */
.navbar-glass {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1140px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 60px;
    padding: 0.5rem 1.5rem;
    z-index: 1050;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    /* Soft floating shadow */
    transition: all 0.3s ease;
}

.navbar-glass .nav-link {
    color: var(--text-dark) !important;
    font-weight: 600;
    padding: 0.6rem 1.25rem !important;
    font-size: 0.95rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.navbar-glass .nav-link:hover,
.navbar-glass .nav-link.active {
    background-color: rgba(14, 71, 123, 0.08);
    color: var(--primary-blue) !important;
}

.navbar-glass .navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-glass .navbar-toggler-icon {
    filter: invert(1);
}

.navbar-glass .btn-custom-light {
    background-color: var(--text-dark) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.navbar-glass .btn-custom-light:hover {
    background-color: var(--primary-blue) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 71, 123, 0.2);
}

.content-blur {
    filter: blur(8px);
    transition: filter 0.4s ease;
}

.navbar-brand img {
    height: 40px;
}

.nav-link {
    color: white !important;
    font-weight: 500;
    padding: 0.6rem 1.25rem !important;
    font-size: 0.95rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background-color: rgba(255, 255, 255, 0.15);
    opacity: 1;
}

.btn-custom-light {
    background-color: white;
    color: var(--primary-blue);
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-custom-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    color: var(--primary-blue);
}

.btn-custom-outline {
    background-color: transparent;
    color: white;
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    border: 2px solid white;
    transition: all 0.2s;
}

.btn-custom-outline:hover {
    background-color: white;
    color: #2287c9;
}

/* Global Utilities */
.section-padding {
    padding: 8rem 0;
}

.section-tag {
    color: #6fc055;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    display: inline-block;
    background: rgba(217, 119, 6, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
}

.section-title-huge {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
}

/* Hero Section (Home) */
.hero-section {
    background-color: var(--primary-blue);
    background-image: linear-gradient(135deg, #0e477b 0%, #2287c9 100%);
    color: white;
    padding: 12rem 0 8rem;
    position: relative;
    overflow: hidden;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.2s;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    opacity: 0;
    max-width: 600px;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.4s;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content .btn {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.6s;
}

/* Hero Section (About) */
.about-hero {
    padding: 8rem 0 6rem;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.about-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
    color: var(--text-dark);
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.hero-graphic {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transform: perspective(1000px) rotateY(-5deg);
}


/* Animated Rings */
.animated-rings {
    position: absolute;
    top: 50%;
    left: 70%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 0;
    pointer-events: none;
    animation: pulse-ring 8s infinite alternate ease-in-out;
}

.animated-rings::before,
.animated-rings::after,
.animated-rings .ring-inner {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.animated-rings::before {
    width: 600px;
    height: 600px;
    animation: spin-slow 20s linear infinite;
}

.animated-rings::after {
    width: 400px;
    height: 400px;
    animation: spin-slow 15s linear infinite reverse;
}

.animated-rings .ring-inner {
    width: 200px;
    height: 200px;
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(0.95);
        opacity: 0.7;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 1;
    }
}

@keyframes spin-slow {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Our Company Section */
.company-image-wrapper {
    background-color: var(--light-blue);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
}

.company-image-wrapper img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Services Grid */
.services-section {
    background-color: #0e477b;
    background-image: linear-gradient(135deg, #0e477b 0%, #2287c9 100%);
    color: white;
    position: relative;
    z-index: 1;
}

.service-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    color: white;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.service-icon {
    width: 50px;
    height: 50px;
    background: transparent;
    color: white;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 32px;
    height: 32px;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}

.services-section .section-title-huge {
    color: white;
}

.services-section .section-tag {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Mission Vision Section */
.mission-vision-section {
    background-color: #0e477b;
    background-image: linear-gradient(135deg, #0e477b 0%, #2287c9 100%);
    color: white;
    padding: 8rem 0;
    position: relative;
}

.mv-card {
    background: white;
    color: var(--text-dark);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    height: 100%;
    position: relative;
}

@media (min-width: 992px) {
    .mv-card.vision-card {
        margin-top: 4rem;
        margin-left: -2rem;
        z-index: 2;
    }

    .mv-card.mission-card {
        z-index: 1;
    }
}

.mv-icon {
    color: #6fc055;
    margin-bottom: 1.5rem;
}

.mv-icon svg {
    width: 40px;
    height: 40px;
}

.mv-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
}

.mv-list {
    padding-left: 1.2rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.mv-list li {
    margin-bottom: 0.8rem;
}

/* Values Grid Section */
.values-section {
    background: linear-gradient(to bottom, #f8fafc, #eef2fa);
    padding: 8rem 0;
}

.value-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(14, 71, 123, 0.08);
    border-color: rgba(14, 71, 123, 0.2);
}

.value-letter {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(14, 71, 123, 0.1);
    position: absolute;
    top: 20px;
    right: 30px;
    line-height: 1;
}

.value-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.value-icon {
    color: #6fc055;
    display: inline-flex;
}

.value-icon svg {
    width: 24px;
    height: 24px;
}

.value-desc {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

/* Testimonials Section */
.testimonials-section {
    background-color: #ffffff;
    color: var(--primary-blue);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.testimonial-card-wrapper {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 3rem;
    color: white;
}

.quote-icon {
    color: #6fc055;
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-style: italic;
}

.carousel-controls-custom {
    display: inline-flex;
    border: 1px solid rgba(35, 82, 181, 0.3);
    border-radius: 50px;
    overflow: hidden;
    margin-top: 2rem;
}

.carousel-controls-custom button {
    background: transparent;
    border: none;
    color: var(--primary-blue);
    padding: 0.8rem 1.4rem;
    transition: background 0.2s;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-controls-custom button:hover {
    background: rgba(35, 82, 181, 0.1);
}

.carousel-controls-custom button:first-child {
    border-right: 1px solid rgba(35, 82, 181, 0.3);
}

.carousel-controls-custom svg {
    width: 24px;
    height: 24px;
}

/* Stats Section */
.stat-number {
    font-size: 4rem;
    font-weight: 800;
    color: #6fc055;
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.stat-border {
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #6fc055 0%, #2287c9 100%);
    color: white;
    text-align: center;
}

/* Footer */
.footer {
    background-color: #101828;
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer-heading {
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    transition: color 0.2s;
}

.footer-link:hover {
    color: white;
}

/* Specific Styles for Services Page */
.services-hero {
    padding: 10rem 0 6rem;
    background-color: #f8fafc;
    /* Very light cool grey */
    position: relative;
    overflow: hidden;
}

.hero-huge-title {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.hero-huge-title span {
    color: var(--primary-blue);
}

.hero-floating-img {
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.15));
    border-radius: 20px;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

.sticky-sidebar {
    position: sticky;
    top: 120px;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.service-nav-link {
    display: block;
    padding: 1rem 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s;
    border-left: 4px solid transparent;
}

.service-nav-link:hover,
.service-nav-link.active {
    background-color: var(--light-blue);
    color: var(--primary-blue);
    border-left-color: var(--primary-blue);
}

.service-content-card {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    margin-bottom: 4rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.3s;
}

.service-content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(14, 71, 123, 0.08);
}

.service-content-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.service-content-img {
    width: 100%;
    border-radius: 16px;
    margin-bottom: 2rem;
    object-fit: cover;
    max-height: 350px;
}

.service-number {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(14, 71, 123, 0.05);
    /* very faint blue */
    position: absolute;
    top: 20px;
    right: 40px;
    line-height: 1;
}

/* Gradient Banner */
.gradient-banner {
    background: linear-gradient(135deg, #0e477b 0%, #2287c9 100%);
    color: white;
    border-radius: 24px;
    padding: 4rem;
    margin: 6rem 0;
    position: relative;
    overflow: hidden;
}

.gradient-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

/* =========================================================================
   Careers & Contact Page Components (Moved from Blades)
   ========================================================================= */
.careers-hero,
.contact-hero {
    padding: 10rem 0 6rem;
    background-color: #f8fafc;
    position: relative;
    overflow: hidden;
}

.hero-huge-title {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.hero-huge-title span {
    color: var(--primary-blue);
}

.careers-card {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.custom-input {
    border-radius: 12px;
    padding: 1rem 1.2rem;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    font-weight: 500;
    transition: all 0.3s;
}

.custom-input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(14, 71, 123, 0.1);
    background-color: white;
    outline: none;
}

.locations-section {
    background-color: #fce7d8;
    background: linear-gradient(135deg, #fcebe0 0%, #eef2fa 100%);
    padding: 8rem 0;
}

.location-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
}

.contact-floating-img {
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.15));
    border-radius: 40px;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* =========================================================================
   Bootstrap Global Overrides for Brand Colors
   ========================================================================= */

/* Primary Overrides */
.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

/* .btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--secondary-blue) !important;
    border-color: var(--secondary-blue) !important;
} */

.text-primary {
    color: var(--primary-blue) !important;
}

.bg-primary {
    background-color: var(--primary-blue) !important;
}

/* Success / Tertiary Overrides */
.btn-success {
    background-color: var(--tertiary-green);
    border-color: var(--tertiary-green);
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active {
    background-color: #5aa145 !important;
    /* Slightly darker shade for hover */
    border-color: #5aa145 !important;
}

.text-success {
    color: var(--tertiary-green) !important;
}

.bg-success {
    background-color: var(--tertiary-green) !important;
}

/* Global Link Hover */
a {
    color: var(--secondary-blue);
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-blue);
}

/* Exception for Navbar / Footer links to stay intact without overriding */
.nav-link,
.footer-link,
.btn {
    text-decoration: none;
}

.navbar-brand:hover {
    color: inherit;
}

::selection {
    background-color: var(--primary-blue);
    color: white;
}

/* Policy Pages Shared CSS */
.policy-wrapper {
    position: relative;
    overflow: hidden;
    background-color: #f8f9fa;
}

.glass-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 1.25rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.bg-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.08) 0%, rgba(13, 110, 253, 0) 70%);
    z-index: 0;
    animation: blobFloat 10s ease-in-out infinite;
}

.bg-blob-1 {
    top: -10%;
    left: -20%;
}

.bg-blob-2 {
    bottom: -10%;
    right: -20%;
    animation-direction: reverse;
    background: radial-gradient(circle, rgba(23, 162, 184, 0.08) 0%, rgba(23, 162, 184, 0) 70%);
}

@keyframes blobFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.reveal-item {
    opacity: 0;
    transform: translateY(20px);
    animation: revealUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes revealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-block {
    padding-left: 1.5rem;
    border-left: 3px solid rgba(13, 110, 253, 0.2);
    margin-bottom: 2.5rem;
    transition: border-color 0.3s;
}

.content-block:hover {
    border-left-color: rgba(13, 110, 253, 0.8);
}

/* Smooth Scrolling & Full Viewport Sections */
html {
    scroll-behavior: smooth;
}

section:not(.footer, .no-100vh, .hero-section) {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Go To Top Button */
#goToTopBtn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1050;
    border: none;
    outline: none;
    background-color: var(--primary-blue);
    color: white;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, transform 0.3s;
    align-items: center;
    justify-content: center;
}

#goToTopBtn:hover {
    background-color: #2287c9;
    transform: translateY(-5px);
}

/* Go To Top Button Hover Fix */
#goToTopBtn:hover {
    background-color: var(--primary-blue) !important;
    transform: translateY(-5px) scale(1.1) !important;
    opacity: 1 !important;
}

/* Mobile Menu Fixes */
.navbar-toggler {
    border-color: var(--primary-blue) !important;
}

.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='rgb(35, 82, 181)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        z-index: 1040;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
    }
}

/* Redesigned Counter Section */
.counter-floating-wrapper {
    position: relative;
    z-index: 10;
    margin-top: -80px;
    margin-bottom: -80px;
}

.counter-card {
    background-color: #0e477b;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    padding: 40px 20px;
    width: 80%;
    margin: 0 auto;
    color: white;
}

.counter-card .stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

.counter-card .stat-text {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.counter-divider {
    border-right: 1px dashed rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .counter-card {
        width: 95%;
    }

    .counter-divider {
        border-right: none;
        border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
        margin-bottom: 20px;
        padding-bottom: 20px;
    }
}

/* Fix white gap around counter section */
.services-section {
    padding-bottom: 200px !important;
}

.testimonials-section {
    padding-top: 200px !important;
}

/* Testimonial Glassmorphism Cards */
.testimonial-card-wrapper {
    background: rgba(35, 82, 181, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(35, 82, 181, 0.1);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    color: var(--primary-blue);
}

.testimonial-card-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

.quote-icon {
    font-size: 4rem;
    line-height: 1;
    color: rgba(35, 82, 181, 0.3);
    font-family: Georgia, serif;
    margin-bottom: 10px;
}

.testimonial-text {
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.8;
    font-style: italic;
    color: #1f2937;
}

.testimonial-card-wrapper .avatar-circle {
    width: 50px;
    height: 50px;
    background: rgba(35, 82, 181, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary-blue);
    font-size: 1.1rem;
}

/* Smooth carousel transition */
.carousel-item {
    transition: transform 0.8s ease-in-out, opacity 0.8s ease-in-out;
}

/* =========================================================================
   intl-tel-input Custom Styles (Contact Form)
   ========================================================================= */
.iti {
    width: 100%;
}

.iti .iti__tel-input {
    height: 56px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 1.2rem 14px 52px;
    font-size: 1rem;
    font-weight: 500;
    background-color: #f8fafc;
    transition: all 0.3s;
    width: 100%;
}

.iti .iti__tel-input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(14, 71, 123, 0.1);
    background-color: white;
    outline: none;
}

.iti .iti__tel-input::placeholder {
    color: #9ca3af;
}

.iti__country-container {
    border-radius: 12px 0 0 12px;
}

.iti__selected-country-primary {
    border-radius: 12px 0 0 12px;
    padding-left: 14px;
}

/* =========================================================================
   Select2 Custom Styles (Country Dropdown)
   ========================================================================= */
.select2-container .select2-selection--single {
    height: 56px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 1.2rem;
    background-color: #f8fafc;
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: all 0.3s;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 56px;
    right: 15px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #1f2937;
    padding-left: 0;
}

.select2-container--open .select2-selection--single {
    border-color: var(--primary-blue) !important;
    box-shadow: 0 0 0 4px rgba(14, 71, 123, 0.1) !important;
    background-color: white !important;
}

/* =========================================================================
   Scroll Reveal Animations (IntersectionObserver)
   ========================================================================= */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
        transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
        transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.scroll-reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
        transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.scroll-reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger delay utilities */
.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

.reveal-delay-5 {
    transition-delay: 0.5s;
}

/* =========================================================================
   MOBILE RESPONSIVENESS – Global Fix
   Resolves horizontal overflow and layout issues on small screens
   ========================================================================= */

/* --- Tablet (max 991px) --- */
@media (max-width: 991px) {

    /* Navbar: constrain pill width so it doesn't overflow viewport */
    .navbar-glass {
        top: 10px;
        width: calc(100% - 2rem);
        padding: 0.4rem 1rem;
        border-radius: 16px;
    }

    /* Section title: scale down from 3.5rem */
    .section-title-huge {
        font-size: 2.75rem;
    }

    /* Hero title: home page */
    .hero-title {
        font-size: 3rem;
    }

    /* Hero title: about page */
    .about-title {
        font-size: 2.8rem;
    }

    /* Hero huge titles: services/careers/contact pages */
    .hero-huge-title {
        font-size: 3.5rem;
    }

    /* Remove perspective tilt on hero graphic so it doesn't bleed sideways */
    .hero-graphic {
        transform: none;
    }

    /* Mission-Vision section: remove overlapping negative margin on vision card */
    .mv-card.vision-card {
        margin-top: 0 !important;
        margin-left: 0 !important;
    }
}

/* --- Mobile (max 767px) --- */
@media (max-width: 767px) {

    /* Fix 1: Animated rings – the 800px ring bleeds far outside the mobile screen.
       Hide them entirely on mobile to eliminate the primary horizontal overflow. */
    .animated-rings {
        display: none !important;
    }

    /* Fix 2: Section padding – reduce from 8rem to 3.5rem on mobile */
    .section-padding {
        padding: 3.5rem 0;
    }

    /* Fix 3: Hero section padding */
    .hero-section {
        padding: 8rem 0 4rem;
    }

    /* Fix 4: About hero padding */
    .about-hero {
        padding: 6rem 0 3rem;
    }

    /* Fix 5: Section-title-huge – scale down to 1.9rem on small phones */
    .section-title-huge {
        font-size: 1.9rem;
        margin-bottom: 1.25rem;
    }

    /* Fix 6: Hero titles */
    .hero-title {
        font-size: 2.4rem;
    }

    .about-title {
        font-size: 2.2rem;
    }

    .hero-huge-title {
        font-size: 2.5rem;
    }

    /* Fix 7: Mission-Vision section padding */
    .mission-vision-section {
        padding: 4rem 0;
    }

    /* Mission-Vision cards: reduce padding on small screens */
    .mv-card {
        padding: 2rem;
    }

    .mv-title {
        font-size: 1.6rem;
    }

    /* Fix 8: Values section padding */
    .values-section {
        padding: 4rem 0;
    }

    /* Fix 9: Value cards – reduce padding */
    .value-card {
        padding: 2rem 1.5rem;
    }

    /* Fix 10: Service content cards – reduce padding */
    .service-content-card {
        padding: 2rem 1.5rem;
    }

    /* Fix 11: Careers card – reduce padding */
    .careers-card {
        padding: 2rem 1.5rem;
    }

    /* Fix 12: Location card – reduce padding */
    .location-card {
        padding: 2rem 1.5rem;
    }

    /* Fix 13: Gradient banner – reduce padding */
    .gradient-banner {
        padding: 2.5rem 2rem;
        margin: 3rem 0;
    }

    /* Fix 14: Counter floating wrapper – remove negative margins that clip on mobile */
    .counter-floating-wrapper {
        margin-top: 0;
        margin-bottom: 0;
        padding: 2rem 0;
    }

    /* Fix 15: Services section override – remove excess padding-bottom that accounts
       for the counter overlap (only needed on desktop) */
    .services-section {
        padding-bottom: 4rem !important;
    }

    /* Fix 16: Testimonials section override – remove excess padding-top */
    .testimonials-section {
        padding-top: 4rem !important;
    }

    /* Fix 17: Testimonial card padding */
    .testimonial-card-wrapper {
        padding: 2rem 1.5rem;
    }

    /* Fix 18: Careers/Contact hero padding */
    .careers-hero,
    .contact-hero {
        padding: 7rem 0 3rem;
    }

    /* Fix 19: Services hero padding */
    .services-hero {
        padding: 7rem 0 3rem;
    }

    /* Fix 20: Footer – add proper spacing between columns on mobile */
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer .col-lg-4,
    .footer .col-lg-2,
    .footer .col-md-4 {
        margin-bottom: 1.5rem;
    }

    /* Fix 21: Sticky sidebar – disable sticky on mobile (would block content) */
    .sticky-sidebar {
        position: static;
    }

    /* Fix 22: Counter card dividers – already handled but ensure correct stacking */
    .counter-divider {
        border-right: none;
        border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
    }

    /* Fix 23: Go-to-top button – move slightly for smaller screens */
    #goToTopBtn {
        right: 15px;
        bottom: 20px;
        width: 42px;
        height: 42px;
        font-size: 15px;
    }
}

/* --- Very small phones (max 400px) --- */
@media (max-width: 400px) {
    .section-title-huge {
        font-size: 1.65rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .about-title {
        font-size: 1.9rem;
    }

    .hero-huge-title {
        font-size: 2.1rem;
    }

    .navbar-glass {
        width: calc(100% - 1rem);
        border-radius: 12px;
        top: 8px;
    }
}

/* =========================================================================
   BAS Graphics – Carousel
   ========================================================================= */
.bas-graphics-carousel {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.bas-carousel-img {
    height: 380px;
    object-fit: contain;
    border-radius: 0;
    margin-bottom: 0;
    cursor: zoom-in;
    transition: transform 0.4s ease;
}

.bas-carousel-img:hover {
    transform: scale(1.02);
}

/* Tinted control buttons for better contrast on light images */
.bas-graphics-carousel .carousel-control-prev,
.bas-graphics-carousel .carousel-control-next {
    width: 48px;
    height: 48px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(14, 71, 123, 0.65);
    border-radius: 50%;
    opacity: 1;
    margin: 0 0.75rem;
}

.bas-graphics-carousel .carousel-control-prev-icon,
.bas-graphics-carousel .carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

.bas-graphics-carousel .carousel-indicators [data-bs-slide-to] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(14, 71, 123, 0.4);
    border: 0;
    margin: 0 4px;
    transition: background-color 0.3s;
}

.bas-graphics-carousel .carousel-indicators .active {
    background-color: var(--primary-blue);
    transform: scale(1.3);
}

/* =========================================================================
   Lightbox Overlay
   ========================================================================= */
.sinteg-lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(5, 10, 20, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    animation: lightboxFadeIn 0.25s ease forwards;
    cursor: zoom-out;
}

.sinteg-lightbox-overlay.active {
    display: flex;
}

@keyframes lightboxFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.sinteg-lightbox-img-wrap {
    max-width: 90vw;
    max-height: 80vh;
    position: relative;
    animation: lightboxZoomIn 0.28s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes lightboxZoomIn {
    from {
        transform: scale(0.85);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.sinteg-lightbox-img-wrap img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    display: block;
    object-fit: contain;
}

.sinteg-lightbox-caption {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    margin-top: 1rem;
    text-align: center;
    font-weight: 500;
    letter-spacing: 0.03em;
}

.sinteg-lightbox-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: white;
    border: none;
    font-size: 1.1rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: background 0.2s, transform 0.2s;
    z-index: 10001;
}

.sinteg-lightbox-close:hover {
    background: #e53e3e;
    transform: scale(1.1);
}

/* Lightbox image smooth transition */
#sinteg-lightbox-img {
    transition: opacity 0.15s ease, transform 0.15s ease;
}

/* Lightbox nav arrows (prev / next) */
.sinteg-lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10002;
    transition: background 0.2s, transform 0.2s, border-color 0.2s;
    padding: 0;
    flex-shrink: 0;
    user-select: none;
    -webkit-user-select: none;
}

.sinteg-lb-nav:hover {
    background: rgba(35, 82, 181, 0.7);
    border-color: rgba(35, 82, 181, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.sinteg-lb-prev {
    left: 24px;
}

.sinteg-lb-next {
    right: 24px;
}

/* Image counter pill  (e.g. "2 / 4") */
.sinteg-lb-counter {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(35, 82, 181, 0.85);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 3px 12px;
    border-radius: 20px;
    white-space: nowrap;
    z-index: 10001;
    pointer-events: none;
}

@media (max-width: 600px) {
    .sinteg-lb-nav {
        width: 44px;
        height: 44px;
    }
    .sinteg-lb-prev { left: 8px; }
    .sinteg-lb-next { right: 8px; }
}