/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Improved Focus Styles for Accessibility */
*:focus {
    outline: 2px solid var(--gold-accent);
    outline-offset: 2px;
}

/* Remove focus outline on mouse interactions */
*:focus:not(:focus-visible) {
    outline: none;
}

/* Smooth scrolling for the entire page */
html {
    scroll-behavior: smooth;
}

/* CSS Variables for Theme Colors */
:root {
    --primary-dark-blue: #424242;
    --secondary-blue: #616161;
    --dark-color: #212121;
    --light-color: #ffffff;
    --gold-accent: #FDC500;
    --text-gray: #666666;
    --light-gray: #f5f5f5;
    --border-gray: #e0e0e0;
    --success-green: #4caf50;
    --warning-orange: #ff9800;
    --error-red: #f44336;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --mobile-padding: 15px;
    --tablet-padding: 25px;
    --desktop-padding: 40px;
}

/* Mobile-first approach - base styles for mobile */
@media screen and (max-width: 767px) {
    .container {
        padding: 0 var(--mobile-padding);
    }
    
    .hero-title {
        font-size: 2rem !important;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    /* CORRECTED MOBILE NAVIGATION STYLES */
    .nav-menu {
        position: fixed;
        top: 70px;
        /* REMOVED: Hardcoded 'left: -100%' to prevent conflicts */
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--light-color);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        /* CHANGED: Transition now works for 'left' and 'right' for bidirectional support */
        transition: all 0.3s ease;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    /* REMOVED: .nav-menu.active is now handled by more specific .ltr and .rtl rules */
    
    .nav-toggle {
        display: flex;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Mobile adjustments for logo background */
    .hero::before {
        width: 80%;
        height: 100%;
        top: 0%;
        right: -25%;
        opacity: 0.2;
        transform: rotate(-10deg) scale(1);
    }
    
    [dir="rtl"] .hero::before {
        left: -25%;
        transform: rotate(10deg) scale(1);
    }
}

/* Tablet styles */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .container {
        padding: 0 var(--tablet-padding);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop styles */
@media screen and (min-width: 1024px) {
    .container {
        padding: 0 var(--desktop-padding);
    }
}

/* High DPI displays */
@media screen and (min-resolution: 2dppx) {
    .hero-image,
    .logo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Advanced Visual Enhancements */
.service-card {
    background: var(--light-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-gray);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--gold-accent);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold-accent), var(--warning-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--dark-color);
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.service-card:hover .service-icon {
    transform: rotateY(360deg);
    background: linear-gradient(135deg, var(--primary-dark-blue), var(--secondary-blue));
    color: var(--light-color);
    box-shadow: 0 6px 20px rgba(66, 66, 66, 0.4);
}

.service-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--gold-accent);
    opacity: 0;
    transform: scale(1.2);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon::after {
    opacity: 1;
    transform: scale(1.3);
}

/* Enhanced Video Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--dark-color);
}

/* Creative Logo Background */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -15%;
    width: 60%;
    height: 120%;
    background-image: url('images/logo.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    opacity: 0.3;
    z-index: 3;
    transform: rotate(-15deg) scale(1.2);
    filter: grayscale(100%) brightness(1.5) blur(0.5px);
    animation: logoFloat 20s ease-in-out infinite;
    clip-path: polygon(50% 0%, 100% 0%, 100% 100%, 50% 100%);
    pointer-events: none;
    transition: all 0.3s ease;
}

/* Logo float animation */
@keyframes logoFloat {
    0%, 100% { transform: rotate(-15deg) scale(1.2) translateY(0); }
    50% { transform: rotate(-15deg) scale(1.2) translateY(-20px); }
}

/* RTL adjustment for logo background */
[dir="rtl"] .hero::before {
    right: auto;
    left: -15%;
    transform: rotate(15deg) scale(1.2);
    clip-path: polygon(0% 0%, 50% 0%, 50% 100%, 0% 100%);
    animation: logoFloatRTL 20s ease-in-out infinite;
}

@keyframes logoFloatRTL {
    0%, 100% { transform: rotate(15deg) scale(1.2) translateY(0); }
    50% { transform: rotate(15deg) scale(1.2) translateY(-20px); }
}

/* Enhanced Hero Geometry Elements */
.hero-geometry {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.geometry-circle {
    position: absolute;
    border: 2px solid rgba(255, 193, 7, 0.3);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.geometry-circle-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.geometry-circle-2 {
    width: 150px;
    height: 150px;
    bottom: 15%;
    left: 5%;
    animation-delay: 2s;
}

.geometry-hexagon {
    position: absolute;
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, transparent, rgba(255, 193, 7, 0.1));
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    animation: rotate 8s linear infinite;
}

.geometry-hexagon-1 {
    top: 20%;
    left: 15%;
    animation-delay: 1s;
}

.geometry-hexagon-2 {
    bottom: 20%;
    right: 20%;
    animation-delay: 3s;
}

.geometry-line {
    position: absolute;
    background: linear-gradient(45deg, transparent, rgba(255, 193, 7, 0.4), transparent);
    animation: pulse 4s ease-in-out infinite;
}

.geometry-line-1 {
    width: 2px;
    height: 200px;
    top: 30%;
    left: 30%;
    animation-delay: 0.5s;
}

.geometry-line-2 {
    width: 150px;
    height: 2px;
    top: 60%;
    right: 25%;
    animation-delay: 1.5s;
}

.geometry-line-3 {
    width: 2px;
    height: 120px;
    bottom: 25%;
    left: 60%;
    animation-delay: 2.5s;
}

/* Enhanced Hero Particles */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold-accent);
    border-radius: 50%;
    animation: particle-float 10s infinite linear;
    opacity: 0.7;
}

.particle-1 { top: 10%; left: 20%; animation-delay: 0s; }
.particle-2 { top: 20%; left: 80%; animation-delay: 1s; }
.particle-3 { top: 30%; left: 60%; animation-delay: 2s; }
.particle-4 { top: 50%; left: 10%; animation-delay: 3s; }
.particle-5 { top: 60%; left: 90%; animation-delay: 4s; }
.particle-6 { top: 70%; left: 30%; animation-delay: 5s; }
.particle-7 { top: 80%; left: 70%; animation-delay: 6s; }
.particle-8 { top: 90%; left: 40%; animation-delay: 7s; }

/* Enhanced Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 50px;
    padding: 12px 24px;
    margin-bottom: 2rem;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    animation-delay: 0.2s;
}

.badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--gold-accent);
    border-radius: 50%;
    color: var(--dark-color);
    font-size: 1rem;
}

.badge-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.badge-text {
    font-weight: 600;
    font-size: 0.95rem;
}

.badge-subtext {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* Enhanced Hero Title */
.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation-delay: 0.4s;
}

.hero-title-main {
    display: block;
    margin-bottom: 0.5rem;
}

.title-word {
    display: inline-block;
    margin-right: 0.5rem;
}

.title-word.highlight {
    color: var(--gold-accent);
    position: relative;
}

.title-word.highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(45deg, var(--gold-accent), var(--warning-orange));
    border-radius: 2px;
}

.hero-title-sub {
    display: block;
    font-size: 0.6em;
    font-weight: 600;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

/* Enhanced Hero Subtitle */
.hero-subtitle-container {
    margin-bottom: 2rem;
    animation-delay: 0.6s;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.subtitle-decoration {
    width: 80px;
    height: 2px;
    background: linear-gradient(45deg, var(--gold-accent), var(--warning-orange));
    border-radius: 1px;
    animation: glow 2s ease-in-out infinite alternate;
}



/* Enhanced Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
    animation-delay: 1s;
}

.btn-hero {
    position: relative;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: 2px solid transparent;
}

.btn-primary.btn-hero {
    background: linear-gradient(45deg, var(--gold-accent), var(--warning-orange));
    color: var(--dark-color);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
}

.btn-secondary.btn-hero {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.btn-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-hero:hover .btn-shine {
    left: 100%;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 193, 7, 0.6);
}

.btn-secondary.btn-hero:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--gold-accent);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.2);
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

@keyframes particle-float {
    0% { transform: translateY(0px) translateX(0px); opacity: 0; }
    10% { opacity: 0.7; }
    90% { opacity: 0.7; }
    100% { transform: translateY(-100px) translateX(50px); opacity: 0; }
}

@keyframes glow {
    0% { box-shadow: 0 0 10px rgba(255, 193, 7, 0.5); }
    100% { box-shadow: 0 0 20px rgba(255, 193, 7, 0.8); }
}

/* Enhanced Section Headers */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(45deg, var(--gold-accent), var(--warning-orange));
    color: var(--dark-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.section-decoration {
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, var(--gold-accent), var(--warning-orange));
    border-radius: 2px;
    margin: 0 auto 2rem;
    animation: glow 2s ease-in-out infinite alternate;
}

/* Enhanced About Overview Section */
.about-overview {
    position: relative;
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.about-overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffc107' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 1;
}

.about-overview .container {
    position: relative;
    z-index: 2;
}

.about-overview-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.main-paragraph {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--dark-color);
    line-height: 1.7;
    margin: 0;
}

.secondary-paragraph {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--gold-accent);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.highlight-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--gold-accent), var(--warning-orange));
    border-radius: 50%;
    color: var(--dark-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.highlight-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.highlight-text p {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.5;
}

.about-visual {
    position: relative;
}

.visual-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.visual-image {
    position: relative;
    overflow: hidden;
}

.visual-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.visual-container:hover .visual-image img {
    transform: scale(1.05);
}

.visual-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem;
    color: #ffffff;
}

.overlay-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.overlay-content i {
    font-size: 2rem;
    color: var(--gold-accent);
}

/* Enhanced Services Section */
.services-overview {
    position: relative;
    padding: 5rem 0;
    background: var(--dark-color);
    color: #ffffff;
    overflow: hidden;
}

.services-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.services-pattern {
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffc107' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.services-overview .container {
    position: relative;
    z-index: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.service-card.featured-service {
    background: rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 193, 7, 0.3);
    transform: scale(1.02);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--gold-accent);
    box-shadow: 0 20px 40px rgba(255, 193, 7, 0.2);
}

.service-content {
    position: relative;
    z-index: 2;
}

.service-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.service-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.feature-tag {
    background: rgba(255, 193, 7, 0.2);
    color: var(--gold-accent);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 193, 7, 0.1), transparent);
    transition: left 0.6s ease;
}

.service-card:hover .service-overlay {
    left: 100%;
}

.services-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.services-cta p {
    font-size: 1.2rem;
    color: #1a237e;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* Responsive Design for Enhanced Sections */
@media screen and (max-width: 768px) {
    .about-overview-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .highlight-item:hover {
        transform: none;
    }
}

/* Enhanced CTA Section */
.cta-section-home {
    position: relative;
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-dark-blue) 0%, var(--secondary-blue) 100%);
    color: #ffffff;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cta-pattern {
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffc107' fill-opacity='0.1'%3E%3Cpath d='M0 0h80v80H0V0zm20 20v40h40V20H20zm20 35a15 15 0 1 1 0-30 15 15 0 0 1 0 30z' fill-rule='evenodd'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: glow-pulse 4s ease-in-out infinite;
}

.cta-section-home .container {
    position: relative;
    z-index: 2;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 193, 7, 0.2);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 30px;
    padding: 10px 20px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold-accent);
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #1a237e ;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--gold-accent), var(--warning-orange));
    border-radius: 50%;
    color: var(--dark-color);
    font-size: 1.5rem;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gold-accent);
    margin-bottom: 0.2rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #ffffff;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.btn-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: 2px solid transparent;
    min-width: 200px;
    justify-content: center;
}

.btn-gold {
    background: linear-gradient(45deg, var(--gold-accent), var(--warning-orange));
    color: var(--dark-color);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
}

.btn-outline {
    background: transparent;
    color: #1a237e;
    border-color: #1a237e;
    font-weight: 600;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-arrow {
    position: absolute;
    right: 20px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.btn-icon:hover .btn-arrow {
    opacity: 1;
    transform: translateX(0);
}

.btn-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 193, 7, 0.6);
}

.btn-outline:hover {
    background: #1a237e;
    color: #ffffff;
    border-color: #1a237e;
    box-shadow: 0 12px 35px rgba(26, 35, 126, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--gold-accent);
}

.cta-security-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 2rem;
}

.cta-security-note i {
    color: var(--success-green);
}

@keyframes glow-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.5; }
}

/* Enhanced Mobile Responsiveness for CTA */
@media screen and (max-width: 768px) {
    .cta-stats {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .cta-stat {
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-icon {
        width: 100%;
        max-width: 300px;
    }
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    filter: brightness(0.7) contrast(1.1);
    transition: opacity 1s ease-in-out;
}

.hero-video.loaded {
    opacity: 0.6;
}

.hero-video-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    z-index: 5;
    transition: opacity 0.5s ease-out;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.9),
        0 0 10px rgba(0, 0, 0, 0.7);
}

.hero-video-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.video-loader-spinner {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
}

.spinner-ring {
    position: absolute;
    border: 3px solid transparent;
    border-top: 3px solid var(--gold-accent);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.spinner-ring:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 0;
    left: 0;
    animation-delay: 0s;
}

.spinner-ring:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 10px;
    left: 10px;
    animation-delay: 0.3s;
    border-top-color: rgba(255, 215, 0, 0.7);
}

.spinner-ring:nth-child(3) {
    width: 40px;
    height: 40px;
    top: 20px;
    left: 20px;
    animation-delay: 0.6s;
    border-top-color: rgba(255, 215, 0, 0.4);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-fallback-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.25) 100%
    );
    z-index: 2;
}

/* Enhanced Floating Particles */
.hero-particle {
    position: absolute;
    background: linear-gradient(45deg, var(--gold-accent), rgba(255, 215, 0, 0.3));
    border-radius: 50%;
    opacity: 0.3;
    animation: floatParticle 8s ease-in-out infinite;
    z-index: 3;
}

.hero-particle-1 {
    width: 120px;
    height: 120px;
    top: 15%;
    right: 10%;
    animation-delay: 0s;
}

.hero-particle-2 {
    width: 80px;
    height: 80px;
    bottom: 25%;
    left: 8%;
    animation-delay: 2s;
}

.hero-particle-3 {
    width: 60px;
    height: 60px;
    top: 40%;
    right: 15%;
    animation-delay: 4s;
}

.hero-particle-4 {
    width: 100px;
    height: 100px;
    top: 60%;
    left: 20%;
    animation-delay: 1.5s;
}

.hero-particle-5 {
    width: 40px;
    height: 40px;
    bottom: 40%;
    right: 25%;
    animation-delay: 3.5s;
}

/* Animated Lines */
.hero-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--gold-accent), transparent);
    opacity: 0.4;
    animation: slideLine 6s ease-in-out infinite;
    z-index: 3;
}

.hero-line-1 {
    width: 200px;
    height: 2px;
    top: 30%;
    left: -200px;
    animation-delay: 0s;
}

.hero-line-2 {
    width: 150px;
    height: 1px;
    bottom: 30%;
    right: -150px;
    animation-delay: 3s;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
        opacity: 0.6;
    }
}

@keyframes slideLine {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(calc(100vw + 200px));
    }
    100% {
        transform: translateX(0);
    }
}

.hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    color: #ffffff;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    animation: glow 2s ease-in-out infinite alternate;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.hero-badge i {
    color: var(--gold-accent);
    font-size: 1.1rem;
}

@keyframes glow {
    from {
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    }
    to {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.9),
        4px 4px 8px rgba(0, 0, 0, 0.6),
        0 0 15px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
    color: #ffffff;
}

.hero-title-main {
    display: block;
    background: linear-gradient(45deg, #ffffff, var(--gold-accent), #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: shimmer 3s ease-in-out infinite;
    /* Fallback for browsers that don't support background-clip */
    color: #ffffff;
}

.hero-title-sub {
    display: block;
    font-size: 0.7em;
    margin-top: 0.5rem;
    opacity: 1;
    color: #ffffff;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.9),
        0 0 10px rgba(0, 0, 0, 0.6);
}

@keyframes shimmer {
    0%, 100% {
        background-position: -200% center;
    }
    50% {
        background-position: 200% center;
    }
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 1;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    color: #ffffff;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.9),
        0 0 8px rgba(0, 0, 0, 0.7);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero-stat {
    text-align: center;
    animation: countUp 2s ease-out;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 0.5rem;
    text-shadow: 
        2px 2px 6px rgba(0, 0, 0, 0.9),
        0 0 15px rgba(255, 215, 0, 0.8),
        0 0 25px rgba(255, 215, 0, 0.6);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    text-shadow: 
        2px 2px 6px rgba(0, 0, 0, 0.9),
        0 0 8px rgba(0, 0, 0, 0.8),
        0 0 15px rgba(0, 0, 0, 0.7);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.btn-hero {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-hero:hover::before {
    left: 100%;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.btn-primary.btn-hero {
    background: linear-gradient(135deg, var(--gold-accent) 0%, #e6b800 100%);
    color: #1a237e;
    border: 2px solid transparent;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    font-weight: 700;
}

.btn-primary.btn-hero:hover {
    background: linear-gradient(135deg, #e6b800 0%, #cc9900 100%);
    color: #1a237e;
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
}

.btn-secondary.btn-hero {
    background: rgba(0, 0, 0, 0.3);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.btn-secondary.btn-hero:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #ffffff;
    font-size: 0.9rem;
    z-index: 4;
    text-shadow: 
        1px 1px 3px rgba(0, 0, 0, 0.8),
        0 0 8px rgba(0, 0, 0, 0.6);
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid #ffffff;
    border-radius: 12px;
    margin: 0 auto 0.5rem;
    position: relative;
    box-shadow: 
        0 0 5px rgba(255, 255, 255, 0.3),
        inset 0 0 5px rgba(0, 0, 0, 0.2);
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: #ffffff;
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
    box-shadow: 0 0 3px rgba(255, 255, 255, 0.5);
}

@keyframes scrollWheel {
    0% {
        top: 6px;
        opacity: 1;
    }
    100% {
        top: 24px;
        opacity: 0;
    }
}

/* Additional Eye-Catching Effects */
.hero-video-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 193, 7, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(52, 152, 219, 0.2) 0%, transparent 50%);
    z-index: 3;
    animation: colorShift 8s ease-in-out infinite;
}

@keyframes colorShift {
    0%, 100% {
        opacity: 0.3;
        filter: hue-rotate(0deg);
    }
    50% {
        opacity: 0.6;
        filter: hue-rotate(60deg);
    }
}

/* Enhanced Hover Effects for Hero Elements */
.hero-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.hero-title-main {
    display: block;
    background: linear-gradient(45deg, 
        var(--gold-accent) 0%, 
        #fff 25%, 
        var(--gold-accent) 50%, 
        #fff 75%, 
        var(--gold-accent) 100%);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerEnhanced 4s ease-in-out infinite;
}

@keyframes shimmerEnhanced {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Pulsing Border Animation for Stats */
.hero-stats::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        var(--gold-accent), 
        transparent, 
        var(--gold-accent));
    border-radius: 22px;
    z-index: -1;
    animation: borderPulse 3s ease-in-out infinite;
}

@keyframes borderPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.02);
    }
}

/* Enhanced Button Animations */
.btn-hero {
    position: relative;
    z-index: 1;
}

.btn-hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.4s ease;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.btn-hero:hover::after {
    width: 300px;
    height: 300px;
}

/* Floating Animation for Particles */
@keyframes floatEnhanced {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.3;
    }
    33% {
        transform: translateY(-20px) rotate(120deg) scale(1.1);
        opacity: 0.6;
    }
    66% {
        transform: translateY(10px) rotate(240deg) scale(0.9);
        opacity: 0.4;
    }
}

.hero-particle {
    animation: floatEnhanced 12s ease-in-out infinite;
}

.hero-particle-1 { animation-delay: 0s; }
.hero-particle-2 { animation-delay: 2s; }
.hero-particle-3 { animation-delay: 4s; }
.hero-particle-4 { animation-delay: 6s; }
.hero-particle-5 { animation-delay: 8s; }

/* Enhanced Glowing Text Effect */
.hero-title-sub {
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.9),
        0 0 8px rgba(0, 0, 0, 0.7),
        0 0 12px rgba(255, 215, 0, 0.3);
    animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from {
        text-shadow: 
            2px 2px 4px rgba(0, 0, 0, 0.9),
            0 0 8px rgba(0, 0, 0, 0.7),
            0 0 12px rgba(255, 215, 0, 0.3);
    }
    to {
        text-shadow: 
            2px 2px 4px rgba(0, 0, 0, 0.9),
            0 0 10px rgba(0, 0, 0, 0.7),
            0 0 16px rgba(255, 215, 0, 0.5);
    }
}

/* Mobile Responsiveness for Hero Section */
@media screen and (max-width: 768px) {
    .hero {
        min-height: 90vh; /* Slightly shorter on mobile */
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .hero-stat {
        padding: 0.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .btn-hero {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-particle {
        display: none; /* Hide particles on mobile for better performance */
    }
    
    .hero-line {
        display: none; /* Hide animated lines on mobile */
    }
    
    .scroll-indicator {
        bottom: 0.5rem;
        font-size: 0.8rem;
    }
    
    /* Mobile-specific video optimizations */
    .hero-video {
        filter: brightness(0.6) contrast(1.3);
    }
    
    .hero-video-overlay {
        background: linear-gradient(
            135deg,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.8) 50%,
            rgba(0, 0, 0, 0.9) 100%
        );
    }
    
    /* Ensure text is extra visible on mobile */
    .hero-title {
        color: #ffffff !important;
        text-shadow: 
            3px 3px 6px rgba(0, 0, 0, 1),
            0 0 15px rgba(0, 0, 0, 0.8) !important;
    }
    
    .hero-subtitle {
        color: #ffffff !important;
        text-shadow: 
            2px 2px 4px rgba(0, 0, 0, 1),
            0 0 10px rgba(0, 0, 0, 0.8) !important;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-title-main {
        font-size: 1em;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 1rem;
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .hero-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
}

/* Legacy Feature Items (for other sections) - Made more specific */
.features-grid .feature-item {
    text-align: center;
    padding: 2rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    background: var(--light-color);
    border: 1px solid var(--border-gray);
}

.features-grid .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.features-grid .feature-icon {
    width: 70px;
    height: 70px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.8rem;
    color: var(--primary-dark-blue);
    transition: all 0.3s ease;
}

.features-grid .feature-item:hover .feature-icon {
    background: var(--primary-dark-blue);
    color: var(--light-color);
    transform: scale(1.1);
}

/* Grid Layouts */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Section Styling */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gold-accent);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ===============================
   CORE VALUES SECTION STYLES
   =============================== */

.core-values-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.core-values-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(253, 197, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(66, 66, 66, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.core-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
    z-index: 2;
}

.core-value-card {
    background: var(--light-color);
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(224, 224, 224, 0.3);
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 320px;
}

.core-value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FDC500 0%, #424242 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.core-value-card:hover::before {
    transform: scaleX(1);
}

.core-value-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 10px 20px rgba(253, 197, 0, 0.15);
    border-color: rgba(253, 197, 0, 0.3);
}

.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(253, 197, 0, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s ease;
    border-radius: 50%;
    pointer-events: none;
}

.core-value-card:hover .card-glow {
    transform: translate(-50%, -50%) scale(1);
}

.card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary-dark-blue);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.value-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #FDC500 0%, #424242 100%);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s ease;
}

.value-icon i {
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.core-value-card:hover .value-icon {
    transform: scale(1.1);
}

.core-value-card:hover .value-icon::before {
    opacity: 1;
    transform: scale(1);
}

.core-value-card:hover .value-icon i {
    color: var(--light-color);
    transform: scale(1.1);
}

.value-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
    line-height: 1.3;
}

.core-value-card:hover .value-title {
    color: var(--primary-dark-blue);
}

.value-description {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.6;
    transition: color 0.3s ease;
    flex-grow: 1;
    display: flex;
    align-items: center;
    text-align: center;
}

.core-value-card:hover .value-description {
    color: #555;
}

/* Enhanced Section Badge */
.core-values-section .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #FDC500 0%, #424242 100%);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.core-values-section .section-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.core-values-section .section-badge:hover::before {
    left: 100%;
}

.core-values-section .section-badge i {
    font-size: 1rem;
}

/* Enhanced Section Decoration */
.core-values-section .section-decoration {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #FDC500 0%, #424242 100%);
    margin: 1.5rem auto 0;
    border-radius: 2px;
    position: relative;
}

.core-values-section .section-decoration::before,
.core-values-section .section-decoration::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    background: #FDC500;
    border-radius: 50%;
    transform: translateY(-50%);
}

.core-values-section .section-decoration::before {
    left: -12px;
}

.core-values-section .section-decoration::after {
    right: -12px;
}

/* Animation Delays */
.core-value-card[data-animation-delay="0.1s"] {
    animation-delay: 0.1s;
}

.core-value-card[data-animation-delay="0.2s"] {
    animation-delay: 0.2s;
}

.core-value-card[data-animation-delay="0.3s"] {
    animation-delay: 0.3s;
}

.core-value-card[data-animation-delay="0.4s"] {
    animation-delay: 0.4s;
}

/* Responsive Design for Core Values */
@media (max-width: 1200px) {
    .core-values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .core-values-section {
        padding: 60px 0;
    }
    
    .core-values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2.5rem;
    }
    
    .core-value-card {
        padding: 2rem 1.25rem;
        min-height: 280px;
    }
    
    .value-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        margin-bottom: 1.25rem;
    }
    
    .value-title {
        font-size: 1.3rem;
    }
    
    .value-description {
        font-size: 0.95rem;
    }
    
    .core-values-section .section-badge {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .core-value-card {
        padding: 1.5rem 1rem;
        min-height: 260px;
    }
    
    .value-icon {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    .value-title {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .value-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

/* RTL Support for Core Values */
body.rtl .core-value-card {
    text-align: center;
}

body.rtl .core-values-section .section-badge {
    flex-direction: row-reverse;
}

body.rtl .core-value-card::before {
    transform-origin: right;
}

/* START: New styles for Homepage Enhancements */

/* About Overview Section (Welcome Message) */
.about-overview-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.about-overview-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
}

/* Certifications Section (Badges) */
.certifications-section {
    padding: 80px 0;
}

.cert-single {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    padding: 1rem 0;
}

.mss-global-badge {
    text-align: center;
    transition: transform 0.3s ease;
    max-width: 100%;
}

.mss-global-badge:hover {
    transform: scale(1.02);
}

.mss-global-img {
    max-width: 1280px;
    width: 100%;
    height: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mss-global-badge:hover .mss-global-img {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments */
@media (max-width: 1300px) {
    .mss-global-img {
        max-width: 100%;
    }
}

/* Home Page CTA Section */
.cta-section-home {
    background: linear-gradient(135deg, var(--dark-color), var(--primary-dark-blue));
    color: var(--light-color);
    padding: 80px 0;
    text-align: center;
    margin-top: 0; /* Adjusted from footer margin-top */
}

.cta-section-home .cta-content h2 {
    color: var(--light-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section-home .cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    font-size: 1.2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section-home .cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section-home .cta-buttons .btn {
    min-width: 220px;
}

@media (max-width: 768px) {
    .cta-section-home .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* END: New styles for Homepage Enhancements */


/* Enhanced Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-color), var(--primary-dark-blue));
    color: var(--light-color);
    padding: 3rem 0 1rem;
    /* margin-top: 4rem; */ /* Can be removed due to new CTA section */
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--gold-accent);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold-accent);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gold-accent);
    transform: translateY(-3px);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366 0%, #20b954 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
    text-decoration: none;
    border: none;
    outline: none;
    overflow: hidden;
    text-align: center;
    line-height: 1;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
}

/* Enhanced Form Styling */
.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--light-color);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-gray);
}

.form-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: var(--border-gray);
    border-radius: 3px;
    overflow: hidden;
    margin-right: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-dark-blue), var(--gold-accent));
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-dark-blue);
}

.form-messages {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: var(--border-radius);
    border: 1px solid;
    animation: slideDown 0.3s ease;
}

.form-messages.success {
    background: rgba(76, 175, 80, 0.1);
    border-color: var(--success-green);
    color: var(--success-green);
}

.form-messages.error {
    background: rgba(244, 67, 54, 0.1);
    border-color: var(--error-red);
    color: var(--error-red);
}

.message-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.message-icon {
    font-size: 1.2rem;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.input-wrapper {
    position: relative;
}

.form-label,
.input-wrapper label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-color);
    font-size: 0.9rem;
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
    width: 100%;
    padding: 12px 45px 12px 12px;
    border: 2px solid var(--border-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--light-color);
    color: var(--dark-color);
}

.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
    outline: none;
    border-color: var(--primary-dark-blue);
    box-shadow: 0 0 0 3px rgba(66, 66, 66, 0.1);
}

.input-wrapper.focused label {
    color: var(--primary-dark-blue);
}

.input-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
    pointer-events: none;
    transition: color 0.3s ease;
}

.input-wrapper:focus-within .input-icon {
    color: var(--primary-dark-blue);
}

.input-wrapper textarea {
    resize: vertical;
    min-height: 120px;
    padding-top: 12px;
}

.char-counter {
    position: absolute;
    bottom: 8px;
    right: 12px;
    font-size: 0.8rem;
    color: var(--text-gray);
    background: var(--light-color);
    padding: 2px 6px;
    border-radius: 3px;
}

.input-wrapper input.error,
.input-wrapper select.error,
.input-wrapper textarea.error {
    border-color: var(--error-red);
    box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.1);
}

.error-message {
    color: var(--error-red);
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.error-message::before {
    content: '⚠';
}

/* Radio and Checkbox Groups */
.radio-group,
.checkbox-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.radio-label,
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: var(--border-radius);
}

.radio-label:hover,
.checkbox-label:hover {
    background: var(--light-gray);
}

.radio-label input[type="radio"],
.checkbox-label input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-gray);
    background: var(--light-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.radio-label input[type="radio"] {
    border-radius: 50%;
}

.checkbox-label input[type="checkbox"] {
    border-radius: 3px;
}

.radio-label input[type="radio"]:checked,
.checkbox-label input[type="checkbox"]:checked {
    background: var(--primary-dark-blue);
    border-color: var(--primary-dark-blue);
}

.radio-label input[type="radio"]:checked::after {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--light-color);
    margin: 4px auto;
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: '✓';
    display: block;
    color: var(--light-color);
    text-align: center;
    font-size: 12px;
    line-height: 16px;
}

.privacy-checkbox {
    padding: 1rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-gray);
}

.privacy-checkbox a {
    color: var(--primary-dark-blue);
    text-decoration: underline;
}

.privacy-checkbox a:hover {
    color: var(--secondary-blue);
}

/* Honeypot field */
.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Submit Button Enhancement */
.form-actions {
    margin-top: 2rem;
    text-align: center;
}

.submit-btn {
    min-width: 200px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    color: #ffffff;
    border: 2px solid transparent;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(76, 175, 80, 0.3);
}

.submit-btn:hover {
    background: linear-gradient(135deg, #45a049 0%, #388e3c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.submit-btn:disabled {
    background: #cccccc !important;
    color: #666666 !important;
    cursor: not-allowed;
    transform: none;
    opacity: 0.6;
    box-shadow: none;
}

.submit-btn:disabled:hover {
    background: #cccccc !important;
    transform: none;
    box-shadow: none;
}

.loading-spinner {
    animation: spin 1s linear infinite;
}

/* Form Validation States */
.form-group.valid .input-wrapper input,
.form-group.valid .input-wrapper select,
.form-group.valid .input-wrapper textarea {
    border-color: var(--success-green);
}

.form-group.valid .input-icon {
    color: var(--success-green);
}

/* Contact Form Responsive Design */
@media screen and (max-width: 768px) {
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-progress {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .progress-bar {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .radio-group,
    .checkbox-group {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .input-wrapper input,
    .input-wrapper select,
    .input-wrapper textarea {
        padding: 10px 40px 10px 10px;
    }
}

/* Form Animation Classes */
.animate-in {
    animation: slideInUp 0.6s ease forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RTL/LTR Direction Switching Styles */
/* ==================================== */

/* Body Direction Classes */
body.rtl {
    direction: rtl;
    text-align: right;
}

body.ltr {
    direction: ltr;
    text-align: left;
}

/* Navigation RTL/LTR */
body.ltr .nav-container {
    flex-direction: row;
}

body.rtl .nav-container {
    flex-direction: row;
}

body.ltr .nav-logo {
    margin-right: auto;
    margin-left: 0;
}

body.rtl .nav-logo {
    margin-left: auto;
    margin-right: 0;
}

body.ltr .nav-menu {
    margin-left: auto;
    margin-right: 0;
}

body.rtl .nav-menu {
    margin-right: auto;
    margin-left: 0;
}

/* Navigation Links Direction */
body.ltr .nav-link::after {
    left: 0;
    right: auto;
}

body.rtl .nav-link::after {
    right: 0;
    left: auto;
}

/* Logo Text Direction */
body.ltr .logo-text {
    margin-left: 12px;
    margin-right: 0;
}

body.rtl .logo-text {
    margin-right: 12px;
    margin-left: 0;
}

/* Hero Section Direction */
body.ltr .hero-content {
    text-align: center;
}

body.rtl .hero-content {
    text-align: center;
}

body.ltr .hero-buttons {
    justify-content: center;
}

body.rtl .hero-buttons {
    justify-content: center;
}

/* Service Cards Direction */
body.ltr .service-card,
body.ltr .features-grid .feature-item {
    text-align: center;
}

body.rtl .service-card,
body.rtl .features-grid .feature-item {
    text-align: center;
}

/* Contact Cards Direction */
body.ltr .contact-card {
    text-align: center;
}

body.rtl .contact-card {
    text-align: center;
}

body.ltr .contact-details {
    text-align: center;
}

body.rtl .contact-details {
    text-align: center;
}

/* Form Direction Styles */
body.ltr .contact-form {
    direction: ltr;
    text-align: left;
}

body.rtl .contact-form {
    direction: rtl;
    text-align: right;
}

/* Input Direction */
body.ltr .input-wrapper input,
body.ltr .input-wrapper select,
body.ltr .input-wrapper textarea {
    text-align: left;
    padding: 12px 45px 12px 12px;
}

body.rtl .input-wrapper input,
body.rtl .input-wrapper select,
body.rtl .input-wrapper textarea {
    text-align: right;
    padding: 12px 12px 12px 45px;
}

/* Input Icons Direction */
body.ltr .input-icon {
    right: 12px;
    left: auto;
}

body.rtl .input-icon {
    left: 12px;
    right: auto;
}

/* Labels Direction */
body.ltr .form-label,
body.ltr .input-wrapper label {
    text-align: left;
}

body.rtl .form-label,
body.rtl .input-wrapper label {
    text-align: right;
}

/* Checkbox and Radio Direction */
body.ltr .checkbox-label,
body.ltr .radio-label {
    flex-direction: row;
}

body.rtl .checkbox-label,
body.rtl .radio-label {
    flex-direction: row-reverse;
}

body.ltr .checkbox-label span:last-child,
body.ltr .radio-label span:last-child {
    margin-left: 0.5rem;
    margin-right: 0;
}

body.rtl .checkbox-label span:last-child,
body.rtl .radio-label span:last-child {
    margin-right: 0.5rem;
    margin-left: 0;
}

/* Character Counter Direction */
body.ltr .char-counter {
    right: 12px;
    left: auto;
}

body.rtl .char-counter {
    left: 12px;
    right: auto;
}

/* Footer Direction */
body.ltr .footer {
    text-align: left;
}

body.rtl .footer {
    text-align: right;
}

body.ltr .footer-section {
    text-align: left;
}

body.rtl .footer-section {
    text-align: right;
}

/* Social Links Direction */
body.ltr .social-links {
    justify-content: flex-start;
}

body.rtl .social-links {
    justify-content: flex-start;
}

/* WhatsApp Button Direction */
body.ltr .whatsapp-float {
    right: 20px;
    left: auto;
}

body.rtl .whatsapp-float {
    left: 20px;
    right: auto;
}

/* Language Switcher Direction */
body.ltr .language-switcher {
    right: 20px;
    left: auto;
}

body.rtl .language-switcher {
    left: 20px;
    right: auto;
}

/* Breadcrumb Direction */
body.ltr .breadcrumb {
    direction: ltr;
}

body.rtl .breadcrumb {
    direction: rtl;
}

/* Table Direction */
body.ltr table {
    direction: ltr;
}

body.rtl table {
    direction: rtl;
}

body.ltr th,
body.ltr td {
    text-align: left;
}

body.rtl th,
body.rtl td {
    text-align: right;
}

/* List Direction */
body.ltr ul,
body.ltr ol {
    padding-left: 2rem;
    padding-right: 0;
}

body.rtl ul,
body.rtl ol {
    padding-right: 2rem;
    padding-left: 0;
}

/* Progress Bar Direction */
body.ltr .progress-bar {
    margin-right: 1rem;
    margin-left: 0;
}

body.rtl .progress-bar {
    margin-left: 1rem;
    margin-right: 0;
}

/* Animation Direction Classes */
body.ltr .animate-slide-left {
    animation: slideInLeft 0.6s ease forwards;
}

body.ltr .animate-slide-right {
    animation: slideInRight 0.6s ease forwards;
}

body.rtl .animate-slide-left {
    animation: slideInRight 0.6s ease forwards;
}

body.rtl .animate-slide-right {
    animation: slideInLeft 0.6s ease forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Specific Element Direction Fixes */
body.ltr .section-title::after {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
}

body.rtl .section-title::after {
    right: 50%;
    left: auto;
    transform: translateX(50%);
}

/* Mobile Menu Direction */
@media screen and (max-width: 767px) {
    body.ltr .nav-menu {
        left: -100%;
        right: auto;
    }
    
    body.rtl .nav-menu {
        right: -100%;
        left: auto;
    }
    
    body.ltr .nav-menu.active {
        left: 0;
        right: auto;
    }
    
    body.rtl .nav-menu.active {
        right: 0;
        left: auto;
    }
}

/* Phone Number Direction */
[dir="ltr"] .phone-number,
body.ltr .phone-number {
    direction: ltr;
    text-align: left;
}

[dir="rtl"] .phone-number,
body.rtl .phone-number {
    direction: ltr; /* Phone numbers stay LTR */
    text-align: right;
}

/* Email Direction */
[dir="ltr"] .email,
body.ltr .email {
    direction: ltr;
    text-align: left;
}

[dir="rtl"] .email,
body.rtl .email {
    direction: ltr; /* Emails stay LTR */
    text-align: right;
}

/* URL Direction */
[dir="ltr"] .url,
body.ltr .url {
    direction: ltr;
    text-align: left;
}

[dir="rtl"] .url,
body.rtl .url {
    direction: ltr; /* URLs stay LTR */
    text-align: right;
}

/* Number Direction */
[dir="ltr"] .number,
body.ltr .number {
    direction: ltr;
}

[dir="rtl"] .number,
body.rtl .number {
    direction: ltr; /* Numbers stay LTR */
}

/* Smooth Direction Transition */
* {
    transition: padding 0.3s ease, margin 0.3s ease, text-align 0.3s ease !important;
}

/* Override for elements that shouldn't transition */
.no-direction-transition,
.loading-spinner,
.progress-fill {
    transition: none !important;
}

/* Phone and Email Link Styling */
.phone-link,
.email-link {
    color: var(--primary-dark-blue);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.phone-link:hover,
.email-link:hover {
    color: var(--gold-accent);
    transform: translateY(-2px);
}

.phone-link:before {
    content: '📞 ';
    margin-right: 5px;
}

body.ltr .phone-link:before {
    margin-right: 5px;
    margin-left: 0;
}

body.rtl .phone-link:before {
    margin-left: 5px;
    margin-right: 0;
}

.email-link:before {
    content: '✉️ ';
    margin-right: 5px;
}

body.ltr .email-link:before {
    margin-right: 5px;
    margin-left: 0;
}

body.rtl .email-link:before {
    margin-left: 5px;
    margin-right: 0;
}

/* Direction-specific text elements */
.contact-hours,
.contact-details p {
    transition: text-align 0.3s ease;
}

body.ltr .contact-hours,
body.ltr .contact-details p {
    text-align: center;
}

body.rtl .contact-hours,
body.rtl .contact-details p {
    text-align: center;
}

/* Special handling for mixed content */
.mixed-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

body.ltr .mixed-content {
    flex-direction: row;
    justify-content: flex-start;
}

body.rtl .mixed-content {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

/* Address Direction */
.address-text {
    line-height: 1.6;
}

body.ltr .address-text {
    text-align: left;
}

body.rtl .address-text {
    text-align: right;
}

/* Service List Direction */
.service-list,
.feature-list {
    list-style: none;
    padding: 0;
}

body.ltr .service-list li,
body.ltr .feature-list li {
    text-align: left;
    padding-left: 1.5rem;
    padding-right: 0;
}

body.rtl .service-list li,
body.rtl .feature-list li {
    text-align: right;
    padding-right: 1.5rem;
    padding-left: 0;
}

body.ltr .service-list li:before,
body.ltr .feature-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    right: auto;
    color: var(--success-green);
    font-weight: bold;
}

body.rtl .service-list li:before,
body.rtl .feature-list li:before {
    content: '✓';
    position: absolute;
    right: 0;
    left: auto;
    color: var(--success-green);
    font-weight: bold;
}

.service-list li,
.feature-list li {
    position: relative;
    margin-bottom: 0.5rem;
}

/* Button Group Direction */
.btn-group {
    display: flex;
    gap: 1rem;
}

body.ltr .btn-group {
    flex-direction: row;
    justify-content: flex-start;
}

body.rtl .btn-group {
    flex-direction: row;
    justify-content: flex-end;
}

.hero-buttons {
    justify-content: center !important;
}

/* Quote and Testimonial Direction */
.quote,
.testimonial {
    position: relative;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
    margin: 1rem 0;
}

body.ltr .quote:before,
body.ltr .testimonial:before {
    content: '"';
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    font-size: 3rem;
    color: var(--gold-accent);
    opacity: 0.3;
}

body.rtl .quote:before,
body.rtl .testimonial:before {
    content: '"';
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    font-size: 3rem;
    color: var(--gold-accent);
    opacity: 0.3;
}

/* Responsive Direction Adjustments */
@media screen and (max-width: 768px) {
    body.ltr .nav-container {
        padding: 0 var(--mobile-padding);
    }
    
    body.rtl .nav-container {
        padding: 0 var(--mobile-padding);
    }
    
    body.ltr .hero-buttons {
        justify-content: center;
    }
    
    body.rtl .hero-buttons {
        justify-content: center;
    }
    
    /* Mobile form adjustments */
    body.ltr .form-row {
        grid-template-columns: 1fr;
        text-align: left;
    }
    
    body.rtl .form-row {
        grid-template-columns: 1fr;
        text-align: right;
    }
    
    /* Mobile navigation adjustments */
    body.ltr .nav-menu {
        text-align: left;
    }
    
    body.rtl .nav-menu {
        text-align: right;
    }
    
    body.ltr .nav-link {
        text-align: left;
        padding-left: 2rem;
        padding-right: 1rem;
    }
    
    body.rtl .nav-link {
        text-align: right;
        padding-right: 2rem;
        padding-left: 1rem;
    }
}

/* Language Button Responsive */
@media screen and (max-width: 480px) {
    .language-switcher {
        position: fixed;
        top: 10px;
        z-index: 1001;
    }
    
    body.ltr .language-switcher {
        right: 10px;
        left: auto;
    }
    
    body.rtl .language-switcher {
        left: 10px;
        right: auto;
    }
    
    .lang-btn {
        padding: 6px 10px;
        font-size: 11px;
    }
}

/* Typography */
body {
    font-family: 'Noto Kufi Arabic', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    direction: rtl;
}

body[dir="ltr"] {
    font-family: 'Inter', 'Roboto Condensed', sans-serif;
    direction: ltr;
    font-weight: 500;
}

/* Stronger English Typography for Security Company */
body[dir="ltr"] h1,
body[dir="ltr"] h2,
body[dir="ltr"] h3,
body[dir="ltr"] h4,
body[dir="ltr"] h5,
body[dir="ltr"] h6 {
    font-family: 'Roboto Condensed', 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

body[dir="ltr"] .hero-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 900;
    letter-spacing: 1px;
}

body[dir="ltr"] .logo-text {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

body[dir="ltr"] .nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: 0.3px;
}

body[dir="ltr"] .btn {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

body[dir="ltr"] .stat-number {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 900;
    letter-spacing: 1px;
}

/* Additional Strong Typography for English Security Theme */
body[dir="ltr"] .section-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 800;
    letter-spacing: 0.8px;
}

body[dir="ltr"] .hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: 0.3px;
}

body[dir="ltr"] .card-title,
body[dir="ltr"] .service-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

body[dir="ltr"] .timeline-content h3 {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

body[dir="ltr"] .industry-card h3 {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Strong CTAs and Important Text */
body[dir="ltr"] .emergency-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

body[dir="ltr"] .page-header h1 {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 900;
    letter-spacing: 1px;
}

body[dir="ltr"] .footer h3 {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Professional table headers and important labels */
body[dir="ltr"] th,
body[dir="ltr"] .form-label,
body[dir="ltr"] .stat-label {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Enhanced Security Theme Typography Effects */
body[dir="ltr"] .hero-title {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 4.5rem;
}

body[dir="ltr"] .logo-text {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

body[dir="ltr"] .section-title {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

body[dir="ltr"] .stat-number {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

/* Strong contrast for security-themed elements */
body[dir="ltr"] .emergency-title,
body[dir="ltr"] .alert-text {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 900;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Enhanced Button Typography for Security Theme */
body[dir="ltr"] .btn-primary,
body[dir="ltr"] .btn-secondary,
body[dir="ltr"] .btn-gold {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

body[dir="ltr"] .emergency-btn {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Professional navigation for security company */
body[dir="ltr"] .nav-link {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-gray);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    loading: lazy;
}

/* Performance optimizations */
.hero-image {
    object-fit: cover;
    will-change: transform;
}

/* Improved animations with hardware acceleration */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* @keyframes slideInLeft defined later in directional section */
/* @keyframes slideInRight defined later in directional section */

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark-blue), var(--secondary-blue));
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-content {
    text-align: center;
    color: var(--light-color);
}

.loading-logo-img {
    width: 80px;
    height: auto;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.loading-spinner {
    margin: 20px 0;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid var(--gold-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

.loading-text {
    margin-top: 10px;
    font-size: 1.1rem;
    color: var(--light-color);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Language Switcher */
.language-switcher {
    position: fixed;
    top: 90px;
    left: 20px;
    z-index: 1001;
    background: var(--light-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}
/* ... All CSS before the navbar ... */
/* ... All CSS before the navbar ... */



/* ===== MODERN RESPONSIVE NAVIGATION BAR ===== */

/* CSS Variables for consistent theming */
:root {
    --primary-blue: #1e40af;
    --accent-yellow: #FDC500;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --white: #ffffff;
    --light-gray: #f8fafc;
    --border-gray: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 8px;
    --navbar-height: 80px;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--navbar-height);
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

/* Navbar Container */
.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

/* === LOGO SECTION === */
.navbar-brand {
    flex-shrink: 0;
    z-index: 1001;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--primary-blue);
    transition: var(--transition);
}

.logo-link:hover {
    transform: translateY(-2px);
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: var(--transition);
}

/* SVG logo specific styling */
.logo-img[src$=".svg"] {
    border-radius: 0; /* Remove circular border for SVG */
    object-fit: contain; /* Better for SVG scaling */
}

.logo-link:hover .logo-img {
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    background: linear-gradient(135deg, var(--primary-blue), #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === DESKTOP NAVIGATION MENU === */
.navbar-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.nav-link span {
    position: relative;
    z-index: 1;
}

/* Hover Effects */
.nav-link:hover {
    color: var(--primary-blue);
    transform: translateY(-2px);
    background-color: rgba(30, 64, 175, 0.05);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--accent-yellow);
    border-radius: 3px;
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: calc(100% - 40px);
}

/* Active Link */
.nav-link.active {
    color: var(--primary-blue);
    background-color: rgba(30, 64, 175, 0.1);
}

/* Contact Button Special Styling */
.nav-link.contact-btn {
    background: linear-gradient(135deg, var(--accent-yellow), #f59e0b);
    color: var(--text-dark);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(253, 197, 0, 0.3);
}

.nav-link.contact-btn:hover {
    background: linear-gradient(135deg, #f59e0b, var(--accent-yellow));
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(253, 197, 0, 0.4);
    color: var(--text-dark);
}

.nav-link.contact-btn::after {
    display: none;
}

/* === RIGHT SIDE ACTIONS === */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

/* === LANGUAGE SWITCHER === */
.language-switcher {
    display: flex;
    align-items: center;
    background: rgba(107, 114, 128, 0.1);
    border-radius: 25px;
    padding: 4px;
    gap: 4px;
}

.lang-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background: transparent;
    border: none;
    border-radius: 20px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    min-width: 80px;
}

.lang-btn:hover {
    color: var(--text-dark);
    background-color: rgba(107, 114, 128, 0.15);
}

.lang-btn.active {
    background: var(--accent-yellow);
    color: var(--text-dark);
    box-shadow: 0 2px 8px rgba(253, 197, 0, 0.3);
    transform: scale(1.05);
}

/* === MOBILE MENU TOGGLE === */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: var(--transition);
}

.mobile-toggle:hover {
    background-color: rgba(253, 197, 0, 0.1);
}

.hamburger-line {
    width: 24px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 3px;
    transform-origin: center;
}

/* Hamburger Animation */
.mobile-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background: var(--accent-yellow);
}

.mobile-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background: var(--accent-yellow);
}

/* === MOBILE OVERLAY === */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Prevent body scrolling when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* === RESPONSIVE DESIGN === */

/* Large Desktop */
@media (min-width: 1400px) {
    .navbar-container {
        padding: 0 3rem;
    }
    
    .navbar-menu {
        gap: 2.5rem;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    /* RTL Support */
    body[dir="rtl"] .navbar-container {
        flex-direction: row-reverse;
    }
    
    body[dir="rtl"] .navbar-menu {
        flex-direction: row-reverse;
    }
}

/* Tablet and Mobile */
@media (max-width: 1023px) {
    .navbar-container {
        padding: 0 1.5rem;
    }
    
    /* Show mobile toggle */
    .mobile-toggle {
        display: flex;
    }
    
    /* Hide desktop menu, show mobile version */
    .navbar-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 320px;
        max-width: 85vw;
        background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0;
        
        padding: 100px 2rem 2rem;
        
        transition: var(--transition);
        overflow-y: auto;
    }
    
    /* RTL Mobile Menu */
    body[dir="rtl"] .navbar-menu {
        right: auto;
        left: -100%;
    }
    
    .navbar-menu.active {
        right: 0;
    }
    
    body[dir="rtl"] .navbar-menu.active {
        left: 0;
    }
    
    /* Mobile Menu Items */
    .nav-item {
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 1rem 1.5rem;
        width: 100%;
        border-radius: 12px;
        text-align: center;
        border: 2px solid transparent;
        justify-content: center;
    }
    
    .nav-link:hover {
        background: rgba(253, 197, 0, 0.1);
        border-color: rgba(253, 197, 0, 0.3);
        color: var(--primary-blue);
        transform: translateY(0);
    }
    
    .nav-link.active {
        background: linear-gradient(135deg, var(--accent-yellow), #f59e0b);
        color: var(--text-dark);
        border-color: var(--accent-yellow);
    }
    
    .nav-link.contact-btn {
        background: linear-gradient(135deg, var(--primary-blue), #3b82f6);
        color: var(--white);
        margin-top: 1rem;
    }
    
    .nav-link.contact-btn:hover {
        background: linear-gradient(135deg, #1e40af, var(--primary-blue));
        color: var(--white);
        transform: scale(1.02);
    }
    
    .nav-link::after {
        display: none;
    }
    
    /* Mobile Language Switcher - Keep in navbar */
    .language-switcher {
        position: absolute;
        top: 20px;
        right: 80px;
        background: rgba(255, 255, 255, 0.9);
        box-shadow: var(--shadow);
    }
    
    body[dir="rtl"] .language-switcher {
        right: auto;
        left: 80px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .navbar-container {
        padding: 0 1rem;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .navbar-menu {
        width: 100%;
        max-width: 100%;
        padding: 100px 1rem 2rem;
    }
    
    .lang-btn span {
        font-size: 0.8rem;
    }
    
    .language-switcher {
        right: 50px;
        scale: 0.9;
    }
    
    body[dir="rtl"] .language-switcher {
        left: 50px;
    }
}

/* Add top padding to body to account for fixed navbar */
body {
    padding-top: var(--navbar-height);
}

/* === ACCESSIBILITY === */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles */
.nav-link:focus,
.lang-btn:focus,
.mobile-toggle:focus {
    outline: 2px solid var(--accent-yellow);
    outline-offset: 2px;
}
/* =============================== */


/* ... The rest of your styles.css file, starting from the hero section ... */



/* =============================== */


/* ... rest of your CSS file, starting from ".hero" section */
/* --- Make sure you have deleted ALL OLD .navbar, .nav-container, .nav-toggle, etc. rules --- */
/* Navigation */
.navbar {
    background: var(--light-color);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.navbar.scrolled ~ .language-switcher {
    top: 80px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-dark-blue);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-color);
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-dark-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-accent);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    transition: var(--transition);
}

/* Enhanced Buttons with Better Contrast */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    text-decoration: none;
    font-size: 1rem;
    font-family: inherit;
    position: relative;
    z-index: 1;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    min-width: 120px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
    color: #ffffff;
    border: 2px solid transparent;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0d1754 0%, #2e3a8c 100%);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 35, 126, 0.4);
}

.btn-secondary {
    background: #ffffff;
    color: #1a237e;
    border: 2px solid #1a237e;
    text-shadow: none;
}

.btn-secondary:hover {
    background: #1a237e;
    color: #ffffff;
    border-color: #1a237e;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.btn-outline {
    background: transparent;
    color: #1a237e;
    border: 2px solid #1a237e;
    font-weight: 600;
    text-shadow: none;
}

.btn-outline:hover {
    background: #1a237e;
    color: #ffffff;
    text-shadow: none;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-accent) 0%, #e6b800 100%);
    color: #1a237e;
    border: 2px solid transparent;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    font-weight: 700;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #e6b800 0%, #cc9900 100%);
    color: #1a237e;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
}

.btn-emergency {
    background: linear-gradient(135deg, #d32f2f 0%, #f44336 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 2px solid transparent;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.btn-emergency:hover {
    background: linear-gradient(135deg, #b71c1c 0%, #d32f2f 100%);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(211, 47, 47, 0.4);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #20b954 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 2px solid transparent;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #128c7e 0%, #075e54 100%);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.btn-call {
    background: linear-gradient(135deg, #0d47a1 0%, #1976d2 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 2px solid transparent;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.btn-call:hover {
    background: linear-gradient(135deg, #01579b 0%, #0d47a1 100%);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(25, 118, 210, 0.4);
}

/* Form Submit Buttons */
.btn-submit {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    color: #ffffff;
    border: 2px solid transparent;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    width: 100%;
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #45a049 0%, #388e3c 100%);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

/* Small Buttons */
.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
    border-radius: 6px;
}

/* Large Buttons */
.btn-lg {
    padding: 18px 36px;
    font-size: 1.2rem;
    border-radius: 10px;
}

/* Button with Icons */
.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-icon i {
    font-size: 1.1em;
}

/* Button Loading State */
.btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Disabled Button */
.btn:disabled,
.btn-disabled {
    background: #cccccc !important;
    color: #666666 !important;
    cursor: not-allowed !important;
    opacity: 0.6;
    transform: none !important;
    box-shadow: none !important;
}

.btn:disabled:hover,
.btn-disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Button Group Styles */
.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-group .btn {
    flex: 1;
    min-width: fit-content;
}

/* Mobile Button Improvements */
@media screen and (max-width: 768px) {
    .btn {
        padding: 12px 24px;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
        margin: 0 auto 1rem;
    }
    
    .btn-group {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .btn-group .btn {
        width: 100%;
    }
    
    .btn-sm {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 16px 32px;
        font-size: 1.1rem;
    }
}

/* Language Switcher Buttons */
.lang-btn {
    background: linear-gradient(135deg, var(--light-color), var(--light-gray));
    color: var(--dark-color);
    border: 2px solid var(--border-gray);
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lang-btn:hover {
    background: linear-gradient(135deg, var(--gold-accent), #e6b800);
    color: var(--dark-color);
    border-color: var(--gold-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--primary-dark-blue), var(--secondary-blue));
    color: var(--light-color);
    border-color: var(--primary-dark-blue);
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(66, 66, 66, 0.3);
}

/* WhatsApp Button Hover Effect */
.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128c7e 0%, #075e54 100%);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Ensure WhatsApp button icon is always visible and properly styled */
.whatsapp-btn i {
    font-size: inherit;
    line-height: 1;
    display: block;
    color: white;
    z-index: 2;
    position: relative;
}

/* Prevent text from being added to WhatsApp button */
.whatsapp-btn {
    white-space: nowrap;
    text-overflow: hidden;
}

/* Ensure icon stays visible even if text is accidentally added */
.whatsapp-btn i::before {
    content: "\f232" !important; /* Bootstrap WhatsApp icon code */
    font-family: "bootstrap-icons" !important;
}

/* Hide any pseudo-elements or tooltips that might cause text overflow */
.whatsapp-btn::before,
.whatsapp-btn::after {
    display: none !important;
}

/* Ensure accessibility text doesn't display visually */
.whatsapp-btn[aria-label]::after {
    content: none !important;
}

/* Responsive WhatsApp button positioning */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-btn {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }
}

/* Export Button */
.export-btn {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: #ffffff;
    border: 2px solid transparent;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    box-shadow: 0 3px 10px rgba(255, 152, 0, 0.3);
}

.export-btn:hover {
    background: linear-gradient(135deg, #f57c00 0%, #ef6c00 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4);
}

/* Action Button */
.action-btn {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.3);
}

.action-btn:hover {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4);
}

/* Retry Button */
.retry-btn {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    color: #ffffff;
    border: 2px solid transparent;
    padding: 14px 28px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    box-shadow: 0 3px 10px rgba(76, 175, 80, 0.3);
}

.retry-btn:hover {
    background: linear-gradient(135deg, #45a049 0%, #388e3c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

/* Direction Test Buttons */
.direction-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.direction-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

.direction-btn.active {
    background: var(--gold-accent);
    color: #1a237e;
    border-color: var(--gold-accent);
    text-shadow: none;
    font-weight: 600;
}

/* CTA Buttons Container */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-buttons .btn {
    flex: 1;
    min-width: 180px;
    max-width: 250px;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark-blue), var(--secondary-blue));
    color: var(--light-color);
    padding: 120px 0 80px;
    text-align: center;
    margin-top: 70px;
}

.page-header h1 {
    color: var(--light-color);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Sections */
section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-gray);
}

/* Section Header (re-declared for consistency, original is fine too) */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gold-accent);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Grid (re-declared for consistency, original is fine too) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--primary-dark-blue);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Services Detailed */
.services-detailed {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.service-detailed {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.service-detailed:nth-child(even) .service-content {
    order: 2;
}

.service-detailed:nth-child(even) .service-image {
    order: 1;
}

.service-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.service-features {
    list-style: none;
    margin-top: 1.5rem;
}

.service-features li {
    position: relative;
    padding: 8px 0 8px 30px;
    color: var(--text-gray);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: bold;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--primary-dark-blue);
    margin-bottom: 1.5rem;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--border-gray);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-date {
    background: var(--primary-dark-blue);
    color: var(--light-color);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

.timeline-content {
    background: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    flex: 1;
}

.timeline-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.tag {
    background: var(--light-gray);
    color: var(--text-gray);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

/* Contact Cards */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--primary-dark-blue);
    margin-bottom: 1.5rem;
}

.contact-details p {
    margin-bottom: 0.5rem;
}

.contact-hours {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-gray);
}

.social-links-contact {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--light-color);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 40px;
    filter: brightness(0) invert(1);
}

.footer-logo h3 {
    color: var(--light-color);
    font-size: 1.2rem;
}

.footer-section h4 {
    color: var(--light-color);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #cccccc;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold-accent);
}

.contact-info p {
    color: #cccccc;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
    color: #cccccc;
}

/* Animations */
.animate-fade-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.animate-slide-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

/* Specific Sections Styling */

/* Industries Grid */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.industry-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-dark-blue), var(--gold-accent));
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.industry-icon {
    font-size: 3rem;
    color: var(--primary-dark-blue);
    margin-bottom: 1.5rem;
}

.industry-projects {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-gray);
}

.industry-projects span {
    background: var(--primary-dark-blue);
    color: var(--light-color);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Project Types Grid */
.project-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-type-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-bottom: 4px solid var(--gold-accent);
}

.project-type-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.project-icon {
    font-size: 3rem;
    color: var(--primary-dark-blue);
    margin-bottom: 1.5rem;
}

.project-stats {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-gray);
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat .number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark-blue);
    margin-bottom: 0.25rem;
}

.stat .label {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* Performance Stats */
.performance-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.95) 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-dark-blue), var(--secondary-gold));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-dark-blue);
    margin-bottom: 0.8rem;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-label {
    color: var(--white);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    text-transform: none;
    background: none;
    border: none;
    outline: none;
    text-shadow: none;
    -webkit-text-stroke: 0;
}

/* Testimonials */
.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--gold-accent);
    font-family: serif;
    line-height: 1;
}

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-gray);
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.author-info h4 {
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.author-info span {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.testimonial-rating {
    color: var(--gold-accent);
    font-size: 1.2rem;
}

/* Legal Sections */
.licenses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.license-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--success-green);
}

.license-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.license-icon {
    font-size: 3rem;
    color: var(--success-green);
    margin-bottom: 1.5rem;
}

.license-details {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-gray);
}

.license-details span {
    display: block;
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Policies Grid */
.policies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.policy-section {
    background: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.policy-section h3 {
    color: var(--primary-dark-blue);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.policy-content ul {
    list-style: none;
    margin-top: 1rem;
}

.policy-content li {
    position: relative;
    padding: 8px 0 8px 30px;
    color: var(--text-gray);
    line-height: 1.5;
}

.policy-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-dark-blue);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Human Rights */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.rights-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.rights-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.rights-icon {
    font-size: 2.5rem;
    color: var(--primary-dark-blue);
    margin-bottom: 1.5rem;
}

.rights-card ul {
    list-style: none;
    margin-top: 1rem;
}

.rights-card li {
    position: relative;
    padding: 6px 0 6px 25px;
    color: var(--text-gray);
    line-height: 1.4;
    font-size: 0.95rem;
}

.rights-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: bold;
}

/* About Page Specific */
.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.mission-card,
.vision-card {
    background: var(--light-color);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 3.5rem;
    color: var(--primary-dark-blue);
    margin-bottom: 2rem;
}

.unique-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.unique-item {
    background: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
}

.unique-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.unique-number {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--gold-accent);
    color: var(--dark-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Certifications & Locations */
.cert-loc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.certifications,
.locations {
    background: var(--light-color);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.cert-list,
.location-list {
    margin-top: 2rem;
}

.cert-item,
.location-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-gray);
}

.cert-item:last-child,
.location-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.cert-item i {
    color: var(--success-green);
    font-size: 1.5rem;
    margin-top: 2px;
}

.location-item i {
    color: var(--primary-dark-blue);
    font-size: 1.5rem;
    margin-top: 2px;
}

.location-info h4 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.location-info p {
    color: var(--text-gray);
    margin: 0;
}

/* Emergency Contact */
.emergency-contact {
    background: linear-gradient(135deg, var(--error-red), #d32f2f);
    color: var(--light-color);
    padding: 60px 0;
}

.emergency-content {
    text-align: center;
}

.emergency-content h2 {
    color: var(--light-color);
    margin-bottom: 1rem;
}

.emergency-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.emergency-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.emergency-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.emergency-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.emergency-feature i {
    font-size: 1.2rem;
    color: var(--light-color);
}

/* Services Specific Styles */
.patrol-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.patrol-benefits {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    font-size: 2rem;
    color: var(--primary-dark-blue);
    min-width: 50px;
}

.benefit-content h4 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.benefit-content p {
    margin: 0;
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Map Section */
.map-section,
.map-section-contact {
    padding: 60px 0;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-top: 2rem;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* Legal Contact */
.legal-contact {
    background: var(--light-gray);
    padding: 60px 0;
    text-align: center;
}

.legal-contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.legal-contact-content h2 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.legal-contact-content p {
    margin-bottom: 2rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.legal-contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
}

.contact-item i {
    color: var(--primary-dark-blue);
    font-size: 1.2rem;
}

/* ===== NEW SERVICES PAGE STYLES ===== */

/* Services Overview Grid */
.services-overview {
    padding: 80px 0;
    background: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--light-color);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--primary-dark-blue);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(66, 66, 66, 0.02) 0%, rgba(0, 107, 179, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border-top-color: var(--gold-accent);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--primary-dark-blue);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.service-card:hover .service-icon {
    color: var(--gold-accent);
    transform: scale(1.1);
}

.service-card h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    line-height: 1.3;
    position: relative;
    z-index: 2;
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
}

/* Services Detailed Section */
.services-detailed-section {
    padding: 80px 0;
}

.service-detailed {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
    padding: 3rem 0;
}

.service-detailed:nth-child(even) .service-content {
    order: 2;
}

.service-detailed:nth-child(even) .service-image {
    order: 1;
}

.service-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.service-icon-large {
    font-size: 3rem;
    color: var(--primary-dark-blue);
    min-width: 60px;
    margin-top: 5px;
}

.service-title h2 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 2.2rem;
    line-height: 1.2;
}

.service-title p {
    color: var(--text-gray);
    font-size: 1rem;
    margin: 0;
}

.service-description {
    margin-bottom: 2.5rem;
}

.service-description p {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 1rem;
}

.service-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.service-features-grid .feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--light-gray);
    border-radius: 8px;
    border-left: 4px solid var(--primary-dark-blue);
    transition: var(--transition);
}

.service-features-grid .feature-item:hover {
    background: rgba(0, 107, 179, 0.05);
    border-left-color: var(--gold-accent);
    transform: translateX(5px);
}

.service-features-grid .feature-item i {
    color: var(--primary-dark-blue);
    font-size: 1.1rem;
    min-width: 16px;
}

.service-features-grid .feature-item span {
    color: var(--dark-color);
    font-weight: 500;
    font-size: 0.9rem;
}

.service-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.service-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-image:hover img {
    transform: scale(1.05);
}

/* Training Programs Specific */
.training-programs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.program-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-left: 5px solid var(--primary-dark-blue);
    transition: var(--transition);
}

.program-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-left-color: var(--gold-accent);
}

.program-icon {
    font-size: 2.5rem;
    color: var(--primary-dark-blue);
    min-width: 50px;
    margin-top: 5px;
}

.program-item:hover .program-icon {
    color: var(--gold-accent);
    transform: scale(1.1);
}

.program-content h4 {
    color: var(--dark-color);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.program-content p {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

/* Responsive Design for Services */
@media (max-width: 1024px) {
    .service-detailed {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .service-detailed:nth-child(even) .service-content,
    .service-detailed:nth-child(even) .service-image {
        order: unset;
    }
    
    .service-header {
        justify-content: center;
        text-align: center;
    }
    
    .service-features-grid {
        grid-template-columns: 1fr;
    }
    
    .training-programs {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .service-detailed {
        margin-bottom: 4rem;
        padding: 2rem 0;
    }
    
    .service-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .service-icon-large {
        min-width: auto;
    }
    
    .service-title h2 {
        font-size: 1.8rem;
    }
    
    .service-image img {
        height: 250px;
    }
    
    .program-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .program-icon {
        min-width: auto;
        margin-top: 0;
    }
}
}

/* Performance Specific */
.performance-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .language-switcher {
        top: 80px;
        left: 15px;
        transform: scale(0.9);
    }
    
    /* Hero Section Mobile */
    .hero-title {
        font-size: 2.8rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 250px;
    }
    
    .hero-shape-1 {
        width: 40px;
        height: 40px;
        top: 20%;
        left: 5%;
    }
    
    .hero-shape-2 {
        width: 30px;
        height: 30px;
        top: 65%;
        right: 10%;
    }
    
    .hero-shape-3 {
        border-left: 15px solid transparent;
        border-right: 15px solid transparent;
        border-bottom: 26px solid var(--gold-accent);
        bottom: 25%;
        left: 15%;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-detailed {
        gap: 2rem;
    }
    
    .service-detailed {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-detailed:nth-child(even) .service-content,
    .service-detailed:nth-child(even) .service-image {
        order: unset;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 60px;
    }
    
    .timeline-item:nth-child(odd) {
        flex-direction: column;
    }
    
    .patrol-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .performance-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .performance-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-item {
        padding: 2rem 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .cert-loc-grid {
        grid-template-columns: 1fr;
    }
    
    .emergency-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    
    .hero-buttons .btn {
        width: 200px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .hero::before {
        animation-duration: 30s;
    }
    
    .hero-shape {
        opacity: 0.05;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .services-grid,
    .features-grid,
    .values-grid,
    .industries-grid,
    .project-types-grid,
    .licenses-grid,
    .policies-grid,
    .rights-grid,
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .performance-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 2rem 1rem;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .emergency-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .legal-contact-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
}

/* Print Styles */
@media print {
    .language-switcher,
    .navbar,
    .whatsapp-float,
    .emergency-contact {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
    
    .section-title::after {
        display: none;
    }
}

/* RTL/LTR Adjustments */
[dir="rtl"] .nav-link::after {
    right: 0;
    left: auto;
}

[dir="ltr"] .nav-link::after {
    left: 0;
    right: auto;
}

[dir="rtl"] .service-features li {
    padding: 8px 30px 8px 0;
}

[dir="rtl"] .service-features li::before {
    right: 0;
    left: auto;
}

[dir="ltr"] .service-features li {
    padding: 8px 0 8px 30px;
}

[dir="ltr"] .service-features li::before {
    left: 0;
    right: auto;
}

/* Additional utility classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid var(--primary-dark-blue);
    outline-offset: 2px;
}

button:focus,
.btn:focus {
    outline: 2px solid var(--primary-dark-blue);
    outline-offset: 2px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection styles */
::selection {
    background: var(--primary-dark-blue);
    color: var(--light-color);
}

::-moz-selection {
    background: var(--primary-dark-blue);
    color: var(--light-color);
}


/* =================================== */
/* === SUPER UI HERO SECTION CSS === */
/* =================================== */

.hero {
    color: var(--white);
    text-align: center;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) contrast(1.1);
    opacity: 0;
    transition: opacity 1.5s ease;
}

.hero-video.loaded {
    opacity: 1;
}

.hero-video-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    text-align: center;
    transition: opacity 0.5s ease;
}

.hero-video-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.video-loader-spinner {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
}

.spinner-ring {
    position: absolute;
    border: 3px solid transparent;
    border-top-color: var(--gold-accent);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}
.spinner-ring:nth-child(1) { width: 80px; height: 80px; animation-delay: 0s; }
.spinner-ring:nth-child(2) { width: 60px; height: 60px; top: 10px; left: 10px; animation-delay: -0.2s; border-top-color: rgba(253, 197, 0, 0.7); }
.spinner-ring:nth-child(3) { width: 40px; height: 40px; top: 20px; left: 20px; animation-delay: -0.4s; border-top-color: rgba(253, 197, 0, 0.4); }

@keyframes spin {
    to { transform: rotate(360deg); }
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent, rgba(0, 0, 0, 0.7));
    z-index: 2;
}

/* Background Geometry and Particles */
.hero-geometry, .hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}
.geometry-circle { position: absolute; border: 1px solid rgba(253, 197, 0, 0.2); border-radius: 50%; animation: float 10s ease-in-out infinite; }
.geometry-circle-1 { width: 20vw; height: 20vw; top: 10%; right: 5%; animation-delay: 0s; }
.geometry-circle-2 { width: 15vw; height: 15vw; bottom: 15%; left: 10%; animation-delay: 3s; }

.geometry-hexagon { position: absolute; width: 60px; height: 70px; background-color: rgba(253, 197, 0, 0.05); clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); animation: rotate 15s linear infinite; }
.geometry-hexagon-1 { top: 20%; left: 15%; }
.geometry-hexagon-2 { bottom: 25%; right: 20%; animation-delay: 5s; }

.geometry-line { position: absolute; background: linear-gradient(90deg, transparent, rgba(253, 197, 0, 0.3), transparent); animation: pulse 6s ease-in-out infinite; }
.geometry-line-1 { width: 1px; height: 150px; top: 30%; left: 30%; }
.geometry-line-2 { width: 150px; height: 1px; bottom: 50%; right: 30%; animation-delay: 2s; }
.geometry-line-3 { width: 1px; height: 100px; bottom: 10%; left: 50%; animation-delay: 4s; }

.particle { position: absolute; width: 3px; height: 3px; background: var(--gold-accent); border-radius: 50%; animation: particle-float 20s infinite linear; }
.particle-1 { top: 10%; left: 20%; animation-duration: 18s; } .particle-2 { top: 25%; left: 80%; animation-duration: 22s; animation-delay: 2s; }
.particle-3 { top: 40%; left: 50%; animation-duration: 15s; animation-delay: 4s; } .particle-4 { top: 55%; left: 10%; animation-duration: 25s; animation-delay: 6s; }
.particle-5 { top: 70%; left: 90%; animation-duration: 17s; animation-delay: 8s; } .particle-6 { top: 85%; left: 30%; animation-duration: 23s; animation-delay: 10s; }
.particle-7 { top: 5%; left: 60%; animation-duration: 19s; animation-delay: 12s; } .particle-8 { top: 95%; left: 70%; animation-duration: 21s; animation-delay: 14s; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 0.1; } 50% { opacity: 0.4; } }
@keyframes particle-float { 0% { transform: translateY(0) translateX(0); opacity: 0; } 10% { opacity: 0.7; } 90% { opacity: 0.7; } 100% { transform: translateY(-100px) translateX(var(--x-end, 50px)); opacity: 0; } }

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 4;
    padding: 0 1rem;
}

.hero-badge { display: inline-flex; align-items: center; gap: 12px; background: rgba(0,0,0,0.3); backdrop-filter: blur(10px); border: 1px solid rgba(253, 197, 0, 0.4); border-radius: 50px; padding: 10px 20px; margin-bottom: 2rem; }
.badge-icon { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: var(--gold-accent); color: var(--dark-color); border-radius: 50%; font-size: 1.1rem; }
.badge-content { text-align: left; }
.badge-text { font-weight: 600; font-size: 0.95rem; }
.badge-subtext { font-size: 0.8rem; opacity: 0.8; }

.hero-title { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; line-height: 1.2; text-shadow: 0 4px 15px rgba(0,0,0,0.5); margin-bottom: 1.5rem; }
.hero-title-main { display: block; }
.title-word { display: inline-block; }
.title-word.highlight { color: var(--gold-accent); }
.hero-title-sub { display: block; font-size: 0.7em; font-weight: 500; opacity: 0.9; }

.hero-subtitle-container { margin-bottom: 2.5rem; }
.hero-subtitle { font-size: clamp(1.1rem, 2.5vw, 1.4rem); max-width: 600px; margin: 0 auto 1rem; opacity: 0.9; }
.subtitle-decoration { width: 80px; height: 2px; background: var(--gold-accent); margin: auto; border-radius: 2px; }

/* Enhanced Buttons */
.hero-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-bottom: 4rem; }
.btn-hero { padding: 16px 32px; font-size: 1rem; font-weight: 600; border-radius: 50px; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; transition: var(--transition-smooth); overflow: hidden; border: 2px solid transparent; position: relative; }
.btn-primary.btn-hero { background: var(--gold-accent); color: var(--dark-color); box-shadow: 0 4px 20px rgba(253, 197, 0, 0.3); }
.btn-secondary.btn-hero { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.4); }
.btn-hero:hover { transform: translateY(-3px); }
.btn-primary.btn-hero:hover { box-shadow: 0 6px 25px rgba(253, 197, 0, 0.4); }
.btn-secondary.btn-hero:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--gold-accent); }
.btn-content { z-index: 1; position: relative; }
.btn-shine { position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,0.25), transparent); transition: left 0.6s ease; }
.btn-hero:hover .btn-shine { left: 100%; }

/* Scroll Down Indicator */
.scroll-indicator { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); cursor: pointer; }
.animate-bounce { animation: bounce 2s infinite; }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-15px); } 60% { transform: translateY(-7px); } }
.scroll-mouse { width: 24px; height: 40px; border: 2px solid rgba(255,255,255,0.7); border-radius: 12px; margin: auto; }
.scroll-wheel { width: 4px; height: 8px; background: rgba(255,255,255,0.7); border-radius: 2px; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); animation: scrollWheel 2s infinite; }
@keyframes scrollWheel { from { top: 6px; opacity: 1; } to { top: 20px; opacity: 0; } }
.scroll-indicator span { display: block; margin-top: 10px; font-size: 0.8rem; opacity: 0.7; }

/* Animation Classes */
.animate-slide-down { animation: slideDown 1s ease-out both; }
.animate-fade-up { animation: fadeUp 1s ease-out both; animation-delay: 0.3s; }
.hero-subtitle-container.animate-fade-up { animation-delay: 0.5s; }
.hero-buttons.animate-fade-up { animation-delay: 0.7s; }

@keyframes slideDown { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }



/* ======================================= */
/* === Certification In Progress Badge === */
/* ======================================= */

.cert-single {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
}

.certification-in-progress {
    position: relative;
    width: 100%;
    max-width: 600px; /* Adjust size as needed */
    min-height: 200px;
    background-color: rgba(66, 66, 66, 0.05); /* Dark, subtle background */
    border: 2px dashed var(--border-gray);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    overflow: hidden; /* Important for the scanline effect */
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.certification-in-progress:hover {
    border-color: var(--gold-accent);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* Animated Scanline */
.certification-in-progress::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 211, 82, 0.2) 50%, /* Gold accent color for the scan */
        rgba(255, 255, 255, 0) 100%
    );
    animation: scan-effect 3s linear infinite;
}

@keyframes scan-effect {
    from {
        top: -100%;
    }
    to {
        top: 100%;
    }
}

/* Pulsing Icon */
.cip-icon {
    font-size: 3.5rem;
    color: var(--primary-dark-blue);
    margin-bottom: 1rem;
    animation: pulse-glow 2.5s ease-in-out infinite;
    z-index: 1;
}

@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
        color: var(--gold-accent);
    }
}

/* Text Styling */
.cip-text {
    z-index: 1;
}

.cip-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.cip-text p {
    font-size: 1rem;
    color: var(--text-gray);
    opacity: 0.8;
    margin: 0;
}

/* =================================== */
/* === GRIEVANCE PAGE STYLES === */
/* =================================== */

.grievance-info-section {
    padding: 80px 0;
}

.grievance-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
    background-color: var(--light-gray);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-gray);
}

.grievance-intro i {
    font-size: 3rem;
    color: var(--primary-dark-blue);
    margin-bottom: 1rem;
    display: inline-block;
}

.grievance-intro h2 {
    margin-bottom: 1rem;
}

.grievance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.grievance-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--primary-dark-blue);
    transition: var(--transition-smooth);
}

.grievance-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.grievance-card .card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-gray);
}

.grievance-card .card-header i {
    font-size: 2rem;
    color: var(--primary-dark-blue);
}

.grievance-card h3 {
    margin: 0;
    font-size: 1.3rem;
}

.grievance-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.grievance-card li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-gray);
}

.grievance-card li i {
    color: var(--gold-accent);
}

/* Process Steps */
.process-steps {
    display: grid;
    gap: 2rem;
    margin-bottom: 4rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 5px solid var(--gold-accent);
}

[dir="rtl"] .step-item {
    border-left: none;
    border-right: 5px solid var(--gold-accent);
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--primary-dark-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-content h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

/* Commitment Cards */
.commitment-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.commitment-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.commitment-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.commitment-card i {
    font-size: 2.5rem;
    color: var(--gold-accent);
    margin-bottom: 1rem;
}

.commitment-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* External & Mediation */
.external-complaints {
    border-top-color: var(--success-green);
}
.external-contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    word-break: break-all;
}
.external-contact-info i {
    color: var(--success-green);
}

.mediation-option {
    background: rgba(253, 197, 0, 0.05);
    border-top-color: var(--gold-accent);
}

/* Grievance Form Styling */
.grievance-fieldset {
    border: 1px solid var(--border-gray);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: var(--border-radius);
}

.grievance-fieldset legend {
    padding: 0 10px;
    font-weight: 600;
    color: var(--primary-dark-blue);
}

/* Re-using contact form styles */
#grievance-form .form-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

#grievance-form .input-wrapper input[type="date"],
#grievance-form .input-wrapper input[type="file"] {
    padding-top: 10px;
    padding-bottom: 10px;
}

#grievance-form .radio-group,
#grievance-form .checkbox-group {
    padding-top: 10px;
}