/* ===================================
   MODERN WEBSITE DESIGN ENHANCEMENTS
   Updated: 2026
   =================================== */

/* === GLOBAL IMPROVEMENTS === */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
}

html, body {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

body {
    font-family: 'Source Sans 3', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #333333;
    transition: background-color 0.3s ease, color 0.3s ease;
    height: 100%;
    position: relative;
}

/* Dark Theme Body */
[data-theme="dark"] body {
    background-color: #0a0a0a;
    color: #e0e0e0;
}

/* === IMPROVED TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6,
.section-title h2,
.section-title h3,
.section-title h4,
.card-title,
.portfolio-name,
.global-title,
.counter-name {
    font-family: 'Space Grotesk', 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
}

h2 {
    font-size: 2.5rem;
    font-weight: 800;
}

h4 {
    font-size: 1.25rem;
}

.subtitle {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

/* === HEADER ENHANCEMENTS === */
.modern-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background: rgba(8, 10, 14, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    width: 100%;
    min-height: 70px;
    display: flex;
    align-items: center;
}

/* Dark Theme Header */
[data-theme="dark"] .modern-header {
    background: rgba(13, 13, 13, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .nav-link {
    color: #e0e0e0;
}

[data-theme="dark"] .nav-link:hover {
    color: #4da6ff;
}

[data-theme="dark"] .theme-toggle-btn {
    border-color: rgba(255, 255, 255, 0.3);
    color: #e0e0e0;
}

[data-theme="dark"] .theme-toggle-btn:hover {
    border-color: #4da6ff;
    background: rgba(77, 166, 255, 0.15);
    color: #ffffff;
}

.modern-header.scrolled {
    background: rgba(8, 10, 14, 0.96);
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

/* Ensure header is always visible */
.modern-header,
.modern-header.scrolled {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.header-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    gap: 1.5rem;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
}

.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 1.25rem;
}

.nav-link {
    color: #f2f5f8;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.18rem;
    padding: 0.35rem 0.2rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(0,123,255,0.1), #007bff, rgba(0,123,255,0.1));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #ffffff;
}

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

.brand-text {
    font-family: 'Space Grotesk', 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    white-space: nowrap;
}

.iso-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.2);
    color: #f2f5f8;
    text-decoration: none;
    font-size: 0.7rem;
    letter-spacing: 0.12rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.iso-badge img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.iso-badge:hover {
    border-color: rgba(0,123,255,0.7);
    color: #ffffff;
    transform: translateY(-1px);
}

.theme-toggle-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.4);
    color: #ffffff;
    padding: 0.5rem 0.7rem;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
    position: relative;
    z-index: 10;
}

.theme-toggle-btn:hover {
    border-color: #007bff;
    background: rgba(0,123,255,0.1);
    color: #ffffff;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.2);
    transform: scale(1.05);
}

.theme-toggle-btn:active {
    transform: scale(0.95);
}

#theme-icon {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.theme-toggle-btn:hover #theme-icon {
    transform: rotate(20deg);
}

/* === MOBILE MENU (BURGER ICON) === */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1002;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    color: #ffffff;
}

.burger-icon,
.burger-close-icon {
    font-size: 24px;
    color: #ffffff;
    transition: all 0.3s ease;
    display: block;
}

.mobile-menu-toggle.active .burger-icon {
    display: none;
}

.mobile-menu-toggle.active .burger-close-icon {
    display: block !important;
}

.burger-close-icon {
    display: none;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(8, 10, 14, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu-content {
    position: absolute;
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    padding: 2rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background: rgba(8, 10, 14, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    max-height: 70vh;
}

.mobile-menu-overlay.active .mobile-menu-content {
    transform: translateY(0);
}

.mobile-menu-logo {
    margin-bottom: 2rem;
    text-align: center;
}

.mobile-menu-logo img {
    max-width: 180px;
    height: auto;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-menu-item {
    margin: 0;
    padding: 0;
}

.mobile-nav-link {
    display: block;
    color: #f2f5f8;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 0.15rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: #007bff;
    color: #ffffff;
    padding-left: 2rem;
}

.mobile-theme-toggle {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-theme-toggle-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    transition: all 0.3s ease;
}

.mobile-theme-toggle-btn:hover {
    border-color: #007bff;
    background: rgba(0, 123, 255, 0.1);
    color: #ffffff;
}

/* === NAVIGATION IMPROVEMENTS === */
.menu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    flex-wrap: wrap;
}

.menu li {
    margin: 0 0.5rem;
}

.menu a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    display: inline-block;
    transition: all 0.3s ease;
    border-radius: 4px;
    position: relative;
}

.menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #007bff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.menu a:hover::after {
    width: 80%;
}

.menu a:hover {
    background: rgba(255,255,255,0.1);
}

/* === HERO SECTION === */
.hero-slider {
    margin-top: 0;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    position: relative;
    isolation: isolate;
    background: #080a0e;
    height: 100vh;
    min-height: 600px;
}

.hero-slider::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8,10,14,0.35) 0%, rgba(8,10,14,0.85) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Gradient layer controlled by JavaScript for smooth transitions */
.hero-gradient-layer {
    position: absolute;
    inset: 0;
    z-index: 2;
    mix-blend-mode: screen;
    opacity: 1;
    will-change: background;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.hero-ambient {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(124, 233, 255, 0.35), transparent 55%),
        radial-gradient(circle at 80% 30%, rgba(0, 168, 255, 0.35), transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(0, 255, 209, 0.25), transparent 55%),
        linear-gradient(120deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 35%, rgba(255,255,255,0.08) 70%, rgba(255,255,255,0.02) 100%);
    z-index: 1;
    mix-blend-mode: screen;
    animation: ambientColorShift 65s ease-in-out infinite, ambientFloat 18s ease-in-out infinite;
    pointer-events: none;
}

@keyframes ambientColorShift {
    0%, 100% {
        filter: hue-rotate(0deg) brightness(0.9) saturate(1);
    }
    20% {
        filter: hue-rotate(30deg) brightness(0.95) saturate(1.1);
    }
    40% {
        filter: hue-rotate(75deg) brightness(1.05) saturate(1.25);
    }
    60% {
        filter: hue-rotate(-35deg) brightness(1) saturate(1.15);
    }
    80% {
        filter: hue-rotate(-10deg) brightness(0.95) saturate(1.05);
    }
}

@keyframes ambientFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.7;
    }
    25% {
        transform: translate(-15px, 20px) scale(1.03);
        opacity: 0.85;
    }
    50% {
        transform: translate(10px, -15px) scale(1.05);
        opacity: 0.9;
    }
    75% {
        transform: translate(20px, 10px) scale(1.02);
        opacity: 0.8;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin-left: clamp(1.5rem, 6vw, 6rem);
    color: #ffffff;
    pointer-events: auto;
}

.hero-eyebrow {
    font-size: 0.85rem;
    letter-spacing: 0.4rem;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(2.6rem, 5vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 2rem;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.2rem;
    border-radius: 999px;
    font-size: 0.95rem;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.hero-btn.primary {
    background: linear-gradient(135deg, #007bff 0%, #00d4ff 100%);
    color: #0b0f18;
    box-shadow: 0 12px 30px rgba(0,123,255,0.35);
}

.hero-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(0,123,255,0.5);
}

.hero-btn.secondary {
    border: 1px solid rgba(255,255,255,0.35);
    color: #ffffff;
    background: rgba(8,10,14,0.45);
}

.hero-btn.secondary:hover {
    border-color: rgba(255,255,255,0.6);
    transform: translateY(-2px);
}

/* === SECTION IMPROVEMENTS === */
section {
    padding: 80px 0;
    position: relative;
}

.page-section {
    padding-top: 80px;
    margin-bottom: 0 !important;
}

.page-section-compact {
    padding-top: 40px;
    margin-bottom: 0 !important;
}

/* Remove bottom spacing from all sections */
section {
    margin-bottom: 0 !important;
}

section:last-child {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.page-main {
    padding-top: 70px;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.page-main.hero-main {
    padding-top: 0;
}

.page-body {
    margin: 0 !important;
    padding: 0 !important;
}

#section-home {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.video_block {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.section-inner {
    background-color: transparent;
    max-width: 1600px;
    margin: 0 auto;
    padding-bottom: 0 !important;
}

.wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Ensure no bottom spacing on last elements */
main:last-of-type,
.page-body:last-child,
section:last-of-type,
.wrapper:last-child,
.section-inner:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.seperator {
    height: 3px;
    background: linear-gradient(90deg, transparent, #007bff, transparent);
    margin: 1.5rem auto;
    max-width: 100px;
}

.column-section {
    max-width: 1200px;
    margin: 0 auto;
}

/* === CARD ENHANCEMENTS === */
.card {
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.08);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15) !important;
}

.card-body {
    padding: 2rem;
}

/* === ABOUT SECTION === */
#section-about {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

/* Removed - using standard wrapper width instead */

#section-about .text-muted {
    color: #555 !important;
    text-align: left;
    line-height: 1.9;
    max-width: 900px;
    margin: 0 auto;
}

#section-about .row {
    max-width: 1100px;
    margin: 0 auto;
}

/* === SERVICES SECTION === */
#section-services {
    background: #f8f9fa;
}

#section-services .wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

#section-services .column-section {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

#section-services .column {
    width: 100%;
}

.iconbox {
    display: flex;
    align-items: flex-start;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.iconbox:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.iconbox:hover .iconbox-icon i {
    transform: scale(1.1) rotate(5deg);
    color: #0056b3 !important;
}

.iconbox-icon {
    margin-right: 1.5rem;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.iconbox-icon i {
    transition: all 0.3s ease;
}

/* Legacy image support */
.iconbox img {
    margin-right: 1.5rem;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
}

.iconbox-content h5 {
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.2rem;
}

.iconbox-content p {
    color: #555;
    line-height: 1.7;
}

/* Dark theme icons */
[data-theme="dark"] .iconbox-icon i {
    color: #4da6ff !important;
}

[data-theme="dark"] .iconbox:hover .iconbox-icon i {
    color: #66b3ff !important;
}

/* === COUNTER SECTION === */
.horizontalsection {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d3748 100%) !important;
    position: relative;
    overflow: hidden;
}

.horizontalsection::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="50" cy="50" r="40" fill="rgba(255,255,255,0.02)"/></svg>');
    opacity: 0.3;
}

.counter {
    text-align: center;
    padding: 2rem 1rem;
}

.counter-value {
    font-size: 3rem;
    font-weight: 800;
    color: #FFD700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.counter-name {
    color: #fff;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === WORK/PORTFOLIO SECTION === */
#section-work {
    background: white;
}

/* Removed - using standard wrapper width instead */

#portfolio-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.portfolio-entry {
    margin-bottom: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    width: 100%;
    height: 100%;
}

.portfolio-entry .entry-thumb {
    width: 100%;
    height: 100%;
}

.portfolio-entry .portfolio-thumb {
    width: 100%;
    height: 100%;
}

.portfolio-entry .imgoverlay {
    width: 100%;
    height: 100%;
    display: block;
}


@media (max-width: 768px) {
    #portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
}

@media (max-width: 480px) {
    #portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.portfolio-entry:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.imgoverlay {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.imgoverlay img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portfolio-entry:hover .imgoverlay img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,123,255,0.9), rgba(0,86,179,0.9));
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-entry:hover .overlay {
    opacity: 1;
}

.overlayinfo {
    text-align: center;
    padding: 2rem;
    color: white;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.portfolio-entry:hover .overlayinfo {
    transform: translateY(0);
}

.overlayinfo h5 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

/* Masonry item compatibility */
.masonry-item {
    display: block;
}

/* Hidden portfolio items for filtering */
.portfolio-entry.hidden {
    display: none !important;
}

/* Ensure portfolio links work properly */
.portfolio-entry a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.portfolio-entry .entry-thumb {
    position: relative;
}

/* === FILTER NAVIGATION === */
.filter {
    margin-bottom: 3rem;
}

.filter .nav-link {
    color: #333;
    padding: 0.75rem 1.5rem;
    margin: 0.25rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.filter .nav-link:hover {
    background: rgba(0,123,255,0.1);
    color: #007bff;
    border-color: #007bff;
}

.filter .nav-link.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

/* === PEOPLE SECTION === */
#section-people {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

#section-people img {
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    width: 100%;
    height: auto;
}

/* === CAREER SECTION === */
#section-career {
    background: white;
}

#section-career .wrapper {
    max-width: 1400px;
}

#section-career .container-fluid {
    max-width: 1200px;
    margin: 0 auto;
}

#section-career #departmentsRow {
    max-width: 1100px;
    margin: 0 auto;
}

.department-box {
    cursor: pointer;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    padding: 2.5rem 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    border: 2px solid transparent;
    text-align: center;
}

.department-box:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 50px rgba(0,123,255,0.2) !important;
    background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 100%) !important;
    border-color: #007bff;
}

.department-box i {
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.department-box:hover i {
    transform: scale(1.2) rotateY(360deg);
    color: #0056b3 !important;
}

.department-box h4 {
    margin-top: 1rem;
    color: #333;
    font-size: 1.1rem;
}

/* === CONTACT SECTION === */
#section-contact {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

#section-contact .wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

#section-contact .column-section {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

#section-contact .column {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
}

#section-contact .one-half {
    width: 100%;
}

.form-row {
    margin-bottom: 1.5rem;
}

.form-row label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-row input,
.form-row textarea {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

input[type="button"].submit {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 1rem 3rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,123,255,0.3);
}

input[type="button"].submit:hover {
    background: linear-gradient(135deg, #0056b3 0%, #003d82 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0,123,255,0.4);
}

/* Contact section info column */
#section-contact .column:first-child p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

#section-contact .column:first-child span {
    display: block;
    padding: 0.75rem 0;
    margin-bottom: 0.5rem;
    border-bottom: 2px solid #007bff;
    font-weight: 700;
    font-size: 1.1rem;
    background-position: left center !important;
    background-size: 30px !important;
}

/* === TESTIMONIALS === */
.testimonial-slider {
    padding: 3rem 0;
}

.testimonial-item {
    padding: 2rem;
}

.testimonial-item blockquote {
    border: none;
    padding: 0;
}

.testimonial-item p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
}

.blockquote-footer {
    color: rgba(255,255,255,0.8) !important;
    font-size: 1rem;
}

/* === FOOTER === */
footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d3748 100%) !important;
    padding: 1.5rem 0 1rem;
    color: #fff;
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0 !important;
}

[data-theme="dark"] footer {
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a2e 100%) !important;
}

/* Remove any white space after footer */
footer::after {
    content: '';
    display: block;
    height: 0;
    clear: both;
}

#page-content {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#page-content > main {
    flex: 1;
}

/* Ensure no spacing issues on mobile */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }

    body {
        min-height: 100vh;
    }

    #page-content {
        width: 100%;
        overflow-x: hidden;
    }

    /* Remove all bottom spacing on mobile */
    main,
    .page-main,
    .page-body,
    section,
    .section-inner,
    .wrapper,
    #section-home,
    .video_block,
    .hero-slider {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    footer {
        margin-top: 0 !important;
    }
}

.footerinner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.footer-logo-section {
    margin: 0.5rem 0;
}

.footer-logo img {
    max-width: 140px;
    height: auto;
}

.footer-iso-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 0.16rem;
    text-transform: uppercase;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.footer-iso-badge img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.footer-iso-badge:hover {
    border-color: rgba(0,123,255,0.7);
    color: #ffffff;
    transform: translateY(-1px);
}

.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin: 0.75rem 0;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.footer-social .fa-facebook {
    font-size: 20px;
    color: #3b5998;
}

.footer-social .fa-linkedin {
    font-size: 20px;
    color: #0077b5;
}

.global-presence {
    margin: 0.75rem 0;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.global-title {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.global-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
}

.countries {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.country-item {
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.country-item .fa-globe {
    color: #28a745;
    font-size: 0.85rem;
}

.footer-copyright {
    margin: 0.5rem 0 0;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin: 0;
}

.cookie-notice {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.6;
}

/* Cookie Consent Overlay */
.cookie-consent-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cookie-consent-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Cookie Consent Banner */
.cookie-consent-banner {
    position: relative;
    width: 100%;
    max-width: 600px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d3748 100%);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-consent-overlay.active .cookie-consent-banner {
    animation: modalFadeIn 0.4s ease-out;
}

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

.cookie-consent-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cookie-consent-text {
    color: #ffffff;
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
}

.cookie-consent-text:first-child {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.cookie-consent-text .fa-cookie-bite {
    font-size: 1.75rem;
    color: #ffa500;
}

.cookie-consent-actions {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.btn-accept-cookies,
.btn-decline-cookies {
    flex: 1;
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
}

.btn-accept-cookies {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    color: #ffffff;
}

.btn-accept-cookies:hover {
    background: linear-gradient(135deg, #1e7e34 0%, #155724 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.btn-decline-cookies {
    background: rgba(220, 53, 69, 0.9);
    color: #ffffff;
    border: 1px solid rgba(220, 53, 69, 1);
}

.btn-decline-cookies:hover {
    background: rgba(200, 35, 51, 1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

/* Dark theme cookie banner */
[data-theme="dark"] .cookie-consent-banner {
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
}

/* Responsive cookie banner */
@media (max-width: 768px) {
    .cookie-consent-banner {
        max-width: 90%;
        padding: 1.5rem;
    }

    .cookie-consent-text {
        font-size: 0.95rem;
    }

    .cookie-consent-text:first-child {
        font-size: 1.1rem;
    }

    .cookie-consent-actions {
        flex-direction: column;
    }

    .btn-accept-cookies,
    .btn-decline-cookies {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .cookie-consent-banner {
        max-width: 95%;
        padding: 1.25rem;
    }

    .cookie-consent-text {
        font-size: 0.9rem;
    }

    .cookie-consent-text:first-child {
        font-size: 1rem;
    }

    .cookie-consent-text .fa-cookie-bite {
        font-size: 1.5rem;
    }

    .btn-accept-cookies,
    .btn-decline-cookies {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
}

#backtotop {
    background: #007bff;
    color: white;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,123,255,0.3);
    margin-bottom: 0.5rem;
}

#backtotop:hover {
    background: #0056b3;
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0,123,255,0.5);
}

/* Dark theme footer */
[data-theme="dark"] footer {
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
}

[data-theme="dark"] .global-presence {
    border-color: rgba(255, 255, 255, 0.05);
}

/* Responsive footer */
@media (max-width: 768px) {
    footer {
        padding: 1rem 0 0.5rem;
        max-height: none;
    }

    #backtotop {
        width: 32px;
        height: 32px;
        margin-bottom: 0.35rem;
    }

    #backtotop i {
        font-size: 14px;
    }

    .footerinner {
        padding: 0 1rem;
    }

    .footer-logo img {
        max-width: 110px;
    }

    .footer-iso-badge {
        font-size: 0.5rem;
        padding: 0.2rem 0.4rem;
        margin-top: 0.25rem;
    }

    .footer-iso-badge img {
        width: 16px;
        height: 16px;
    }

    .footer-logo-section {
        margin: 0.25rem 0;
    }

    .footer-social {
        gap: 1rem;
        margin: 0.4rem 0;
    }

    .footer-social a {
        width: 32px;
        height: 32px;
    }

    .footer-social .fa-facebook,
    .footer-social .fa-linkedin {
        font-size: 16px;
    }

    .global-presence {
        margin: 0.5rem 0;
        padding: 0.5rem 0;
    }

    .global-title {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }

    .global-description {
        font-size: 0.7rem;
        margin-bottom: 0.4rem;
    }

    .countries {
        gap: 0.6rem;
        margin-top: 0.4rem;
    }

    .country-item {
        font-size: 0.7rem;
    }

    .country-item .fa-globe {
        font-size: 0.75rem;
    }

    .footer-copyright {
        margin: 0.35rem 0 0;
    }

    .copyright {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .header-nav {
        padding: 0.65rem 0.75rem;
    }

    .nav-center {
        padding-right: 50px;
    }

    .brand img {
        height: 28px;
    }

    .mobile-menu-toggle {
        right: 0.5rem;
        width: 36px;
        height: 36px;
    }

    .burger-icon,
    .burger-close-icon {
        font-size: 22px;
    }

    footer {
        padding: 0.75rem 0 0.35rem;
        max-height: none;
    }

    #backtotop {
        width: 26px;
        height: 26px;
        margin-bottom: 0.2rem;
    }

    #backtotop i {
        font-size: 11px;
    }

    .footerinner {
        padding: 0 0.75rem;
    }

    .footer-logo img {
        max-width: 90px;
    }

    .footer-iso-badge {
        font-size: 0.45rem;
        padding: 0.12rem 0.3rem;
        margin-top: 0.15rem;
    }

    .footer-iso-badge img {
        width: 14px;
        height: 14px;
    }

    .footer-logo-section {
        margin: 0.15rem 0;
    }

    .footer-social {
        gap: 0.75rem;
        margin: 0.3rem 0;
    }

    .footer-social a {
        width: 28px;
        height: 28px;
    }

    .footer-social .fa-facebook,
    .footer-social .fa-linkedin {
        font-size: 14px;
    }

    .global-presence {
        margin: 0.35rem 0;
        padding: 0.35rem 0;
    }

    .global-title {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
    }

    .global-description {
        font-size: 0.65rem;
        margin-bottom: 0.3rem;
    }

    .countries {
        gap: 0.4rem;
        margin-top: 0.3rem;
    }

    .country-item {
        font-size: 0.65rem;
    }

    .country-item .fa-globe {
        font-size: 0.7rem;
    }

    .footer-copyright {
        margin: 0.25rem 0 0;
    }

    .copyright {
        font-size: 0.65rem;
    }

    .mobile-menu-content {
        padding: 1.5rem 1rem;
    }

    .mobile-menu-logo {
        margin-bottom: 1.5rem;
    }

    .mobile-menu-logo img {
        max-width: 150px;
    }
}

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

@keyframes waterShine {
    0% {
        opacity: 0.55;
        transform: translateY(0) translateX(0);
        filter: blur(0px);
        background-position: 0% 0%;
    }
    40% {
        opacity: 0.9;
        transform: translateY(-8px) translateX(6px);
        filter: blur(1px);
        background-position: 80% 20%;
    }
    70% {
        opacity: 0.7;
        transform: translateY(6px) translateX(-4px);
        filter: blur(0.5px);
        background-position: 20% 80%;
    }
    100% {
        opacity: 0.6;
        transform: translateY(0) translateX(0);
        filter: blur(0px);
        background-position: 0% 0%;
    }
}

@keyframes magicalAmbient {
    0% {
        background-image:
            radial-gradient(circle at 20% 20%, rgba(124, 233, 255, 0.4), transparent 50%),
            radial-gradient(circle at 80% 30%, rgba(0, 168, 255, 0.4), transparent 45%),
            radial-gradient(circle at 70% 80%, rgba(0, 255, 209, 0.3), transparent 50%),
            linear-gradient(120deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.03) 35%, rgba(255,255,255,0.1) 70%, rgba(255,255,255,0.03) 100%);
        opacity: 0.7;
        transform: scale(1) rotate(0deg);
    }
    25% {
        background-image:
            radial-gradient(circle at 60% 40%, rgba(0, 255, 150, 0.45), transparent 52%),
            radial-gradient(circle at 30% 70%, rgba(46, 213, 115, 0.4), transparent 48%),
            radial-gradient(circle at 50% 20%, rgba(0, 255, 180, 0.35), transparent 50%),
            linear-gradient(140deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.04) 40%, rgba(255,255,255,0.12) 75%, rgba(255,255,255,0.04) 100%);
        opacity: 0.85;
        transform: scale(1.05) rotate(2deg);
    }
    50% {
        background-image:
            radial-gradient(circle at 40% 60%, rgba(0, 255, 150, 0.5), transparent 55%),
            radial-gradient(circle at 70% 50%, rgba(46, 213, 115, 0.45), transparent 50%),
            radial-gradient(circle at 20% 40%, rgba(80, 250, 123, 0.4), transparent 52%),
            linear-gradient(160deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.05) 45%, rgba(255,255,255,0.14) 80%, rgba(255,255,255,0.05) 100%);
        opacity: 0.9;
        transform: scale(1.08) rotate(0deg);
    }
    65% {
        background-image:
            radial-gradient(circle at 80% 70%, rgba(255, 69, 58, 0.45), transparent 53%),
            radial-gradient(circle at 20% 50%, rgba(255, 107, 107, 0.4), transparent 48%),
            radial-gradient(circle at 60% 30%, rgba(255, 85, 85, 0.35), transparent 50%),
            linear-gradient(180deg, rgba(255,255,255,0.11) 0%, rgba(255,255,255,0.04) 38%, rgba(255,255,255,0.11) 72%, rgba(255,255,255,0.04) 100%);
        opacity: 0.8;
        transform: scale(1.05) rotate(-2deg);
    }
    80% {
        background-image:
            radial-gradient(circle at 50% 80%, rgba(255, 100, 90, 0.5), transparent 55%),
            radial-gradient(circle at 70% 20%, rgba(255, 120, 120, 0.45), transparent 50%),
            radial-gradient(circle at 30% 50%, rgba(255, 80, 70, 0.4), transparent 52%),
            linear-gradient(200deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.045) 42%, rgba(255,255,255,0.12) 76%, rgba(255,255,255,0.045) 100%);
        opacity: 0.75;
        transform: scale(1.03) rotate(1deg);
    }
    100% {
        background-image:
            radial-gradient(circle at 20% 20%, rgba(124, 233, 255, 0.4), transparent 50%),
            radial-gradient(circle at 80% 30%, rgba(0, 168, 255, 0.4), transparent 45%),
            radial-gradient(circle at 70% 80%, rgba(0, 255, 209, 0.3), transparent 50%),
            linear-gradient(120deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.03) 35%, rgba(255,255,255,0.1) 70%, rgba(255,255,255,0.03) 100%);
        opacity: 0.7;
        transform: scale(1) rotate(0deg);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* === SCROLL ANIMATIONS === */
.sr-animation {
    opacity: 0;
    transition: all 0.6s ease;
}

.sr-animation.animated {
    opacity: 1;
}

.sr-animation-frombottom {
    transform: translateY(50px);
}

.sr-animation-frombottom.animated {
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .hero-ambient {
        animation: none;
    }

    .hero-btn,
    .nav-link,
    .nav-link::after {
        transition: none;
    }
}

/* === LARGE SCREEN OPTIMIZATION (4K and Ultra-Wide) === */
@media (min-width: 1920px) {
    .wrapper {
        max-width: 1600px;
        padding: 0 3rem;
    }

    .header-nav {
        max-width: 1600px;
        padding: 1rem 3rem;
    }

    .section-inner {
        max-width: 1800px;
    }

    .footerinner {
        max-width: 1400px;
        padding: 0 3rem;
    }

    h2 {
        font-size: 3rem;
    }

    h3 {
        font-size: 2.25rem;
    }

    .hero-title {
        font-size: 4.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-btn {
        padding: 1rem 2.5rem;
        font-size: 1.125rem;
    }

    .nav-link {
        font-size: 1.125rem;
    }
}

@media (min-width: 2560px) {
    .wrapper {
        max-width: 2000px;
        padding: 0 4rem;
    }

    .header-nav {
        max-width: 2000px;
        padding: 1.25rem 4rem;
    }

    .section-inner {
        max-width: 2200px;
    }

    .footerinner {
        max-width: 1800px;
        padding: 0 4rem;
    }

    body {
        font-size: 18px;
    }

    h2 {
        font-size: 3.5rem;
    }

    h3 {
        font-size: 2.75rem;
    }

    .hero-title {
        font-size: 5.5rem;
    }

    .hero-subtitle {
        font-size: 1.75rem;
    }

    .hero-btn {
        padding: 1.25rem 3rem;
        font-size: 1.25rem;
    }

    .nav-link {
        font-size: 1.25rem;
        padding: 0.75rem 1.25rem;
    }

    .brand img {
        height: 48px;
    }
}

@media (min-width: 3840px) {
    .wrapper {
        max-width: 3000px;
        padding: 0 6rem;
    }

    .header-nav {
        max-width: 3000px;
        padding: 1.5rem 6rem;
    }

    .section-inner {
        max-width: 3200px;
    }

    .footerinner {
        max-width: 2600px;
        padding: 0 6rem;
    }

    body {
        font-size: 20px;
    }

    h2 {
        font-size: 4.5rem;
    }

    h3 {
        font-size: 3.5rem;
    }

    .hero-title {
        font-size: 7rem;
    }

    .hero-subtitle {
        font-size: 2.25rem;
    }

    .hero-btn {
        padding: 1.5rem 3.5rem;
        font-size: 1.5rem;
    }

    .nav-link {
        font-size: 1.5rem;
        padding: 1rem 1.5rem;
    }

    .brand img {
        height: 56px;
    }

    .footer-logo img {
        max-width: 200px;
    }

    .footer-social a {
        width: 60px;
        height: 60px;
    }

    .footer-social .fa-facebook,
    .footer-social .fa-linkedin {
        font-size: 28px;
    }
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1024px) {
    .header-nav {
        padding: 1rem 1.5rem;
    }

    .nav-left,
    .nav-right {
        gap: 1rem;
    }

    .nav-list {
        gap: 1rem;
    }

    .brand-text {
        display: none;
    }

    .iso-badge {
        display: none;
    }
}

@media (max-width: 991px) {
    /* Show burger menu, hide desktop nav */
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-left,
    .nav-right {
        display: none;
    }

    .nav-center {
        flex: 0 1 auto;
        justify-content: flex-start;
        margin: 0;
        padding-right: 60px; /* Space for burger icon */
    }

    .brand img {
        height: 35px;
    }

    .header-nav {
        padding: 0.85rem 1.5rem;
        position: relative;
        justify-content: flex-start;
        width: 100%;
    }

    /* Ensure header stays on top when menu is closed */
    .modern-header {
        z-index: 1000;
    }

    /* Mobile menu overlay should be above header when active */
    .mobile-menu-overlay {
        z-index: 1001;
    }
}

@media (max-width: 768px) {
    .header-nav {
        padding: 0.75rem 1rem;
    }

    .nav-center {
        padding-right: 55px;
    }

    .brand img {
        height: 32px;
    }

    .mobile-menu-toggle {
        right: 0.75rem;
        width: 38px;
        height: 38px;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-slider {
        height: 100vh !important;
        min-height: 100vh !important;
    }

    .hero-content {
        margin: 0 auto;
        max-width: 560px;
        padding: 0 1.5rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.4rem;
        line-height: 1.15;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }

    .hero-btn {
        width: 100%;
        justify-content: center;
    }

    .page-section {
        padding-top: 70px;
    }

    .page-main {
        padding-top: 70px;
    }

    section {
        padding: 50px 0;
    }

    .iconbox {
        flex-direction: column;
        text-align: center;
    }

    .iconbox img {
        margin: 0 auto 1rem;
    }

    .counter-value {
        font-size: 2.5rem;
    }

    .department-box {
        margin-bottom: 20px;
    }

    .wrapper {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    .header-nav {
        padding: 0.75rem 1rem;
    }

    .brand img {
        height: 30px;
    }

    .mobile-menu-toggle {
        width: 36px;
        height: 36px;
    }

    .burger-icon,
    .burger-close-icon {
        font-size: 22px;
    }

    .hero-slider {
        height: 100vh !important;
        min-height: 100vh !important;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }

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

    .hero-eyebrow {
        font-size: 0.7rem;
        letter-spacing: 0.25rem;
    }

    .page-section {
        padding-top: 60px;
    }

    .page-main {
        padding-top: 60px;
    }

    h2 {
        font-size: 1.75rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .mobile-menu-content {
        padding: 1.5rem 1rem;
    }

    .mobile-nav-link {
        font-size: 0.9rem;
        padding: 0.875rem 1.25rem;
    }

    .wrapper {
        padding: 0 1rem;
    }
}

/* === LOADING STATES === */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-loader-inner {
    text-align: center;
}

.loader-icon .spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
}

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

/* Hide AJAX loader by default */
#ajax-loader {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9998;
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

#ajax-loader.loading {
    display: flex;
    align-items: center;
    justify-content: center;
}

#ajax-loader .loader-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#ajax-loader .loader-icon .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Dark theme loader */
[data-theme="dark"] #ajax-loader {
    background: rgba(0, 0, 0, 0.95);
}

/* Portfolio iframe modal */
#product_cabelsson_show,
#product_cigee_show,
#product_cigma_show,
#product_ekaiser_show,
#product_hdelity_show,
#product_hdmedia_show,
#product_knoxed_show,
#product_luxi_show,
#product_merlin_show,
#product_tradesson_show,
#product_ukhdmi_show {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

#product_cabelsson_show #frame,
#product_cigee_show #frame,
#product_cigma_show #frame,
#product_ekaiser_show #frame,
#product_hdelity_show #frame,
#product_hdmedia_show #frame,
#product_knoxed_show #frame,
#product_luxi_show #frame,
#product_merlin_show #frame,
#product_tradesson_show #frame,
#product_ukhdmi_show #frame {
    width: 100%;
    max-width: 1400px;
    height: 90vh;
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.show_crossbar {
    margin-top: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 10000;
}

.show_crossbar:hover {
    transform: scale(1.1) rotate(90deg);
}

.show_crossbar img {
    width: 50px;
    height: 50px;
    filter: brightness(0) invert(1);
}

.hide_cross {
    cursor: pointer;
}

@media (max-width: 768px) {
    #product_cabelsson_show #frame,
    #product_cigee_show #frame,
    #product_cigma_show #frame,
    #product_ekaiser_show #frame,
    #product_hdelity_show #frame,
    #product_hdmedia_show #frame,
    #product_knoxed_show #frame,
    #product_luxi_show #frame,
    #product_merlin_show #frame,
    #product_tradesson_show #frame,
    #product_ukhdmi_show #frame {
        height: 85vh;
    }
}

/* === DARK THEME ENHANCEMENTS === */
[data-theme="dark"] .iconbox {
    background: var(--card-bg);
    box-shadow: 0 2px 15px rgba(255,255,255,0.05);
}

[data-theme="dark"] .portfolio-entry {
    box-shadow: 0 4px 20px rgba(255,255,255,0.05);
}

[data-theme="dark"] #section-about,
[data-theme="dark"] #section-services,
[data-theme="dark"] #section-work,
[data-theme="dark"] #section-career,
[data-theme="dark"] #section-contact {
    background: var(--section-bg);
}

[data-theme="dark"] .subtitle,
[data-theme="dark"] .text-muted {
    color: #bbb !important;
}

[data-theme="dark"] .card {
    border-color: rgba(255,255,255,0.1);
}

/* === UTILITY CLASSES === */
.text-center {
    text-align: center;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* === IMPROVED SWIPER STYLES === */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #007bff;
    width: 30px;
    border-radius: 6px;
}

.swiper-button-next,
.swiper-button-prev {
    background: rgba(0,0,0,0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev,
.hero-slider .swiper-pagination {
    z-index: 3;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(0,123,255,0.8);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
}

/* === CAREER PAGE STYLES === */

/* Career Hero Section */
.career-hero {
    background: linear-gradient(135deg, #007bff 0%, #00c6ff 100%);
    padding: 100px 0 80px;
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    animation: gradientShift 15s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background: linear-gradient(135deg, #007bff 0%, #00c6ff 100%);
    }
    50% {
        background: linear-gradient(135deg, #0056b3 0%, #007bff 100%);
    }
}

.career-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 1200 120"><path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z" fill="rgba(255,255,255,0.1)"></path></svg>') no-repeat bottom center;
    background-size: cover;
    opacity: 0.3;
}

.career-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.career-hero-eyebrow {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    opacity: 0.95;
    animation: fadeInDown 1s ease-out;
    background: linear-gradient(90deg, #ffffff 0%, #f0f0f0 50%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite, fadeInDown 1s ease-out;
}

@keyframes shimmer {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

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

.career-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.career-hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.career-why-subtitle {
    font-size: 1.2rem;
    color: #666666;
    margin-top: 1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

[data-theme="dark"] .career-why-subtitle {
    color: #b0b0b0;
}

.career-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Why Join Section */
.why-join-section {
    padding: 80px 0;
    background: var(--bg-color, #ffffff);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: #f8f9fa;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 123, 255, 0.1);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.15);
    border-color: rgba(0, 123, 255, 0.3);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #007bff, #00c6ff);
    border-radius: 50%;
    color: #ffffff;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(10deg);
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333333;
    font-weight: 600;
}

.benefit-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #666666;
    margin: 0;
}

/* Apply Here Link */
.apply-here-link {
    display: inline-block;
    padding: 0.875rem 2.5rem;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.apply-here-link:hover {
    background: linear-gradient(135deg, #0056b3 0%, #003d82 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
    color: #ffffff;
}

.apply-here-link:active {
    transform: translateY(-1px);
}

/* Dark Theme Career Styles */
[data-theme="dark"] .why-join-section {
    background: var(--bg-color, #0a0a0a);
}

[data-theme="dark"] .benefit-card {
    background: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .benefit-card:hover {
    border-color: rgba(77, 166, 255, 0.4);
}

[data-theme="dark"] .benefit-card h3 {
    color: #e0e0e0;
}

[data-theme="dark"] .benefit-card p {
    color: #b0b0b0;
}

[data-theme="dark"] .apply-here-link {
    background: linear-gradient(135deg, #4da6ff 0%, #007bff 100%);
}

[data-theme="dark"] .apply-here-link:hover {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

/* Responsive Career Page */
@media (max-width: 991px) {
    .career-hero {
        padding: 80px 0 60px;
    }

    .career-hero-title {
        font-size: 2.5rem;
    }

    .career-hero-subtitle {
        font-size: 1.25rem;
    }

    .career-stats {
        gap: 2rem;
    }

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

    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .career-hero {
        padding: 60px 0 40px;
    }

    .career-hero-title {
        font-size: 2rem;
    }

    .career-hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .career-stats {
        gap: 1.5rem;
    }

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

    .stat-label {
        font-size: 0.875rem;
    }

    .why-join-section {
        padding: 60px 0;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .benefit-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .career-hero-content {
        padding: 0 1rem;
    }

    .career-hero-title {
        font-size: 1.75rem;
    }

    .career-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

/* === PEOPLE HERO SECTION === */

.people-hero {
    background: linear-gradient(135deg, #ec38bc 0%, #7303c0 100%);
    padding: 100px 0 80px;
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    animation: gradientShift 15s ease-in-out infinite;
}

.people-hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.people-hero-eyebrow {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    opacity: 0.95;
    background: linear-gradient(90deg, #ffffff 0%, #f0f0f0 50%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite, fadeInDown 1s ease-out;
}

.people-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInDown 1s ease-out 0.2s both;
}

.people-hero-subtitle {
    font-size: 1.35rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.people-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Responsive People Hero */
@media (max-width: 991px) {
    .people-hero {
        padding: 80px 0 60px;
    }

    .people-hero-title {
        font-size: 2.5rem;
    }

    .people-hero-subtitle {
        font-size: 1.25rem;
    }

    .people-stats {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .people-hero {
        padding: 60px 0 40px;
    }

    .people-hero-title {
        font-size: 2rem;
    }

    .people-hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .people-stats {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .people-hero-content {
        padding: 0 1rem;
    }

    .people-hero-title {
        font-size: 1.75rem;
    }

    .people-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

/* === CONTACT HERO SECTION === */

.contact-hero {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    padding: 100px 0 80px;
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    animation: gradientShift 15s ease-in-out infinite;
}

.contact-hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-hero-eyebrow {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    opacity: 0.95;
    background: linear-gradient(90deg, #ffffff 0%, #f0f0f0 50%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite, fadeInDown 1s ease-out;
}

.contact-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInDown 1s ease-out 0.2s both;
}

.contact-hero-subtitle {
    font-size: 1.35rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.contact-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Responsive Contact Hero */
@media (max-width: 991px) {
    .contact-hero {
        padding: 80px 0 60px;
    }

    .contact-hero-title {
        font-size: 2.5rem;
    }

    .contact-hero-subtitle {
        font-size: 1.25rem;
    }

    .contact-stats {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 60px 0 40px;
    }

    .contact-hero-title {
        font-size: 2rem;
    }

    .contact-hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .contact-stats {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .contact-hero-content {
        padding: 0 1rem;
    }

    .contact-hero-title {
        font-size: 1.75rem;
    }

    .contact-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

/* === WORK HERO SECTION === */

.work-hero {
    background: linear-gradient(135deg, #f12711 0%, #f5af19 100%);
    padding: 100px 0 80px;
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    animation: gradientShift 15s ease-in-out infinite;
}

.work-hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.work-hero-eyebrow {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    opacity: 0.95;
    background: linear-gradient(90deg, #ffffff 0%, #f0f0f0 50%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite, fadeInDown 1s ease-out;
}

.work-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInDown 1s ease-out 0.2s both;
}

.work-hero-subtitle {
    font-size: 1.35rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.work-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Responsive Work Hero */
@media (max-width: 991px) {
    .work-hero {
        padding: 80px 0 60px;
    }

    .work-hero-title {
        font-size: 2.5rem;
    }

    .work-hero-subtitle {
        font-size: 1.25rem;
    }

    .work-stats {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .work-hero {
        padding: 60px 0 40px;
    }

    .work-hero-title {
        font-size: 2rem;
    }

    .work-hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .work-stats {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .work-hero-content {
        padding: 0 1rem;
    }

    .work-hero-title {
        font-size: 1.75rem;
    }

    .work-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

/* === SERVICES HERO SECTION === */

.services-hero {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    padding: 100px 0 80px;
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    animation: gradientShift 15s ease-in-out infinite;
}

.services-hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.services-hero-eyebrow {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    opacity: 0.95;
    background: linear-gradient(90deg, #ffffff 0%, #f0f0f0 50%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite, fadeInDown 1s ease-out;
}

.services-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInDown 1s ease-out 0.2s both;
}

.services-hero-subtitle {
    font-size: 1.35rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.services-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Responsive Services Hero */
@media (max-width: 991px) {
    .services-hero {
        padding: 80px 0 60px;
    }

    .services-hero-title {
        font-size: 2.5rem;
    }

    .services-hero-subtitle {
        font-size: 1.25rem;
    }

    .services-stats {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .services-hero {
        padding: 60px 0 40px;
    }

    .services-hero-title {
        font-size: 2rem;
    }

    .services-hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .services-stats {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .services-hero-content {
        padding: 0 1rem;
    }

    .services-hero-title {
        font-size: 1.75rem;
    }

    .services-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

/* === ABOUT HERO SECTION === */

.about-hero {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    padding: 100px 0 80px;
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    animation: gradientShift 15s ease-in-out infinite;
}

.about-hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-hero-eyebrow {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    opacity: 0.95;
    background: linear-gradient(90deg, #ffffff 0%, #f0f0f0 50%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite, fadeInDown 1s ease-out;
}

.about-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInDown 1s ease-out 0.2s both;
}

.about-hero-subtitle {
    font-size: 1.35rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.about-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Responsive About Hero */
@media (max-width: 991px) {
    .about-hero {
        padding: 80px 0 60px;
    }

    .about-hero-title {
        font-size: 2.5rem;
    }

    .about-hero-subtitle {
        font-size: 1.25rem;
    }

    .about-stats {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 60px 0 40px;
    }

    .about-hero-title {
        font-size: 2rem;
    }

    .about-hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .about-stats {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .about-hero-content {
        padding: 0 1rem;
    }

    .about-hero-title {
        font-size: 1.75rem;
    }

    .about-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

/* === POWERED BY SECTION === */

.powered-by-section {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin: 40px 0;
}

.powered-by-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.powered-by-subtitle {
    font-size: 1.1rem;
    color: #666666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.powered-by-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.powered-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    padding: 1.5rem;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.powered-logo-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 123, 255, 0.2);
}

.powered-logo {
    width: 80px;
    height: 80px;
    color: #007bff;
    transition: all 0.3s ease;
}

.powered-logo-item:hover .powered-logo {
    color: #0056b3;
    transform: rotate(5deg);
}

/* Color each logo uniquely */
.powered-logo-item:nth-child(1) .powered-logo {
    color: #00A67E;
}

.powered-logo-item:nth-child(2) .powered-logo {
    color: #D4A574;
}

.powered-logo-item:nth-child(3) .powered-logo {
    color: #4285F4;
}

.powered-logo-item:nth-child(4) .powered-logo {
    color: #000000;
}

.powered-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333333;
    text-align: center;
}

/* Dark Theme Powered By */
[data-theme="dark"] .powered-by-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}

[data-theme="dark"] .powered-by-title {
    color: #e0e0e0;
}

[data-theme="dark"] .powered-by-subtitle {
    color: #b0b0b0;
}

[data-theme="dark"] .powered-logo-item {
    background: #0d0d0d;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .powered-logo-item:hover {
    box-shadow: 0 15px 35px rgba(77, 166, 255, 0.3);
}

[data-theme="dark"] .powered-label {
    color: #e0e0e0;
}

/* Responsive Powered By */
@media (max-width: 991px) {
    .powered-by-section {
        padding: 50px 30px;
    }

    .powered-by-title {
        font-size: 2rem;
    }

    .powered-by-logos {
        gap: 3rem;
    }

    .powered-logo {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 768px) {
    .powered-by-section {
        padding: 40px 20px;
    }

    .powered-by-title {
        font-size: 1.75rem;
    }

    .powered-by-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .powered-by-logos {
        gap: 2rem;
    }

    .powered-logo {
        width: 60px;
        height: 60px;
    }

    .powered-logo-item {
        padding: 1rem;
    }

    .powered-label {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .powered-by-section {
        padding: 30px 15px;
        margin: 20px 0;
    }

    .powered-by-title {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

    .powered-by-logos {
        gap: 1.5rem;
    }

    .powered-logo {
        width: 50px;
        height: 50px;
    }

    .powered-logo-item {
        padding: 0.75rem;
    }

    .powered-label {
        font-size: 0.875rem;
    }
}


/* === CONTACT PAGE STYLES === */

.contact-company-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 1.5rem;
}

[data-theme="dark"] .contact-company-name {
    color: #e0e0e0;
}

.contact-location {
    margin-bottom: 2rem;
}

.location-header {
    font-size: 1.2rem;
    font-weight: 600;
    color: #007bff;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

[data-theme="dark"] .location-header {
    color: #4da6ff;
    border-bottom-color: #333333;
}

.flag-icon {
    width: 24px;
    height: 24px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.india-flag {
    background-image: url(img/india.png);
}

.location-details p {
    line-height: 1.8;
    color: #555555;
}

[data-theme="dark"] .location-details p {
    color: #b0b0b0;
}

.location-details a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.location-details a:hover {
    color: #0056b3;
    text-decoration: underline;
}

[data-theme="dark"] .location-details a {
    color: #4da6ff;
}

[data-theme="dark"] .location-details a:hover {
    color: #80bdff;
}

.contact-form-wrapper {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .contact-form-wrapper {
    background-color: #1a1a1a;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.05);
}

.contact-input,
.contact-textarea {
    width: 100%;
    border-radius: 10px;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.contact-input:focus,
.contact-textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

[data-theme="dark"] .contact-input,
[data-theme="dark"] .contact-textarea {
    background-color: #0d0d0d;
    border-color: #333333;
    color: #e0e0e0;
}

[data-theme="dark"] .contact-input:focus,
[data-theme="dark"] .contact-textarea:focus {
    border-color: #4da6ff;
    box-shadow: 0 0 0 3px rgba(77, 166, 255, 0.1);
}

.contact-textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-submit-btn {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

[data-theme="dark"] .contact-submit-btn {
    background: linear-gradient(135deg, #4da6ff 0%, #007bff 100%);
}

/* Responsive Contact Page */
@media (max-width: 991px) {
    .column-section {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .column.one-half {
        width: 100%;
        margin: 0 !important;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .contact-company-name {
        font-size: 1.3rem;
    }

    .location-header {
        font-size: 1.1rem;
    }

    .contact-form-wrapper {
        padding: 1.25rem;
    }

    .contact-submit-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .contact-company-name {
        font-size: 1.2rem;
    }

    .location-header {
        font-size: 1rem;
    }

    .location-details p {
        font-size: 0.9rem;
    }

    .contact-form-wrapper {
        padding: 1rem;
    }

    .contact-input,
    .contact-textarea {
        font-size: 0.95rem;
        padding: 0.65rem 0.85rem;
    }
}

/* Contact Map */
.contact-map {
    width: 60%;
    max-width: 800px;
    height: 450px;
    display: block;
    margin: 0 auto;
    border: 0;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 991px) {
    .contact-map {
        width: 80%;
        height: 400px;
    }
}

@media (max-width: 768px) {
    .contact-map {
        width: 100%;
        height: 350px;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .contact-map {
        width: 100%;
        height: 300px;
    }
}

/* About Page Icons */
.about-icon {
    max-width: 150px;
    height: auto;
}

.card-icon {
    max-width: 100px;
    height: auto;
}

.seperator {
    width: 50px;
    height: 2px;
    background: #007bff;
}

[data-theme="dark"] .seperator {
    background: #4da6ff;
}

/* Service Page Icons */
.service-icon {
    color: #007bff;
}

[data-theme="dark"] .service-icon {
    color: #4da6ff;
}

/* Testimonials Section */
.testimonials-section {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
}

.testimonials-section .testimonial-item {
    color: #ffffff;
}

.testimonials-section .blockquote {
    color: #ffffff;
}

.testimonials-section .blockquote p {
    color: rgba(255, 255, 255, 0.95);
}

.testimonials-section .blockquote-footer {
    color: rgba(255, 255, 255, 0.85) !important;
}

.testimonials-section .blockquote-footer strong {
    color: #ffffff;
}

[data-theme="dark"] .testimonials-section {
    background-color: #0a0a0a !important;
}

/* Swiper pagination for testimonials */
.testimonials-section .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
}

.testimonials-section .swiper-pagination-bullet-active {
    background: #ffffff;
}

/* Force testimonials section and children to have dark background */
.testimonials-section,
.testimonials-section .section-inner,
.testimonials-section .wrapper,
.testimonials-section .row,
.testimonials-section .col-12 {
    background-color: transparent !important;
}

.testimonials-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d3748 100%) !important;
}

.testimonials-section .swiper-slide {
    background-color: transparent !important;
}

[data-theme="dark"] .testimonials-section {
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a2e 100%) !important;
}
