/**
 * Framework India - Main Stylesheet
 * Complete Design System
 */

/* ==========================================
   CSS VARIABLES
   ========================================== */
:root {
    /* ==========================================
       STRICT 3-COLOR PALETTE
       Blue / Black / White (use alpha for tints)
       ========================================== */
    --brand-blue: #3089cd;
    --brand-blue-rgb: 48, 137, 205;
    --brand-black: #000000;
    --brand-black-rgb: 0, 0, 0;
    --brand-white: #FFFFFF;
    --brand-white-rgb: 255, 255, 255;

    /* Legacy tokens mapped to the 3-color palette */
    --primary-blue: var(--brand-blue);
    --accent-orange: var(--brand-blue);
    --white: var(--brand-white);
    --dark-gray: var(--brand-black);
    --light-gray: rgba(var(--brand-black-rgb), 0.03);
    --success-green: var(--brand-blue);
    --text-gray: rgba(var(--brand-black-rgb), 0.85);
    --light-text: rgba(var(--brand-black-rgb), 0.65);
    --border-gray: rgba(var(--brand-black-rgb), 0.15);
    
    /* Gradients (still only blue/black/white) */
    --blue-gradient: linear-gradient(135deg, rgba(var(--brand-blue-rgb), 1) 0%, rgba(var(--brand-blue-rgb), 0.82) 100%);
    --orange-gradient: var(--blue-gradient);

    /* Bootstrap theme overrides (keeps Bootstrap within palette) */
    --bs-primary: var(--brand-blue);
    --bs-secondary: var(--brand-black);
    --bs-success: var(--brand-blue);
    --bs-info: var(--brand-blue);
    --bs-warning: var(--brand-blue);
    --bs-danger: var(--brand-black);
    --bs-light: var(--brand-white);
    --bs-dark: var(--brand-black);
    --bs-body-bg: var(--brand-white);
    --bs-body-color: rgba(var(--brand-black-rgb), 0.85);
    --bs-link-color: var(--brand-blue);
    --bs-link-hover-color: var(--brand-black);
    --bs-border-color: rgba(var(--brand-black-rgb), 0.15);
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-xxl: 64px;
    --spacing-massive: 80px;
    
    /* Shadows */
    --shadow-light: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-strong: 0 8px 24px rgba(0, 0, 0, 0.15);
    --shadow-extra: 0 16px 48px rgba(0, 0, 0, 0.2);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ==========================================
   BASE STYLES
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-md);
}

h1 { font-size: 48px; }
h2 { font-size: 36px; }
h3 { font-size: 28px; }
h4 { font-size: 24px; }
h5 { font-size: 20px; }
h6 { font-size: 18px; }

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-gray);
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition-normal);
}

a:hover {
    color: var(--brand-black);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: var(--spacing-massive) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: var(--spacing-sm);
}

.section-title p {
    font-size: 18px;
    color: var(--light-text);
}

/* ==========================================
   TOP UTILITY BAR
   ========================================== */
.top-bar {
    background-color: #3089cd;
    color: var(--white);
    padding: 12px 0;
    font-size: 13px;
    line-height: normal;
}

.top-bar .contact-info a,
.top-bar .top-utility-links a,
.top-bar .social-links a {
    color: var(--white);
    margin-right: var(--spacing-sm);
    transition: var(--transition-normal);
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

.top-bar .contact-info a:hover,
.top-bar .top-utility-links a:hover,
.top-bar .social-links a:hover {
    color: var(--white);
    opacity: 0.85;
}

.top-bar .contact-info i,
.top-bar .top-utility-links i,
.top-bar .social-links i {
    margin-right: 5px;
}

.career-nav-link {
    color: #c084fc !important; /* Bright Purple/Lavender */
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 18px;
    letter-spacing: 0.3px;
    text-shadow: 
        1px 1px 0 #fff,
        -1px 1px 0 #fff,
        1px -1px 0 #fff,
        -1px -1px 0 #fff,
        0 0 5px rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.career-nav-link:hover {
    color: #fff !important;
    text-shadow: 
        1px 1px 0 #c084fc,
        -1px 1px 0 #c084fc,
        1px -1px 0 #c084fc,
        -1px -1px 0 #c084fc,
        0 0 8px #c084fc;
    transform: scale(1.05);
}

.top-bar .social-links {
    text-align: right;
}

.top-bar .social-links a {
    font-size: 16px;
    margin-left: var(--spacing-sm);
    margin-right: 0;
}

/* ==========================================
   MAIN HEADER & NAVIGATION
   ========================================== */
.main-header {
    background-color: var(--white);
    box-shadow: var(--shadow-light);
    transition: var(--transition-normal);
}

.main-header.scrolled {
    box-shadow: var(--shadow-medium);
}

.navbar {
    padding: var(--spacing-sm) 0;
}

.logo-img {
    height: 50px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    transition: var(--transition-normal);
}

.logo-img:hover {
    opacity: 0.8;
}

.footer-logo {
    height: 70px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(var(--brand-blue-rgb), 0.3);
}

/* Legacy logo text styles (backup) */
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-framework {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 22px;
    color: var(--primary-blue);
    letter-spacing: 1px;
}

.logo-engineering {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    color: var(--brand-black);
    letter-spacing: 2px;
}

.navbar-nav .nav-link {
    color: var(--text-gray);
    font-weight: 600;
    font-size: 16px;
    padding: var(--spacing-sm);
    margin: 0 5px;
    transition: var(--transition-normal);
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--brand-black);
}

.navbar-nav .nav-link.active {
    color: var(--brand-black);
}


.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-strong);
    border-radius: 12px;
    padding: var(--spacing-sm);
    margin-top: 0;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-item {
    padding: 12px var(--spacing-md);
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.dropdown-item:hover {
    background: rgba(var(--brand-black-rgb), 0.05);
    color: var(--brand-black);
    transform: translateX(5px);
    padding-left: 20px;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    padding: 12px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition-normal);
    border: none;
}

.btn-primary {
    background: var(--blue-gradient);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(var(--brand-blue-rgb), 0.30);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(var(--brand-blue-rgb), 0.40);
    background: linear-gradient(135deg, rgba(var(--brand-blue-rgb), 0.95) 0%, rgba(var(--brand-blue-rgb), 0.75) 100%);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-light {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-light:hover {
    background: var(--white);
    color: var(--primary-blue);
}

/* ==========================================
   HERO SECTION - Enhanced & Fully Responsive
   ========================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--primary-blue);
}

/* Decorative animated circles */
.hero-decorative {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--brand-blue-rgb), 0.18) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.hero-circle-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.hero-circle-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -50px;
    animation-delay: 5s;
}

.hero-circle-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

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

/* Carousel fade effect */
.carousel-fade .carousel-item {
    transition: opacity 0.8s ease-in-out;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--brand-blue-rgb), 0.92) 0%, rgba(var(--brand-blue-rgb), 0.86) 55%, rgba(var(--brand-black-rgb), 0.40) 100%);
    z-index: 2;
}

/* Content wrapper for centering */
.hero-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
    z-index: 10;
    padding: 120px 0 80px;
}

/* Glassmorphism container */
.hero-content-glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: clamp(40px, 6vw, 80px) clamp(30px, 5vw, 60px);
    max-width: 950px;
    width: 100%;
    text-align: center;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: slideInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

/* Glass shine effect */
.hero-content-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

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

/* Hero badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(var(--brand-blue-rgb), 0.22);
    border: 1px solid rgba(var(--brand-blue-rgb), 0.38);
    border-radius: 50px;
    padding: 8px 20px;
    margin-bottom: clamp(20px, 3vw, 30px);
    font-size: clamp(13px, 1.5vw, 15px);
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: fadeIn 1s ease 0.3s backwards;
}

.hero-badge i {
    font-size: 18px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Hero title */
.hero-title {
    font-size: clamp(28px, 5.5vw, 72px);
    color: var(--white);
    margin-bottom: clamp(16px, 2.5vw, 24px);
    text-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.3),
        0 4px 20px rgba(0, 0, 0, 0.2);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -1.5px;
    animation: fadeIn 1s ease 0.5s backwards;
}

/* Hero subtitle */
.hero-subtitle {
    font-size: clamp(15px, 2.2vw, 24px);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: clamp(28px, 4vw, 40px);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 400;
    animation: fadeIn 1s ease 0.7s backwards;
}

/* Hero buttons */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1s ease 0.9s backwards;
}

.btn-hero-primary,
.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    font-size: clamp(14px, 1.6vw, 17px);
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    min-width: 180px;
    justify-content: center;
}

.btn-hero-primary {
    background: linear-gradient(135deg, rgba(var(--brand-blue-rgb), 1) 0%, rgba(var(--brand-blue-rgb), 0.80) 100%);
    color: var(--white);
    border: 2px solid transparent;
    box-shadow: 0 8px 24px rgba(var(--brand-blue-rgb), 0.35);
}

.btn-hero-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 32px rgba(var(--brand-blue-rgb), 0.5);
    color: var(--white);
}

.btn-hero-primary i {
    transition: transform 0.3s ease;
}

.btn-hero-primary:hover i {
    transform: translateX(5px);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px) scale(1.05);
    color: var(--white);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.btn-hero-secondary i {
    transition: transform 0.3s ease;
}

.btn-hero-secondary:hover i {
    transform: translateX(3px);
}

/* Enhanced carousel controls */
.carousel-control-prev,
.carousel-control-next {
    width: 70px;
    height: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    z-index: 15;
}

.hero-section:hover .carousel-control-prev,
.hero-section:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev {
    left: 30px;
}

.carousel-control-next {
    right: 30px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.15);
}

.hero-control-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.hero-control-icon i {
    font-size: 28px;
    color: var(--white);
    font-weight: bold;
}

/* Enhanced carousel indicators */
.carousel-indicators {
    bottom: 35px;
    margin-bottom: 0;
    z-index: 15;
    gap: 8px;
}

.carousel-indicators [data-bs-target] {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin: 0;
    background-color: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
}

.carousel-indicators [data-bs-target]:hover {
    background-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.carousel-indicators .active {
    width: 48px;
    border-radius: 8px;
    background-color: var(--primary-blue);
    border-color: var(--white);
    box-shadow: 0 4px 12px rgba(var(--brand-blue-rgb), 0.5);
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: fadeIn 1.5s ease 1.5s backwards;
}

.scroll-mouse {
    width: 28px;
    height: 45px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    position: relative;
    backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0.05);
}

.scroll-wheel {
    width: 4px;
    height: 10px;
    background: var(--white);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0%, 20% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(18px);
        opacity: 0;
    }
}

.hero-scroll-indicator span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* ==========================================
   RESPONSIVE BREAKPOINTS - Tablet
   ========================================== */
@media (max-width: 1200px) {
    .hero-content-glass {
        padding: 60px 40px;
    }
    
    .carousel-control-prev {
        left: 20px;
    }
    
    .carousel-control-next {
        right: 20px;
    }
}

@media (max-width: 991px) {
    .hero-section {
        min-height: 85vh;
    }
    
    .hero-content-wrapper {
        padding: 100px 0 70px;
        min-height: 85vh;
    }
    
    .hero-content-glass {
        padding: 50px 35px;
        border-radius: 25px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 56px;
        height: 56px;
    }
    
    .hero-control-icon i {
        font-size: 24px;
    }
    
    .carousel-control-prev {
        left: 15px;
    }
    
    .carousel-control-next {
        right: 15px;
    }
    
    .hero-circle-1 {
        width: 300px;
        height: 300px;
    }
    
    .hero-circle-2 {
        width: 250px;
        height: 250px;
    }
}

/* ==========================================
   RESPONSIVE BREAKPOINTS - Mobile
   ========================================== */
@media (max-width: 767px) {
    .hero-section {
        min-height: 90vh;
    }
    
    .hero-content-wrapper {
        padding: 90px 0 60px;
        min-height: 90vh;
    }
    
    .hero-content-glass {
        padding: 40px 25px;
        border-radius: 20px;
        margin: 0 10px;
    }
    
    .hero-badge {
        font-size: 12px;
        padding: 6px 16px;
        margin-bottom: 16px;
    }
    
    .hero-badge i {
        font-size: 14px;
    }
    
    .hero-buttons {
        gap: 12px;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 14px 28px;
        min-width: 160px;
        font-size: 15px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 48px;
        height: 48px;
        opacity: 0.7;
    }
    
    .hero-control-icon i {
        font-size: 20px;
    }
    
    .carousel-control-prev {
        left: 12px;
    }
    
    .carousel-control-next {
        right: 12px;
    }
    
    .carousel-indicators {
        bottom: 25px;
    }
    
    .carousel-indicators [data-bs-target] {
        width: 10px;
        height: 10px;
    }
    
    .carousel-indicators .active {
        width: 32px;
    }
    
    .hero-scroll-indicator {
        bottom: 30px;
    }
    
    .scroll-mouse {
        width: 24px;
        height: 40px;
    }
    
    .hero-circle-1,
    .hero-circle-2 {
        display: none;
    }
}

@media (max-width: 575px) {
    .hero-section {
        min-height: 100vh;
    }
    
    .hero-content-wrapper {
        min-height: 100vh;
        padding: 80px 0 50px;
    }
    
    .hero-content-glass {
        padding: 35px 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        max-width: 280px;
        padding: 14px 24px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 42px;
        height: 42px;
    }
    
    .hero-control-icon i {
        font-size: 18px;
    }
    
    .carousel-indicators [data-bs-target] {
        width: 8px;
        height: 8px;
    }
    
    .carousel-indicators .active {
        width: 28px;
    }
}

/* ==========================================
   STATISTICS BAR
   ========================================== */
.statistics-bar {
    background: var(--blue-gradient);
    color: var(--white);
    padding: var(--spacing-xl) 0;
}

.stat-item {
    text-align: center;
    padding: var(--spacing-md);
}

.stat-icon {
    font-size: 48px;
    margin-bottom: var(--spacing-sm);
    opacity: 0.9;
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    font-family: var(--font-heading);
    display: block;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
    font-weight: 600;
}

/* ==========================================
   INTRODUCTION SECTION
   ========================================== */
.introduction-section {
    background-color: var(--white);
}

.intro-content {
    display: flex;
    align-items: stretch;
    gap: var(--spacing-xl);
}

.intro-text {
    flex: 1;
}

.intro-text h2 {
    color: var(--primary-blue);
}

.intro-text p {
    font-size: 18px;
    line-height: 1.8;
}

.intro-image {
    flex: 1;
    display: flex;
}

.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    box-shadow: var(--shadow-strong);
}

/* ==========================================
   CARDS
   ========================================== */
.card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    background: var(--white);
    overflow: hidden;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--orange-gradient);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

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

.card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 12px 40px rgba(var(--brand-blue-rgb), 0.15);
}

.service-card {
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-lg);
    border: 1px solid rgba(var(--brand-blue-rgb), 0.08); /* Added subtle border */
    border-radius: 24px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%; /* Ensure full height */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(var(--brand-blue-rgb), 0.08) 0%, transparent 70%);
    transition: var(--transition-slow);
    opacity: 0;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(var(--brand-blue-rgb), 0.15);
    border-color: rgba(var(--brand-blue-rgb), 0.3);
    background: linear-gradient(145deg, var(--white) 0%, rgba(var(--brand-blue-rgb), 0.02) 100%);
}

.service-card:hover::before {
    opacity: 1;
    top: -30%;
    right: -30%;
}

.service-icon {
    font-size: 68px; /* Slightly larger icon */
    background: var(--blue-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-md);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    display: inline-block;
}

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

.service-card h4 {
    margin-bottom: var(--spacing-sm);
    color: var(--dark-gray);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    position: relative;
    z-index: 2;
}

.service-card p {
    color: var(--light-text);
    margin-bottom: var(--spacing-lg);
    line-height: 1.7;
    font-size: 15px;
    position: relative;
    z-index: 2;
    flex-grow: 1; /* Push button to bottom */
}

/* Ensure 'Learn More' button is always at the bottom */
.service-card .btn {
    margin-top: auto;
    z-index: 2;
}

/* ==========================================
   ADVANTAGES SECTION - Enhanced
   ========================================== */
.advantages-section {
    background: linear-gradient(180deg, rgba(var(--brand-blue-rgb), 0.03) 0%, var(--white) 40%, rgba(var(--brand-black-rgb), 0.02) 100%);
    position: relative;
    overflow: hidden;
}

.advantages-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 15% 30%, rgba(var(--brand-blue-rgb), 0.04) 0%, transparent 50%),
                radial-gradient(circle at 85% 70%, rgba(var(--brand-blue-rgb), 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.advantage-item {
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-lg);
    background: var(--white);
    border-radius: 20px;
    border: 1px solid rgba(var(--brand-blue-rgb), 0.08);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Align content to top */
}

.advantage-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--blue-gradient);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 0 4px 4px;
}

.advantage-item:hover::before {
    transform: scaleX(1);
}

.advantage-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(var(--brand-blue-rgb), 0.14);
    border-color: rgba(var(--brand-blue-rgb), 0.2);
}

.advantage-icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(var(--brand-blue-rgb), 0.08) 0%, rgba(var(--brand-blue-rgb), 0.04) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.advantage-item:hover .advantage-icon-wrap {
    background: var(--blue-gradient);
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(var(--brand-blue-rgb), 0.25);
}

.advantage-icon {
    font-size: 36px;
    background: var(--blue-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s ease;
    display: inline-block;
}

.advantage-item:hover .advantage-icon {
    -webkit-text-fill-color: var(--white);
    background: none;
    transform: scale(1.1);
}

.advantage-item h5 {
    color: var(--dark-gray);
    margin-bottom: var(--spacing-md);
    font-size: 18px;
    font-weight: 700;
    min-height: 48px; /* Standardize height for 1 or 2 lines */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.advantage-item p {
    color: var(--light-text);
    font-size: 14px;
    margin: 0;
    line-height: 1.7;
}

/* ==========================================
   INDUSTRIES SECTION - Completely Redesigned
   ========================================== */
.industries-section {
    background: linear-gradient(180deg, rgba(var(--brand-black-rgb), 0.03) 0%, var(--white) 55%, rgba(var(--brand-blue-rgb), 0.06) 100%);
    position: relative;
    overflow: hidden;
}

.industries-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(var(--brand-blue-rgb), 0.04) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(var(--brand-black-rgb), 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.industry-card {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    height: 380px;
    cursor: pointer;
    background: transparent;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.industry-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(var(--brand-blue-rgb), 0.25);
}

.industry-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s ease;
    filter: brightness(0.85) contrast(1.05);
    transform: scale(1.05);
    border: none !important;
    outline: none !important;
}

.industry-card:hover .industry-card-img {
    transform: scale(1.1);
    filter: brightness(0.7) contrast(1.1);
}

/* Colored overlay that changes on hover */
.industry-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 60%;
    background: linear-gradient(to bottom, 
        transparent 0%,
        rgba(var(--brand-black-rgb), 0.75) 40%,
        rgba(var(--brand-black-rgb), 0.95) 100%);
    padding: var(--spacing-lg);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.industry-card:hover .industry-overlay {
    top: 0;
    background: linear-gradient(135deg, rgba(var(--brand-black-rgb), 0.9) 0%, rgba(var(--brand-black-rgb), 0.8) 55%, rgba(var(--brand-black-rgb), 0.6) 100%);
    padding: var(--spacing-xl);
}

/* Icon in top corner */
.industry-icon {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--white);
    z-index: 3;
    transform: scale(0) rotate(-90deg);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.industry-card:hover .industry-icon {
    transform: scale(1) rotate(0deg);
    opacity: 1;
}

/* Title styling */
.industry-overlay h4 {
    color: var(--white);
    margin: 0 0 12px 0;
    font-size: 26px;
    font-weight: 700;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: inline-block;
}

.industry-card:hover .industry-overlay h4 {
    font-size: 30px;
    margin-bottom: 16px;
}

/* Underline animation */
.industry-overlay h4::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.industry-card:hover .industry-overlay h4::after {
    width: 100%;
    background: var(--primary-blue);
}

/* Description text */
.industry-description {
    color: rgba(255, 255, 255, 0.95);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
    max-height: 0;
    overflow: hidden;
}

.industry-card:hover .industry-description {
    opacity: 1;
    transform: translateY(0);
    max-height: 100px;
}

/* Learn More button that appears on hover */
.industry-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    margin-top: 20px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    text-decoration: none;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.industry-card:hover .industry-learn-more {
    opacity: 1;
    transform: translateY(0);
}

.industry-learn-more:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateX(5px);
    color: var(--white);
}

/* Mobile responsiveness */
@media (max-width: 767px) {
    .industry-card {
        height: 320px;
        margin-bottom: var(--spacing-lg);
    }
    
    .industry-icon {
        width: 55px;
        height: 55px;
        font-size: 24px;
        top: 20px;
        right: 20px;
    }
    
    .industry-overlay h4 {
        font-size: 22px;
    }
    
    .industry-card:hover .industry-overlay h4 {
        font-size: 24px;
    }
    
    .industry-description {
        font-size: 14px;
    }
}

/* ==========================================
   PORTFOLIO SECTION - Swiper Carousel
   ========================================== */
.portfolio-section {
    background: linear-gradient(180deg, rgba(var(--brand-blue-rgb), 0.04) 0%, var(--white) 50%, rgba(var(--brand-black-rgb), 0.02) 100%);
    position: relative;
    overflow: hidden;
}

.portfolio-slider-wrap {
    position: relative;
    padding: 0 50px;
}

.portfolioSwiper {
    overflow: hidden;
    padding-bottom: 55px;
}

.portfolio-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: var(--white);
    border: 1px solid rgba(var(--brand-blue-rgb), 0.06);
    height: 100%;
}

.portfolio-card:hover {
    transform: none;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08); /* Keep original shadow */
    border-color: rgba(var(--brand-blue-rgb), 0.06); /* Keep original border */
}

/* Image wrapper with overlay */
.portfolio-card-img-wrap {
    position: relative;
    overflow: hidden;
}

.portfolio-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.portfolio-card:hover img {
    transform: scale(1.15);
}

.portfolio-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(var(--brand-blue-rgb), 0.6) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 16px;
}

.portfolio-card:hover .portfolio-card-overlay {
    opacity: 0; /* Keep hidden on hover */
}

.portfolio-card-badge {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-blue);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.portfolio-card-body {
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--white);
    position: relative;
    z-index: 2;
}

.portfolio-card-body h5 {
    color: var(--dark-gray);
    margin-bottom: 4px;
    font-size: 18px;
    font-weight: 700;
    transition: color var(--transition-normal);
}

.portfolio-card:hover .portfolio-card-body h5 {
    color: var(--dark-gray); /* Keep original color */
}

.portfolio-card-body p {
    color: var(--light-text);
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}

/* Card Inner Swiper */
.cardInnerSwiper {
    width: 100%;
    height: 240px;
}

.cardInnerSwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-card:hover .cardInnerSwiper img {
    transform: scale(1.15);
}

/* Swiper Navigation Arrows */
.portfolio-nav-prev,
.portfolio-nav-next {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: var(--white);
    border: 1px solid rgba(var(--brand-blue-rgb), 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.portfolio-nav-prev { left: 0; }
.portfolio-nav-next { right: 0; }

.portfolio-nav-prev:hover,
.portfolio-nav-next:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(var(--brand-blue-rgb), 0.3);
    transform: translateY(-50%) scale(1.08);
}

.portfolio-nav-prev i,
.portfolio-nav-next i {
    font-size: 20px;
    color: var(--primary-blue);
    transition: color 0.3s ease;
}

.portfolio-nav-prev:hover i,
.portfolio-nav-next:hover i {
    color: var(--white);
}

/* Swiper Pagination Dots */
.portfolio-pagination {
    bottom: 0 !important;
    position: relative !important;
    margin-top: 10px;
}

.portfolio-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(var(--brand-blue-rgb), 0.25);
    opacity: 1;
    transition: all 0.3s ease;
}

.portfolio-pagination .swiper-pagination-bullet-active {
    width: 32px;
    border-radius: 5px;
    background: var(--primary-blue);
}

/* Responsive */
@media (max-width: 767px) {
    .portfolio-slider-wrap {
        padding: 0 10px;
    }
    .portfolio-nav-prev,
    .portfolio-nav-next {
        width: 38px;
        height: 38px;
    }
    .portfolio-nav-prev { left: -5px; }
    .portfolio-nav-next { right: -5px; }
    .portfolio-nav-prev i,
    .portfolio-nav-next i {
        font-size: 16px;
    }
    .portfolio-card img {
        height: 200px;
    }
}

/* ==========================================
   TESTIMONIALS SECTION
   ========================================== */
.testimonials-section {
    background: var(--blue-gradient);
    color: var(--white);
}

.testimonials-section .section-title h2,
.testimonials-section .section-title p {
    color: var(--white);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: var(--spacing-lg);
    margin: var(--spacing-md);
    text-align: center;
}

.testimonial-quote {
    font-size: 18px;
    font-style: italic;
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 5px;
}

.testimonial-company {
    opacity: 0.9;
    font-size: 14px;
}

/* ==========================================
   CLIENT LOGOS SECTION
   ========================================== */
.clients-section {
    background-color: var(--white);
}

.client-logo {
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition-normal);
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.client-logo img {
    max-height: 80px;
    width: auto;
}

/* Placeholder for client logos */
.client-logo-placeholder {
    background: var(--light-gray);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    color: var(--light-text);
    font-size: 14px;
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-section {
    background: var(--white);
    color: var(--brand-black);
    text-align: center;
    padding: var(--spacing-massive) 0;
    border-top: 1px solid var(--border-gray);
    border-bottom: 1px solid var(--border-gray);
}

.cta-section h2 {
    color: var(--brand-black);
    font-size: 42px;
    margin-bottom: var(--spacing-md);
}

.cta-section p {
    color: var(--brand-black);
    font-size: 20px;
    margin-bottom: var(--spacing-lg);
}

.cta-section .btn-light {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.cta-section .btn-light:hover {
    background: var(--brand-black);
    color: var(--white);
    border-color: var(--brand-black);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: #3089cd;
    color: var(--white);
    padding: var(--spacing-massive) 0 var(--spacing-md);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--blue-gradient);
}

.footer-widget {
    background: transparent;
    padding: 0;
    border-radius: 0;
    border: none;
    transition: all 0.3s ease;
}

.footer-widget:hover {
    transform: none;
}

.footer-widget h5 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
    font-size: 18px;
    font-weight: 700;
}

.footer-widget p {
    color: var(--white);
    font-size: 14px;
    line-height: 1.8;
}

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

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: var(--white);
    font-size: 14px;
    transition: var(--transition-normal);
}

.footer-links a:hover {
    color: var(--white);
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--spacing-sm);
    color: var(--white);
    font-size: 14px;
}

.footer-contact i {
    color: var(--white); /* Changed to white for visibility on blue bg */
    margin-right: var(--spacing-xs);
    margin-top: 3px;
}

.footer-contact a {
    color: var(--white);
}

.footer-contact a:hover {
    color: var(--white);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(var(--brand-white-rgb), 0.1);
    border-radius: 50%;
    color: var(--white);
    margin-right: 10px;
    font-size: 14px;
    transition: var(--transition-normal);
}

.social-links a:hover {
    color: var(--white);
    background: rgba(var(--brand-white-rgb), 0.1);
    transform: none;
}

.footer-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 14px;
}

.footer-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-form .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-blue);
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin: 0;
}

/* ==========================================
   SCROLL TO TOP BUTTON
   ========================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--blue-gradient);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-strong);
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-extra);
}

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

.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(50px); /* Increased from 30px for more 'pop' */
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.fade-in-on-scroll.fade-in-active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

/* Mobile (< 768px) */
@media (max-width: 767.98px) {
    :root {
        --spacing-massive: 48px;
    }
    
    h1 { font-size: 32px; }
    h2 { font-size: 28px; }
    h3 { font-size: 24px; }
    h4 { font-size: 20px; }
    
    .top-bar {
        display: block !important;
        background-color: var(--dark-gray) !important;
        padding: 6px 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .top-bar .container {
        padding: 0 8px !important;
    }
    .top-bar .row {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        margin: 0 !important;
        gap: 0 !important;
    }
    .top-bar div[class*="col-"] {
        flex: 0 0 auto !important;
        width: auto !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    /* Line 1: Contact Info */
    .top-bar .col-lg-4:nth-child(1) {
        flex: 0 0 100% !important;
        margin-bottom: 6px !important;
        display: flex;
        justify-content: center;
    }
    /* Line 2: All Other Options Flowing Together */
    .top-bar .col-lg-4:nth-child(2),
    .top-bar .col-lg-4:nth-child(3) {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
    .top-bar .contact-info,
    .top-bar .top-utility-links,
    .top-bar .social-links-wrap {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        margin: 0 !important;
    }
    .top-bar .social-links {
        display: flex !important;
        flex-direction: row !important;
        gap: 8px !important;
        margin: 0 !important;
    }
    .top-bar a {
        font-size: 11px !important;
        white-space: nowrap !important;
        display: flex !important;
        align-items: center !important;
        gap: 4px !important;
        padding: 2px 4px !important;
    }
    /* Fix translate widget size and alignment */
    #google_translate_element {
        margin: 0 !important;
        line-height: normal !important;
    }
    .goog-te-gadget-simple {
        padding: 1px 6px !important;
        font-size: 10px !important;
        border-radius: 4px !important;
        background-color: rgba(255, 255, 255, 0.1) !important;
    }
    .top-bar .social-links a {
        padding: 0 !important;
        background: none !important;
    }
    .top-bar .social-links i {
        font-size: 14px !important;
    }
    
    .hero-section {
        height: 400px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .intro-content {
        flex-direction: column;
    }

    .intro-image img {
        height: auto;
    }
    
    .cta-section h2 {
        font-size: 28px;
    }
    
    .cta-section p {
        font-size: 16px;
    }
    
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
    
    .industry-card {
        height: 250px;
        margin-bottom: var(--spacing-md);
    }

    /* Footer Mobile Adjustments */
    .footer {
        text-align: center;
        padding-top: var(--spacing-xl); /* Reduced from massive for mobile */
    }
    .footer-widget h5 {
        margin-top: 0; /* Removed large margin-top for first row */
        margin-bottom: var(--spacing-sm);
        font-size: 16px; /* Slightly smaller for mobile columns */
    }
    .footer-links li, .footer-contact li {
        justify-content: center;
        margin-bottom: var(--spacing-xs);
        font-size: 14px; /* Better for readability */
    }
    .footer-contact li {
        flex-direction: column;
        align-items: center;
        gap: 2px;
    }
    .footer-contact i {
        margin-right: 0;
        font-size: 16px;
    }
    .footer-bottom {
        margin-top: var(--spacing-md);
    }
}

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-content h1 {
        font-size: 42px;
    }
    
    .intro-content {
        gap: var(--spacing-md);
    }
}

/* Desktop (992px - 1199px): Compact nav for smaller desktops/laptops */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .navbar-nav {
        align-items: center;
    }
    .navbar-nav .nav-link {
        font-size: 13px;
        padding: 10px 6px;
        margin: 0 1px;
    }
    .logo-img {
        height: 40px;
        max-width: 180px;
    }
    .search-container {
        margin-left: 8px;
    }
    .search-input {
        width: 110px;
        font-size: 12px;
        padding: 4px 10px;
        padding-right: 28px;
    }
    .search-input:focus {
        width: 140px;
    }
    .dropdown-menu {
        min-width: 180px;
    }
    .top-bar {
        font-size: 12px;
        padding: 8px 0;
    }
    .top-bar .contact-info a,
    .top-bar .top-utility-links a {
        font-size: 12px;
        margin-right: 10px;
    }
    .lang-search-input {
        width: 120px;
        font-size: 12px;
        padding: 5px 10px;
        padding-right: 24px;
    }
    .lang-search-input:focus {
        width: 150px;
    }
    .top-bar .social-links a {
        width: 26px;
        height: 26px;
        margin-left: 8px;
    }
    .top-bar .social-links a i {
        font-size: 13px;
    }
    /* Specific fixes for 1024px wrapping */
    .top-bar .col-md-6 {
        width: auto;
        flex: 0 0 auto;
    }
    .top-bar .contact-info, 
    .top-bar .top-utility-links {
        white-space: nowrap;
        display: flex;
        gap: 10px;
    }
    .top-bar .social-links-wrap {
        justify-content: flex-end !important;
    }
}

/* Desktop (992px+) - shared */
@media (min-width: 992px) {
    .navbar-nav {
        align-items: center;
    }
}

/* Medium Desktop (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .container {
        max-width: 1140px;
    }
    .navbar-nav .nav-link {
        font-size: 14px;
        padding: 12px 8px;
        margin: 0 2px;
    }
    .logo-img {
        height: 45px;
        max-width: 210px;
    }
    .search-input {
        width: 130px;
        font-size: 13px;
    }
    .search-input:focus {
        width: 170px;
    }
}

/* Standard Desktop (1400px - 1599px) */
@media (min-width: 1400px) and (max-width: 1599.98px) {
    .container {
        max-width: 1320px;
    }
}

/* Large Desktop (1600px - 1919px) */
@media (min-width: 1600px) and (max-width: 1919.98px) {
    .container {
        max-width: 1440px;
    }
}

/* Full HD (1920px - 2559px) */
@media (min-width: 1920px) and (max-width: 2559.98px) {
    .container {
        max-width: 1600px;
    }
    .hero-slide-img {
        height: calc(100vh - 110px);
    }
}

/* QHD / 2K (2560px - 3839px) */
@media (min-width: 2560px) and (max-width: 3839.98px) {
    .container {
        max-width: 2000px;
    }
    body {
        font-size: 18px;
    }
    h1 { font-size: 56px; }
    h2 { font-size: 42px; }
    h3 { font-size: 34px; }
    h4 { font-size: 28px; }
    h5 { font-size: 24px; }
    h6 { font-size: 20px; }
    .navbar-nav .nav-link {
        font-size: 18px;
        padding: 16px 14px;
    }
    .logo-img {
        height: 65px;
        max-width: 320px;
    }
    .search-input {
        width: 200px;
        font-size: 16px;
        padding: 8px 18px;
        padding-right: 40px;
    }
    .search-input:focus {
        width: 260px;
    }
    .search-btn i {
        font-size: 18px;
    }
    .top-bar {
        font-size: 15px;
        padding: 14px 0;
    }
    .top-bar .contact-info a,
    .top-bar .top-utility-links a {
        font-size: 15px;
    }
    .top-bar .social-links a {
        width: 38px;
        height: 38px;
    }
    .top-bar .social-links a i {
        font-size: 18px;
    }
    .lang-search-input {
        width: 190px;
        font-size: 15px;
        padding: 8px 16px;
        padding-right: 32px;
    }
    .lang-search-input:focus {
        width: 240px;
    }
    .section-title h2 {
        font-size: 42px;
    }
    .section-title p {
        font-size: 20px;
    }
    section {
        padding: 100px 0;
    }
    .stat-number {
        font-size: 52px;
    }
    .stat-label {
        font-size: 18px;
    }
    .industry-card {
        height: 450px;
    }
    .industry-overlay h4 {
        font-size: 30px;
    }
    .page-header {
        padding: 120px 0 80px;
    }
    .page-header h1 {
        font-size: 56px;
    }
    .page-header p {
        font-size: 24px;
    }
    .ticker-item {
        font-size: 32px;
    }
    .portfolio-card img {
        height: 300px;
    }
    .intro-text p {
        font-size: 20px;
    }
    .service-card-new .card-img-top {
        height: 220px;
    }
    .advantage-card-img {
        height: 260px;
    }
    .footer-widget h5 {
        font-size: 22px;
    }
    .footer-widget p,
    .footer-links a,
    .footer-contact li {
        font-size: 16px;
    }
    .btn {
        padding: 14px 38px;
        font-size: 18px;
    }
    .cta-section h2 {
        font-size: 48px;
    }
    .cta-section p {
        font-size: 22px;
    }
    .dropdown-item {
        font-size: 16px;
        padding: 14px 24px;
    }
    /* Inner page scaling for 2K */
    .service-header-modern {
        padding: 120px 0 100px;
    }
    .service-header-content h1 {
        font-size: 52px;
    }
    .header-description p,
    .industry-overview p {
        font-size: 20px;
    }
    .stat-item-inline .stat-number {
        font-size: 52px;
    }
    .about-overview h2,
    .section-heading {
        font-size: 42px;
    }
    .gallery-item-wrap {
        height: 360px;
    }
    .contact-form-wrapper {
        padding: 50px;
    }
    .offering-card h4 {
        font-size: 26px;
    }
    .offering-card p {
        font-size: 16px;
    }
    .capability-card-img {
        height: 340px;
    }
    .capability-card-content h5 {
        font-size: 24px;
    }
    .capability-card-content p {
        font-size: 17px;
    }
}

/* 4K / UHD (3840px - 5119px) */
@media (min-width: 3840px) and (max-width: 5119.98px) {
    .container {
        max-width: 3000px;
    }
    body {
        font-size: 24px;
    }
    h1 { font-size: 80px; }
    h2 { font-size: 60px; }
    h3 { font-size: 48px; }
    h4 { font-size: 38px; }
    h5 { font-size: 32px; }
    h6 { font-size: 28px; }
    .navbar {
        padding: 24px 0;
    }
    .navbar-nav .nav-link {
        font-size: 24px;
        padding: 20px 18px;
        margin: 0 8px;
    }
    .logo-img {
        height: 90px;
        max-width: 450px;
    }
    .search-container {
        margin-left: 20px;
    }
    .search-input {
        width: 280px;
        font-size: 20px;
        padding: 12px 24px;
        padding-right: 50px;
        border-radius: 30px;
    }
    .search-input:focus {
        width: 360px;
    }
    .search-btn i {
        font-size: 22px;
    }
    .top-bar {
        font-size: 20px;
        padding: 20px 0;
    }
    .top-bar .contact-info a,
    .top-bar .top-utility-links a {
        font-size: 20px;
        margin-right: 24px;
    }
    .top-bar .contact-info i,
    .top-bar .top-utility-links i {
        margin-right: 10px;
        font-size: 20px;
    }
    .top-bar .social-links a {
        width: 48px;
        height: 48px;
        margin-left: 16px;
    }
    .top-bar .social-links a i {
        font-size: 24px;
    }
    .lang-search-input {
        width: 260px;
        font-size: 20px;
        padding: 10px 20px;
        padding-right: 40px;
        border-radius: 30px;
    }
    .lang-search-input:focus {
        width: 320px;
    }
    .section-title h2 {
        font-size: 60px;
    }
    .section-title p {
        font-size: 28px;
    }
    section {
        padding: 140px 0;
    }
    .stat-number {
        font-size: 72px;
    }
    .stat-label {
        font-size: 24px;
    }
    .stat-icon {
        font-size: 72px;
    }
    .industry-card {
        height: 600px;
        border-radius: 36px;
    }
    .industry-overlay h4 {
        font-size: 40px;
    }
    .industry-description {
        font-size: 22px;
    }
    .page-header {
        padding: 160px 0 100px;
    }
    .page-header h1 {
        font-size: 80px;
    }
    .page-header p {
        font-size: 32px;
    }
    .ticker-item {
        font-size: 44px;
        padding: 0 60px;
        gap: 40px;
    }
    .sliding-ticker-wrapper {
        padding: 30px 0;
    }
    .portfolio-card img {
        height: 400px;
    }
    .portfolio-card-body h5 {
        font-size: 26px;
    }
    .portfolio-card-body p {
        font-size: 20px;
    }
    .intro-text h2 {
        font-size: 48px;
    }
    .intro-text p {
        font-size: 24px;
    }
    .service-card-new .card-img-top {
        height: 300px;
    }
    .service-card-new .card-title {
        font-size: 28px;
    }
    .service-card-new .list-unstyled li {
        font-size: 20px;
    }
    .advantage-card-img {
        height: 340px;
    }
    .advantage-card-content h5 {
        font-size: 26px;
    }
    .footer {
        padding: 120px 0 40px;
    }
    .footer-widget h5 {
        font-size: 28px;
    }
    .footer-widget p,
    .footer-links a,
    .footer-contact li {
        font-size: 20px;
    }
    .footer-logo {
        height: 100px;
        max-width: 350px;
    }
    .btn {
        padding: 20px 48px;
        font-size: 24px;
        border-radius: 8px;
    }
    .cta-section h2 {
        font-size: 64px;
    }
    .cta-section p {
        font-size: 28px;
    }
    .dropdown-menu {
        border-radius: 20px;
        padding: 20px;
    }
    .dropdown-item {
        font-size: 22px;
        padding: 18px 28px;
        border-radius: 14px;
    }
    .card {
        border-radius: 24px;
    }
    .hero-slide-img {
        height: calc(100vh - 160px);
    }
    .hero-nav-prev, .hero-nav-next {
        width: 80px;
        height: 80px;
    }
    .hero-nav-prev i, .hero-nav-next i {
        font-size: 32px;
    }
    .portfolio-nav-prev,
    .portfolio-nav-next {
        width: 72px;
        height: 72px;
    }
    .portfolio-nav-prev i,
    .portfolio-nav-next i {
        font-size: 28px;
    }
    /* Inner page scaling for 4K */
    .service-header-modern {
        padding: 180px 0 140px;
    }
    .service-header-content h1 {
        font-size: 80px;
    }
    .header-description p,
    .industry-overview p {
        font-size: 28px;
    }
    .stat-item-inline .stat-number {
        font-size: 72px;
    }
    .stat-item-inline .stat-label {
        font-size: 24px;
    }
    .about-overview h2,
    .section-heading {
        font-size: 60px;
    }
    .gallery-item-wrap {
        height: 480px;
    }
    .contact-form-wrapper {
        padding: 80px;
    }
    .offering-card h4 {
        font-size: 38px;
    }
    .offering-card p {
        font-size: 22px;
    }
    .capability-card-img {
        height: 450px;
    }
    .capability-card-content h5 {
        font-size: 32px;
    }
    .capability-card-content p {
        font-size: 22px;
    }
}

/* 5K (5120px+) */
@media (min-width: 5120px) {
    .container {
        max-width: 4000px;
    }
    body {
        font-size: 32px;
    }
    h1 { font-size: 100px; }
    h2 { font-size: 80px; }
    h3 { font-size: 64px; }
    h4 { font-size: 50px; }
    h5 { font-size: 40px; }
    h6 { font-size: 36px; }
    .navbar {
        padding: 32px 0;
    }
    .navbar-nav .nav-link {
        font-size: 30px;
        padding: 24px 22px;
        margin: 0 10px;
    }
    .logo-img {
        height: 120px;
        max-width: 600px;
    }
    .search-input {
        width: 360px;
        font-size: 26px;
        padding: 16px 30px;
        padding-right: 60px;
        border-radius: 40px;
    }
    .search-input:focus {
        width: 460px;
    }
    .search-btn i {
        font-size: 28px;
    }
    .top-bar {
        font-size: 26px;
        padding: 28px 0;
    }
    .top-bar .contact-info a,
    .top-bar .top-utility-links a {
        font-size: 26px;
        margin-right: 32px;
    }
    .top-bar .social-links a {
        width: 60px;
        height: 60px;
        margin-left: 20px;
    }
    .top-bar .social-links a i {
        font-size: 30px;
    }
    .lang-search-input {
        width: 340px;
        font-size: 26px;
        padding: 14px 26px;
        padding-right: 50px;
        border-radius: 40px;
    }
    .lang-search-input:focus {
        width: 420px;
    }
    .section-title h2 {
        font-size: 80px;
    }
    .section-title p {
        font-size: 36px;
    }
    section {
        padding: 180px 0;
    }
    .stat-number {
        font-size: 96px;
    }
    .stat-label {
        font-size: 32px;
    }
    .industry-card {
        height: 800px;
        border-radius: 48px;
    }
    .industry-overlay h4 {
        font-size: 52px;
    }
    .page-header {
        padding: 200px 0 130px;
    }
    .page-header h1 {
        font-size: 100px;
    }
    .ticker-item {
        font-size: 56px;
        padding: 0 80px;
    }
    .sliding-ticker-wrapper {
        padding: 40px 0;
    }
    .portfolio-card img {
        height: 520px;
    }
    .intro-text p {
        font-size: 30px;
    }
    .service-card-new .card-img-top {
        height: 400px;
    }
    .advantage-card-img {
        height: 440px;
    }
    .footer {
        padding: 160px 0 60px;
    }
    .footer-widget h5 {
        font-size: 36px;
    }
    .footer-widget p,
    .footer-links a,
    .footer-contact li {
        font-size: 26px;
    }
    .footer-logo {
        height: 140px;
        max-width: 480px;
    }
    .btn {
        padding: 26px 60px;
        font-size: 30px;
    }
    .cta-section h2 {
        font-size: 80px;
    }
    .cta-section p {
        font-size: 36px;
    }
    .dropdown-item {
        font-size: 28px;
        padding: 22px 36px;
    }
    .hero-slide-img {
        height: calc(100vh - 200px);
    }
    .hero-nav-prev, .hero-nav-next {
        width: 100px;
        height: 100px;
    }
    .hero-nav-prev i, .hero-nav-next i {
        font-size: 40px;
    }
    /* Inner page scaling for 5K */
    .service-header-modern {
        padding: 240px 0 180px;
    }
    .service-header-content h1 {
        font-size: 100px;
    }
    .header-description p,
    .industry-overview p {
        font-size: 36px;
    }
    .gallery-item-wrap {
        height: 600px;
    }
}



/* ==========================================
   PAGE HEADER (for inner pages)
   ========================================== */
.page-header {
    background: linear-gradient(rgba(0, 30, 70, 0.55), rgba(0, 30, 70, 0.55)),
                url('../images/breadcrum.png') no-repeat center center;
    background-size: cover;
    color: var(--white);
    padding: 100px 0 60px;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(var(--brand-blue-rgb), 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.page-header h1 {
    color: var(--white);
    font-size: 48px;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-header p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 20px;
    margin: 0;
}

/* Mobile Specific Background Theme for Breadcrumb/Header */
@media (max-width: 767px) {
    .page-header {
        background: linear-gradient(rgba(0, 30, 70, 0.60), rgba(0, 30, 70, 0.60)),
                    url('../images/breadcrum.png') no-repeat center center;
        background-size: cover;
        padding: 80px 0 50px;
    }
    .page-header h1 {
        font-size: 30px;
        text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    }
    .page-header p {
        font-size: 16px;
        font-weight: 600;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }
}


/* ==========================================
   UTILITY CLASSES
   ========================================== */
.text-primary { color: var(--primary-blue) !important; }
.text-accent { color: var(--accent-orange) !important; }
.bg-light-gray { background-color: var(--light-gray) !important; }
.mt-6 { margin-top: var(--spacing-massive); }
.mb-6 { margin-bottom: var(--spacing-massive); }
.py-6 { padding-top: var(--spacing-massive); padding-bottom: var(--spacing-massive); }
.lead { font-size: 20px; font-weight: 600; color: var(--dark-gray); margin-bottom: 20px; }

/* ==========================================
   COMMON COMPONENTS
   ========================================== */

/* Lightbox Modal Styles */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    padding: 20px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    backdrop-filter: blur(10px);
    display: none; /* Changed to flex in JS if needed, but let's keep it simple */
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.modal-container {
    position: relative;
    width: fit-content;
    max-width: 95%;
    max-height: 85vh;
    animation: zoomIn 0.3s ease;
}
.modal-content {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
}
#modal-caption {
    text-align: center;
    color: #fff;
    padding: 15px 0;
    font-size: 1.1rem;
    font-weight: 600;
}
.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 10001;
    line-height: 1;
    border: 2px solid rgba(255, 255, 255, 0.2);
}
.close-modal:hover {
    background: #ff0000;
    border-color: #ff0000;
    transform: scale(1.1);
}
@keyframes zoomIn {
    from {transform:scale(0.8); opacity: 0;}
    to {transform:scale(1); opacity: 1;}
}

/* ==========================================
   HOME PAGE (index.php)
   ========================================== */
.hero-slider-section { position: relative; width: 100%; overflow: hidden; line-height: 0; padding: 0 !important; }
.hero-slide-img { width: 100%; height: calc(100vh - 110px); display: block; object-fit: cover; }
.heroSwiper { width: 100%; }
.hero-pagination .swiper-pagination-bullet { width: 12px; height: 12px; background: #fff; opacity: 0.5; transition: all 0.3s ease; }
.hero-pagination .swiper-pagination-bullet-active { width: 40px; border-radius: 6px; background: var(--primary-blue); opacity: 1; }
.hero-nav-prev, .hero-nav-next { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; background: rgba(0,0,0,0.3); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 10; transition: all 0.3s ease; border: 1px solid rgba(255,255,255,0.2); }
.hero-nav-prev:hover, .hero-nav-next:hover { background: var(--primary-blue); border-color: var(--primary-blue); }
.hero-nav-prev { left: 30px; }
.hero-nav-next { right: 30px; }

@media (max-width: 991px) {
    .hero-nav-prev, .hero-nav-next { display: none; }
    .hero-slide-img { height: auto !important; object-fit: contain !important; }
}

/* Sliding Ticker */
.sliding-ticker-wrapper { background-color: #001a33; padding: 20px 0; overflow: hidden; position: relative; z-index: 10; border-bottom: 3px solid rgba(255,255,255,0.05); }
.sliding-ticker-content { display: flex; white-space: nowrap; animation: ticker-slide 40s linear infinite; width: max-content; }
.ticker-item { color: #ffffff; font-family: var(--font-heading); font-size: 28px; font-weight: 600; padding: 0 40px; display: inline-flex; align-items: center; gap: 30px; letter-spacing: 0.5px; }
.ticker-star { font-size: 24px; color: #ffffff; opacity: 0.8; }
@keyframes ticker-slide { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.sliding-ticker-wrapper:hover .sliding-ticker-content { animation-play-state: paused; }

@media (max-width: 768px) {
    .ticker-item { font-size: 20px; padding: 0 20px; gap: 15px; }
    .sliding-ticker-wrapper { padding: 15px 0; }
}

/* Intro and Service Cards */
.intro-banner-row { margin-bottom: 60px; }
.intro-banner-img-wrap img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow-strong); }
.intro-banner-text-wrap { padding: 40px; background-color: var(--white); border-radius: 12px; border: 1px solid var(--border-gray); display: flex; flex-direction: column; justify-content: center; }
.service-card-new { border: 1px solid rgba(0,0,0,0.05); border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.08); transition: transform 0.3s ease, box-shadow 0.3s ease; overflow: hidden; }
.service-card-new:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.15); }
.service-card-new .card-img-top { height: 180px; object-fit: cover; }
.service-card-new .card-body { padding: 25px; background-color: #fff; }
.service-card-new .card-title { color: #222; font-size: 1.25rem; font-family: var(--font-heading); padding-bottom: 12px; border-bottom: 1px solid rgba(0,0,0,0.05); }
.service-card-new .list-unstyled li { font-size: 0.9rem; color: #555; display: flex; align-items: flex-start; }
.service-card-new .list-unstyled i { font-size: 1rem; margin-top: 2px; color: #4b6a78; }
.see-more-link { color: #4b6a78; font-size: 0.95rem; transition: color 0.2s; }
.see-more-link:hover { color: #2c424d; }

/* ==========================================
   ABOUT PAGE (about.php)
   ========================================== */
.about-overview { padding: 80px 0; }
.about-image-wrapper { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15); max-height: 500px; }
.about-main-image { width: 100%; height: auto; max-height: 500px; display: block; object-fit: cover; }
.about-image-overlay { position: absolute; bottom: 30px; right: 30px; }
.stat-badge { background: #3498db; backdrop-filter: blur(10px); padding: 20px 30px; border-radius: 16px; text-align: center; box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2); }
.stat-badge .stat-number { display: block; font-size: 36px; font-weight: 700; color: var(--white); font-family: var(--font-heading); }
.stat-badge .stat-text { display: block; font-size: 14px; color: var(--white); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.about-overview h2 { color: var(--primary-blue); margin-bottom: 20px; }
.about-content-wrap { padding: 10px 0 10px 20px; }
@media (max-width: 991px) { .about-content-wrap { padding: 40px 0 0 0; } }
.mission-vision { padding: 80px 0; }
.mission-card, .vision-card { background: var(--white); padding: 40px; border-radius: 20px; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08); height: 100%; transition: all 0.4s ease; }
.mission-card:hover, .vision-card:hover { transform: translateY(-10px); box-shadow: 0 15px 50px rgba(var(--brand-blue-rgb), 0.2); }
.mission-icon, .vision-icon { width: 80px; height: 80px; background: var(--orange-gradient); border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 36px; color: var(--white); margin-bottom: 25px; }
.vision-icon { background: var(--blue-gradient); }
.mission-card h3, .vision-card h3 { color: var(--primary-blue); margin-bottom: 15px; }
.why-choose-us { padding: 80px 0; }
.feature-box { background: var(--white); padding: 35px; border-radius: 16px; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08); height: 100%; transition: all 0.4s ease; border-left: 4px solid transparent; }
.feature-box:hover { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(var(--brand-blue-rgb), 0.15); border-left-color: var(--accent-orange); }
.feature-number { font-size: 48px; font-weight: 700; font-family: var(--font-heading); background: var(--blue-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; margin-bottom: 15px; }
.feature-box h4 { color: var(--primary-blue); margin-bottom: 12px; font-size: 20px; }
.feature-box p { color: var(--light-text); margin: 0; line-height: 1.7; }
.advantage-card-new { background: var(--white); border-radius: 15px; overflow: hidden; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); height: 100%; display: flex; flex-direction: column; transition: transform 0.3s ease; }
.advantage-card-new:hover { transform: translateY(-5px); }
.advantage-card-img { height: 200px; width: 100%; overflow: hidden; }
.advantage-card-img img { width: 100%; height: 100%; object-fit: cover; }
.advantage-card-content { background-color: #3089cd; padding: 20px; text-align: center; flex-grow: 1; display: flex; align-items: center; justify-content: center; }
.advantage-card-content h5 { color: #ffffff; margin: 0; font-size: 18px; font-weight: 600; }
.technical-training-section { padding: 80px 0; }
.training-content h2 { color: var(--primary-blue); font-weight: 700; }
.training-image-wrap img { width: 100%; border-radius: 20px; box-shadow: 0 15px 40px rgba(0,0,0,0.15); transition: transform 0.3s ease; }
.training-image-wrap img:hover { transform: scale(1.02); }

/* ==========================================
   GALLERY PAGE (gallery.php)
   ========================================== */
.category-header { position: relative; padding-bottom: 10px; }
.category-title { color: var(--primary-blue); font-weight: 700; font-size: 2rem; margin-bottom: 10px; }
.category-divider { width: 60px; height: 4px; background: #FF6B00; border-radius: 2px; }
.gallery-item-wrap { overflow: hidden; border-radius: 12px; height: 280px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); transition: all 0.3s ease; position: relative; }
.gallery-img-link { display: block; width: 100%; height: 100%; text-decoration: none; }
.gallery-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; opacity: 0; transition: all 0.3s ease; color: white; font-size: 2.5rem; }
.gallery-item-wrap:hover .gallery-overlay { opacity: 1; }
.gallery-item-wrap:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.2); }
.gallery-item-wrap:hover .gallery-img { transform: scale(1.08); }
@media (max-width: 991px) { .gallery-item-wrap { height: 240px; } }
@media (max-width: 768px) { .category-title { font-size: 1.5rem; } .gallery-item-wrap { height: 220px; } }

/* ==========================================
   PORTFOLIO PAGE (portfolio.php)
   ========================================== */
.portfolio-page { padding: 60px 0 80px; }
.portfolio-filters { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.filter-btn { padding: 12px 30px; background: var(--white); border: 2px solid var(--border-gray); border-radius: 25px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; }
.filter-btn:hover, .filter-btn.active { background: var(--primary-blue); color: var(--white); border-color: var(--primary-blue); }
.portfolio-grid { transition: all 0.3s ease; }
.portfolio-item { transition: all 0.3s ease; }
.portfolio-card { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.1); transition: all 0.3s ease; height: 100%; }
.portfolio-img-link { display: block; position: relative; overflow: hidden; background: #f8f9fa; }
.portfolio-card img { width: 100%; height: 280px; object-fit: contain; padding: 20px; transition: transform 0.5s ease; }
.portfolio-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; opacity: 0; transition: all 0.3s ease; color: white; font-size: 2.5rem; }
.portfolio-img-link:hover .portfolio-overlay { opacity: 1; }
.portfolio-img-link:hover img { transform: scale(1.1); }
.portfolio-link { display: inline-flex; align-items: center; gap: 5px; color: var(--primary-blue); font-weight: 600; text-decoration: none; font-size: 14px; margin-top: 10px; transition: all 0.3s ease; }
.portfolio-link:hover { color: var(--accent-orange); gap: 10px; }

/* ==========================================
   CONTACT PAGE (contact.php)
   ========================================== */
.contact-section { padding: 60px 0 80px; }
.contact-form-wrapper { background: var(--white); padding: 40px; border-radius: 20px; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08); }
.contact-form .form-label { font-weight: 600; color: var(--dark-gray); margin-bottom: 8px; }
.contact-form .form-control, .contact-form .form-select { padding: 12px 16px; border: 2px solid var(--border-gray); border-radius: 8px; transition: all 0.3s ease; }
.contact-form .form-control:focus, .contact-form .form-select:focus { border-color: var(--primary-blue); box-shadow: 0 0 0 4px rgba(var(--brand-blue-rgb), 0.1); }
.contact-info-card { background: linear-gradient(135deg, rgba(var(--brand-blue-rgb), 0.06) 0%, var(--white) 100%); padding: 40px; border-radius: 20px; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08); border: 2px solid rgba(var(--brand-blue-rgb), 0.1); }
.contact-info-card h3 { color: var(--primary-blue); }
.contact-info-item { display: flex; gap: 20px; margin-bottom: 30px; padding: 20px; background: var(--white); border-radius: 12px; transition: all 0.3s ease; }
.contact-icon { width: 50px; height: 50px; background: var(--orange-gradient); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 24px; flex-shrink: 0; }
.contact-details h5 { color: var(--primary-blue); margin-bottom: 5px; font-size: 16px; }
.contact-details p { margin: 0; color: var(--text-gray); font-size: 14px; line-height: 1.6; }
.contact-details a { color: var(--text-gray); transition: color 0.3s ease; }
.contact-details a:hover { color: var(--primary-blue); }
.social-connect h5 { color: var(--primary-blue); }
.social-links-large { display: flex; gap: 12px; flex-wrap: wrap; }
.social-btn { display: flex; align-items: center; gap: 8px; padding: 12px 20px; background: var(--white); border: 2px solid var(--border-gray); border-radius: 10px; color: var(--text-gray); font-weight: 600; font-size: 14px; transition: all 0.3s ease; text-decoration: none; }
.social-btn i { font-size: 20px; }
.social-btn.whatsapp i { color: #25D366; }
.social-btn.linkedin i { color: #0077b5; }
.social-btn.youtube i { color: #FF0000; }
.profile-download .btn-download { padding: 15px; font-weight: 600; border-radius: 12px; border-width: 2px; transition: all 0.3s ease; }
.profile-download .btn-download:hover { background: var(--primary-blue); color: var(--white); transform: translateY(-3px); box-shadow: 0 4px 15px rgba(var(--brand-blue-rgb), 0.2); }
.map-container { border-radius: 16px; overflow: hidden; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1); }
@media (max-width: 767px) {
    .contact-form-wrapper, .contact-info-card { padding: 25px; }
    .social-links-large { flex-direction: column; }
    .social-btn { width: 100%; justify-content: center; }
}

/* ==========================================
   CAREER PAGE (career.php)
   ========================================== */
.career-hero { padding: 80px 0; background: linear-gradient(180deg, rgba(var(--brand-blue-rgb), 0.04) 0%, var(--white) 100%); }
.career-badge { display: inline-flex; align-items: center; gap: 10px; background: rgba(var(--brand-blue-rgb), 0.10); border: 1px solid rgba(var(--brand-blue-rgb), 0.2); padding: 10px 20px; border-radius: 25px; color: var(--primary-blue); font-weight: 600; margin-bottom: 20px; font-size: 15px; }
.career-badge i { font-size: 18px; }
.career-hero .row { align-items: stretch !important; }
.career-hero-content { height: 100%; display: flex; flex-direction: column; justify-content: flex-start; padding-right: 20px; }
.career-hero-content h2 { color: var(--primary-blue); font-size: 44px; line-height: 1.2; margin-bottom: 20px; }
.text-highlight { color: var(--accent-orange); }
.career-intro-text { font-size: 17px; color: var(--light-text); line-height: 1.8; margin-bottom: 30px; }
.career-hero-image { position: relative; z-index: 1; height: 100%; min-height: 400px; }
.career-hero-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15); }
.hero-image-accent { position: absolute; bottom: -18px; right: -18px; width: 180px; height: 180px; background: var(--accent-orange); border-radius: 20px; z-index: -1; opacity: 0.7; }
.why-join-us { padding: 80px 0; background: var(--white); }
.join-card-container { background-color: transparent; height: 280px; perspective: 1000px; margin-bottom: 20px; }
.join-card-inner { position: relative; width: 100%; height: 100%; text-align: center; transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275); transform-style: preserve-3d; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04); border-radius: 20px; }
.join-card-container:hover .join-card-inner { transform: rotateY(180deg); box-shadow: 0 20px 40px rgba(var(--brand-blue-rgb), 0.12); }
.join-card-front, .join-card-back { position: absolute; width: 100%; height: 100%; -webkit-backface-visibility: hidden; backface-visibility: hidden; border-radius: 20px; border: 1px solid rgba(var(--brand-blue-rgb), 0.1); background: var(--white); padding: 35px 30px; display: flex; flex-direction: column; justify-content: center; align-items: center; overflow: hidden; }
.join-card-front { z-index: 2; }
.join-card-back { transform: rotateY(180deg); background: var(--primary-blue); color: var(--white); border: none; }
.join-icon { width: 140px; height: 140px; background: var(--white); border-radius: 35px; display: flex; align-items: center; justify-content: center; margin-bottom: 30px; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); position: relative; box-shadow: 0 10px 25px rgba(var(--brand-blue-rgb), 0.08); border: 1px solid rgba(var(--brand-blue-rgb), 0.05); }
.join-icon-img { width: 115px; height: 115px; object-fit: contain; filter: drop-shadow(0 12px 20px rgba(0,0,0,0.1)); transition: all 0.4s ease; z-index: 2; }
.join-card-container:hover .join-icon { background: var(--white); transform: scale(1.08) translateY(-5px); box-shadow: 0 15px 35px rgba(var(--brand-blue-rgb), 0.15); border-color: rgba(var(--brand-blue-rgb), 0.2); }
.join-card-container:hover .join-icon-img { transform: scale(1.1); filter: drop-shadow(0 18px 30px rgba(0,0,0,0.18)); }
.join-card-front h4 { color: var(--primary-blue); font-size: 22px; font-weight: 700; margin: 0; }
.join-card-back h4 { color: var(--white); font-size: 22px; font-weight: 700; margin-bottom: 15px; }
.join-card-back p { color: rgba(255, 255, 255, 0.95); font-size: 15px; line-height: 1.6; margin: 0; }
.apply-section { padding: 80px 0; background: var(--white); }
.apply-card { background: var(--blue-gradient); border-radius: 28px; padding: 60px; box-shadow: 0 20px 60px rgba(var(--brand-blue-rgb), 0.30); position: relative; overflow: hidden; }
.apply-card::before { content: ''; position: absolute; top: -40%; right: -10%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%); border-radius: 50%; pointer-events: none; }
.apply-icon-wrap { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; background: rgba(255,255,255,0.15); border-radius: 16px; font-size: 28px; color: var(--white); }
.apply-card h2 { color: var(--white); font-size: 36px; margin-bottom: 16px; }
.apply-desc { color: rgba(255,255,255,0.92); font-size: 16px; line-height: 1.8; margin-bottom: 28px; }
.apply-steps { display: flex; flex-direction: column; gap: 14px; }
.apply-step { display: flex; align-items: center; gap: 16px; color: rgba(255,255,255,0.95); font-size: 15px; }
.step-num { width: 32px; height: 32px; background: var(--accent-orange); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; color: var(--white); flex-shrink: 0; }
.email-apply-box { background: rgba(255,255,255,0.12); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.25); border-radius: 20px; padding: 40px 30px; color: var(--white); }
.email-icon-circle { width: 72px; height: 72px; background: var(--accent-orange); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32px; color: var(--white); margin: 0 auto 16px; box-shadow: 0 8px 20px rgba(0,0,0,0.2); }
.email-label { color: rgba(255,255,255,0.80); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.career-email-link { display: block; color: var(--white); font-size: 18px; font-weight: 700; word-break: break-all; text-decoration: none; border-bottom: 2px solid rgba(255,255,255,0.35); padding-bottom: 6px; transition: border-color 0.3s ease, color 0.3s ease; }
.career-email-link:hover { color: var(--accent-orange); border-color: var(--accent-orange); }
.apply-note { color: rgba(255,255,255,0.70); font-size: 13px; margin: 0; }
@media (max-width: 991px) { .career-hero-content h2 { font-size: 34px; } .apply-card { padding: 40px 30px; } .apply-card h2 { font-size: 28px; } }
@media (max-width: 767px) { .career-hero { padding: 50px 0; } .hero-image-accent { display: none; } .apply-card { padding: 30px 20px; } .why-join-us, .apply-section { padding: 55px 0; } }

/* ==========================================
   SERVICE & INDUSTRY PAGES (Shared)
   ========================================== */
.service-header-modern { background: var(--white); padding: 100px 0 80px; position: relative; overflow: hidden; border-bottom: 1px solid var(--border-gray); }
.service-header-content h1 { color: var(--primary-blue); font-size: clamp(32px, 6vw, 52px); margin-bottom: 20px; line-height: 1.2; font-weight: 700; }
@media (max-width: 767px) { .service-header-content h1 { font-size: 32px; line-height: 1.3; } }
.service-subtitle { color: var(--text-gray); font-size: 20px; line-height: 1.6; margin-bottom: 30px; }
.header-description p, .industry-overview p { line-height: 1.8; margin-bottom: 20px; font-size: 18px; font-weight: 400; }
.header-description .lead, .industry-overview .lead { color: #333; font-size: 18px; font-weight: 400; }
.header-description .text-secondary, .industry-overview .text-secondary { color: #666 !important; font-size: 18px; font-weight: 400; }
.image-gallery-grid .gallery-item img { width: 100%; object-fit: cover; height: 350px; }
.image-gallery-grid .col-6 img { height: 180px; width: 100%; object-fit: cover; }
.image-gallery-grid .col-12 img { height: 250px; width: 100%; object-fit: cover; }
.design-card { transition: transform 0.3s ease, box-shadow 0.3s ease; position: relative; overflow: hidden; }
.design-card::before { content: ''; position: absolute; bottom: -20px; right: -20px; width: 180px; height: 180px; background-image: var(--card-bg); background-size: contain; background-repeat: no-repeat; background-position: center; opacity: 0.12; transition: opacity 0.3s ease, transform 0.3s ease; z-index: 1; pointer-events: none; }
.design-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(var(--brand-blue-rgb), 0.15) !important; }
.design-card:hover::before { opacity: 0.18; transform: scale(1.1); }
.cta-banner { background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-orange) 100%); }
.section-title { font-weight: 700; position: relative; padding-bottom: 15px; }
.info-card { border-radius: 2rem !important; }
.badge { font-weight: 500; }
.food-pharma-hero-wrapper img, .refinery-hero-wrapper img { max-height: 500px; object-fit: cover; }

/* ==========================================
   HEADER COMPONENTS
   ========================================== */

/* Google Translate Widget */
#google_translate_element {
    display: inline-block;
    vertical-align: middle;
}
.goog-te-gadget-simple {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding: 2px 6px !important;
    border-radius: 40px !important;
    font-family: inherit !important;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center !important;
    line-height: normal !important;
    color: #ffffff !important;
    font-size: 12px !important;
}
.goog-te-gadget-simple * { color: #ffffff !important; }
.goog-te-gadget-icon { display: none !important; }
.goog-te-menu-value { 
    margin: 0 !important; 
    display: flex !important;
    align-items: center !important;
}
.goog-te-menu-value:after {
    content: "\F282" !important;
    font-family: "bootstrap-icons" !important;
    font-size: 10px !important;
    margin-left: 5px !important;
    color: #ffffff !important;
}

/* Search Bar Styling */
.search-container {
    position: relative;
    margin-left: 1rem;
}
.search-input {
    width: 150px;
    border-radius: 20px;
    padding: 6px 15px;
    padding-right: 35px;
    border: 1px solid var(--border-gray);
    background: var(--white);
    font-size: 14px;
    transition: all 0.3s ease;
}
.search-input:focus {
    width: 200px;
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 5px rgba(var(--brand-blue-rgb), 0.2);
}
.search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    color: var(--light-text);
    padding: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-btn:hover { color: var(--primary-blue); }

.search-container form {
    display: flex;
    align-items: center;
}

@media (max-width: 991.98px) {
    .search-container { margin: 1rem 0; width: 100%; }
    .search-input { width: 100% !important; }
}

/* Header Social Icons */
.social-links a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    margin-left: 10px !important;
    box-shadow: 0 3px 8px rgba(0,0,0,0.12);
    transition: none !important;
}
.social-links a:hover,
.social-links a:focus,
.social-links a:active {
    background-color: #ffffff !important;
    box-shadow: 0 3px 8px rgba(0,0,0,0.12) !important;
    transform: none !important;
}
.social-links a i { 
    margin: 0 !important; 
    font-size: 16px; 
    display: flex;
    align-items: center;
    justify-content: center;
}
.social-links a i.bi-whatsapp { color: #25D366 !important; }
.social-links a i.bi-youtube { color: #FF0000 !important; }
.social-links a i.bi-linkedin { color: #0077b5 !important; }

/* Language Search Wrap */
.lang-search-wrap { position: relative; }
.lang-search-input {
    width: 150px;
    padding: 6px 12px;
    padding-right: 28px;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 20px;
    font-size: 13px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    outline: none;
    transition: all 0.3s ease;
    cursor: text;
}
.lang-search-input::placeholder { color: rgba(255,255,255,0.85); }
.lang-search-input:focus {
    width: 190px;
    background: rgba(255,255,255,0.25);
    border-color: #fff;
    box-shadow: 0 0 10px rgba(255,255,255,0.2);
}
.lang-cancel-btn {
    display: none;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    z-index: 10;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.lang-cancel-btn:hover { opacity: 1; }
.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    background: #fff;
    border: 1px solid #c8d8e8;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 10001;
    max-height: 250px;
    overflow-y: auto;
    animation: fadeInDown 0.2s ease;
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.lang-dropdown.lang-dropdown-show { display: block; }
.lang-item {
    padding: 10px 16px;
    font-size: 14px;
    cursor: pointer;
    color: #333;
    transition: all 0.2s;
    border-bottom: 1px solid #f0f5fa;
}
.lang-item:last-child { border-bottom: none; }
.lang-item:hover { background: #f0f7ff; color: var(--primary-blue); padding-left: 20px; }
.lang-no-result { padding: 10px 14px; font-size: 13px; color: #888; }

/* Training Formats */
.training-formats { padding: 80px 0; background: white; }
.format-card-modern { background: white; padding: 40px; border-radius: 20px; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08); height: 100%; transition: all 0.4s ease; position: relative; border: 3px solid transparent; }
.format-card-modern.active { border-color: var(--accent-orange); transform: scale(1.05); }
.format-card-modern:hover { transform: translateY(-10px); box-shadow: 0 15px 50px rgba(var(--brand-blue-rgb), 0.2); }
.format-badge { position: absolute; top: -15px; right: 20px; background: var(--accent-orange); color: white; padding: 8px 16px; border-radius: 20px; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.format-icon { width: 80px; height: 80px; background: var(--blue-gradient); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 36px; color: white; margin: 0 auto 20px; }
.format-card-modern h4 { color: var(--primary-blue); text-align: center; margin-bottom: 15px; font-size: 24px; }
.format-card-modern > p { text-align: center; color: var(--light-text); margin-bottom: 20px; }
.format-features { list-style: none; padding: 0; }
.format-features li { padding: 8px 0; font-size: 14px; color: var(--text-gray); position: relative; padding-left: 25px; }
.format-features li::before { content: '✓'; position: absolute; left: 0; color: var(--accent-orange); font-weight: 700; }

/* Technical Data Page */
.tech-data-page { padding: 60px 0 80px; }
.tech-section-title { color: var(--primary-blue); font-weight: 700; font-size: 16px; margin-bottom: 8px; display: inline-block; padding-bottom: 4px; }
.tech-table { width: 100%; border-collapse: collapse; border: 1px solid #c8d8e8; margin-bottom: 0; table-layout: fixed; }
.tech-table thead tr { background-color: var(--primary-blue); color: #fff; }
.tech-table thead th { padding: 8px 12px; font-weight: 600; font-size: 13px; border: 1px solid #2a7ab5; text-align: left; }
.tech-table thead th:first-child { width: 80%; }
.tech-table thead th:last-child { width: 20%; }
.tech-table tbody tr { background-color: #ffffff; }
.tech-table tbody td { padding: 7px 12px; font-size: 13px; color: #000; border: 1px solid #c8d8e8; vertical-align: middle; }
.tech-table tbody td:first-child { width: 80%; }
.tech-table tbody td:last-child { width: 20%; }
.download-link { color: var(--primary-blue); font-weight: 500; text-decoration: none; font-size: 13px; transition: color 0.2s ease; }
.download-link:hover { color: #1e6bad; text-decoration: underline; }

/* Search Results Page */
.search-result-card { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.search-result-card:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important; }
.search-result-card .badge { font-weight: 500; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; }

/* Service Page Gallery & Info Cards */
.image-gallery-grid .gallery-item img { width: 100%; object-fit: cover; height: 350px; }
.image-gallery-grid .col-6 img { height: 180px; width: 100%; object-fit: cover; }
.info-card { border-radius: 2rem !important; }

/* Capability Cards */
.capability-card-new { background: var(--white); border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); height: 100%; transition: all 0.3s ease; border: 1px solid var(--border-gray); }
.capability-card-new:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(var(--brand-blue-rgb), 0.15); }
.capability-card-img { height: 280px; overflow: hidden; background: #f8f9fa; }
.capability-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.capability-card-new:hover .capability-card-img img { transform: scale(1.1); }
.capability-card-content { padding: 30px; }
.capability-card-content h5 { color: var(--primary-blue); margin-bottom: 12px; font-weight: 700; font-size: 20px; }
.capability-card-content p { color: var(--text-gray); margin-bottom: 0; line-height: 1.6; font-size: 15px; }

/* Section Headings */
.section-heading { color: var(--primary-blue); font-size: 36px; font-weight: 700; margin-bottom: 40px; }
.section-subtitle { color: var(--text-gray); font-size: 18px; margin-bottom: 30px; }

/* Offering Cards (Auditing/Sourcing) */
.offering-card { background: var(--white); padding: 35px; border-radius: 20px; box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08); height: 100%; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); border: 2px solid transparent; }
.offering-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: 0 15px 50px rgba(var(--brand-blue-rgb), 0.2); border-color: var(--accent-orange); }
.offering-icon { width: 70px; height: 70px; background: var(--orange-gradient); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 32px; color: white; margin-bottom: 20px; transition: all 0.4s ease; }
.offering-card:hover .offering-icon { transform: rotateY(360deg) scale(1.1); }
.offering-card h4 { color: var(--primary-blue); margin-bottom: 15px; font-size: 22px; }
.offering-card p { color: var(--light-text); margin: 0; line-height: 1.7; }

/* Benefits Section */
.benefit-list { display: flex; flex-direction: column; gap: 25px; }
.benefit-item { display: flex; gap: 20px; background: var(--white); padding: 25px; border-radius: 16px; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06); transition: all 0.3s ease; }
.benefit-item:hover { transform: translateX(15px); box-shadow: 0 8px 30px rgba(var(--brand-blue-rgb), 0.15); }
.benefit-item i { font-size: 40px; color: var(--accent-orange); flex-shrink: 0; }
.benefit-item h5 { color: var(--primary-blue); margin-bottom: 8px; font-size: 20px; }
.benefit-item p { color: var(--light-text); margin: 0; font-size: 15px; }

.benefits-image img { width: 100%; border-radius: 20px; box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15); }

/* CTA Section */
.cta-card-modern { background: var(--blue-gradient); padding: 50px; border-radius: 24px; box-shadow: 0 15px 50px rgba(var(--brand-blue-rgb), 0.3); }
.cta-card-modern h3 { color: white; font-size: 32px; margin-bottom: 10px; }
.cta-card-modern p { color: rgba(255, 255, 255, 0.95); font-size: 18px; margin: 0; }

/* Service Statistics Inline */
.service-stats { display: flex; gap: 60px; margin-top: 40px; }
.stat-item-inline { display: flex; flex-direction: column; }
.stat-item-inline .stat-number { font-size: 42px; font-weight: 700; color: #333; line-height: 1.2; }
.stat-item-inline .stat-label { font-size: 16px; color: #666; font-weight: 600; margin-top: 4px; }

@media (max-width: 767px) {
    .service-stats { gap: 30px; justify-content: center; text-align: center; }
    .stat-item-inline .stat-number { font-size: 32px; }
}


/* ==========================================
   MOBILE HERO BANNER - CLEAN IMAGE SLIDER
   Only applies on mobile (d-block d-md-none).
   Shows the same desktop banners as actual <img> elements,
   cropped to the left side (where all banner text/design lives).
   NO overlays. NO custom text. Identical look to desktop.
   ========================================== */

/* ---- Wrapper section ---- */
.hero-mobile-banner {
    position: relative;
    width: 100%;
    padding: 0;
    margin: 0;
    line-height: 0;
    overflow: hidden;
    background: #000;
}

/* ---- Swiper container ---- */
.heroMobileSwiper {
    width: 100%;
    line-height: 0;
    overflow: hidden;
}

/* ---- Each slide ---- */
.heroMobileSwiper .swiper-slide {
    position: relative;
    overflow: hidden;
    line-height: 0;
}

/* ---- The actual banner image ---- */
/*
   The desktop banners are wide landscape images (e.g. ~1920×600px).
   On mobile we show them at a sensible height.
   object-position: left center ensures the LEFT portion of the image
   (where the banner's headline text & design elements are) stays in view.
   No overlay, no colour change — exactly what is in the original image.
*/
.mob-banner-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 6s ease;
}

/* Subtle zoom-in on active slide (like desktop hero) */
.heroMobileSwiper .swiper-slide-active .mob-banner-img {
    transform: scale(1.03);
}

/* ---- Pagination dots (overlay on image) ---- */
.mob-hero-pagination {
    position: absolute !important;
    bottom: 10px !important;
    left: 0 !important;
    right: 0 !important;
    text-align: center;
    z-index: 10;
    line-height: 1;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.6));
}

.mob-hero-pagination .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    background: rgba(255, 255, 255, 0.60);
    opacity: 1;
    transition: all 0.3s ease;
    margin: 0 3px !important;
}

.mob-hero-pagination .swiper-pagination-bullet-active {
    width: 30px;
    border-radius: 5px;
    background: #ffffff;
}

/* ---- Quick contact strip below slider ---- */
.mob-contact-strip {
    display: flex;
    align-items: stretch;
    background: #001a33;
    border-top: 2px solid rgba(48, 137, 205, 0.40);
    line-height: 1;
}

.mob-contact-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 11px 8px;
    text-decoration: none;
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 600;
    font-family: var(--font-heading);
    letter-spacing: 0.2px;
    transition: background 0.25s ease;
    line-height: 1.3;
}

.mob-contact-item:hover,
.mob-contact-item:active {
    background: rgba(48, 137, 205, 0.18);
    color: #ffffff;
}

.mob-contact-item i {
    font-size: 14px;
    color: #3089cd;
    flex-shrink: 0;
}

.mob-contact-item span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 145px;
}

.mob-contact-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.15);
    align-self: stretch;
}

/* ---- Tiny phones (≤360px): removed specific height for auto scaling ---- */
@media (max-width: 360px) {
    /* Kept structure if any other styles need to be here */
}

/* ---- Standard phones (390–480px): removed specific height for auto scaling ---- */
@media (min-width: 390px) and (max-width: 767px) {
    /* Kept structure if any other styles need to be here */
}



/* Old keyframes and media queries removed — banner now uses img tags, no text overlay */

/* ==========================================
   MOBILE TICKER IMPROVEMENTS
   ========================================== */
@media (max-width: 767px) {
    .sliding-ticker-wrapper {
        padding: 12px 0;
        background-color: #001a33;
        overflow: hidden;
    }
    .sliding-ticker-content {
        display: flex !important;
        flex-wrap: nowrap !important;
        white-space: nowrap !important;
        width: max-content !important;
    }
    .ticker-item {
        font-size: 17px;
        padding: 0 22px;
        gap: 14px;
        font-weight: 600;
        letter-spacing: 0.3px;
        display: inline-flex !important;
        align-items: center;
        flex-shrink: 0;
    }
    .ticker-star {
        font-size: 14px;
        opacity: 0.7;
    }
}

/* ==========================================
   MOBILE INNER-PAGE BANNER IMPROVEMENTS
   (.page-header for all inner pages)
   ========================================== */
@media (max-width: 767px) {
    .page-header {
        padding: 70px 0 45px;
        background-position: center center;
    }
    .page-header h1 {
        font-size: 26px;
        font-weight: 800;
        line-height: 1.25;
        text-shadow: 0 3px 14px rgba(0, 0, 0, 0.5);
        letter-spacing: -0.3px;
    }
    .page-header p {
        font-size: 14px;
        font-weight: 500;
        opacity: 0.92;
        letter-spacing: 0.2px;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }
}













