/* ============================================
   PREMIUM DESIGN SYSTEM
   ============================================ */
:root {
    --primary: #0c2b4d;
    --primary-light: #0c2b4d;
    --primary-lighter: #0c2b4d;
    --primary-dark: #0c2b4d;
    --accent: #0c2b4d;
    --text: #0c2b4d;
    --text-light: #0c2b4d;
    --text-lighter: #0c2b4d;
    --white: #ffffff;
    --bg: #f8fafc;
    --bg-light: #f1f5f9;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-blue: 0 10px 40px rgba(12, 43, 77, 0.22);
    --shadow-blue-lg: 0 20px 60px rgba(12, 43, 77, 0.32);
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-hero: linear-gradient(135deg, var(--primary) 0%, var(--primary) 50%, var(--primary) 100%);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    position: relative;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Subtle global texture to reduce flatness */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(90deg, rgba(12, 43, 77, 0.025) 1px, transparent 1px),
        linear-gradient(0deg, rgba(12, 43, 77, 0.02) 1px, transparent 1px);
    background-size: 3px 100%, 100% 3px;
    mix-blend-mode: soft-light;
    opacity: 0.16;
    z-index: 0;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.navbar .container {
    overflow: visible;
}

/* ============================================
   PREMIUM NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(12, 43, 77, 0.12);
    z-index: 1001;
    transition: var(--transition);
    overflow: visible;
}

.navbar .container {
    overflow: visible;
    position: relative;
}


.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
    border-bottom-color: rgba(12, 43, 77, 0.18);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    position: relative;
    overflow: visible;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}


.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.logo:hover {
    transform: scale(1.08) translateY(-2px);
}

.logo-text {
    background: linear-gradient(135deg, #0c2b4d 0%, #1e4a72 50%, #2d5f8f 100%, #0c2b4d 100%);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    letter-spacing: 0.02em;
    font-weight: 800;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }
}

.logo:hover .logo-text {
    background-position: 100% center;
    animation-duration: 1s;
    transform: scale(1.05);
}

.logo-img,
.logo-icon {
    height: 75px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(12, 43, 77, 0.3)) drop-shadow(0 2px 6px rgba(12, 43, 77, 0.2));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.logo:hover .logo-img,
.logo:hover .logo-icon {
    filter: drop-shadow(0 8px 20px rgba(12, 43, 77, 0.4)) drop-shadow(0 4px 12px rgba(12, 43, 77, 0.3)) drop-shadow(0 0 15px rgba(12, 43, 77, 0.25));
    transform: scale(1.1) rotate(2deg);
}

/* Add a subtle glow effect */
.logo::before {
    content: '';
    position: absolute;
    inset: -8px;
    background: radial-gradient(circle, rgba(12, 43, 77, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    z-index: -1;
}

.logo:hover::before {
    opacity: 1;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
    border-radius: 2px;
}

/* FINAL OVERRIDE: match clean reference panel */
.solar-panel-3d {
    border: 12px solid #e6ecf2 !important;
    border-radius: 6px !important;
    background-color: #0b1f39 !important;
    box-shadow:
        0 22px 45px rgba(0, 0, 0, 0.35),
        0 10px 20px rgba(0, 0, 0, 0.3),
        inset 0 0 8px rgba(0, 0, 0, 0.25) !important;
}

.solar-panel-3d::before {
    content: '' !important;
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    background:
        /* vertical bus bars */
        repeating-linear-gradient(90deg,
            transparent 0px, transparent 63px,
            rgba(232, 238, 245, 0.95) 63px, rgba(232, 238, 245, 0.95) 68px,
            transparent 68px, transparent 70px),
        /* horizontal grid */
        repeating-linear-gradient(0deg,
            transparent 0px, transparent 52px,
            rgba(232, 238, 245, 0.95) 52px, rgba(232, 238, 245, 0.95) 55px,
            transparent 55px, transparent 57px),
        /* subtle sheen across cells */
        repeating-linear-gradient(90deg,
            rgba(255, 255, 255, 0.06) 0px, rgba(255, 255, 255, 0.06) 2px,
            transparent 2px, transparent 70px),
        /* base cells */
        linear-gradient(135deg, #0b1f39 0%, #0a172a 45%, #0c213d 100%);
    background-size: 100% 100%;
    background-repeat: repeat;
    opacity: 0.98;
    mix-blend-mode: normal;
}

.solar-panel-3d::after {
    content: '' !important;
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    background: linear-gradient(140deg,
            rgba(255, 255, 255, 0.2) 0%,
            rgba(255, 255, 255, 0.1) 35%,
            transparent 60%);
    opacity: 0.45;
}

.solar-panel-3d .panel-detail-overlay {
    opacity: 0.25 !important;
    mix-blend-mode: screen;
    background:
        linear-gradient(120deg,
            transparent 0%,
            rgba(255, 255, 255, 0.14) 45%,
            rgba(255, 255, 255, 0.1) 60%,
            transparent 80%),
        repeating-linear-gradient(0deg,
            transparent 0px, transparent 3px,
            rgba(255, 255, 255, 0.05) 3px, rgba(255, 255, 255, 0.05) 4px,
            transparent 4px, transparent 10px);
    background-size: 100% 100%, 8px 8px;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.2));
}

/* Final hero background override (hide panel entirely) */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.55)), url("pexels-kindelmedia-9799766.jpg");
    background-size: cover;
    background-position: right bottom;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

.hero::before,
.hero::after,
.solar-panel-container,
#panel-canvas,
.solar-panel-3d {
    display: none !important;
}

/* Ensure hero photo shows */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.55)), url("pexels-kindelmedia-9799766.jpg") !important;
    background-size: cover !important;
    background-position: right bottom !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
}

.hero-overlay {
    display: none !important;
}

/* Hide CSS panel when using real 3D model */
.solar-panel-3d {
    display: none;
}

.solar-panel-3d .panel-detail-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0.7;
    background:
        /* Strong glass streak highlight */
        linear-gradient(120deg,
            transparent 0%,
            rgba(255, 255, 255, 0.08) 30%,
            rgba(255, 255, 255, 0.18) 42%,
            rgba(255, 255, 255, 0.12) 50%,
            rgba(255, 255, 255, 0.06) 60%,
            transparent 75%),
        /* Fine scratches set 1 */
        repeating-linear-gradient(95deg,
            transparent 0px, transparent 12px,
            rgba(255, 255, 255, 0.06) 12px, rgba(255, 255, 255, 0.06) 12.5px,
            transparent 12.5px, transparent 24px),
        /* Fine scratches set 2 */
        repeating-linear-gradient(85deg,
            transparent 0px, transparent 18px,
            rgba(255, 255, 255, 0.05) 18px, rgba(255, 255, 255, 0.05) 18.4px,
            transparent 18.4px, transparent 30px),
        /* Dust specks */
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.05) 8%, transparent 18%),
        radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.04) 7%, transparent 16%),
        radial-gradient(circle at 40% 75%, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.03) 10%, transparent 20%),
        /* Smudges and handling marks */
        radial-gradient(ellipse at 60% 25%, rgba(255, 255, 255, 0.08) 0%, transparent 45%),
        radial-gradient(ellipse at 35% 60%, rgba(255, 255, 255, 0.06) 0%, transparent 50%),
        /* Iridescent thin-film tint */
        linear-gradient(60deg,
            rgba(135, 206, 235, 0.08) 0%,
            rgba(255, 105, 180, 0.05) 25%,
            rgba(173, 216, 230, 0.08) 50%,
            rgba(221, 160, 221, 0.05) 75%,
            rgba(135, 206, 235, 0.08) 100%),
        /* Specular sparkles */
        radial-gradient(circle at 55% 35%, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.15) 15%, transparent 30%),
        radial-gradient(circle at 25% 55%, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.12) 14%, transparent 28%),
        /* Vertical streaks */
        linear-gradient(180deg,
            rgba(255, 255, 255, 0.06) 0%,
            transparent 25%,


            rgba(255, 255, 255, 0.04) 50%,
            transparent 75%,
            rgba(255, 255, 255, 0.06) 100%),
        /* Ultra-fine noise */
        repeating-linear-gradient(0deg,
            transparent 0px, transparent 1px,
            rgba(255, 255, 255, 0.02) 1px, rgba(255, 255, 255, 0.02) 2px,
            transparent 2px, transparent 3px),
        repeating-linear-gradient(90deg,
            transparent 0px, transparent 1px,
            rgba(0, 0, 0, 0.02) 1px, rgba(0, 0, 0, 0.02) 2px,
            transparent 2px, transparent 3px);
    background-size:
        100% 100%,
        120% 120%,
        140% 140%,
        100% 100%,
        100% 100%,
        100% 100%,
        100% 100%,
        100% 100%,
        120% 120%,
        60% 60%,
        50% 50%,
        100% 100%,
        4px 4px,
        4px 4px;
    background-position:
        0 0,
        -10% -10%,
        10% -5%,
        0 0,
        0 0,
        0 0,
        0 0,
        0 0,
        0 0,
        0 0,
        0 0,
        0 0,
        0 0,
        0 0;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.75rem;
    position: relative;
    z-index: 1002;
    overflow: visible;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    margin-left: auto;
    order: 2;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-toggle span {
    width: 20px;
    height: 3px;
    background: var(--primary);
    transition: var(--transition);
    border-radius: 2px;
    position: relative;
}

.mobile-menu-toggle.active {
    background: rgba(12, 43, 77, 0.08) !important;
    border-radius: 8px !important;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background: var(--primary);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background: var(--primary);
}

/* ============================================
   STUNNING HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0c2b4d;
    color: white;
    overflow: hidden;
    padding-top: 90px;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.55)),
        url("solar-panel-array-close-up.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::before,
.hero::after {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.hero-title-main {
    font-size: clamp(1.25rem, 5vw, 5rem);
    font-weight: 800;
    line-height: 1.15;
    color: white !important;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.03em;
    animation: slideInLeft 1s ease-out;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: white !important;
    background-clip: unset !important;
    padding-bottom: 0.1em;
    overflow: visible;
}

.hero-title-sub {
    font-size: clamp(1.25rem, 5vw, 4rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.02em;
    animation: slideInRight 1s ease-out;
}

.hero-description {
    font-size: clamp(0.9375rem, 2vw, 1.5rem);
    margin-bottom: 3.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-weight: 400;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1.3s ease-out;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.5s ease-out;
}

.hero-scroll-indicator {
    display: none !important;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 3px solid rgba(255, 255, 255, 0.8);
    border-bottom: 3px solid rgba(255, 255, 255, 0.8);
    transform: rotate(45deg);
}

/* ============================================
   PREMIUM BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.125rem 2.75rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.75rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1.0625rem;
    letter-spacing: 0.025em;
    position: relative;
    overflow: hidden;
    min-height: 44px;
    min-width: 44px;
    touch-action: manipulation;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-blue);
}

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

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

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-blue-lg);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.btn-block {
    width: 100%;
}

/* ============================================
   PREMIUM SECTIONS
   ============================================ */
.section {
    padding: 7rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
}

.section-tag {
    display: inline-block;
    padding: 0.625rem 1.5rem;
    background: linear-gradient(135deg, rgba(12, 43, 77, 0.08) 0%, rgba(12, 43, 77, 0.12) 100%);
    color: var(--primary);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    box-shadow:
        0 4px 12px rgba(12, 43, 77, 0.1),
        0 2px 4px rgba(12, 43, 77, 0.08);
    border: 1px solid rgba(12, 43, 77, 0.15);
    transition: all 0.3s ease;
}

.section-tag:hover {
    transform: translateY(-2px);
    box-shadow:
        0 6px 16px rgba(12, 43, 77, 0.15),
        0 3px 6px rgba(12, 43, 77, 0.1);
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--text) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    margin-top: 1rem;
    background: linear-gradient(90deg, var(--primary) 0%, rgba(12, 43, 77, 0.6) 100%);
    border-radius: 999px;
    box-shadow:
        0 4px 12px rgba(12, 43, 77, 0.4),
        0 2px 6px rgba(12, 43, 77, 0.3),
        0 0 20px rgba(12, 43, 77, 0.2);
    transition: all 0.3s ease;
}

.section-header:hover .section-title::after {
    width: 120px;
    box-shadow:
        0 6px 16px rgba(12, 43, 77, 0.5),
        0 3px 8px rgba(12, 43, 77, 0.4),
        0 0 30px rgba(12, 43, 77, 0.3);
}

.section-description {
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    background: linear-gradient(180deg, var(--white) 0%, rgba(248, 250, 252, 1) 50%, var(--bg) 100%);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(12, 43, 77, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(12, 43, 77, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 5rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

.about-text {
    font-size: 1.1875rem;
    line-height: 1.9;
    color: var(--text-light);
}

.about-text p {
    margin-bottom: 1.75rem;
}

.about-text .lead-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.stat-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border: 2px solid var(--border);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

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

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-blue-lg);
    border-color: var(--primary);
}

.stat-number {
    font-size: 3.75rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================
   VISION SECTION
   ============================================ */
.vision-section {
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.vision-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.vision-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 3.5rem;
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.vision-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.vision-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.vision-icon svg {
    width: 100%;
    height: 100%;
    stroke: white;
    stroke-width: 2;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.vision-card:hover .vision-icon {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.15) rotate(5deg);
}

.vision-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.vision-card p {
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.0625rem;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
    background:
        linear-gradient(135deg, var(--white) 0%, rgba(248, 250, 252, 1) 50%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(12, 43, 77, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(12, 43, 77, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.service-card {
    background: var(--white);
    border-radius: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--border);
    position: relative;
    overflow: hidden;
    padding: 0;
    display: flex;
    flex-direction: column;
    transform: translateY(0);
    background-image:
        linear-gradient(135deg, rgba(12, 43, 77, 0.03) 0%, transparent 50%),
        linear-gradient(225deg, rgba(12, 43, 77, 0.03) 0%, transparent 50%);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
    z-index: 1;
}

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

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-blue);
    border-top-color: var(--primary);
}

.service-image-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: var(--bg-light);
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    filter: brightness(0.95);
}

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

.service-overlay {
    display: none;
}

.service-icon {
    display: none;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    padding: 2rem 2rem 1rem;
    margin: 0;
    letter-spacing: -0.01em;
    transition: var(--transition);
}

.service-card:hover .service-title {
    color: var(--primary);
}

.service-description {
    padding: 0 2rem 2.5rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
}

/* ============================================
   SECTORS SECTION
   ============================================ */
.sectors-section {
    background: #0c2b4d;
    position: relative;
    overflow: hidden;
}

.sectors-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

/* Make text white in sectors section for readability */
.sectors-section .section-tag {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.2);
}

.sectors-section .section-title {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sectors-section .section-title::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.5) 100%);
    box-shadow:
        0 4px 12px rgba(255, 255, 255, 0.3),
        0 2px 6px rgba(255, 255, 255, 0.2),
        0 0 20px rgba(255, 255, 255, 0.15);
}

.sectors-section .section-description {
    color: rgba(255, 255, 255, 0.85);
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.sector-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--border);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    background-image:
        linear-gradient(135deg, rgba(12, 43, 77, 0.03) 0%, transparent 50%),
        linear-gradient(225deg, rgba(12, 43, 77, 0.03) 0%, transparent 50%);
}

.sector-card:has(.sector-image-wrapper) {
    padding: 0;
}

.sector-card:has(.sector-image-wrapper) .sector-title,
.sector-card:has(.sector-image-wrapper) p {
    padding: 0 3rem;
}

.sector-card:has(.sector-image-wrapper) .sector-title {
    padding-top: 2rem;
}

.sector-card:has(.sector-image-wrapper) p {
    padding-bottom: 3rem;
}

.sector-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(12, 43, 77, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.sector-card:hover::after {
    opacity: 1;
}

.sector-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-blue);
    border-top-color: var(--primary);
}

.sector-card-featured {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow:
        0 20px 60px rgba(12, 43, 77, 0.3),
        0 10px 30px rgba(12, 43, 77, 0.2),
        0 0 0 3px rgba(255, 255, 255, 0.3),
        0 0 60px rgba(255, 255, 255, 0.1);
}

.sector-card-featured .sector-title,
.sector-card-featured p {
    color: var(--text);
}

.sector-card-featured .sector-title {
    color: var(--primary);
}

.sector-card-featured .sector-icon svg {
    stroke: white;
}

.sector-card-featured:hover {
    border-top-color: var(--primary-lighter);
}

.sector-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 2rem;
    padding: 1.25rem;
    background: var(--bg-light);
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.sector-card:has(.sector-image-wrapper)>.sector-icon {
    display: none;
}

.sector-card-featured .sector-icon {
    background: rgba(255, 255, 255, 0.2);
}

.sector-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--primary);
    stroke-width: 2;
    transition: var(--transition);
}

.sector-card:hover .sector-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-md);
}

.sector-card:hover .sector-icon svg {
    stroke: var(--primary-light);
}

.sector-image-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: var(--bg-light);
    border-radius: 2rem 2rem 0 0;
    margin-bottom: 0;
}

.sector-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    filter: brightness(0.95);
}

.sector-card:hover .sector-image {
    transform: scale(1.1);
    filter: brightness(1);
}

.sector-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(12, 43, 77, 0.7) 0%, rgba(12, 43, 77, 0.32) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.sector-card:hover .sector-overlay {
    opacity: 1;
}

.sector-overlay .sector-icon {
    margin-bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.sector-overlay .sector-icon svg {
    stroke: white;
}

.sector-card-featured .sector-overlay {
    background: linear-gradient(to bottom, rgba(12, 43, 77, 0.8) 0%, rgba(12, 43, 77, 0.4) 100%);
}

.sector-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.sector-card p {
    color: var(--text-light);
    line-height: 1.9;
    font-size: 1.0625rem;
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products-section {
    background:
        linear-gradient(135deg, var(--white) 0%, rgba(248, 250, 252, 1) 50%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(12, 43, 77, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(12, 43, 77, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.product-card {
    background: var(--white);
    border-radius: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 4px solid var(--border);
    position: relative;
    overflow: hidden;
    padding: 0;
    transform: translateY(0);
    background-image:
        linear-gradient(135deg, rgba(12, 43, 77, 0.03) 0%, transparent 50%),
        linear-gradient(225deg, rgba(12, 43, 77, 0.03) 0%, transparent 50%);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(12, 43, 77, 0.1), rgba(12, 43, 77, 0.08));
    transition: var(--transition);
    z-index: 0;
}

.product-card:hover::before {
    width: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-blue);
    border-top-color: var(--primary);
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: var(--bg-light);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    filter: brightness(0.95);
    position: relative;
    z-index: 1;
}

.product-card:hover .product-image {
    transform: scale(1.12);
    filter: brightness(1.05);
}

.product-overlay {
    display: none;
}

.product-icon {
    display: none;
}

.product-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text);
    padding: 2rem 2rem 2.5rem;
    margin: 0;
    letter-spacing: -0.01em;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.product-card:hover .product-title {
    color: var(--primary);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    background: linear-gradient(180deg, var(--bg) 0%, var(--white) 100%);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(12, 43, 77, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(12, 43, 77, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 5rem;
    position: relative;
    z-index: 1;
}

.contact-email-center {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
}

.contact-email-center .contact-item {
    width: calc((100% - 5rem) / 2);
    max-width: 100%;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-item {
    display: flex;
    flex-direction: row;
    gap: 1.75rem;
    align-items: flex-start;
    padding: 2rem;
    background: var(--white);
    border-radius: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid var(--border);
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-blue);
    border-color: var(--primary);
}

.contact-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.contact-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--primary);
    stroke-width: 2;
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    background: var(--gradient-primary);
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-md);
}

.contact-item:hover .contact-icon svg {
    stroke: white;
}

.contact-details h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.contact-details p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 1rem;
    line-height: 1.7;
}

.contact-details a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.contact-details a:hover {
    color: var(--primary) !important;
    text-decoration: underline;
    opacity: 1 !important;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 3.5rem;
    border-radius: 2rem;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border);
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text);
    font-size: 0.9375rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.125rem;
    border: 2px solid var(--border);
    border-radius: 0.75rem;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(12, 43, 77, 0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 160px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--gradient-primary);
    color: white;
    padding: 5rem 0 2.5rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-description {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    font-size: 1rem;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

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

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
}

.footer-links a:hover {
    color: white !important;
    transform: translateX(5px);
    opacity: 1 !important;
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
    position: relative;
    z-index: 1;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }

    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .navbar {
        border-bottom-left-radius: 1.5rem;
        border-bottom-right-radius: 1.5rem;
    }

    .navbar .container {
        padding-left: 1rem;
        padding-right: 1.5rem;
        overflow: visible;
    }


    /* Simplify shadows and borders on mobile */
    .service-card,
    .sector-card,
    .product-card {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(12, 43, 77, 0.15);
        border-radius: 1rem;
    }

    .service-card:hover,
    .sector-card:hover,
    .product-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

    .nav-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 1rem 0;
    }

    .logo {
        order: 1;
        margin-right: auto;
    }

    .mobile-menu-toggle {
        display: flex;
        order: 3;
        margin-left: 0;
        min-width: 44px;
        min-height: 44px;
        padding: 0.75rem;
        overflow: visible;
        position: relative;
        z-index: 1002;
    }

    .mobile-menu-toggle.active {
        background: rgba(12, 43, 77, 0.08) !important;
        border-radius: 8px !important;
    }

    .mobile-menu-toggle.active span {
        background: var(--primary) !important;
    }

    .nav-menu {
        position: fixed;
        top: 75px;
        left: -100%;
        width: calc(100% - 80px);
        max-width: 300px;
        height: calc(100vh - 75px);
        background: white;
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 0.5rem;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
        z-index: 999;
    }

    .nav-link {
        font-size: 1.125rem;
        padding: 0.875rem 0;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .logo-img,
    .logo-icon {
        height: 50px;
    }

    .section {
        padding: 2rem 0;
    }

    .section-header {
        margin-bottom: 1.5rem;
    }

    .section-title {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }

    .section-description {
        font-size: 0.875rem;
        line-height: 1.5;
        padding: 0;
    }

    .section-tag {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
        margin-bottom: 0.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .stat-card {
        width: 100%;
        min-width: auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .contact-email-center {
        grid-column: 1;
    }

    .contact-email-center .contact-item {
        width: 100%;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .contact-item:nth-child(n+3) {
        grid-column: 1;
    }

    .contact-item {
        padding: 0.875rem;
        gap: 0.875rem;
    }

    .contact-icon {
        width: 45px;
        height: 45px;
        padding: 0.75rem;
    }

    .contact-details h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .contact-details p {
        font-size: 0.875rem;
        margin-bottom: 0.375rem;
        line-height: 1.5;
    }

    .hero {
        min-height: 85vh;
        padding-top: 80px;
        padding-bottom: 3rem;
    }

    .hero-content {
        padding: 0 0.5rem;
    }

    .hero-title {
        margin-bottom: 1.5rem;
        gap: 0.5rem;
    }

    .hero-title-main {
        font-size: 2.5rem !important;
        line-height: 1.15 !important;
        letter-spacing: -0.02em;
    }

    .hero-title-sub {
        font-size: 1.5rem !important;
        line-height: 1.3;
    }

    .hero-description {
        font-size: 1rem !important;
        line-height: 1.6;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.875rem;
        width: 100%;
        padding: 0 0.5rem;
    }

    .btn {
        width: 100%;
        min-height: 48px;
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }

    .vision-grid,
    .services-grid,
    .sectors-grid {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 1rem;
        width: 100%;
    }

    .services-grid>*,
    .sectors-grid>*,
    .vision-grid>* {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .vision-card {
        padding: 1.25rem !important;
    }

    .vision-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0.75rem;
        padding: 0.75rem;
    }

    .vision-title {
        font-size: 1.125rem;
        margin-bottom: 0.75rem;
    }

    .vision-card p {
        font-size: 0.875rem;
        line-height: 1.5;
    }

    .products-grid {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 1rem;
        width: 100%;
    }

    .products-grid>* {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .service-card,
    .sector-card,
    .product-card,
    .vision-card {
        padding: 0;
        border-radius: 0.75rem;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
    }

    .service-title {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .service-card,
    .sector-card,
    .product-card,
    .vision-card {
        padding: 0;
        border-radius: 0.75rem;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
    }

    .service-title {
        font-size: 1rem;
        padding: 1rem 1rem 0.5rem !important;
        margin: 0 !important;
        line-height: 1.3;
        font-weight: 600;
        width: 100%;
        box-sizing: border-box;
    }

    .service-description {
        font-size: 0.8125rem;
        line-height: 1.4;
        padding: 0 1rem 1rem !important;
        margin: 0 !important;
        width: 100%;
        box-sizing: border-box;
    }

    .sector-card:has(.sector-image-wrapper) {
        width: 100%;
        max-width: 100%;
    }

    .sector-card:has(.sector-image-wrapper) .sector-title {
        padding: 1rem 1rem 0.5rem !important;
        font-size: 1rem;
        line-height: 1.3;
        font-weight: 600;
        margin: 0 !important;
        width: 100%;
        box-sizing: border-box;
/* [LINES 2150 NOT READ IN ORIGINAL SESSION] */
/* [LINES 2151 NOT READ IN ORIGINAL SESSION] */
/* [LINES 2152 NOT READ IN ORIGINAL SESSION] */
/* [LINES 2153 NOT READ IN ORIGINAL SESSION] */
/* [LINES 2154 NOT READ IN ORIGINAL SESSION] */
/* [LINES 2155 NOT READ IN ORIGINAL SESSION] */
/* [LINES 2156 NOT READ IN ORIGINAL SESSION] */
/* [LINES 2157 NOT READ IN ORIGINAL SESSION] */
/* [LINES 2158 NOT READ IN ORIGINAL SESSION] */
/* [LINES 2159 NOT READ IN ORIGINAL SESSION] */
/* [LINES 2160 NOT READ IN ORIGINAL SESSION] */
/* [LINES 2161 NOT READ IN ORIGINAL SESSION] */
/* [LINES 2162 NOT READ IN ORIGINAL SESSION] */
/* [LINES 2163 NOT READ IN ORIGINAL SESSION] */
/* [LINES 2164 NOT READ IN ORIGINAL SESSION] */
/* [LINES 2165 NOT READ IN ORIGINAL SESSION] */
/* [LINES 2166 NOT READ IN ORIGINAL SESSION] */
/* [LINES 2167 NOT READ IN ORIGINAL SESSION] */
/* [LINES 2168 NOT READ IN ORIGINAL SESSION] */
/* [LINES 2169 NOT READ IN ORIGINAL SESSION] */
/* [LINES 2170 NOT READ IN ORIGINAL SESSION] */
/* [LINES 2171 NOT READ IN ORIGINAL SESSION] */
/* [LINES 2172 NOT READ IN ORIGINAL SESSION] */
/* [LINES 2173 NOT READ IN ORIGINAL SESSION] */
/* [LINES 2174 NOT READ IN ORIGINAL SESSION] */
/* [LINES 2175 NOT READ IN ORIGINAL SESSION] */
/* [LINES 2176 NOT READ IN ORIGINAL SESSION] */
/* [LINES 2177 NOT READ IN ORIGINAL SESSION] */
/* [LINES 2178 NOT READ IN ORIGINAL SESSION] */
/* [LINES 2179 NOT READ IN ORIGINAL SESSION] */
/* [LINES 2180 NOT READ IN ORIGINAL SESSION] */
/* [LINES 2181 NOT READ IN ORIGINAL SESSION] */
/* [LINES 2182 NOT READ IN ORIGINAL SESSION] */
/* [LINES 2183 NOT READ IN ORIGINAL SESSION] */
/* [LINES 2184 NOT READ IN ORIGINAL SESSION] */
/* [LINES 2185 NOT READ IN ORIGINAL SESSION] */
/* [LINES 2186 NOT READ IN ORIGINAL SESSION] */
/* [LINES 2187 NOT READ IN ORIGINAL SESSION] */
/* [LINES 2188 NOT READ IN ORIGINAL SESSION] */
/* [LINES 2189 NOT READ IN ORIGINAL SESSION] */
/* [LINES 2190 NOT READ IN ORIGINAL SESSION] */
/* [LINES 2191 NOT READ IN ORIGINAL SESSION] */
/* [LINES 2192 NOT READ IN ORIGINAL SESSION] */
/* [LINES 2193 NOT READ IN ORIGINAL SESSION] */
/* [LINES 2194 NOT READ IN ORIGINAL SESSION] */
/* [LINES 2195 NOT READ IN ORIGINAL SESSION] */
/* [LINES 2196 NOT READ IN ORIGINAL SESSION] */
/* [LINES 2197 NOT READ IN ORIGINAL SESSION] */
/* [LINES 2198 NOT READ IN ORIGINAL SESSION] */
/* [LINES 2199 NOT READ IN ORIGINAL SESSION] */
        border-radius: 0.75rem 0.75rem 0 0;
        overflow: hidden;
    }

    .service-image,
    .product-image,
    .sector-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .sector-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 0.75rem;
        padding: 0.625rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .footer-section:first-child {
        grid-column: 1 / -1;
        grid-row: 1;
        text-align: center;
    }

    .footer-section:nth-child(2),
    .footer-section:nth-child(3),
    .footer-section:nth-child(4) {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        margin: 0;
    }

    .footer-section:nth-child(2) {
        grid-column: 1;
        grid-row: 2;
        text-align: left;
        padding-left: 3.5rem;
    }

    .footer-section:nth-child(3) {
        grid-column: 1;
        grid-row: 3;
        text-align: left;
        padding-left: 3.5rem;
    }

    .footer-section:nth-child(2) .footer-title,
    .footer-section:nth-child(3) .footer-title,
    .footer-section:nth-child(4) .footer-title {
        font-size: 0.9375rem !important;
        font-weight: 700 !important;
        margin-bottom: 0.75rem !important;
        margin-top: 0 !important;
        padding: 0 !important;
        width: 100%;
        color: white !important;
        line-height: 1.3 !important;
    }

    .footer-section:nth-child(2) .footer-links,
    .footer-section:nth-child(3) .footer-links,
    .footer-section:nth-child(4) .footer-links {
        font-size: 0.8125rem !important;
        margin-bottom: 0 !important;
        margin-top: 0 !important;
        padding: 0 !important;
        width: 100%;
        list-style: none !important;
    }

    .footer-section:nth-child(2) .footer-links li,
    .footer-section:nth-child(3) .footer-links li,
    .footer-section:nth-child(4) .footer-links li {
        margin-bottom: 0.5rem !important;
        margin-top: 0 !important;
        padding: 0 !important;
        font-size: 0.8125rem !important;
        line-height: 1.5 !important;
    }

    .footer-section:nth-child(2) .footer-links li:last-child,
    .footer-section:nth-child(3) .footer-links li:last-child,
    .footer-section:nth-child(4) .footer-links li:last-child {
        margin-bottom: 0 !important;
    }

    .footer-section:nth-child(2) .footer-links a,
    .footer-section:nth-child(3) .footer-links a,
    .footer-section:nth-child(4) .footer-links a {
        color: rgba(255, 255, 255, 0.8) !important;
        font-size: 0.8125rem !important;
        text-decoration: none !important;
        line-height: 1.5 !important;
    }

    .footer-logo {
        font-size: 1.125rem;
        margin-bottom: 0.75rem;
    }

    .footer-logo .logo-icon {
        height: 40px !important;
    }

    .footer-description {
        font-size: 0.8125rem;
        line-height: 1.5;
        margin-bottom: 0;
    }

    .footer-title {
        font-size: 0.9375rem;
        margin-bottom: 0.75rem;
        margin-top: 0.5rem;
    }

    .footer-links {
        font-size: 0.8125rem;
        margin-bottom: 0;
    }

    .footer-links li {
        margin-bottom: 0.5rem;
    }

    .footer-links li:last-child {
        margin-bottom: 0;
    }

    .footer-bottom {
        padding-top: 1rem;
        font-size: 0.8125rem;
        margin-top: 0;
    }

    .footer {
        padding: 1.5rem 0 1rem;
    }

    html,
    body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
        position: relative;
    }

    * {
        max-width: 100%;
        box-sizing: border-box;
    }

    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
        box-sizing: border-box !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .navbar,
    .nav-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    section {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    [dir="rtl"] .footer-section:nth-child(4) {
        text-align: center;
    }
}

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

    .hero {
        padding-top: 70px;
        min-height: 80vh;
        padding-bottom: 2.5rem;
    }

    .hero-title-main {
        font-size: 2rem !important;
        line-height: 1.15 !important;
    }

    .hero-title-sub {
        font-size: 1.25rem !important;
        line-height: 1.3;
    }

    .hero-description {
        font-size: 0.9375rem !important;
        margin-bottom: 1.75rem;
    }

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

    .section {
        padding: 1.75rem 0;
    }

    .section-header {
        margin-bottom: 1.25rem;
    }

    .service-card,
    .sector-card,
    .product-card {
        padding: 0;
    }

    .vision-card {
        padding: 1rem !important;
    }

    .vision-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 0.75rem;
        padding: 0.75rem;
    }

    .vision-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .vision-card p {
        font-size: 0.8125rem;
        line-height: 1.4;
    }

    .service-title {
        font-size: 1rem;
        padding: 1rem 1rem 0.5rem !important;
        line-height: 1.3;
    }

    .service-description {
        font-size: 0.8125rem;
        line-height: 1.5;
        padding: 0 1rem 1rem !important;
    }

    .sector-card:has(.sector-image-wrapper) .sector-title {
        padding: 1rem 1rem 0.5rem !important;
        font-size: 1rem;
    }

    .sector-card:has(.sector-image-wrapper) p {
        padding: 0 1rem 1rem !important;
        font-size: 0.8125rem;
        line-height: 1.5;
    }

    .sector-card:not(:has(.sector-image-wrapper)) {
        padding: 1rem !important;
    }

    .sector-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .sector-card p {
        font-size: 0.8125rem;
        line-height: 1.5;
    }

    .product-title {
        font-size: 1rem;
    }

    .product-description {
        font-size: 0.8125rem;
        line-height: 1.5;
    }

    .service-image-wrapper,
    .product-image-wrapper,
    .sector-image-wrapper {
        height: 140px;
        width: 100%;
    }

    .sector-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 0.5rem;
        padding: 0.625rem;
    }

    /* Force single column and prevent overflow */
    .services-grid,
    .sectors-grid,
    .products-grid,
    .vision-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-auto-flow: row !important;
        width: 100%;
        max-width: 100%;
    }

    .service-card,
    .sector-card,
    .product-card,
    .vision-card {
        min-width: 0;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        margin: 0;
    }

    .contact-grid {
        gap: 0.625rem;
    }

    .contact-email-center .contact-item {
        width: 100%;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 0.625rem;
    }

    .contact-item:nth-child(n+3) {
        grid-column: 1;
    }

    .contact-item {
        padding: 0.75rem;
        gap: 0.75rem;
    }

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

    .contact-details h4 {
        font-size: 0.9375rem;
        margin-bottom: 0.375rem;
    }

    .contact-details p {
        font-size: 0.8125rem;
        margin-bottom: 0.25rem;
        line-height: 1.4;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 0.875rem;
        margin-bottom: 0.875rem;
    }

    .footer-section:first-child {
        grid-column: 1 / -1;
        grid-row: 1;
        text-align: center;
    }

    .footer-section:nth-child(2),
    .footer-section:nth-child(3),
    .footer-section:nth-child(4) {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        margin: 0;
    }

    .footer-section:nth-child(2) {
        grid-column: 1;
        grid-row: 2;
        text-align: left;
        padding-left: 3.25rem;
    }

    .footer-section:nth-child(3) {
        grid-column: 1;
        grid-row: 3;
        text-align: left;
        padding-left: 3.25rem;
    }

    .footer-section:nth-child(4) {
        grid-column: 2;
        grid-row: 2;
        text-align: left;
        padding-left: 2.5rem;
    }

    .footer-section:nth-child(2) .footer-title,
    .footer-section:nth-child(3) .footer-title,
    .footer-section:nth-child(4) .footer-title {
        font-size: 0.875rem !important;
        font-weight: 700 !important;
        margin-bottom: 0.5rem !important;
        margin-top: 0 !important;
        padding: 0 !important;
        width: 100%;
        color: white !important;
        line-height: 1.3 !important;
    }

    .footer-section:nth-child(2) .footer-links,
    .footer-section:nth-child(3) .footer-links,
    .footer-section:nth-child(4) .footer-links {
        font-size: 0.75rem !important;
        margin-bottom: 0 !important;
        margin-top: 0 !important;
        padding: 0 !important;
        width: 100%;
        list-style: none !important;
    }

    .footer-section:nth-child(2) .footer-links li,
    .footer-section:nth-child(3) .footer-links li,
    .footer-section:nth-child(4) .footer-links li {
        margin-bottom: 0.375rem !important;
        margin-top: 0 !important;
        padding: 0 !important;
        font-size: 0.75rem !important;
        line-height: 1.5 !important;
    }

    .footer-section:nth-child(2) .footer-links li:last-child,
    .footer-section:nth-child(3) .footer-links li:last-child,
    .footer-section:nth-child(4) .footer-links li:last-child {
        margin-bottom: 0 !important;
    }

    .footer-section:nth-child(2) .footer-links a,
    .footer-section:nth-child(3) .footer-links a,
    .footer-section:nth-child(4) .footer-links a {
        color: rgba(255, 255, 255, 0.8) !important;
        font-size: 0.75rem !important;
        text-decoration: none !important;
        line-height: 1.5 !important;
    }

    .footer-logo {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .footer-logo .logo-icon {
        height: 35px !important;
    }

    .footer-description {
        font-size: 0.75rem;
        line-height: 1.4;
        margin-bottom: 0;
    }

    .footer-title {
        font-size: 0.875rem;
        margin-bottom: 0.5rem;
        margin-top: 0.25rem;
    }

    .footer-links {
        font-size: 0.75rem;
    }

    .footer-links li {
        margin-bottom: 0.375rem;
    }

    .footer-links li:last-child {
        margin-bottom: 0;
    }

    .footer-bottom {
        padding-top: 0.875rem;
        font-size: 0.75rem;
        margin-top: 0;
    }

    .footer {
        padding: 1.25rem 0 0.875rem;
    }

    .btn {
        font-size: 0.9375rem;
        padding: 0.75rem 1.25rem;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
*:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   PERFORMANCE & LAUNCH OPTIMIZATIONS
   ============================================ */

/* Performance: Optimize animations (only on hover) */
.service-card:hover,
.sector-card:hover,
.product-card:hover {
    will-change: transform;
}

/* Performance: Optimize images */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    max-width: 100%;
    height: auto;
    display: block;
}

.service-image,
.product-image,
.sector-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Performance: Reduce repaints */

/* Additional Responsive Breakpoints */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.75rem;
    }

    .services-grid,
    .sectors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .hero-title-main {
        font-size: 3.5rem;
    }

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

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

/* Tablet Portrait */
@media (min-width: 769px) and (max-width: 1024px) {

    /* Fix navbar for tablets/iPads - override all mobile styles */
    .mobile-menu-toggle {
        display: none !important;
    }

    .nav-menu {
        display: flex !important;
        position: static !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        width: auto !important;
        max-width: none !important;
        height: auto !important;
        background: transparent !important;
        padding: 0 !important;
        box-shadow: none !important;
        flex-direction: row !important;
        gap: 1rem !important;
        overflow: visible !important;
        z-index: auto !important;
        transition: none !important;
        list-style: none !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
    }

    .nav-menu.active {
        left: auto !important;
        right: auto !important;
        position: static !important;
    }

    .nav-link {
        display: block !important;
        padding: 0.5rem 0 !important;
        font-size: 0.875rem !important;
        white-space: nowrap !important;
    }

    .navbar {
        overflow: visible !important;
        position: fixed !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .navbar .container {
        padding: 0 1.5rem !important;
        overflow: visible !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .nav-wrapper {
        padding: 0.75rem 0 !important;
        overflow: visible !important;
        width: 100% !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 1rem !important;
    }

    .logo {
        flex-shrink: 0 !important;
        margin-right: 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
    }

    .logo-icon {
        height: 60px !important;
        width: auto !important;
    }

    .logo-text {
        font-size: 1.1rem !important;
        white-space: nowrap !important;
    }

    .nav-menu li {
        margin: 0 !important;
        padding: 0 !important;
    }

    html,
    body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }

    .container {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    section {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    .services-grid,
    .sectors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section {
        padding: 5rem 0;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .about-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .service-image-wrapper,
    .product-image-wrapper,
    .sector-image-wrapper {
        height: 220px;
    }

    .hero .container {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        margin: 0 auto !important;
    }

    .hero-content {
        margin: 0 auto !important;
        width: 100% !important;
        text-align: center !important;
    }
}

/* Small Tablet (769–900px) — tighter nav and layout */
@media (min-width: 769px) and (max-width: 900px) {
    .nav-link {
        font-size: 0.8rem !important;
        padding: 0.375rem 0 !important;
    }

    .nav-menu {
        gap: 0.625rem !important;
    }

    .logo-text {
        font-size: 0.95rem !important;
    }

    .logo-icon {
        height: 50px !important;
    }

    .contact-grid {
        gap: 1.5rem 2.5rem;
    }

    .contact-email-center .contact-item {
        width: calc((100% - 2.5rem) / 2);
    }
}

/* Ensure desktop styles are preserved above 1024px */
@media (min-width: 1025px) {
    .logo-icon {
        height: 75px !important;
    }

    .logo-text {
        font-size: 1.5rem !important;
    }

    .nav-menu {
        gap: 2.5rem !important;
    }

    .nav-link {
        font-size: 0.95rem !important;
        white-space: normal !important;
    }

    .navbar .container {
        padding: 0 2rem !important;
    }

    .nav-wrapper {
        padding: 1.25rem 0 !important;
        gap: 0 !important;
    }

    .logo {
        gap: 1rem !important;
    }

    .hero .container {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        margin: 0 auto !important;
    }

    .hero-content {
        margin: 0 auto !important;
        width: 100% !important;
        max-width: 1000px !important;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 1.125rem;
    }

    .hero-title-main {
        font-size: 2.25rem !important;
        line-height: 1.15 !important;
    }

    .hero-title-sub {
        font-size: 1.375rem !important;
    }

    .hero-description {
        font-size: 0.9375rem !important;
    }

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

    .service-card,
    .sector-card,
    .product-card {
        padding: 1.375rem;
    }

    .service-image-wrapper,
    .product-image-wrapper,
    .sector-image-wrapper {
        height: 190px;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 1rem;
    }

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

    .hero-title-sub {
        font-size: 1.25rem;
    }

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

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
        min-height: 44px;
    }

    .service-card,
    .sector-card,
    .product-card {
        padding: 1.25rem;
    }

    .section {
        padding: 2.5rem 0;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {

    .service-card:hover,
    .sector-card:hover,
    .product-card:hover {
        transform: none;
    }

    .btn:hover {
        transform: none;
    }
}

/* High DPI Display Optimizations */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Landscape Mobile Optimizations */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding-top: 70px;
    }

    .section {
        padding: 3rem 0;
    }

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

/* Print Styles */
@media print {

    .navbar,
    .hero-scroll-indicator,
    .btn,
    .mobile-menu-toggle {
        display: none !important;
    }

    .section {
        page-break-inside: avoid;
        padding: 2rem 0;
    }

    .service-card,
    .sector-card,
    .product-card {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Security: Prevent text selection abuse (optional) */
.no-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Performance: Contain layout */
.service-card,
.sector-card,
.product-card {
    contain: layout style paint;
}

/* Cross-browser Compatibility */
@supports not (backdrop-filter: blur(10px)) {
    .navbar {
        background: rgba(255, 255, 255, 0.95);
    }

    .btn-secondary {
        background: rgba(255, 255, 255, 0.1);
    }
}

/* Error State Styles */
.error-state {
    display: none;
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.error-state.show {
    display: block;
}

/* ============================================
   ULTIMATE PREMIUM REFINEMENTS
   ============================================ */

/* Enhanced Typography & Spacing */
body {
    letter-spacing: -0.01em;
    text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* Premium Hero Refinements */
.hero {
    position: relative;
    background-size: cover;
}

.hero-title-main {
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.95;
    text-rendering: optimizeLegibility;
}

.hero-title-sub {
    font-weight: 300;
    letter-spacing: 0.02em;
    font-variation-settings: "wght" 300;
}

/* Refined Button Styles */
.btn {
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: none;
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.btn-primary {
    background: linear-gradient(135deg, #0c2b4d 0%, #0c2b4d 100%);
    background-size: 200% 100%;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 15px 40px rgba(12, 43, 77, 0.4),
        0 8px 20px rgba(12, 43, 77, 0.3),
        0 0 0 3px rgba(12, 43, 77, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(12, 43, 77, 0.4);
    font-weight: 700;
    letter-spacing: 0.05em;
}

.btn-primary:hover {
    background-position: 100% 0;
    transform: translateY(-6px) scale(1.05);
    box-shadow:
        0 25px 60px rgba(12, 43, 77, 0.5),
        0 15px 30px rgba(12, 43, 77, 0.4),
        0 0 0 4px rgba(12, 43, 77, 0.6),
        0 0 80px rgba(12, 43, 77, 0.4);
}

/* ── LANGUAGE TOGGLE ── */
.lang-toggle {
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    -webkit-appearance: none;
    appearance: none;
}

/* ── VIDEO SECTION ── */
.video-section {
    width: 100%;
    line-height: 0;
}

.video-wrapper {
    width: 100%;
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
}

/* ── RTL OVERRIDES ── */
[dir="rtl"] body {
    font-family: 'Cairo', sans-serif;
}
[dir="rtl"] .nav-link::after {
    left: auto;
    right: 0;
}
[dir="rtl"] .hero-content {
    text-align: center;
}
[dir="rtl"] .hero-buttons {
    justify-content: center;
}
[dir="rtl"] .section-header {
    text-align: center;
}
[dir="rtl"] .about-content {
    flex-direction: row-reverse;
}
[dir="rtl"] .about-text {
    text-align: right;
}
[dir="rtl"] .contact-item {
    flex-direction: row;
    text-align: right;
}
[dir="rtl"] .contact-details p[dir="ltr"] {
    text-align: right;
}
[dir="rtl"] .footer-content {
    flex-direction: row-reverse;
}
[dir="rtl"] .footer-section {
    text-align: right;
}
[dir="rtl"] .logo {
    margin-right: 0;
    margin-left: auto;
}