/* Custom styles for QPSIT website */

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a1628 0%, #1a365d 100%);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo {
    width: 120px;
    height: auto;
    animation: preloaderPulse 1.5s ease-in-out infinite;
    margin-bottom: 30px;
}

@keyframes preloaderPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    position: relative;
}

.preloader-spinner::before,
.preloader-spinner::after {
    content: '';
    position: absolute;
    border-radius: 50%;
}

.preloader-spinner::before {
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: var(--accent-cyan);
    border-right-color: var(--accent-purple);
    animation: spinnerRotate 1s linear infinite;
}

.preloader-spinner::after {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    border: 3px solid transparent;
    border-bottom-color: var(--accent-cyan);
    border-left-color: var(--accent-purple);
    animation: spinnerRotate 0.8s linear infinite reverse;
}

@keyframes spinnerRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.preloader-text {
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    margin-top: 20px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.preloader-text span {
    display: inline-block;
    animation: preloaderTextWave 1.5s ease-in-out infinite;
}

.preloader-text span:nth-child(1) { animation-delay: 0s; }
.preloader-text span:nth-child(2) { animation-delay: 0.1s; }
.preloader-text span:nth-child(3) { animation-delay: 0.2s; }
.preloader-text span:nth-child(4) { animation-delay: 0.3s; }
.preloader-text span:nth-child(5) { animation-delay: 0.4s; }
.preloader-text span:nth-child(6) { animation-delay: 0.5s; }
.preloader-text span:nth-child(7) { animation-delay: 0.6s; }

@keyframes preloaderTextWave {
    0%, 100% { transform: translateY(0); opacity: 0.7; }
    50% { transform: translateY(-5px); opacity: 1; }
}

/* ===== CUSTOM CURSOR ===== */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-cyan);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transition: transform 0.15s ease, width 0.2s ease, height 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}

.custom-cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--accent-purple);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transition: transform 0.05s ease, opacity 0.2s ease;
    transform: translate(-50%, -50%);
}

.custom-cursor.hover {
    width: 50px;
    height: 50px;
    background: rgba(6, 182, 212, 0.1);
    border-color: var(--accent-purple);
}

.custom-cursor.hover-btn {
    width: 60px;
    height: 60px;
    background: rgba(139, 92, 246, 0.15);
    border-color: var(--accent-cyan);
    border-width: 3px;
}

.custom-cursor.click {
    transform: translate(-50%, -50%) scale(0.8);
}

.custom-cursor-dot.hidden {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
}

/* Hide custom cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
    .custom-cursor,
    .custom-cursor-dot {
        display: none !important;
    }
}

/* ===== TEXT REVEAL ANIMATIONS ===== */
.text-reveal {
    overflow: hidden;
}

.text-reveal .word {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease;
}

.text-reveal.visible .word {
    transform: translateY(0);
    opacity: 1;
}

/* Staggered delays for words */
.text-reveal.visible .word:nth-child(1) { transition-delay: 0s; }
.text-reveal.visible .word:nth-child(2) { transition-delay: 0.05s; }
.text-reveal.visible .word:nth-child(3) { transition-delay: 0.1s; }
.text-reveal.visible .word:nth-child(4) { transition-delay: 0.15s; }
.text-reveal.visible .word:nth-child(5) { transition-delay: 0.2s; }
.text-reveal.visible .word:nth-child(6) { transition-delay: 0.25s; }
.text-reveal.visible .word:nth-child(7) { transition-delay: 0.3s; }
.text-reveal.visible .word:nth-child(8) { transition-delay: 0.35s; }
.text-reveal.visible .word:nth-child(9) { transition-delay: 0.4s; }
.text-reveal.visible .word:nth-child(10) { transition-delay: 0.45s; }
.text-reveal.visible .word:nth-child(11) { transition-delay: 0.5s; }
.text-reveal.visible .word:nth-child(12) { transition-delay: 0.55s; }

/* Letter by letter animation */
.letter-reveal {
    overflow: hidden;
}

.letter-reveal .letter {
    display: inline-block;
    transform: translateY(100%) rotateX(-90deg);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
    transform-origin: bottom;
}

.letter-reveal.visible .letter {
    transform: translateY(0) rotateX(0);
    opacity: 1;
}

/* Generate staggered delays for letters */
.letter-reveal.visible .letter:nth-child(1) { transition-delay: 0.02s; }
.letter-reveal.visible .letter:nth-child(2) { transition-delay: 0.04s; }
.letter-reveal.visible .letter:nth-child(3) { transition-delay: 0.06s; }
.letter-reveal.visible .letter:nth-child(4) { transition-delay: 0.08s; }
.letter-reveal.visible .letter:nth-child(5) { transition-delay: 0.1s; }
.letter-reveal.visible .letter:nth-child(6) { transition-delay: 0.12s; }
.letter-reveal.visible .letter:nth-child(7) { transition-delay: 0.14s; }
.letter-reveal.visible .letter:nth-child(8) { transition-delay: 0.16s; }
.letter-reveal.visible .letter:nth-child(9) { transition-delay: 0.18s; }
.letter-reveal.visible .letter:nth-child(10) { transition-delay: 0.2s; }
.letter-reveal.visible .letter:nth-child(11) { transition-delay: 0.22s; }
.letter-reveal.visible .letter:nth-child(12) { transition-delay: 0.24s; }
.letter-reveal.visible .letter:nth-child(13) { transition-delay: 0.26s; }
.letter-reveal.visible .letter:nth-child(14) { transition-delay: 0.28s; }
.letter-reveal.visible .letter:nth-child(15) { transition-delay: 0.3s; }
.letter-reveal.visible .letter:nth-child(16) { transition-delay: 0.32s; }
.letter-reveal.visible .letter:nth-child(17) { transition-delay: 0.34s; }
.letter-reveal.visible .letter:nth-child(18) { transition-delay: 0.36s; }
.letter-reveal.visible .letter:nth-child(19) { transition-delay: 0.38s; }
.letter-reveal.visible .letter:nth-child(20) { transition-delay: 0.4s; }
.letter-reveal.visible .letter:nth-child(21) { transition-delay: 0.42s; }
.letter-reveal.visible .letter:nth-child(22) { transition-delay: 0.44s; }
.letter-reveal.visible .letter:nth-child(23) { transition-delay: 0.46s; }
.letter-reveal.visible .letter:nth-child(24) { transition-delay: 0.48s; }
.letter-reveal.visible .letter:nth-child(25) { transition-delay: 0.5s; }

/* Slide up reveal for paragraphs */
.slide-up-reveal {
    transform: translateY(40px);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.8s ease;
}

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

/* Scale reveal animation */
.scale-reveal {
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease;
}

.scale-reveal.visible {
    transform: scale(1);
    opacity: 1;
}

/* Blur reveal animation */
.blur-reveal {
    filter: blur(10px);
    opacity: 0;
    transition: filter 0.8s ease, opacity 0.8s ease;
}

.blur-reveal.visible {
    filter: blur(0);
    opacity: 1;
}

/* ===== CSS VARIABLES ===== */
:root {
    --primary-dark: #0a1628;
    --primary-mid: #1a365d;
    --primary-light: #234e82;
    --accent-blue: #4a90d9;
    --accent-cyan: #06b6d4;
    --accent-purple: #8b5cf6;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.18);
    /* Font Families */
    --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
    --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

html {
    overflow-x: hidden;
}

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple), var(--accent-blue));
    z-index: 9999;
    transition: width 0.1s ease;
}

body {
    font-family: var(--font-primary);
    line-height: 1.7;
    color: #333;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    max-width: 100%;
    font-weight: 400;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container, .container-fluid, section, header, footer {
    max-width: 100%;
    overflow-x: hidden;
    padding-left: 15px;
    padding-right: 15px;
}

/* Desktop content containers - only constrain specific content areas */
@media (min-width: 992px) {
    /* Content sections that benefit from centered, constrained layout */
    .stats-section .container,
    .cta-section .container,
    .mission-vision-section .container,
    .why-section .container,
    .team-section .container,
    .benefits-section .container,
    .contact-form-card,
    .footer .container,
    .section-padding .container,
    .page-hero .container {
        max-width: 1140px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 20px;
        padding-right: 20px;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

/* Display headings - extra bold and impactful */
h1 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.04em;
}

h2 {
    font-family: var(--font-heading);
    letter-spacing: -0.025em;
}

/* Lead text enhancement */
.lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: -0.01em;
    color: #555;
}

/* Text utilities */
.text-gradient {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-uppercase-spaced {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    font-size: 0.85rem;
}

.hero {
    background: linear-gradient(135deg, #0a1628 0%, #1a365d 50%, #234e82 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    color: #ffffff;
}

/* Animated gradient overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 80%, rgba(74, 144, 217, 0.15) 0%, transparent 50%);
    animation: gradientPulse 8s ease-in-out infinite;
}

@keyframes gradientPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

/* Floating geometric shapes */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02));
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255,255,255,0.1);
}

.hero-shape:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    left: -5%;
    animation: floatShape1 15s ease-in-out infinite;
}

.hero-shape:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 60%;
    right: -3%;
    animation: floatShape2 12s ease-in-out infinite;
}

.hero-shape:nth-child(3) {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 30%;
    animation: floatShape3 10s ease-in-out infinite;
}

.hero-shape:nth-child(4) {
    width: 80px;
    height: 80px;
    top: 20%;
    right: 20%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morphShape 8s ease-in-out infinite;
}

.hero-shape:nth-child(5) {
    width: 120px;
    height: 120px;
    bottom: 30%;
    right: 35%;
    animation: floatShape1 18s ease-in-out infinite reverse;
}

@keyframes floatShape1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -30px) rotate(90deg); }
    50% { transform: translate(60px, 0) rotate(180deg); }
    75% { transform: translate(30px, 30px) rotate(270deg); }
}

@keyframes floatShape2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-40px, -20px) scale(1.1); }
}

@keyframes floatShape3 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

@keyframes morphShape {
    0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
    50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
    75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
}

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

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
    color: #ffffff;
    text-shadow: 0 4px 30px rgba(0,0,0,0.3);
    letter-spacing: -0.04em;
    line-height: 1.1;
}

/* Animated gradient text */
.gradient-text {
    background: linear-gradient(90deg, #ffffff, var(--accent-cyan), var(--accent-purple), #ffffff);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientText 6s ease-in-out infinite;
}

@keyframes gradientText {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Typewriter cursor */
.typewriter-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: var(--accent-cyan);
    margin-left: 5px;
    animation: blink 1s step-end infinite;
    vertical-align: middle;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.3s both;
    color: rgba(255,255,255,0.95);
}

.hero .btn {
    animation: fadeInUp 1s ease-out 0.6s both;
}

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

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.98) 0%, rgba(26, 54, 93, 0.98) 100%);
    backdrop-filter: blur(10px);
}

.navbar.navbar-scrolled {
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    padding: 10px 18px !important;
    margin: 0 2px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.navbar .nav-link:hover {
    color: white !important;
    background: rgba(255,255,255,0.15);
}

.navbar .nav-link.active {
    color: white !important;
    background: rgba(255,255,255,0.2);
}

.card {
    margin-bottom: 30px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
    animation: fadeInUp 1s ease-out both;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6) { animation-delay: 0.6s; }

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

.btn {
    font-family: var(--font-primary);
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

/* Ripple effect on click */
.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::after {
    width: 300px;
    height: 300px;
    opacity: 0;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-mid) 0%, var(--primary-light) 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-mid) 0%, var(--primary-dark) 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(26, 54, 93, 0.4);
}

/* Service card button - matches card hover gradient */
.service-card .btn-outline-primary {
    background: transparent;
    border: 2px solid var(--primary-mid);
    color: var(--primary-mid);
}

.service-card:hover .btn-outline-primary,
.service-card:hover .btn-outline-primary:hover,
.service-card:hover .btn-outline-primary:focus {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%) !important;
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.3) !important;
    border-color: transparent !important;
    color: white !important;
}

.service-card:hover .btn-outline-primary::before {
    display: none;
}

/* Glassmorphism button style */
.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: white;
}

.btn-light {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
}

.btn-light:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.5);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255,255,255,0.1);
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--primary-mid);
    color: var(--primary-mid);
    position: relative;
    z-index: 1;
}

.btn-outline-primary::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 0 !important;
    height: 100% !important;
    background: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 100%) !important;
    transition: width 0.3s ease !important;
    z-index: -1 !important;
    border-radius: 23px !important;
}

.btn-outline-primary:hover::before {
    width: 100% !important;
}

.btn-outline-primary:hover {
    border-color: #06b6d4 !important;
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.3) !important;
    background: transparent !important;
}

/* Glow button effect */
.btn-glow {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    border: none;
    color: white;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(6, 182, 212, 0.5), 0 0 80px rgba(139, 92, 246, 0.3);
    color: white;
}

/* ===== SERVICE LIST (Homepage) ===== */
.service-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.service-list-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

/* Animated gradient line on left */
.service-list-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--accent-cyan), var(--accent-purple));
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.service-list-item:hover::before {
    transform: scaleY(1);
}

.service-list-item:hover {
    transform: translateX(15px);
    box-shadow: 0 15px 40px rgba(26, 54, 93, 0.15);
    border-color: transparent;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.service-list-item i {
    font-size: 1.5rem;
    color: var(--primary-mid);
    transition: all 0.4s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 54, 93, 0.1);
    border-radius: 10px;
}

.service-list-item:hover i {
    color: white;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    transform: rotate(360deg);
}

.service-list-item span {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.service-list-item:hover span {
    color: var(--primary-mid);
}

/* ===== INDUSTRY SECTION ===== */
.industry-section {
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.95) 0%, rgba(26, 54, 93, 0.95) 100%),
                url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1200&fit=crop') center/cover;
    padding: 80px 0;
    color: white;
}

.industry-subtitle {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.industry-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    font-style: italic;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.industry-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 35px 25px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    min-height: 160px;
    position: relative;
    overflow: hidden;
}

/* Shimmer effect on hover */
.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    transition: left 0.5s ease;
}

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

.industry-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.industry-card:hover::after {
    transform: scaleX(1);
}

.industry-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}

.industry-card i {
    font-size: 2.8rem;
    color: var(--primary-mid);
    margin-bottom: 15px;
    transition: all 0.4s ease;
}

.industry-card:hover i {
    color: var(--accent-cyan);
    transform: scale(1.2);
}

.industry-card span {
    font-size: 1.05rem;
    font-weight: 600;
    color: #333;
    transition: color 0.3s ease;
}

.industry-card:hover span {
    color: var(--primary-mid);
}

/* ===== FOOTER ===== */
footer {
    background: linear-gradient(135deg, #0a1628 0%, #1a365d 100%);
    color: white;
    padding: 60px 0 0 60px;
    /* margin-top: 80px; */
}

.footer-brand {
    padding-right: 30px;
}

.footer-desc {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #234e82;
    transform: translateY(-3px);
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

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

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-menu a:hover {
    color: white;
    padding-left: 5px;
}

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

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.footer-contact li i {
    color: #4a90d9;
    font-size: 1rem;
    margin-top: 3px;
}

.footer-bottom {
    margin-top: 50px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: linear-gradient(45deg, #ffffff, #4a90d9);
    color: #1a365d;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 40px 0;
}

.copyright {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.footer-bottom-links li {
    display: inline;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

.section-padding {
    padding: 80px;
}

.testimonial-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    animation: slideInLeft 1s ease-out both;
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.3s; }
.testimonial-card:nth-child(3) { animation-delay: 0.5s; }

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

.stats-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-mid) 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Animated background for stats */
.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 40%);
    animation: statsGlow 10s ease-in-out infinite alternate;
}

@keyframes statsGlow {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.stat-item {
    text-align: center;
    margin: 20px 0;
    animation: bounceIn 1s ease-out both;
    position: relative;
    z-index: 1;
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: inline-block;
    background: linear-gradient(135deg, #ffffff, var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    letter-spacing: -0.03em;
}

/* Glow effect behind stat numbers */
.stat-number::after {
    content: attr(data-value);
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(20px);
    opacity: 0.5;
    z-index: -1;
}

.stat-item p {
    font-size: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Animated counter class */
.counter-animated {
    transition: all 0.3s ease;
}

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

.cta-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Animated blobs in CTA section */
.cta-section::before,
.cta-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
}

.cta-section::before {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.3), rgba(139, 92, 246, 0.3));
    top: -100px;
    left: -100px;
    animation: blobFloat 15s ease-in-out infinite;
}

.cta-section::after {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(74, 144, 217, 0.3), rgba(6, 182, 212, 0.3));
    bottom: -80px;
    right: -80px;
    animation: blobFloat 12s ease-in-out infinite reverse;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    letter-spacing: -0.03em;
}

.cta-section p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 30px;
    animation: zoomIn 1s ease-out both;
}

.portfolio-item:nth-child(1) { animation-delay: 0.1s; }
.portfolio-item:nth-child(2) { animation-delay: 0.2s; }
.portfolio-item:nth-child(3) { animation-delay: 0.3s; }

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.navbar-scrolled {
    background: linear-gradient(135deg, #0a1628 0%, #1a365d 100%) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(26, 54, 93, 0.3);
}

/* ===== PAGE HERO SECTIONS ===== */
.page-hero {
    background: linear-gradient(135deg, #0a1628 0%, #1a365d 50%, #234e82 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="60" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    opacity: 0.5;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: 3.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out;
    letter-spacing: -0.03em;
    text-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.page-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.page-hero .breadcrumb {
    background: transparent;
    margin-bottom: 0;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.page-hero .breadcrumb-item a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.page-hero .breadcrumb-item a:hover {
    color: white;
}

.page-hero .breadcrumb-item.active {
    color: rgba(255,255,255,0.6);
}

.page-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.5);
}

/* ===== SECTION TITLES ===== */
.section-subtitle {
    display: inline-block;
    color: var(--accent-cyan);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 15px;
    position: relative;
    padding-left: 50px;
}

.section-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

/* Highlighted text in titles */
.section-title .highlight {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== GLASSMORPHISM CARD BASE ===== */
.glass-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* ===== SERVICE CARDS ===== */
.service-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    height: 100%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

/* Animated border gradient on hover */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple), var(--accent-blue));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(26, 54, 93, 0.2);
    border-color: transparent;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-mid) 0%, var(--primary-light) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

/* Icon glow effect */
.service-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    filter: blur(15px);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
}

.service-card:hover .service-icon::after {
    opacity: 0.5;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h4 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-dark);
    letter-spacing: -0.02em;
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.service-features li {
    padding: 8px 0;
    color: #555;
    font-size: 0.9rem;
}

.service-features li i {
    color: #28a745;
    margin-right: 10px;
}

/* ===== PROCESS SECTION ===== */
.process-section {
    background: linear-gradient(135deg, #0a1628 0%, #1a365d 100%);
    padding: 80px 0;
    color: white;
}

.process-step {
    text-align: center;
    padding: 30px 20px;
}

.process-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    color: rgba(255,255,255,0.2);
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -0.04em;
}

.process-step h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: -0.01em;
}

.process-step p {
    font-size: 0.95rem;
    opacity: 0.85;
}

/* ===== MISSION VISION SECTION ===== */
.mission-vision-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
}

.mv-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    height: 100%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.mv-card:hover {
    transform: translateY(-5px);
}

.mv-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1a365d 0%, #234e82 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.mv-icon i {
    font-size: 1.8rem;
    color: white;
}

.mv-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-dark);
    letter-spacing: -0.02em;
}

.mv-card p {
    color: #666;
    line-height: 1.8;
}

/* ===== WHY SECTION ===== */
.why-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

/* ===== WHY CARDS ===== */
.why-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(26, 54, 93, 0.15);
    border-color: #1a365d;
}

.why-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.1) 0%, rgba(35, 78, 130, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.why-card:hover .why-icon {
    background: linear-gradient(135deg, #1a365d 0%, #234e82 100%);
}

.why-icon i {
    font-size: 1.5rem;
    color: #1a365d;
    transition: color 0.3s ease;
}

.why-card:hover .why-icon i {
    color: white;
}

.why-card h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-dark);
    letter-spacing: -0.01em;
}

.why-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ===== TEAM SECTION ===== */
.team-section {
    background: linear-gradient(135deg, #0a1628 0%, #1a365d 100%);
    padding: 80px 0;
}

.team-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-image {
    position: relative;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    transition: bottom 0.3s ease;
}

.team-card:hover .team-social {
    bottom: 0;
}

.team-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: white;
    color: #1a365d;
}

.team-info {
    padding: 25px;
    text-align: center;
}

.team-info h5 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--primary-dark);
    letter-spacing: -0.01em;
}

.team-info span {
    color: #1a365d;
    font-weight: 500;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.team-info p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ===== ABOUT STATS ===== */
.about-stat {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.1) 0%, rgba(35, 78, 130, 0.1) 100%);
    border-radius: 15px;
}

.about-stat .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    animation: none;
    /* Override gradient text effect for light backgrounds */
    background: linear-gradient(135deg, var(--primary-dark), var(--accent-cyan)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.about-stat .stat-label {
    color: #666;
    font-size: 0.9rem;
}

/* ===== CONTACT PAGE ===== */
.contact-info-card {
    background: linear-gradient(135deg, #0a1628 0%, #1a365d 100%);
    color: white;
    border-radius: 20px;
    padding: 40px;
    height: 100%;
}

.contact-info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.2rem;
}

.contact-text h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-text p {
    margin-bottom: 0;
    opacity: 0.9;
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-social h5 {
    font-size: 1rem;
    margin-bottom: 15px;
}

.contact-social .social-icons {
    margin-top: 0;
}

.contact-form-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.contact-form-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-dark);
    letter-spacing: -0.02em;
}

.contact-form-card .form-control,
.contact-form-card .form-select {
    border-radius: 10px;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
    border-color: #1a365d;
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

/* Form Validation Styles */
.contact-form-card .form-control.is-valid {
    border-color: #28a745;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.contact-form-card .form-control.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.contact-form-card .form-control.is-valid:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.15);
}

.contact-form-card .form-control.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
}

.contact-form-card .invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 5px;
}

.contact-form-card textarea.is-valid,
.contact-form-card textarea.is-invalid {
    background-position: right 12px top 12px;
}

.form-alert {
    border-radius: 10px;
    animation: fadeInUp 0.3s ease-out;
}

.map-section {
    margin-top: 0;
}

.map-section iframe {
    filter: grayscale(20%);
}

/* ===== CAREERS PAGE ===== */
.benefits-section {
    background: linear-gradient(135deg, #0a1628 0%, #1a365d 100%);
    padding: 80px 0;
}

.benefit-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    height: 100%;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    color: white;
}

.benefit-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-5px);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.benefit-icon i {
    font-size: 1.8rem;
}

.benefit-card h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.benefit-card p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* ===== JOB LISTINGS ===== */
.job-listing {
    max-width: 900px;
    margin: 0 auto;
}

.job-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.job-card:hover {
    box-shadow: 0 10px 30px rgba(26, 54, 93, 0.1);
    border-color: #1a365d;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.job-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.job-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.job-meta span {
    color: #666;
    font-size: 0.9rem;
}

.job-meta i {
    color: #1a365d;
    margin-right: 5px;
}

.job-tag {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.job-tag.urgent {
    background: #fff3cd;
    color: #856404;
}

.job-tag.new {
    background: #d4edda;
    color: #155724;
}

.job-description {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.7;
}

.job-skills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.skill-tag {
    display: inline-block;
    padding: 5px 12px;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.1) 0%, rgba(35, 78, 130, 0.1) 100%);
    color: #1a365d;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 60px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero .btn {
        display: block;
        margin: 10px auto;
        width: 80%;
    }

    .hero .btn.me-3 {
        margin-right: auto !important;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.8rem;
        padding-left: 35px;
    }

    .section-subtitle::before {
        width: 25px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .section-padding {
        padding: 50px 0;
    }

    /* Service List Mobile */
    .service-list-item {
        padding: 15px 20px;
    }

    .service-list-item:hover {
        transform: none;
    }

    .service-list-item span {
        font-size: 0.95rem;
    }

    /* Disable hover transforms on mobile */
    .card:hover,
    .industry-card:hover,
    .why-card:hover,
    .mv-card:hover,
    .team-card:hover,
    .benefit-card:hover {
        transform: none;
    }

    /* Fix Bootstrap row negative margins */
    .row {
        margin-left: 0;
        margin-right: 0;
    }

    .row > * {
        padding-left: 12px;
        padding-right: 12px;
    }

    /* Industry Section Mobile */
    .industry-section {
        padding: 50px 0;
    }

    .industry-title {
        font-size: 1.5rem;
    }

    .industry-subtitle {
        font-size: 0.85rem;
    }

    .industry-card {
        padding: 20px 15px;
        min-height: 120px;
    }

    .industry-card i {
        font-size: 2rem;
    }

    /* Stats Section Mobile */
    .stats-section {
        padding: 40px 0;
    }

    .stat-item {
        margin: 10px 0;
    }

    /* CTA Section Mobile */
    .cta-section {
        padding: 50px 0;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }

    .job-header {
        flex-direction: column;
    }

    .contact-item {
        flex-direction: column;
        gap: 10px;
    }

    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .social-icons {
        justify-content: center;
    }

    /* Navbar Mobile */
    .navbar {
        padding: 10px 0;
    }

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

    /* Service Cards Mobile */
    .service-card {
        padding: 25px 20px;
    }

    .service-card h4 {
        font-size: 1.1rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
    }

    .service-icon i {
        font-size: 1.5rem;
    }

    .service-features li {
        font-size: 0.85rem;
    }

    /* Process Section Mobile */
    .process-section {
        padding: 50px 0;
    }

    .process-number {
        font-size: 2.5rem;
    }

    .process-step h4 {
        font-size: 1.1rem;
    }

    .process-step p {
        font-size: 0.85rem;
    }

    /* Mission Vision Cards Mobile */
    .mission-vision-section {
        padding: 50px 0;
    }

    .mv-card {
        padding: 25px;
    }

    .mv-card h3 {
        font-size: 1.25rem;
    }

    .mv-card p {
        font-size: 0.9rem;
    }

    .mv-icon {
        width: 55px;
        height: 55px;
    }

    .mv-icon i {
        font-size: 1.4rem;
    }

    /* Why Cards Mobile */
    .why-section {
        padding: 50px 0;
    }

    .why-card {
        padding: 20px;
    }

    .why-card h4 {
        font-size: 1rem;
    }

    .why-card p {
        font-size: 0.85rem;
    }

    .why-icon {
        width: 50px;
        height: 50px;
    }

    .why-icon i {
        font-size: 1.2rem;
    }

    /* Team Section Mobile */
    .team-section {
        padding: 50px 0;
    }

    .team-image img {
        height: 220px;
    }

    .team-info {
        padding: 20px;
    }

    .team-info h5 {
        font-size: 1.1rem;
    }

    /* Benefits Section Mobile */
    .benefits-section {
        padding: 50px 0;
    }

    .benefit-card {
        padding: 25px 20px;
    }

    .benefit-card h4 {
        font-size: 1.05rem;
    }

    .benefit-card p {
        font-size: 0.85rem;
    }

    .benefit-icon {
        width: 55px;
        height: 55px;
    }

    .benefit-icon i {
        font-size: 1.4rem;
    }

    /* Job Cards Mobile */
    .job-card {
        padding: 20px;
    }

    .job-title {
        font-size: 1.1rem;
    }

    .job-meta {
        gap: 10px;
    }

    .job-meta span {
        font-size: 0.8rem;
    }

    .job-description {
        font-size: 0.9rem;
    }

    .job-skills {
        gap: 8px;
    }

    .skill-tag {
        font-size: 0.75rem;
        padding: 4px 10px;
    }

    /* Contact Page Mobile */
    .contact-info-card {
        padding: 25px;
        margin-bottom: 30px;
    }

    .contact-info-card h3 {
        font-size: 1.4rem;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
    }

    .contact-icon i {
        font-size: 1rem;
    }

    .contact-text h5 {
        font-size: 0.9rem;
    }

    .contact-text p {
        font-size: 0.85rem;
    }

    .contact-form-card {
        padding: 25px;
    }

    .contact-form-card h3 {
        font-size: 1.4rem;
    }

    /* About Stats Mobile */
    .about-stat {
        padding: 15px;
        margin-bottom: 15px;
    }

    .about-stat .stat-number {
        font-size: 1.8rem;
    }

    .about-stat .stat-label {
        font-size: 0.8rem;
    }

    /* Footer Mobile */
    footer {
        padding: 40px 0 0;
        /* margin-top: 50px; */
    }

    .footer-brand {
        padding-right: 0;
        text-align: center;
        margin-bottom: 30px;
    }

    .footer-desc {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
        margin-bottom: 30px;
    }

    .footer-title {
        font-size: 1rem;
        margin-top: 20px;
    }

    .footer-menu a {
        font-size: 0.9rem;
    }

    .footer-contact li {
        font-size: 0.85rem;
    }

    .footer-bottom {
        margin-top: 30px;
        padding: 15px 0;
    }

    /* Page Hero Mobile */
    .page-hero {
        padding: 100px 0 50px;
    }

    .page-hero p {
        font-size: 1rem;
    }

    .breadcrumb {
        font-size: 0.85rem;
    }

    /* Buttons Mobile */
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .btn-lg {
        padding: 12px 25px;
        font-size: 1rem;
    }

    /* Cards General Mobile */
    .card {
        margin-bottom: 20px;
    }

    /* Images Mobile */
    .img-fluid.rounded.shadow {
        margin-bottom: 30px;
    }

    /* Section Spacing Mobile */
    .mb-5 {
        margin-bottom: 2rem !important;
    }

    .row.align-items-start {
        text-align: center;
    }

    .row.align-items-start .col-lg-6:first-child {
        margin-bottom: 30px;
    }

    /* Mobile form controls */
    .contact-form-card .form-control,
    .contact-form-card .form-select {
        width: 100%;
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 14px 16px;
    }

    .contact-form-card textarea {
        min-height: 120px;
    }
}

/* Extra Small Devices */
@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .page-hero h1 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .section-subtitle {
        font-size: 0.75rem;
        padding-left: 30px;
    }

    .section-subtitle::before {
        width: 20px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .industry-card {
        min-height: 100px;
        padding: 15px 10px;
    }

    .industry-card i {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .industry-card span {
        font-size: 0.85rem;
    }

    .service-list-item {
        padding: 12px 15px;
    }

    .service-list-item i {
        font-size: 1.2rem;
    }

    .service-list-item span {
        font-size: 0.85rem;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 20px;
    }

    .job-card {
        padding: 15px;
    }

    .benefit-card {
        padding: 20px 15px;
    }

    .footer-bottom-links {
        gap: 10px;
    }

    .footer-bottom-links a {
        font-size: 0.8rem;
    }

    /* Map Section Mobile */
    .map-section iframe {
        height: 250px;
    }
}

/* Tablet Devices */
@media (min-width: 577px) and (max-width: 991px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .industry-card {
        min-height: 130px;
    }

    .service-card {
        padding: 30px 25px;
    }

    .job-meta {
        flex-wrap: wrap;
    }

    .contact-info-card {
        margin-bottom: 30px;
    }
}