/* ===========================
   CSS Variables & Reset
   =========================== */
:root {
    --primary-cyan: #26ccd4;
    --primary-light-cyan: #b8fcff;
    --primary-dark: #000000;
    --text-white: #ffffff;
    --text-light: #e3f3f4;
    --shadow-dark: rgba(0, 0, 0, 0.25);
    --shadow-light: rgba(255, 255, 255, 0.16);
    
    /* Fonts */
    --font-cairo: 'Cairo', sans-serif;
    --font-teko: 'Teko', sans-serif;
    --font-exo: 'Exo', sans-serif;
    --font-bayon: 'Bayon', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Breakpoints */
    --breakpoint-sm: 640px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 1024px;
    --breakpoint-xl: 1280px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-exo);
    color: var(--text-white);
    background-color: var(--primary-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* ===========================
   Hero Section
   =========================== */
.hero {
    position: relative;
    min-height: 100vh;
    background-color: var(--primary-dark);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Hero Background Slider */
.hero-background-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-bg-slide.active {
    opacity: 1;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 50%, rgba(38, 204, 212, 0.1) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

/* ===========================
   Navigation
   =========================== */
.navbar {
    position: relative;
    z-index: 100;
    padding: 0;
    margin-top: var(--spacing-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 0 0 var(--spacing-md);
}

.logo-container {
    background: var(--text-white);
    border-radius: 45px 0 0 45px;
    padding: 1rem 1.5rem 1rem 2rem;
    min-width: 180px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.logo-container::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 0;
    width: 21px;
    height: 100%;
    background: var(--text-white);
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0 100%);
    z-index: 3;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-icon {
    width: 40px;
    height: 50px;
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-teko);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-cyan);
    letter-spacing: 1px;
    white-space: nowrap;
}

.mobile-logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    z-index: 101;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-white);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    flex: 1;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 4rem;
    background: var(--primary-cyan);
    border-radius: 0 45px 45px 0;
    padding: 0 5rem 0 2rem;
    align-items: center;
    height: 80px;
    margin-left: -1px;
    position: relative;
    z-index: 1;
}

.nav-item {
    position: relative;
}

.nav-item a {
    font-family: var(--font-exo);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-white);
    transition: opacity 0.3s ease;
    display: block;
    padding: 0.5rem 0;
    white-space: nowrap;
}

.nav-item a:hover {
    opacity: 0.8;
}

.nav-item.active .nav-indicator {
    display: none;
}

.nav-indicator {
    display: none;
}

/* Navigation Overlay (Mobile) */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* Navigation Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
    padding-right: 0;
}

.lang-toggle {
    font-family: var(--font-exo);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--text-white);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.lang-toggle:hover {
    color: var(--primary-cyan);
}

.btn-contact {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--primary-cyan);
    color: var(--text-white);
    font-family: var(--font-exo);
    font-weight: 700;
    font-size: 1.2rem;
    padding: 0 2rem;
    border-radius: 45px;
    transition: all 0.3s ease;
    text-transform: capitalize;
    height: 80px;
    white-space: nowrap;
}

.btn-contact:hover {
    background: var(--primary-light-cyan);
    color: var(--primary-dark);
    transform: translateX(-3px);
}

.btn-contact svg {
    width: 13px;
    height: 14px;
}

/* ===========================
   Hero Content
   =========================== */
.hero-content {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    align-items: center;
    padding: var(--spacing-xl) var(--spacing-md);
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.hero-text {
    max-width: 1100px;
}

.hero-header {
    margin-bottom: var(--spacing-md);
}

.hero-subtitle-ar {
    font-family: var(--font-cairo);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-light-cyan);
    text-shadow: var(--shadow-dark) 0px 4px 4px;
    letter-spacing: 3px;
    line-height: 1.4;
    margin-bottom: var(--spacing-sm);
}

.hero-title {
    font-family: var(--font-teko);
    font-weight: 400;
    font-size: 6rem;
    letter-spacing: 5px;
    line-height: 1;
    text-shadow: var(--shadow-dark) 0px 4px 4px;
    display: flex;
    gap: 2px;
    align-items: baseline;
}

.hero-title .letter {
    color: var(--text-white);
    transition: all 0.6s ease;
    display: inline-block;
}

.hero-title .letter[data-letter="S"] {
    font-weight: 700;
    line-height: 1;
}

/* Letter highlighting based on slide */
.hero-title .letter.highlight {
    color: var(--primary-cyan) !important;
    animation: letterPulse 0.8s ease-out forwards;
    text-shadow: 0 0 20px rgba(38, 204, 212, 0.5);
}

@keyframes letterPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.4);
    }
    100% {
        transform: scale(1);
    }
}

/* Default state - all letters white except when highlighted */
.hero-title .letter:not(.highlight) {
    color: var(--text-white);
    transform: scale(1);
}

.hero-alliance {
    font-family: var(--font-teko);
    font-weight: 400;
    font-size: 3rem;
    color: var(--text-white);
    letter-spacing: 3px;
    margin-bottom: var(--spacing-lg);
    text-shadow: var(--shadow-dark) 0px 4px 4px;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    min-height: 150px;
    margin-bottom: var(--spacing-md);
    overflow: visible;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.5s ease-out;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    position: relative;
    width: 100%;
}

.slide.prev {
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
}

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

.hero-tagline {
    font-family: var(--font-bayon);
    font-size: 2.5rem;
    line-height: 1.5;
    color: var(--text-white);
    text-transform: uppercase;
    text-shadow: var(--shadow-light) 0px 4px 4px;
    max-width: 1000px;
    letter-spacing: 1px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.tagline-highlight {
    color: var(--primary-cyan);
    display: inline-block;
    animation: pulse-text 2s ease-in-out infinite;
}

@keyframes pulse-text {
    0%, 100% {
        text-shadow: var(--shadow-light) 0px 4px 4px;
    }
    50% {
        text-shadow: 0 0 20px rgba(38, 204, 212, 0.6), var(--shadow-light) 0px 4px 4px;
    }
}

/* Slider Controls */
.slider-controls {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: var(--spacing-lg);
    margin-top: var(--spacing-md);
}

.slider-dots {
    display: flex;
    gap: 10px;
    align-items: center;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.4s ease;
    padding: 0;
}

.slider-dot.active {
    background: var(--primary-cyan);
    border-color: var(--primary-cyan);
    width: 40px;
    height: 12px;
    border-radius: 6px;
    box-shadow: 0 0 15px rgba(38, 204, 212, 0.8);
}

.slider-dot:hover:not(.active) {
    background: rgba(38, 204, 212, 0.5);
    border-color: var(--primary-cyan);
    transform: scale(1.1);
}

.btn-cta {
    display: inline-block;
    background: var(--primary-cyan);
    color: var(--text-white);
    font-family: var(--font-teko);
    font-weight: 600;
    font-size: 1.2rem;
    text-transform: uppercase;
    padding: 1.2rem 4rem;
    border-radius: 3px;
    border-left: 4px solid var(--text-light);
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.btn-cta:hover {
    background: var(--primary-light-cyan);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(38, 204, 212, 0.3);
}

/* ===========================
   Statistics Section
   =========================== */
.statistics {
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--text-white);
    border-top: 2px dashed var(--primary-cyan);
    border-bottom: 2px dashed var(--primary-cyan);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.stat-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.stat-icon svg {
    width: 100%;
    height: 100%;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-family: var(--font-teko);
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a4d5c;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-family: var(--font-exo);
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a4d5c;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===========================
   About Us Section
   =========================== */
.about {
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--text-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 12px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text {
    padding: var(--spacing-md);
}

.about-title {
    font-family: var(--font-teko);
    font-size: 3rem;
    font-weight: 600;
    color: #1a4d5c;
    margin-bottom: var(--spacing-md);
    letter-spacing: 1px;
}

.about-description {
    font-family: var(--font-exo);
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: var(--spacing-lg);
}

.highlight-text {
    color: var(--primary-cyan);
    font-weight: 700;
}

.btn-about {
    display: inline-block;
    background: var(--primary-cyan);
    color: var(--text-white);
    font-family: var(--font-exo);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    padding: 1rem 2.5rem;
    border-radius: 45px;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.btn-about:hover {
    background: var(--primary-light-cyan);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(38, 204, 212, 0.3);
}

/* ===========================
   Features Section
   =========================== */
.features {
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--text-white);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-teko);
    font-size: 2.5rem;
    color: #1a4d5c;
    text-align: center;
    margin-bottom: var(--spacing-xl);
    letter-spacing: 2px;
    font-weight: 600;
}

.section-subtitle {
    font-family: var(--font-exo);
    font-size: 1.2rem;
    color: var(--primary-cyan);
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.feature-card {
    background: var(--text-white);
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: none;
    position: relative;
}

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

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

.feature-image {
    width: 100%;
    height: 320px;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.feature-content {
    padding: var(--spacing-md) 0;
    background: var(--text-white);
    border-bottom: 1px solid #e0e0e0;
}

.feature-category {
    font-family: var(--font-exo);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-cyan);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.3rem;
}

.feature-title {
    font-family: var(--font-teko);
    font-size: 1.6rem;
    color: #1a4d5c;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.feature-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-cyan);
}

.feature-description {
    font-family: var(--font-exo);
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-top: 0.8rem;
}

/* ===========================
   CTA Section
   =========================== */
.cta {
    padding: var(--spacing-xl) var(--spacing-md);
    background: linear-gradient(135deg, rgba(38, 204, 212, 0.1) 0%, rgba(0, 0, 0, 0.8) 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(38, 204, 212, 0.15) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

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

.cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-teko);
    font-size: 3rem;
    color: var(--text-white);
    margin-bottom: var(--spacing-md);
    letter-spacing: 2px;
}

.cta-description {
    font-family: var(--font-exo);
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

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

.btn-primary,
.btn-secondary {
    font-family: var(--font-teko);
    font-weight: 600;
    font-size: 1.2rem;
    padding: 1.2rem 3rem;
    border-radius: 3px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--primary-cyan);
    color: var(--text-white);
    border: 2px solid var(--primary-cyan);
}

.btn-primary:hover {
    background: var(--primary-light-cyan);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(38, 204, 212, 0.3);
}

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

.btn-secondary:hover {
    background: var(--text-white);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* ===========================
   Contact Section
   =========================== */
.contact {
    padding: var(--spacing-xl) var(--spacing-md);
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?w=1200') center/cover no-repeat;
    opacity: 0.1;
    z-index: 0;
}

.contact-card {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: var(--spacing-xl);
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-title {
    font-family: var(--font-teko);
    font-size: 2.5rem;
    color: #1a4d5c;
    margin-bottom: var(--spacing-sm);
    letter-spacing: 1px;
}

.contact-description {
    font-family: var(--font-exo);
    font-size: 1.1rem;
    color: #666;
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-exo);
    font-size: 1rem;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: var(--text-white);
    color: #333;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-cyan);
}

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

.btn-submit {
    background: var(--primary-cyan);
    color: var(--text-white);
    font-family: var(--font-exo);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    padding: 1.2rem 3rem;
    border: none;
    border-radius: 45px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    align-self: flex-start;
}

.btn-submit:hover {
    background: var(--primary-light-cyan);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(38, 204, 212, 0.3);
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: #1a1a1a;
    border-top: 2px solid rgba(38, 204, 212, 0.2);
    padding: var(--spacing-xl) var(--spacing-md) var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-logo .logo {
    margin-bottom: var(--spacing-sm);
}

.footer-logo .logo-container {
    background: transparent;
    padding: 0;
}

.footer-tagline {
    font-family: var(--font-exo);
    color: var(--text-light);
    font-size: 0.9rem;
}

.footer-column h4 {
    font-family: var(--font-teko);
    font-size: 1.3rem;
    color: var(--text-white);
    margin-bottom: var(--spacing-md);
    letter-spacing: 1px;
    font-weight: 600;
}

.footer-column p {
    font-family: var(--font-exo);
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-column a {
    font-family: var(--font-exo);
    color: var(--text-light);
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-column a:hover {
    color: var(--primary-cyan);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-family: var(--font-exo);
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-info svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--primary-cyan);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(38, 204, 212, 0.1);
}

.footer-bottom p {
    font-family: var(--font-exo);
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===========================
   Responsive Design - Mobile First
   =========================== */

/* Small devices (640px and up) */
@media (min-width: 640px) {
    .hero-subtitle-ar {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 5rem;
    }
    
    
    .hero-alliance {
        font-size: 4rem;
    }
    
    .hero-tagline {
        font-size: 3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Medium devices (768px and up) */
@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }

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

    .mobile-menu-header {
        display: none;
    }

    .nav-container {
        padding: 0;
    }

    .navbar {
        padding: 0;
        margin-top: var(--spacing-md);
    }

    .nav-links {
        gap: 3rem;
        padding: 0 3.5rem;
    }

    .nav-item a {
        font-size: 1.2rem;
    }
    
    .hero-content {
        padding: var(--spacing-xl) var(--spacing-lg);
    }
    
    .features {
        padding: 5rem var(--spacing-lg);
    }
    
    .cta {
        padding: 5rem var(--spacing-lg);
    }
    
    .footer {
        padding: 5rem var(--spacing-lg) var(--spacing-lg);
    }
    
    .footer-content {
        grid-template-columns: 2fr 1fr;
    }
}

/* Large devices (1024px and up) */
@media (min-width: 1024px) {
    .hero-subtitle-ar {
        font-size: 2.2rem;
    }
    
    .hero-title {
        font-size: 6rem;
    }
    
    
    .hero-alliance {
        font-size: 4.5rem;
    }
    
    .hero-tagline {
        font-size: 3.5rem;
    }
    
    .hero-slider {
        min-height: 150px;
    }
    
    .slide {
        min-height: 150px;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .section-title {
        font-size: 3.5rem;
    }
    
    .cta-title {
        font-size: 3.5rem;
    }
}

/* Extra large devices (1280px and up) */
@media (min-width: 1280px) {
    .nav-links {
        gap: 3rem;
        padding: 1.5rem 4rem;
    }
    
    .nav-item a {
        font-size: 1.25rem;
    }
}

/* Mobile Menu Styles */
@media (max-width: 767px) {
    .navbar {
        margin-top: 0;
        padding: 0.5rem 1rem;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        z-index: 1000;
    }

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

    .logo-container {
        background: transparent;
        border-radius: 0;
        padding: 0.5rem;
        min-width: auto;
        height: auto;
    }

    .logo-container::after {
        display: none;
    }

    .logo {
        gap: 0.5rem;
    }

    .logo-icon {
        width: 30px;
        height: 38px;
    }

    .logo-text {
        font-size: 1.1rem;
        color: var(--text-white);
    }

    .mobile-menu-toggle {
        display: flex;
        order: 3;
        background: rgba(38, 204, 212, 0.1);
        border-radius: 8px;
        padding: 10px;
    }

    .mobile-menu-toggle span {
        width: 22px;
        height: 2px;
        background: var(--primary-cyan);
    }

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

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.98) 0%, rgba(20, 20, 20, 0.98) 100%);
        backdrop-filter: blur(20px);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        padding: 0 1.5rem 2rem;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        display: flex;
        flex-direction: column;
    }

    .nav-menu.active {
        right: 0;
    }

    .mobile-menu-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.2rem 0;
        border-bottom: 1px solid rgba(38, 204, 212, 0.2);
        margin-bottom: 1rem;
    }

    .mobile-menu-logo {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-menu-close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: rgba(38, 204, 212, 0.1);
        border: none;
        border-radius: 8px;
        cursor: pointer;
        color: var(--primary-cyan);
        transition: all 0.3s ease;
    }

    .mobile-menu-close:hover {
        background: rgba(38, 204, 212, 0.2);
    }

    .nav-links {
        flex-direction: column;
        background: transparent;
        padding: 0;
        gap: 0;
        width: 100%;
        height: auto;
        margin-left: 0;
        border-radius: 0;
        flex: 1;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(38, 204, 212, 0.15);
    }

    .nav-item:first-child {
        border-top: 1px solid rgba(38, 204, 212, 0.15);
    }

    .nav-item a {
        padding: 1.2rem 0;
        font-size: 1.1rem;
        display: flex;
        align-items: center;
        transition: all 0.3s ease;
    }

    .nav-item a:hover,
    .nav-item.active a {
        color: var(--primary-cyan);
        padding-left: 0.5rem;
    }

    .nav-item.active .nav-indicator {
        display: none;
    }

    .nav-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        margin-left: 0;
        margin-top: auto;
        padding-top: 2rem;
        border-top: 1px solid rgba(38, 204, 212, 0.15);
    }

    .lang-toggle {
        background: rgba(38, 204, 212, 0.1);
        border: 1px solid rgba(38, 204, 212, 0.3);
        border-radius: 8px;
        padding: 0.8rem 1rem;
        text-align: center;
        font-size: 1rem;
    }

    .lang-toggle:hover {
        background: rgba(38, 204, 212, 0.2);
    }

    .btn-contact {
        border-radius: 8px;
        justify-content: center;
        height: auto;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    /* Add padding to hero for fixed navbar */
    .hero {
        padding-top: 70px;
    }
    
    .hero-content {
        padding: var(--spacing-lg) var(--spacing-md);
    }
    
    .hero-subtitle-ar {
        font-size: 1.2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    
    .hero-alliance {
        font-size: 2.5rem;
    }
    
    .hero-tagline {
        font-size: 1.5rem;
    }
    
    .hero-slider {
        min-height: 100px;
    }
    
    .slide {
        min-height: 100px;
    }

    .slider-controls {
        justify-content: flex-start;
    }

    .slider-dot {
        width: 10px;
        height: 10px;
    }

    .slider-dot.active {
        width: 30px;
        height: 10px;
    }
    
    .btn-cta {
        padding: 1rem 2.5rem;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .cta-title {
        font-size: 2.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
    
    /* Statistics */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .stat-item {
        flex-direction: column;
        text-align: center;
    }
    
    /* About */
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        height: 300px;
    }
    
    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    /* Contact */
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        padding: var(--spacing-md);
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .footer-services {
        grid-template-columns: 1fr;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--primary-cyan);
    outline-offset: 2px;
}

/* ===========================
   About Us Page Styles
   =========================== */
.about-hero {
    min-height: 60vh;
}

.page-title {
    font-family: var(--font-teko);
    font-size: 4rem;
    font-weight: 600;
    color: var(--text-white);
    text-align: center;
    margin-bottom: var(--spacing-md);
    letter-spacing: 2px;
    text-shadow: var(--shadow-dark) 0px 4px 4px;
}

.breadcrumbs {
    font-family: var(--font-exo);
    font-size: 1rem;
    color: var(--text-white);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.breadcrumbs a {
    color: var(--primary-cyan);
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: var(--primary-light-cyan);
}

.breadcrumbs span {
    color: var(--text-white);
}

/* About Company Section */
.about-company {
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--text-white);
}

.about-company-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-company-text {
    padding: var(--spacing-md);
}

.about-tagline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: var(--spacing-md);
}

.tagline-icon {
    width: 14px;
    height: 14px;
}

.about-tagline span {
    font-family: var(--font-exo);
    font-size: 1.125rem;
    color: var(--primary-cyan);
}

.section-subtitle-small {
    font-family: var(--font-exo);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-cyan);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: var(--spacing-sm);
}

.section-heading {
    font-family: var(--font-exo);
    font-size: 3.4375rem;
    font-weight: 700;
    color: #000;
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
}

.company-description {
    font-family: var(--font-exo);
    font-size: 1.125rem;
    line-height: 1.56;
    color: #000;
    margin-bottom: var(--spacing-lg);
}

.btn-connect {
    display: inline-block;
    background: var(--primary-cyan);
    color: var(--text-white);
    font-family: var(--font-exo);
    font-weight: 700;
    font-size: 0.9375rem;
    text-transform: uppercase;
    padding: 1.5rem 2.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    height: 58.5px;
    line-height: 1;
}

.btn-connect:hover {
    background: var(--primary-light-cyan);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(38, 204, 212, 0.3);
}

.about-company-image {
    position: relative;
    width: 536.66px;
    height: 566.14px;
    border-radius: 20px;
    overflow: hidden;
}

.about-image-bg {
    position: absolute;
    inset: 0;
    background: var(--primary-cyan);
    opacity: 0.1;
    border-radius: 20px;
    z-index: 1;
}

.about-company-image img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
}

/* Vision Mission Section */
.vision-mission {
    padding: var(--spacing-xl) var(--spacing-md);
    background: #f5f5f5;
}

.vm-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-xl);
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.vm-images {
    position: relative;
    height: 819px;
    z-index: 1;
    overflow: hidden;
}

.vm-image {
    position: absolute;
    overflow: hidden;
    border-radius: 30px;
    z-index: 1;
}

.vm-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vm-image-1 {
    top: 75px;
    left: 120px;
    width: 470px;
    height: 419px;
}

.vm-image-2 {
    top: 392px;
    left: 15px;
    width: 326px;
    height: 289px;
}

.vm-image-3 {
    top: 579px;
    left: 273px;
    width: 240px;
    height: 240px;
}

.vm-text {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    position: relative;
    z-index: 2;
}

.vm-item {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: var(--spacing-xl);
}

.vm-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-sm);
}

.vm-icon-img {
    width: 17px;
    height: 12px;
    flex-shrink: 0;
}

.vm-title {
    font-family: var(--font-exo);
    font-size: 2.1875rem;
    font-weight: 800;
    color: #1f1f1f;
    margin: 0;
    line-height: 1.3;
}

.vm-item .vm-description {
    padding-left: 33px;
}

.vm-description {
    font-family: var(--font-exo);
    font-size: 1.125rem;
    line-height: 1.56;
    color: #1c1d20;
    margin: 0;
}

.vm-values-list {
    font-family: var(--font-exo);
    font-size: 1.125rem;
    line-height: 1.56;
    color: #1c1d20;
    list-style: disc;
    padding-left: 27px;
    margin: 0;
}

.vm-values-list li {
    margin-bottom: 0;
    padding-left: 0;
}

.vm-values-list li::before {
    display: none;
}

/* Logo link */
.logo {
    text-decoration: none;
    color: inherit;
}

.logo:hover {
    opacity: 0.9;
}

/* ===========================
   Services Page Styles
   =========================== */
.services-hero {
    min-height: 60vh;
}

.services-intro {
    padding: 4.0625rem var(--spacing-md) 0;
    background: var(--text-white);
    text-align: center;
    margin-bottom: 2.75rem;
}

.alliance-title {
    font-family: var(--font-teko);
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-cyan);
    margin-bottom: 0.75rem;
    letter-spacing: 0;
    text-transform: none;
    line-height: 0.95;
}

.alliance-subtitle {
    font-family: var(--font-exo);
    font-size: 1.875rem;
    font-weight: 700;
    color: #000;
    max-width: 936px;
    margin: 0 auto;
    line-height: 1.6;
}

.alliance-subtitle-bold {
    font-family: var(--font-exo);
    font-size: 1.875rem;
    font-weight: 700;
    color: #000;
    max-width: 936px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Service Detail Sections */
.service-detail {
    padding: 4.1875rem var(--spacing-md);
    background: var(--text-white);
}

.service-detail:not(:last-child) {
    margin-bottom: 2.75rem;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.125rem;
    align-items: start;
    max-width: 1240px;
    margin: 0 auto;
}

.service-detail-content.se-section {
    grid-template-columns: 620px 1fr;
    align-items: center;
    position: relative;
    height: 744px;
}

.service-detail-content.se-section .se-image {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.service-detail-content.se-section .service-image {
    height: 682px;
    width: 581px;
    margin-left: -57px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.service-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: flex-end;
    height: 100%;
    justify-content: center;
    position: relative;
}

.service-text-item {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 584px;
    align-items: flex-end;
    height: 237px;
}

.service-text-item:first-child {
    position: absolute;
    top: calc(50% - 177.64px);
    transform: translateY(-50%);
}

.service-text-item:last-child {
    position: absolute;
    top: calc(50% + 91.36px);
    transform: translateY(-50%);
}

.service-text-item .service-header {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.service-text-item .service-description {
    width: 537px;
    text-align: left;
}

.service-detail-content.reverse {
    direction: rtl;
}

.service-detail-content.reverse > * {
    direction: ltr;
}

/* Service Images */
.service-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-images-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.service-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 12px;
    position: relative;
}

.service-image.large {
    height: 350px;
}

.service-image.small {
    height: 200px;
}

.service-image.rounded-top {
    border-radius: 150px 150px 12px 12px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

/* Service Text */
.service-text {
    padding: 0;
}

.service-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0;
    margin-bottom: 0;
    width: 100%;
}

.service-icon {
    width: 17px;
    height: 12px;
    flex-shrink: 0;
    margin-top: 0.5rem;
    object-fit: contain;
}

.service-title {
    display: flex;
    align-items: baseline;
    gap: 0;
    line-height: 1;
    flex-wrap: wrap;
    flex: 1;
}

.service-letter {
    font-family: var(--font-teko);
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-cyan);
    line-height: 0.71;
    letter-spacing: 0;
    margin-right: 0.5rem;
}

.service-label {
    font-family: var(--font-exo);
    font-size: 2.1875rem;
    color: #06565a;
    font-weight: 800;
    text-transform: none;
    letter-spacing: 0;
    margin-top: 0;
    line-height: 0.71;
}

.service-description {
    font-family: var(--font-exo);
    font-size: 1.125rem;
    line-height: 1.56;
    color: #1c1d20;
    padding-left: 2.0625rem;
    margin-top: 0.625rem;
    width: 537px;
}

.service-text-item .service-description {
    width: 537px;
}

/* Services Page Layout Overrides */
.services-page {
    background: #ffffff;
    color: #1c1d20;
    font-family: var(--font-exo);
}

.services-page .hero {
    min-height: 60vh;
    background: var(--primary-dark);
    padding: 0;
}

.services-page .hero::before {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.7) 100%);
}

.services-page .hero-overlay {
    display: block;
}

.services-page .hero-background-slider {
    display: block;
}

.services-page .hero-content {
    display: flex;
    position: relative;
    z-index: 10;
    flex: 1;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl) var(--spacing-md);
}

.services-page .hero-text {
    text-align: center;
    width: 100%;
}

.services-page .page-title {
    font-family: var(--font-teko);
    font-size: 4rem;
    font-weight: 600;
    color: var(--text-white);
    text-align: center;
    margin-bottom: var(--spacing-md);
    letter-spacing: 2px;
    text-shadow: var(--shadow-dark) 0px 4px 4px;
}

.services-page .breadcrumbs {
    font-family: var(--font-exo);
    font-size: 1rem;
    color: var(--text-white);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.services-page .breadcrumbs a {
    color: var(--text-white);
    transition: color 0.3s ease;
}

.services-page .breadcrumbs a:hover {
    color: var(--primary-cyan);
}

.services-page .breadcrumbs span {
    color: var(--text-white);
}

.services-page .navbar {
    margin-top: 0;
    padding: 0.5rem 0 0;
}

.services-page .nav-container {
    padding: 0 var(--spacing-md);
}

.services-page .services-intro {
    padding: 3.25rem var(--spacing-md) 1.5rem;
    margin-bottom: 3rem;
}

.services-page .alliance-title {
    font-family: var(--font-bayon);
    font-size: 3.25rem;
    font-weight: 700;
    color: #00b3ba;
    letter-spacing: 0.08em;
}

.services-page .alliance-subtitle,
.services-page .alliance-subtitle-bold {
    font-size: 1.3125rem;
    line-height: 1.45;
    color: #1c1d20;
    font-weight: 700;
}

.services-page .alliance-subtitle-bold {
    margin-top: 0.25rem;
}

.services-page .service-detail {
    padding: 0 var(--spacing-md);
    margin-bottom: 4.5rem;
    background: #ffffff;
}

.services-page .service-detail:not(:last-child) {
    margin-bottom: 4.5rem;
}

.services-page .service-detail-content {
    max-width: 1140px;
    gap: 3rem;
    align-items: center;
    grid-template-columns: 0.52fr 0.48fr;
}

.services-page #service-se .service-detail-content {
    grid-template-columns: 0.58fr 0.42fr;
    padding-top: 1rem;
}

.services-page .service-detail-content.se-section {
    height: auto;
}

.services-page .service-detail-content.se-section .se-image {
    align-items: stretch;
    height: auto;
}

.services-page .service-detail-content.se-section .service-image {
    position: relative;
    height: auto;
    aspect-ratio: 3 / 4;
    width: 100%;
    margin: 0;
    transform: rotate(-1.5deg);
    border-radius: 10px;
}

.services-page .service-images {
    gap: 1.5rem;
}

.services-page .service-image,
.services-page .service-image.small,
.services-page .service-image.large {
    height: auto;
    min-height: 0;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.services-page .service-image.rounded-top {
    border-radius: 120px 120px 12px 12px;
}

.services-page .service-text-wrapper {
    align-items: flex-start;
    gap: 2.5rem;
    height: auto;
    position: static;
}

.services-page .service-text-item {
    width: 100%;
    max-width: 520px;
    align-items: flex-start;
    position: static;
    gap: 0.35rem;
    height: auto;
}

.services-page .service-text-item:first-child,
.services-page .service-text-item:last-child {
    top: auto;
    transform: none;
}

.services-page .service-text-item .service-header {
    justify-content: flex-start;
    align-items: center;
    gap: 0.65rem;
}

.services-page .service-header {
    gap: 0.65rem;
}

.services-page .service-header::before {
    display: none;
}

.services-page .service-icon {
    display: none;
}

.services-page .service-title {
    gap: 0.35rem;
}

.services-page .service-letter {
    font-size: 2.75rem;
    line-height: 1;
    color: #00b3ba;
    margin-right: 0.25rem;
}

.services-page .service-label {
    font-size: 1.5rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1;
}

.services-page .service-description {
    width: 100%;
    max-width: 540px;
    font-size: 1rem;
    line-height: 1.64;
    padding-left: 1.4rem;
    margin-top: 0.75rem;
}

.services-page #service-se .service-description {
    max-width: 520px;
}

.services-page #service-c .service-detail-content {
    grid-template-columns: 1fr;
}

.services-page #service-c .service-c-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 2rem;
    align-items: start;
}

.services-page #service-c .service-c-text-block {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    max-width: 100%;
}

.services-page #service-c .service-c-images-block {
    grid-column: 2;
    grid-row: 1;
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.services-page #service-c .service-c-images-block::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 60px;
    height: 60px;
    border-right: 4px solid #f68b23;
    border-bottom: 4px solid #f68b23;
    z-index: 3;
    pointer-events: none;
}

.services-page #service-c .service-c-top-image {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
    border-radius: 12px;
    overflow: hidden;
    z-index: 1;
}

.services-page #service-c .service-c-top-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-page #service-c .service-c-bottom-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40%;
    max-width: 300px;
    aspect-ratio: 3 / 4;
    border-radius: 12px;
    overflow: hidden;
    z-index: 2;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.services-page #service-c .service-c-bottom-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-page #service-c .service-c-text-block .service-text {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.services-page #service-t .service-images {
    position: relative;
    min-height: 500px;
    width: 100%;
}

.services-page #service-t .service-image:first-child {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    border-radius: 12px;
    overflow: hidden;
    z-index: 1;
}

.services-page #service-t .service-image:first-child img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-page #service-t .service-image:last-child {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    max-width: 350px;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    z-index: 2;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.services-page #service-t .service-image:last-child img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-page .service-detail-content.reverse {
    direction: ltr;
}

.services-page #service-se .service-images,
.services-page #service-c .service-images,
.services-page #service-t .service-images {
    position: relative;
}

.services-page #service-se .service-images::after,
.services-page #service-c .service-images::after,
.services-page #service-t .service-images::after {
    content: '';
    position: absolute;
    width: 52px;
    height: 52px;
    border-left: 3px solid #f68b23;
    border-bottom: 3px solid #f68b23;
    left: -14px;
    bottom: -18px;
}

.services-page #service-c .service-images::after,
.services-page #service-t .service-images::after {
    left: auto;
    right: -18px;
    border-left: 0;
    border-right: 3px solid #f68b23;
}

.services-page #service-t .service-images::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 60px;
    height: 60px;
    border-right: 4px solid #f68b23;
    border-bottom: 4px solid #f68b23;
    z-index: 3;
    pointer-events: none;
}

.services-page #service-t .service-text {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    height: fit-content;
}

.services-page #service-se .service-image img,
.services-page #service-c .service-image img,
.services-page #service-t .service-image img {
    object-fit: cover;
}

/* E2, O, M sections are now visible */

/* E2 - Electricity & Power Section */
.services-page #service-e2 .service-images {
    position: relative;
    min-height: 500px;
    width: 100%;
}

.services-page #service-e2 .service-image:first-child {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
    z-index: 1;
}

.services-page #service-e2 .service-image:last-child {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    max-width: 380px;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    z-index: 2;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.services-page #service-e2 .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-page #service-e2 .service-images::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 60px;
    height: 60px;
    border-right: 4px solid #f68b23;
    border-bottom: 4px solid #f68b23;
    z-index: 3;
    pointer-events: none;
}

.services-page #service-e2 .service-text {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* O - Operation Section */
.services-page #service-o .service-images {
    position: relative;
    min-height: 500px;
    width: 100%;
}

.services-page #service-o .service-image:first-child {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    overflow: hidden;
    z-index: 1;
}

.services-page #service-o .service-image:last-child {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    max-width: 350px;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
    z-index: 2;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.services-page #service-o .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-page #service-o .service-images::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: -10px;
    width: 60px;
    height: 60px;
    border-left: 4px solid #f68b23;
    border-bottom: 4px solid #f68b23;
    z-index: 3;
    pointer-events: none;
}

.services-page #service-o .service-text {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* M - Maintenance Section */
.services-page #service-m .service-images {
    position: relative;
    min-height: 500px;
    width: 100%;
}

.services-page #service-m .service-m-main-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    overflow: hidden;
    z-index: 1;
}

.services-page #service-m .service-m-overlay-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40%;
    max-width: 300px;
    aspect-ratio: 3 / 4;
    border-radius: 12px;
    overflow: hidden;
    z-index: 2;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.services-page #service-m .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-page #service-m .service-images::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 60px;
    height: 60px;
    border-right: 4px solid #f68b23;
    border-bottom: 4px solid #f68b23;
    z-index: 3;
    pointer-events: none;
}

.services-page #service-m .service-text {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

@media (max-width: 1280px) {
    .services-page .service-detail-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 1024px) {
    .services-page .nav-container {
        padding: 0 var(--spacing-sm);
    }

    .services-page .service-detail,
    .services-page .services-intro {
        padding-left: var(--spacing-sm);
        padding-right: var(--spacing-sm);
    }

    .services-page .service-detail-content,
    .services-page #service-se .service-detail-content,
    .services-page #service-c .service-detail-content {
        grid-template-columns: 1fr;
    }

    .services-page .service-detail {
        margin-bottom: 3.5rem;
    }

    .services-page .service-images::after {
        display: none;
    }

    .services-page .service-detail-content.se-section .service-image {
        transform: none;
    }

    /* Fix overlapping sections for tablet */
    .services-page #service-t .service-images,
    .services-page #service-e2 .service-images,
    .services-page #service-o .service-images,
    .services-page #service-m .service-images,
    .services-page #service-c .service-c-images-block {
        min-height: 400px;
    }

    .services-page #service-t .service-image:last-child,
    .services-page #service-e2 .service-image:last-child {
        width: 55%;
        max-width: 300px;
    }

    .services-page #service-o .service-image:last-child {
        width: 55%;
        max-width: 300px;
    }

    .services-page #service-c .service-c-images-block {
        min-height: 400px;
    }

    .services-page #service-c .service-c-top-image {
        min-height: 400px;
    }

    .services-page #service-m .service-m-overlay-image {
        width: 45%;
        max-width: 250px;
    }
}

@media (max-width: 720px) {
    .services-page .alliance-title {
        font-size: 2rem;
        letter-spacing: 0.05em;
    }

    .services-page .alliance-subtitle,
    .services-page .alliance-subtitle-bold {
        font-size: 1rem;
    }

    .services-page .service-letter {
        font-size: 2rem;
    }

    .services-page .service-label {
        font-size: 1.1rem;
    }

    .services-page .service-description {
        font-size: 0.9rem;
        padding-left: 1rem;
    }

    .services-page .service-detail {
        margin-bottom: 2.5rem;
        padding: 0 var(--spacing-sm);
    }

    .services-page .service-text {
        padding: 1.5rem;
    }

    .services-page .service-header::before {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
        margin-right: 0.5rem;
    }

    /* Hide second image on mobile - show only first image */
    .services-page #service-t .service-image:last-child,
    .services-page #service-e2 .service-image:last-child,
    .services-page #service-o .service-image:last-child,
    .services-page #service-m .service-m-overlay-image,
    .services-page #service-c .service-c-bottom-image {
        display: none;
    }

    /* Show only first image - full width */
    .services-page #service-t .service-images,
    .services-page #service-e2 .service-images,
    .services-page #service-o .service-images,
    .services-page #service-m .service-images,
    .services-page #service-c .service-c-images-block {
        min-height: auto;
        position: relative;
    }

    .services-page #service-t .service-image:first-child,
    .services-page #service-e2 .service-image:first-child,
    .services-page #service-o .service-image:first-child {
        position: relative;
        width: 100%;
        aspect-ratio: 16 / 10;
        border-radius: 12px;
        overflow: hidden;
    }

    .services-page #service-c .service-c-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .services-page #service-c .service-c-images-block {
        min-height: auto;
        order: 1;
    }

    .services-page #service-c .service-c-text-block {
        order: 2;
    }

    .services-page #service-c .service-c-top-image {
        position: relative;
        width: 100%;
        min-height: auto;
        aspect-ratio: 16 / 10;
    }

    .services-page #service-c .service-c-images-block::after {
        display: none;
    }

    .services-page #service-c .service-c-text-block .service-text {
        padding: 1.5rem;
        box-shadow: none;
        border: 1px solid #e8e8e8;
    }

    .services-page #service-c .service-description {
        max-width: 100%;
        padding-left: 1rem;
    }

    .services-page #service-m .service-images {
        min-height: auto;
    }

    .services-page #service-m .service-m-main-image {
        width: 100%;
        aspect-ratio: 16 / 10;
    }

    .services-page #service-m .service-images::after {
        display: none;
    }

    /* SE section mobile adjustments */
    .services-page #service-se .service-detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-page #service-se .service-image {
        aspect-ratio: 16 / 10;
        width: 100%;
        margin: 0;
        transform: none;
    }

    .services-page .service-text-wrapper {
        gap: 1.5rem;
    }

    .services-page .service-text-item {
        max-width: 100%;
        width: 100%;
    }

    .services-page .service-text-item .service-description {
        max-width: 100%;
        width: 100%;
        padding-left: 1rem;
    }
}

/* ===========================
   Contact Us Page Styles
   =========================== */
.contact-hero {
    min-height: 60vh;
}

.contact-section {
    padding: 5rem var(--spacing-md) 6rem;
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
}

.contact-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.contact-intro-text {
    font-family: var(--font-exo);
    font-size: 1.125rem;
    line-height: 1.75;
    color: #4a5568;
    font-weight: 400;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form-wrapper {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #e8e8e8;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.form-group label {
    font-family: var(--font-exo);
    font-size: 0.875rem;
    font-weight: 700;
    color: #2d3748;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    font-family: var(--font-exo);
    font-size: 0.9375rem;
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background: #fafafa;
    color: #2d3748;
    transition: all 0.3s ease;
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-cyan);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(38, 204, 212, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a0aec0;
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    font-family: var(--font-exo);
    line-height: 1.6;
}

.btn-send-message {
    background: var(--primary-cyan);
    color: var(--text-white);
    font-family: var(--font-exo);
    font-weight: 700;
    font-size: 0.9375rem;
    text-transform: uppercase;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
    align-self: flex-start;
    box-shadow: 0 4px 12px rgba(38, 204, 212, 0.25);
}

.btn-send-message:hover {
    background: #1fb8c0;
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(38, 204, 212, 0.35);
}

.btn-send-message:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(38, 204, 212, 0.25);
}

.contact-map {
    width: 100%;
    height: 100%;
    min-height: 550px;
    display: flex;
    align-items: stretch;
}

.map-container {
    width: 100%;
    height: 100%;
    min-height: 550px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #e8e8e8;
    background: #fafafa;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* ===========================
   FAQ Page Styles
   =========================== */
.faq-hero {
    min-height: 60vh;
}

.faq-section {
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--text-white);
}

.faq-intro {
    margin-bottom: var(--spacing-xl);
}

.faq-tagline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: var(--spacing-md);
}

.tagline-icon {
    width: 14px;
    height: 14px;
}

.faq-tagline span {
    font-family: var(--font-exo);
    font-size: 1.125rem;
    color: var(--primary-cyan);
}

.faq-main-title {
    font-family: var(--font-exo);
    font-size: 3.5rem;
    font-weight: 700;
    color: #1c1d20;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

.faq-subtitle {
    font-family: var(--font-exo);
    font-size: 1.125rem;
    color: #1c1d20;
    line-height: 1.6;
    max-width: 600px;
}

.faq-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
    margin-top: var(--spacing-xl);
}

.faq-images {
    position: relative;
    height: 600px;
}

.faq-image-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 475px;
    height: 537px;
    border-radius: 300px 300px 6px 6px;
    overflow: hidden;
    z-index: 2;
}

.faq-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.faq-image-secondary {
    position: absolute;
    bottom: 0;
    left: -50px;
    width: 498px;
    height: 537px;
    border-radius: 300px 300px 6px 6px;
    overflow: hidden;
    z-index: 1;
}

.faq-image-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1.375rem;
}

.faq-item {
    border-bottom: 1px solid #182022;
    padding-bottom: 1.375rem;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-exo);
    font-size: 1.5625rem;
    font-weight: 700;
    color: #182022;
    line-height: 1.44;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-cyan);
}

.faq-icon {
    flex-shrink: 0;
    width: 12px;
    height: 14px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding-top: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-top: var(--spacing-md);
}

.faq-answer p {
    font-family: var(--font-exo);
    font-size: 1.125rem;
    font-weight: 400;
    color: #494949;
    line-height: 1.67;
    margin: 0;
}

/* Responsive for Contact Page */
@media (max-width: 767px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: var(--spacing-md);
    }
    
    .contact-map {
        min-height: 400px;
    }
    
    .map-container {
        min-height: 400px;
    }
    
    .contact-intro-text {
        font-size: 1.1rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
}

/* Responsive for FAQ Page */
@media (max-width: 767px) {
    .faq-main-title {
        font-size: 2rem;
    }
    
    .faq-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .faq-images {
        height: 400px;
        margin-bottom: var(--spacing-lg);
    }
    
    .faq-image-main {
        width: 100%;
        max-width: 300px;
        height: 350px;
        position: relative;
        left: 0;
    }
    
    .faq-image-secondary {
        display: none;
    }
    
    .faq-question {
        font-size: 1.25rem;
    }
    
    .faq-answer p {
        font-size: 1rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .faq-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .faq-images {
        height: 500px;
    }
    
    .faq-image-main {
        width: 100%;
        max-width: 400px;
    }
    
    .faq-image-secondary {
        display: none;
    }
}

/* Responsive for About Page */
@media (max-width: 767px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .about-company-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .about-company-text {
        padding: 0;
    }
    
    .about-company-image {
        width: 100%;
        max-width: 100%;
        height: 300px;
        border-radius: 20px;
    }
    
    .section-heading {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: var(--spacing-sm);
    }
    
    .company-description {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: var(--spacing-md);
    }
    
    .btn-connect {
        width: 100%;
        text-align: center;
        padding: 1.2rem 2rem;
        display: block;
        margin-top: var(--spacing-md);
    }
    
    .about-tagline {
        margin-bottom: var(--spacing-sm);
    }
    
    .about-tagline span {
        font-size: 1rem;
    }
    
    .vm-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .vm-images {
        height: auto;
        margin-bottom: var(--spacing-md);
    }
    
    .vm-text {
        margin-bottom: var(--spacing-md);
    }
    
    .vm-image {
        position: relative;
        width: 100%;
        max-width: 100%;
        margin-bottom: var(--spacing-md);
    }
    
    .vm-image-1,
    .vm-image-2,
    .vm-image-3 {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        height: 250px;
    }
    
    .vm-title {
        font-size: 1.75rem;
    }
    
    .vm-description {
        font-size: 1rem;
    }
    
    .vm-content {
        grid-template-columns: 1fr;
    }
    
    .vm-images {
        order: 2;
    }
    
    .vm-text {
        order: 1;
    }
    
    .vm-image {
        height: 200px;
    }
    
    .section-heading {
        font-size: 2.5rem;
    }
    
    /* Services Page Mobile */
    .alliance-title {
        font-size: 2rem;
    }

    .alliance-subtitle {
        font-size: 0.9rem;
    }

    .alliance-subtitle-bold {
        font-size: 1rem;
    }

    .service-detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-detail-content.reverse {
        direction: ltr;
    }

    .service-images-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .service-image {
        height: 200px;
    }

    .service-image.small {
        height: 150px;
    }

    .service-image.rounded-top {
        border-radius: 80px 80px 8px 8px;
    }

    .service-letter {
        font-size: 3rem;
    }

    .service-label {
        font-size: 1.2rem;
    }
    
    .service-description {
        font-size: 1rem;
        padding-left: 1rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .about-company-content {
        grid-template-columns: 1fr;
    }
    
    .vm-content {
        grid-template-columns: 1fr;
    }
    
    .service-detail-content {
        grid-template-columns: 1fr;
    }
    
    .service-detail-content.reverse {
        direction: ltr;
    }
}
