/* ===== CSS RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Colors */
    --primary-dark: #0a1628;
    --primary: #0d2137;
    --primary-light: #142d4a;
    --primary-medium: #1a3a5c;

    /* Accent Colors */
    --accent: #c8a45a;
    --accent-light: #d4b76e;
    --accent-dark: #b08d3e;

    /* Secondary Accent */
    --blue-accent: #2980b9;
    --blue-light: #3498db;

    /* Neutrals */
    --white: #ffffff;
    --off-white: #f5f5f5;
    --light-gray: #e8e8e8;
    --medium-gray: #999999;
    --dark-gray: #666666;
    --text-dark: #333333;
    --text-light: #cccccc;

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.6s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 30px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

/* ===== PRELOADER ===== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
}

.preloader-logo {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 6px;
    margin-bottom: 30px;
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.preloader-bar-fill {
    width: 0%;
    height: 100%;
    background: var(--accent);
    border-radius: 3px;
    animation: preloaderFill 1.5s ease forwards;
}

@keyframes preloaderFill {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

/* ===== HEADER ===== */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-top-bar {
    background: var(--primary-dark);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 25px;
}

.top-bar-left span {
    color: var(--text-light);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-switch {
    color: var(--accent) !important;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border: 1px solid var(--accent);
    border-radius: 2px;
}

.lang-switch:hover {
    background: var(--accent);
    color: var(--primary-dark) !important;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    color: var(--text-light);
    opacity: 0.7;
}

.social-links a:hover {
    color: var(--accent);
    opacity: 1;
}

/* Main Navigation */
#main-nav {
    background: rgba(13, 33, 55, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0;
    transition: all var(--transition-normal);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

#main-nav.scrolled {
    background: rgba(10, 22, 40, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 63px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 3px;
}

.logo-highlight {
    color: var(--accent);
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-item>a {
    display: block;
    padding: 26px 22px;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: var(--transition-normal);
}

.nav-item>a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--accent);
    transition: var(--transition-normal);
}

.nav-item>a:hover::after,
.nav-item.active>a::after {
    width: 100%;
}

.nav-item>a:hover {
    color: var(--accent);
}

/* Dropdown Menu */
.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: var(--primary);
    border-top: 3px solid var(--accent);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-normal);
    z-index: 100;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    padding: 14px 25px;
    color: var(--text-light);
    font-size: 13px;
    font-weight: 400;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-fast);
}

.dropdown li a:hover {
    background: rgba(200, 164, 90, 0.1);
    color: var(--accent);
    padding-left: 30px;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition-normal);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO SLIDER ===== */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 8s ease;
}

.slide.active .slide-bg {
    transform: scale(1.05);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(10, 22, 40, 0.4) 0%,
            rgba(10, 22, 40, 0.6) 50%,
            rgba(10, 22, 40, 0.8) 100%);
}

/* Decorative grid pattern overlay */
.slide-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(200, 164, 90, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200, 164, 90, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
}

.slide-content {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    height: 100%;
}

.slide-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    letter-spacing: 2px;
    margin-bottom: 35px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease 0.3s;
}

.slide.active .slide-title {
    opacity: 1;
    transform: translateY(0);
}

/* Animated underline on slide title */
.slide-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--accent);
    margin-top: 25px;
    transition: width 0.6s ease 0.8s;
    width: 0;
}

.slide.active .slide-title::after {
    width: 80px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 35px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease 0.6s, background 0.3s ease, transform 0.3s ease;
}

.slide.active .btn {
    opacity: 1;
    transform: translateY(0);
}

.btn-primary {
    background: var(--accent);
    color: var(--primary-dark);
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200, 164, 90, 0.3);
}

.btn-outline-dark {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 12px 35px;
}

.btn-outline-dark:hover {
    background: var(--primary);
    color: var(--white);
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.slider-arrow {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
    backdrop-filter: blur(10px);
}

.slider-arrow:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary-dark);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: var(--transition-normal);
}

.slider-dot.active {
    background: var(--accent);
    border-color: var(--accent);
}

/* ===== SECTIONS ===== */
.section {
    padding: var(--section-padding);
}

/* ===== WHAT WE OFFER ===== */
.what-we-offer {
    background: var(--primary);
    position: relative;
    overflow: hidden;
    padding: 100px 0 80px;
}

.what-we-offer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(200, 164, 90, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200, 164, 90, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.what-we-offer .section-intro {
    margin-bottom: 60px;
    text-align: center;
}

.offer-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.offer-columns::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(200, 164, 90, 0.2), transparent);
}

.offer-column-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(200, 164, 90, 0.15);
}

.offer-column-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(200, 164, 90, 0.08);
    border: 1px solid rgba(200, 164, 90, 0.2);
    border-radius: 4px;
    color: var(--accent);
}

.offer-column-header h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.offer-items-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.offer-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

.offer-item:last-child {
    border-bottom: none;
}

.offer-item-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.offer-item-header:hover {
    padding-left: 12px;
}

.offer-item-number {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 2px;
    opacity: 0.6;
    min-width: 22px;
}

.offer-item-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.5px;
    flex: 1;
    transition: color 0.3s ease;
}

.offer-item-header:hover .offer-item-title {
    color: var(--accent);
}

.offer-item-toggle {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 300;
    color: var(--accent);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(200, 164, 90, 0.2);
    border-radius: 2px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.offer-item.active .offer-item-toggle {
    background: var(--accent);
    color: var(--primary-dark);
    border-color: var(--accent);
    transform: rotate(45deg);
}

.offer-item-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 5px 0 42px;
}

.offer-item.active .offer-item-body {
    max-height: 300px;
    padding: 0 5px 20px 42px;
}

.offer-item-body p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.7;
    opacity: 0.7;
    margin-bottom: 14px;
}

.offer-item-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.offer-item-body ul li {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0.3px;
    padding-left: 16px;
    position: relative;
    opacity: 0.8;
}

.offer-item-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.offer-cta-row {
    text-align: center;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

/* About Preview */
.about-preview {
    background: var(--primary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-preview::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(200, 164, 90, 0.03) 0%, transparent 70%);
}

.section-intro {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.4;
    letter-spacing: 1px;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.section-title-dark {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.4;
    letter-spacing: 1px;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    opacity: 0.8;
}

/* ===== STAGGERED ANIMATIONS ===== */
.service-card:nth-child(1) {
    animation-delay: 0s;
}

.service-card:nth-child(2) {
    animation-delay: 0.1s;
}

.service-card:nth-child(3) {
    animation-delay: 0.2s;
}

.service-card:nth-child(4) {
    animation-delay: 0.3s;
}

.service-card:nth-child(5) {
    animation-delay: 0.4s;
}

.service-card:nth-child(6) {
    animation-delay: 0.5s;
}

.service-card:nth-child(7) {
    animation-delay: 0.6s;
}

.service-card:nth-child(8) {
    animation-delay: 0.7s;
}

.stat-item:nth-child(1) {
    animation-delay: 0s;
}

.stat-item:nth-child(2) {
    animation-delay: 0.15s;
}

.stat-item:nth-child(3) {
    animation-delay: 0.3s;
}

.stat-item:nth-child(4) {
    animation-delay: 0.45s;
}

@keyframes floatUp {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* ===== NETWORK CANVAS ===== */
.network-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* ===== HERO BADGE ===== */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 22px;
    background: rgba(200, 164, 90, 0.1);
    border: 1px solid rgba(200, 164, 90, 0.3);
    border-radius: 30px;
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
    animation: badgeFadeIn 1s ease 0.3s both;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    display: inline-block;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(200, 164, 90, 0.4);
    }

    50% {
        opacity: 0.6;
        box-shadow: 0 0 0 8px rgba(200, 164, 90, 0);
    }
}

@keyframes badgeFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== STATS SECTION ===== */
.stats-section {
    background: var(--primary);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(200, 164, 90, 0.03), transparent, rgba(200, 164, 90, 0.03));
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: rgba(200, 164, 90, 0.2);
}

.stat-item:last-child::after {
    display: none;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 12px;
}

.stat-label {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
    opacity: 0.7;
    margin-bottom: 15px;
}

.stat-line {
    width: 40px;
    height: 2px;
    background: var(--accent);
    margin: 0 auto;
    opacity: 0.4;
}

/* ===== SERVICES SECTION ===== */
.services-section {
    background: var(--off-white);
    padding: 100px 0;
}

.services-header {
    text-align: center;
    margin-bottom: 10px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    display: block;
    position: relative;
    overflow: hidden;
    height: 320px;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transition: width 0.5s ease;
    z-index: 3;
}

.service-card:hover::after {
    width: 100%;
}

.service-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform var(--transition-slow);
    z-index: 0;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.95) 0%, rgba(10, 22, 40, 0.4) 50%, rgba(10, 22, 40, 0.2) 100%);
    z-index: 1;
    transition: var(--transition-normal);
}

.service-card:hover .service-card-bg {
    transform: scale(1.1);
}

.service-card:hover::before {
    background: linear-gradient(to top, rgba(10, 22, 40, 0.98) 0%, rgba(10, 22, 40, 0.6) 50%, rgba(10, 22, 40, 0.3) 100%);
}

.service-card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
}

.service-icon {
    margin-bottom: 15px;
    color: var(--accent);
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    transform: translateY(-5px);
    color: var(--accent-light);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--white);
    transition: var(--transition-normal);
    margin-bottom: 8px;
}

.service-desc {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    opacity: 0.7;
    transition: var(--transition-normal);
    max-height: 0;
    overflow: hidden;
    margin-bottom: 0;
}

.service-card:hover .service-desc {
    max-height: 80px;
    opacity: 0.9;
    margin-bottom: 12px;
}

.service-link {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-normal);
}

.service-card:hover .service-link {
    opacity: 1;
    transform: translateY(0);
}

.service-hover-line {
    display: none;
}

/* ===== PROJECTS SECTION ===== */
.projects-section {
    background: var(--white);
    padding: 100px 0;
}

.projects-header {
    text-align: center;
    margin-bottom: 50px;
}

.project-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-top: 30px;
}

.project-tab {
    padding: 14px 35px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: transparent;
    border: 2px solid var(--light-gray);
    color: var(--dark-gray);
    cursor: pointer;
    transition: var(--transition-normal);
}

.project-tab.active,
.project-tab:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.project-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    height: 300px;
}

.project-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform var(--transition-slow);
}

.project-card:hover .project-image {
    transform: scale(1.08);
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.95) 0%, transparent 100%);
    transform: translateY(0);
    opacity: 1;
    transition: all var(--transition-normal);
}

.project-card:hover .project-info {
    background: linear-gradient(to top, rgba(200, 164, 90, 0.15) 0%, rgba(10, 22, 40, 0.95) 30%, transparent 100%);
}

.project-info h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-location {
    font-size: 13px;
    color: var(--accent);
    font-weight: 500;
}

.projects-more {
    text-align: center;
    margin-top: 50px;
}

/* ===== SERVICE DESCRIPTIONS (Legacy - Overridden) ===== */


/* ===== STRATEGIC ALLIANCES SECTION ===== */
.alliances-section {
    background: var(--primary);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.alliances-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(200, 164, 90, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200, 164, 90, 0.02) 1px, transparent 1px);
    background-size: 80px 80px;
}

.alliances-header {
    text-align: center;
    position: relative;
    z-index: 1;
}

.alliances-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

.alliance-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(200, 164, 90, 0.15);
    padding: 45px 40px;
    position: relative;
    transition: all var(--transition-normal);
    overflow: hidden;
}

.alliance-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent);
}

.alliance-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(200, 164, 90, 0.03), transparent);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.alliance-card:hover {
    border-color: rgba(200, 164, 90, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.alliance-card:hover::after {
    opacity: 1;
}

.alliance-icon {
    color: var(--accent);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.alliance-label {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.alliance-card h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.alliance-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
    opacity: 0.8;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.alliance-capabilities {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.alliance-capabilities span {
    display: inline-block;
    padding: 6px 16px;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    border: 1px solid rgba(200, 164, 90, 0.25);
    background: rgba(200, 164, 90, 0.05);
    transition: var(--transition-fast);
}

.alliance-card:hover .alliance-capabilities span {
    border-color: rgba(200, 164, 90, 0.4);
    background: rgba(200, 164, 90, 0.1);
}

/* ===== PEOPLE SECTION ===== */
.people-section {
    background: var(--primary);
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.people-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(200, 164, 90, 0.05));
}

.people-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.people-text {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.9;
    opacity: 0.85;
}

/* ===== NEWS SECTION ===== */
.news-section {
    background: var(--off-white);
    padding: 100px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.news-card {
    background: var(--white);
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    transition: all var(--transition-normal);
}

.news-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.news-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.news-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.news-card:hover .news-image::after {
    transform: scaleX(1);
}

.news-content {
    padding: 30px;
}

.news-content h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--primary);
    margin-bottom: 12px;
}

.news-content h3 a:hover {
    color: var(--accent);
}

.news-content p {
    font-size: 14px;
    color: var(--dark-gray);
    line-height: 1.7;
    margin-bottom: 15px;
}

.read-more {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
}

.read-more:hover {
    color: var(--accent-dark);
}

/* ===== FOOTER ===== */
#main-footer {
    background: var(--primary-dark);
    padding: 70px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-light);
    font-size: 13px;
    opacity: 0.7;
    transition: var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--accent);
    opacity: 1;
    padding-left: 5px;
}

.contact-info li {
    color: var(--text-light);
    font-size: 13px;
    opacity: 0.7;
}

.footer-contact-details {
    margin-top: 15px;
}

.footer-contact-details p {
    color: var(--text-light);
    font-size: 13px;
    opacity: 0.7;
}

.footer-contact-details a {
    color: var(--accent);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: var(--transition-normal);
}

.footer-social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary-dark);
}

.footer-bottom {
    padding-top: 25px;
    text-align: center;
}

.footer-bottom p {
    color: var(--medium-gray);
    font-size: 12px;
    letter-spacing: 0.5px;
}

/* ===== ANIMATIONS ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll:nth-child(2) {
    transition-delay: 0.1s;
}

.animate-on-scroll:nth-child(3) {
    transition-delay: 0.2s;
}

.animate-on-scroll:nth-child(4) {
    transition-delay: 0.3s;
}

.animate-on-scroll:nth-child(5) {
    transition-delay: 0.4s;
}

.animate-on-scroll:nth-child(6) {
    transition-delay: 0.5s;
}

.animate-on-scroll:nth-child(7) {
    transition-delay: 0.6s;
}

.animate-on-scroll:nth-child(8) {
    transition-delay: 0.7s;
}

/* ===== INNER PAGE STYLES ===== */

/* Page Banner */
.page-banner {
    height: 350px;
    background: var(--primary);
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 115px;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(200, 164, 90, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200, 164, 90, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
}

.page-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.8), transparent);
}

.page-banner-content {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Breadcrumbs */
.breadcrumbs {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.breadcrumbs a {
    color: var(--accent);
    font-size: 13px;
    font-weight: 500;
}

.breadcrumbs span {
    color: var(--text-light);
    font-size: 13px;
}

.breadcrumbs .separator {
    color: var(--text-light);
    opacity: 0.5;
}

/* Inner Page Layout */
.inner-page-content {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    padding: 80px 0;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 130px;
    height: fit-content;
}

.sidebar-nav {
    background: var(--off-white);
    border-left: 3px solid var(--accent);
}

.sidebar-nav li a {
    display: block;
    padding: 15px 25px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-gray);
    border-bottom: 1px solid var(--light-gray);
    transition: var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-nav li a:hover,
.sidebar-nav li a.active {
    background: var(--primary);
    color: var(--white);
    padding-left: 30px;
}

/* Content Area */
.content-area {
    min-height: 400px;
}

.content-area h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 15px;
}

.content-area h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent);
}

.content-area p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 20px;
}

/* ===== SERVICES PAGE - INTRO ===== */
.services-page-intro {
    background: var(--off-white);
    padding: 60px 0 20px;
    text-align: center;
}

.services-intro-content {
    max-width: 850px;
    margin: 0 auto;
}

.services-intro-text {
    font-size: 16px;
    color: var(--dark-gray);
    line-height: 1.9;
}

/* ===== SERVICES PAGE - DETAIL CARDS ===== */
.services-detail-section {
    background: var(--off-white);
    padding: 40px 0 80px;
}

.service-detail-card {
    background: var(--white);
    position: relative;
    margin-bottom: 30px;
    padding: 45px 50px 45px 55px;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.4s ease;
}

.service-detail-card:hover {
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.service-detail-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent), var(--accent-dark));
    transition: width 0.4s ease;
}

.service-detail-card:hover .service-detail-accent {
    width: 6px;
}

.service-detail-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 25px;
}

.service-detail-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(200, 164, 90, 0.08);
    border: 1px solid rgba(200, 164, 90, 0.2);
    border-radius: 4px;
    color: var(--accent);
    transition: all 0.3s ease;
}

.service-detail-card:hover .service-detail-icon {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--accent);
    transform: scale(1.05);
}

.service-detail-title-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.service-detail-number {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.service-detail-card h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    padding: 0;
    position: relative;
}

.service-detail-card h2::after {
    display: none;
}

.service-detail-body {
    padding-left: 95px;
}

.service-detail-desc {
    font-size: 15px;
    line-height: 1.85;
    color: var(--dark-gray);
    margin-bottom: 28px;
}

.service-detail-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-light);
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
}

.service-detail-card:hover .feature-item {
    color: var(--primary);
}

.feature-dot {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    position: relative;
}

.feature-dot::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(200, 164, 90, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-detail-card:hover .feature-dot::after {
    opacity: 1;
}

/* ===== SERVICES PAGE - CTA ===== */
.services-cta-section {
    background: var(--primary);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.services-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(200, 164, 90, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200, 164, 90, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
}

.services-cta {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 650px;
    margin: 0 auto;
}

.services-cta h2 {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.services-cta p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    opacity: 0.8;
    margin-bottom: 35px;
}

.btn-cta {
    display: inline-block;
    padding: 16px 45px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: var(--accent);
    color: var(--primary-dark);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 1;
    transform: none;
}

.btn-cta:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(200, 164, 90, 0.35);
}

/* Services Page Grid (Legacy - kept for reference) */
.services-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 80px 0;
}

.service-page-card {
    position: relative;
    height: 300px;
    overflow: hidden;
    cursor: pointer;
}

.service-page-card-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform var(--transition-slow);
}

.service-page-card:hover .service-page-card-bg {
    transform: scale(1.1);
}

.service-page-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.9) 0%, rgba(10, 22, 40, 0.3) 100%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
}

.service-page-card-overlay h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mission Vision Section */
.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 30px;
}

.mv-card {
    padding: 40px;
    background: var(--off-white);
    position: relative;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent);
}

.mv-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.mv-card p {
    color: var(--dark-gray);
    line-height: 1.8;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 80px 0;
}

.contact-form-wrapper {
    background: var(--off-white);
    padding: 40px;
}

.contact-form-wrapper h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 30px;
    text-transform: uppercase;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark-gray);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--light-gray);
    font-family: var(--font-body);
    font-size: 14px;
    background: var(--white);
    transition: var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.contact-info-wrapper {
    padding: 40px;
}

.contact-info-block {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--light-gray);
}

.contact-info-block h3 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 12px;
}

.contact-info-block p {
    color: var(--dark-gray);
    font-size: 14px;
    line-height: 1.8;
}

.contact-info-block a {
    color: var(--accent);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .alliances-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .inner-page-content {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: relative;
        top: 0;
    }

    .services-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-detail-card {
        padding: 35px 35px 35px 45px;
    }

    .service-detail-body {
        padding-left: 0;
    }

    .service-detail-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-top-bar {
        display: block;
    }
    
    .top-bar-left {
        display: none;
    }
    
    .top-bar-content {
        justify-content: flex-end;
        padding: 8px 0;
    }
    
    .top-bar-right {
        gap: 15px;
    }
    
    .social-links {
        display: none;
    }

    .nav-content {
        height: 65px;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 65px;
        left: 0;
        width: 100%;
        height: calc(100vh - 65px);
        background: var(--primary);
        flex-direction: column;
        align-items: stretch;
        padding: 20px 0;
        transform: translateX(-100%);
        transition: transform var(--transition-normal);
        overflow-y: auto;
    }

    .nav-menu.open {
        transform: translateX(0);
    }

    .nav-item>a {
        padding: 16px 30px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        min-width: 100%;
        border-top: none;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.1);
        display: none;
    }

    .has-dropdown.mobile-open .dropdown {
        display: block;
    }

    .slide-title {
        font-size: 28px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        height: 250px;
    }

    /* Disable hover effects on mobile - show content by default */
    .service-desc {
        max-height: none;
        opacity: 0.9;
        margin-bottom: 12px;
    }

    .service-link {
        display: none; /* Hide "Learn More" on mobile to prevent overlap */
    }

    .service-card-content {
        padding: 20px;
    }

    .service-card h3 {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .service-desc {
        font-size: 12px;
        line-height: 1.5;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-number {
        font-size: 36px;
    }

    .stat-item::after {
        display: none;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .alliances-grid {
        grid-template-columns: 1fr;
    }

    .page-banner {
        height: 250px;
        margin-top: 65px;
    }

    .page-banner h1 {
        font-size: 28px;
    }

    .section {
        padding: 60px 0;
    }

    .what-we-offer {
        padding: 60px 0 50px;
    }

    .offer-columns {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .offer-columns::before {
        display: none;
    }

    .offer-item-body ul {
        grid-template-columns: 1fr;
    }

    .section-title,
    .section-title-dark {
        font-size: 22px;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .services-page-grid {
        grid-template-columns: 1fr;
    }

    .service-detail-card {
        padding: 25px 20px 25px 30px;
    }

    .service-detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .service-detail-icon {
        width: 55px;
        height: 55px;
    }

    .service-detail-card h2 {
        font-size: 18px;
    }

    .service-detail-body {
        padding-left: 0;
    }

    .service-detail-features {
        grid-template-columns: 1fr;
    }

    .services-cta h2 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .offer-column-header h3 {
        font-size: 13px;
    }

    .offer-item-title {
        font-size: 13px;
    }

    .slide-title {
        font-size: 22px;
    }

    .slider-controls {
        bottom: 30px;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
    }

    .container {
        padding: 0 20px;
    }
}


/* ===== ARABIC / RTL SUPPORT ===== */
html[lang="ar"],
html[dir="rtl"] {
    direction: rtl;
}

html[lang="ar"] body,
html[dir="rtl"] body {
    text-align: right;
    font-family: 'Tajawal', 'Cairo', 'Almarai', sans-serif;
}

/* RTL Navigation */
html[lang="ar"] .nav-content,
html[dir="rtl"] .nav-content {
    flex-direction: row-reverse;
}

html[lang="ar"] .nav-menu,
html[dir="rtl"] .nav-menu {
    flex-direction: row-reverse;
}

html[lang="ar"] .top-bar-content,
html[dir="rtl"] .top-bar-content {
    flex-direction: row-reverse;
}

html[lang="ar"] .top-bar-left,
html[dir="rtl"] .top-bar-left {
    order: 2;
}

html[lang="ar"] .top-bar-right,
html[dir="rtl"] .top-bar-right {
    order: 1;
}

/* RTL Dropdowns */
html[lang="ar"] .dropdown,
html[dir="rtl"] .dropdown {
    left: auto;
    right: 0;
}

/* RTL Logo */
html[lang="ar"] .logo,
html[dir="rtl"] .logo {
    margin-left: 0;
    margin-right: auto;
}

/* RTL Sections */
html[lang="ar"] .section-intro,
html[dir="rtl"] .section-intro {
    text-align: right;
}

html[lang="ar"] .section-title,
html[lang="ar"] .section-title-dark,
html[dir="rtl"] .section-title,
html[dir="rtl"] .section-title-dark {
    text-align: right;
}

/* RTL Footer */
html[lang="ar"] .footer-grid,
html[dir="rtl"] .footer-grid {
    direction: rtl;
}

html[lang="ar"] .footer-col,
html[dir="rtl"] .footer-col {
    text-align: right;
}

/* RTL Buttons and Links */
html[lang="ar"] .btn,
html[dir="rtl"] .btn {
    direction: rtl;
}

/* RTL Lists */
html[lang="ar"] ul,
html[dir="rtl"] ul {
    padding-right: 20px;
    padding-left: 0;
}

/* RTL Mobile Menu */
@media (max-width: 768px) {
    html[lang="ar"] .nav-menu,
    html[dir="rtl"] .nav-menu {
        left: auto;
        right: 0;
        transform: translateX(100%);
    }
    
    html[lang="ar"] .nav-menu.open,
    html[dir="rtl"] .nav-menu.open {
        transform: translateX(0);
    }
}

/* RTL Offer Items */
html[lang="ar"] .offer-item-body ul li::before,
html[dir="rtl"] .offer-item-body ul li::before {
    left: auto;
    right: 0;
}

html[lang="ar"] .offer-item-body ul li,
html[dir="rtl"] .offer-item-body ul li {
    padding-left: 0;
    padding-right: 16px;
}

html[lang="ar"] .offer-item-header,
html[dir="rtl"] .offer-item-header {
    flex-direction: row-reverse;
}

html[lang="ar"] .offer-column-header,
html[dir="rtl"] .offer-column-header {
    flex-direction: row-reverse;
}

/* RTL Service Cards */
html[lang="ar"] .service-card-content,
html[dir="rtl"] .service-card-content {
    text-align: right;
}

html[lang="ar"] .services-grid,
html[dir="rtl"] .services-grid {
    direction: rtl;
}

/* RTL Stats */
html[lang="ar"] .stat-item::after,
html[dir="rtl"] .stat-item::after {
    right: auto;
    left: 0;
}

/* RTL Breadcrumbs */
html[lang="ar"] .breadcrumbs,
html[dir="rtl"] .breadcrumbs {
    flex-direction: row-reverse;
}

/* RTL Contact Info */
html[lang="ar"] .contact-info,
html[dir="rtl"] .contact-info {
    text-align: right;
}

html[lang="ar"] .contact-grid,
html[dir="rtl"] .contact-grid {
    direction: rtl;
}

/* RTL Sidebar */
html[lang="ar"] .inner-page-content,
html[dir="rtl"] .inner-page-content {
    flex-direction: row-reverse;
}

html[lang="ar"] .sidebar,
html[dir="rtl"] .sidebar {
    border-left: none;
    border-right: 1px solid var(--light-gray);
    padding-left: 0;
    padding-right: 30px;
}

/* RTL Project Cards */
html[lang="ar"] .projects-grid,
html[dir="rtl"] .projects-grid {
    direction: rtl;
}

/* RTL Alliance Cards */
html[lang="ar"] .alliance-card::before,
html[dir="rtl"] .alliance-card::before {
    left: auto;
    right: 0;
}

/* RTL Hero Content */
html[lang="ar"] .slide-content,
html[dir="rtl"] .slide-content {
    text-align: right;
}

html[lang="ar"] .slide-title,
html[dir="rtl"] .slide-title {
    text-align: right;
}

/* RTL Mobile Menu */
@media (max-width: 768px) {
    html[lang="ar"] .nav-menu,
    html[dir="rtl"] .nav-menu {
        transform: translateX(100%);
    }
    
    html[lang="ar"] .nav-menu.open,
    html[dir="rtl"] .nav-menu.open {
        transform: translateX(0);
    }
}
