/* style.css */
/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #0A2463;
    --charcoal: #2E2E2E;
    --accent-gold: #D4AF37;
    --light-gold: #F5C542;
    --light-gray: #F5F5F5;
    --medium-gray: #E9ECEF;
    --white: #FFFFFF;
    --dark-overlay: linear-gradient(90deg, rgba(10, 36, 99, 0.85) 0%, rgba(46, 46, 46, 0.75) 100%);
}

body {
    font-family: 'Montserrat', 'Cairo', sans-serif;
    overflow-x: hidden;
    direction: rtl;
    color: var(--charcoal);
}

.container {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
}

.section-heading {
    font-family: 'Cairo', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.section-heading-en {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.divider-center {
    width: 60px;
    height: 3px;
    background-color: var(--accent-gold);
    margin: 0 auto 30px auto;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--charcoal);
    border: none;
    padding: 15px 35px;
    font-family: 'Cairo', sans-serif;
    font-size: 16px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary:hover {
    background-color: var(--light-gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-overlay);
    z-index: -1;
}

.navbar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2000; /* Keep navbar above all page content */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background-color: rgba(10, 36, 99, 0.95);
    padding: 15px 5%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-en {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
}

.logo-ar {
    font-family: 'Cairo', sans-serif;
    font-size: 18px;
    color: var(--accent-gold);
    margin-top: 5px;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-family: 'Cairo', sans-serif;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
    color: var(--accent-gold);
}

/* ===== NAV DROPDOWN ===== */
.nav-item {
    position: relative;
}

.has-dropdown {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Font Awesome chevron */
.has-dropdown::after {
    content: "\f107";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 12px;
    transition: transform 0.2s ease;
}

.dropdown.open > .has-dropdown::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 220px;
    background: rgba(10, 36, 99, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.18);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3000; /* Ensure dropdown is above the page */
}

.dropdown-menu a,
.dropdown-item {
    display: block;
    padding: 10px 18px;
    color: var(--white);
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-menu a:hover,
.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--accent-gold);
}

.dropdown.open > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Enable hover only on devices that actually support it */
@media (hover: hover) and (pointer: fine) {
    .dropdown:hover > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
}

/* Ensure dropdowns can escape the navbar/hero area */
.navbar,
.nav-links {
    overflow: visible;
}

.language-toggle {
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    cursor: pointer;
    margin-right: 20px;
}

.language-toggle span.active {
    color: var(--accent-gold);
    font-weight: 700;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-direction: column;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background-color: var(--white);
    border-radius: 999px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-toggle:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 3px;
}

body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(-45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(45deg);
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 900;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.nav-open .nav-overlay {
    opacity: 1;
    pointer-events: auto;
}

body.nav-open {
    overflow: hidden;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    margin-top: 60px;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title-en {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
    letter-spacing: 1px;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}

.hero-title-ar {
    font-family: 'Cairo', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.3;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
}

.hero-title-divider {
    width: 80px;
    height: 3px;
    background-color: var(--accent-gold);
    margin: 0 auto 30px auto;
    opacity: 0;
    animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 50px;
    max-width: 700px;
    margin-right: auto;
    margin-left: auto;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.7s forwards;
}

.cta-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    opacity: 0;
    animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards;
}

.cta-primary {
    background-color: var(--accent-gold);
    color: var(--charcoal);
    border: none;
    padding: 18px 40px;
    font-family: 'Cairo', sans-serif;
    font-size: 18px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.cta-primary:hover {
    background-color: var(--light-gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cta-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 16px 35px;
    font-family: 'Cairo', sans-serif;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-secondary:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    right: 50%;
    transform: translateX(50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--white);
    opacity: 0;
    animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) 1s forwards;
}

.scroll-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    margin-bottom: 10px;
    letter-spacing: 1px;
    opacity: 0.7;
}

.scroll-icon {
    font-size: 20px;
    animation: bounce 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

/* ===== SECTION 2: VISION & MISSION ===== */
.vision-mission-section {
    padding: 100px 0;
    background-color: var(--white);
    position: relative;
    z-index: 10;
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.vm-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(10, 36, 99, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(10, 36, 99, 0.05);
    height: 100%;
}

.vm-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(10, 36, 99, 0.12);
}

.vm-card-inner {
    padding: 50px 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.vm-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(10, 36, 99, 0.1);
}

.vm-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1a3a8f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 28px;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.vm-card:hover .vm-icon {
    transform: scale(1.05);
}

.vm-title {
    font-family: 'Cairo', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0;
    line-height: 1.2;
}

.vm-content {
    flex-grow: 1;
}

.vm-text {
    font-family: 'Cairo', sans-serif;
    font-size: 20px;
    line-height: 1.8;
    color: var(--charcoal);
    text-align: right;
    margin: 0;
    opacity: 0.9;
}

/* ===== SECTION 3: ABOUT COMPANY ===== */
.about-section {
    background: linear-gradient(90deg, #F8F9FA 0%, #E9ECEF 100%);
    padding: 100px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-family: 'Cairo', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 25px;
}

.about-text p {
    font-family: 'Cairo', sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: var(--charcoal);
    margin-bottom: 25px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 34px;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 8px;
}

.stat-label {
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    color: var(--charcoal);
}

.stat-item {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(10, 36, 99, 0.08);
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(10, 36, 99, 0.08);
    backdrop-filter: blur(8px);
    padding: 22px 18px;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image img:hover {
    transform: scale(1.02);
}

/* ===== SECTION 4: SERVICES OVERVIEW ===== */
.services-section {
    background-color: var(--white);
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-image {
    height: 200px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    background: var(--primary-dark);
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: right;
}

.service-title {
    font-family: 'Cairo', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
    line-height: 1.3;
}

.service-title-en {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.service-desc {
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 25px;
    flex-grow: 1;
}

.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--accent-gold);
    color: var(--charcoal);
    padding: 12px 25px;
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    width: fit-content;
    text-align: center;
}

.service-cta:hover {
    background-color: var(--light-gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-cta span.english-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    opacity: 0.9;
    margin-right: 5px;
}

.service-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: rgba(255, 255, 255, 0.95);
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-size: 22px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 2;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-badge {
    transform: scale(1.1) rotate(5deg);
}

.service-image::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to bottom, rgba(10, 36, 99, 0) 70%, rgba(10, 36, 99, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-image::after {
    opacity: 1;
}

.services-cta-container {
    text-align: center;
    margin-top: 50px;
}

/* ===== SECTION 5: STATISTICS SECTION ===== */
.stats-section {
    padding: 100px 0;
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1554147090-e1221a04a025?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.stats-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 36, 99, 0.9);
}

.stats-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr ;
    gap: 60px;
    align-items: center;
}

.stats-text h3 {
    font-family: 'Cairo', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.stats-text p {
    font-family: 'Cairo', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

.stats-numbers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.stat-box {
    text-align: center;
    padding: 30px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-box-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 10px;
}
.ourquality {
    
    font-size: 21px;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: px;
}
.stat-box-label {
    font-family: 'Cairo', sans-serif;
    font-size: 20px;
    color: var(--white);
    font-weight: 600;
}

/* ===== SECTION 6: WHY CHOOSE US ===== */
.why-stentorian-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f9fafc 0%, #f0f3f8 100%);
    position: relative;
    overflow: hidden;
}

.why-stentorian-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: 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='%230a2463' fill-opacity='0.02' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: 0;
}

.why-stentorian-content {
    position: relative;
    z-index: 1;
}

.why-stentorian-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 70px;
}

.why-stentorian-header .section-label {
    color: var(--accent-gold);
}

.why-stentorian-header .section-heading {
    color: var(--primary-dark);
    margin-bottom: 25px;
}

.why-stentorian-intro {
    font-family: 'Cairo', sans-serif;
    font-size: 20px;
    line-height: 1.7;
    color: var(--charcoal);
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

.why-stentorian-intro-en {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    color: var(--charcoal);
    text-align: center;
    max-width: 700px;
    margin: 15px auto 0;
    opacity: 0.8;
    font-weight: 500;
}

.value-points {
    display: flex;
    flex-direction: column;
    max-width: 900px;
    margin: 0 auto;
    gap: 40px;
}

.value-point {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 30px;

    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.value-point::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--accent-gold);
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-point-marker {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1a3a8f 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-point:hover .value-point-marker {
    transform: scale(1.1);
}

.value-point-marker::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    bottom: -2px;
    left: -2px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, transparent 100%);
    border-radius: 14px;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.value-point-content {
    flex: 1;
    text-align: right;

    
}

.value-point-title {
    font-family: 'Cairo', sans-serif;
    font-size: 22px;
    font-weight: 550;
    color: var(--primary-dark);
    margin-top: 0px;
 
}

.value-point-title-en {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 15px;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

.value-point-desc {
    font-family: 'Cairo', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.value-point:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.value-point:hover::before {
    opacity: 1;
}

.value-point:hover .value-point-marker::after {
    opacity: 0.5;
}

.value-point + .value-point {
    position: relative;
}

.value-point + .value-point::after {
    content: '';
    position: absolute;
    top: -20px;
    right: 20%;
    left: 20%;
    height: 1px;
    background: linear-gradient(to left, transparent, rgba(0, 0, 0, 0.05), transparent);
}

/* ===== SECTION 7: FINAL CTA ===== */
.final-cta-section {
    padding: 100px 0;
    background-color: var(--primary-dark);
    text-align: center;
}

.final-cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.final-cta-title {
    font-family: 'Cairo', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.final-cta-text {
    font-family: 'Cairo', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
}

/* ===== SECTION 8: FOOTER ===== */
.footer {
    background-color: var(--charcoal);
    color: var(--white);
    padding: 70px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 50px;
}

.footer-column {
    padding: 0 15px;
}

.footer-column h4 {
    font-family: 'Cairo', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--white);
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -10px;
    width: 40px;
    height: 2px;
    background-color: var(--accent-gold);
}

.footer-brand .footer-logo {
    margin-bottom: 20px;
}

.footer-logo-en {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.footer-logo-ar {
    font-family: 'Cairo', sans-serif;
    font-size: 16px;
    color: var(--accent-gold);
}

.footer-description {
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

.footer-nav .footer-links {
    list-style: none;
}

.footer-nav .footer-links li {
    margin-bottom: 12px;
}

.footer-nav .footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-nav .footer-links a:hover {
    color: var(--accent-gold);
    padding-right: 5px;
}

.footer-nav .footer-links i {
    font-size: 12px;
    opacity: 0.7;
}

.footer-contact .contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-item i {
    color: var(--accent-gold);
    font-size: 16px;
    margin-top: 3px;
    flex-shrink: 0;
}

.contact-item div {
    flex: 1;
}

.contact-item strong {
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    display: block;
    margin-bottom: 3px;
}

.contact-item p {
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.5;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-link {
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 16px;
}

.social-link:hover {
    background-color: var(--accent-gold);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal {
    margin-top: 10px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin: 0 8px;
    transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-legal a:hover {
    color: var(--accent-gold);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content,
    .stats-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .vision-mission-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 40px auto 0;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .footer-brand .footer-logo {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-column h4::after {
        right: 0;
        left: 0;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    .navbar {
        padding: 15px 5%;
    }
    
    .nav-toggle {
        display: inline-flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        height: 100dvh;
        background: rgba(10, 36, 99, 0.97);
        flex-direction: column;
        align-items: flex-start;
        padding: 120px 30px 40px;
        gap: 18px;
        transform: translateX(100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -16px 0 32px rgba(0, 0, 0, 0.15);
        z-index: 1100;
    }

    /* Dropdown inside mobile drawer */
    .dropdown-menu {
        position: static;
        min-width: 100%;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        transform: none;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: max-height 0.25s ease, opacity 0.2s ease, visibility 0.2s ease;
    }

    .dropdown.open > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        max-height: 420px;
        padding: 6px 0 8px;
    }

    .dropdown-menu a,
    .dropdown-item {
        padding: 10px 12px;
        color: rgba(255, 255, 255, 0.9);
    }
    
    body.nav-open .nav-links {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    .nav-links a,
    .language-toggle {
        width: 100%;
        text-align: right;
    }
    
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
        height: 100vh;
        height: 100dvh;
        padding-top: 90px;
        padding-bottom: 40px;
    }
    
    .hero-content {
        margin-top: 0;
        padding: 0 15px;
    }
    
    .hero-title-en {
        font-size: 36px;
        animation-duration: 0.6s;
    }
    
    .hero-title-ar {
        font-size: 32px;
        animation-duration: 0.6s;
    }
    
    .hero-subtitle {
        font-size: 16px;
        animation-duration: 0.6s;
    }
    
    .cta-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        animation-duration: 0.6s;
    }
    
    .cta-primary,
    .cta-secondary {
        width: 100%;
        max-width: 280px;
    }
    
    .scroll-indicator {
        bottom: 20px;
        animation-duration: 0.6s;
    }
    
    .section-heading {
        font-size: 28px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 40px auto 0;
    }
    
    .about-stats {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .stats-numbers {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-column {
        padding: 0;
    }
    
    .footer-nav .footer-links a {
        justify-content: center;
    }
    
    .contact-item {
        justify-content: center;
        text-align: center;
    }
    
    .vm-card-inner {
        padding: 40px 30px;
    }
    
    .vm-title {
        font-size: 28px;
    }
    
    .vm-text {
        font-size: 18px;
    }
    
    .vm-card-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .vm-icon {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
        height: 100vh;
        height: 100dvh;
        padding-top: 80px;
        padding-bottom: 30px;
    }
    
    .hero-title-en {
        font-size: 30px;
    }
    
    .hero-title-ar {
        font-size: 26px;
    }
    
    .hero-subtitle {
        font-size: 15px;
        padding: 0 10px;
    }
    
    .cta-primary,
    .cta-secondary {
        padding: 16px 25px;
        font-size: 16px;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .stats-numbers {
        grid-template-columns: 1fr;
    }
    
    .stat-box {
        max-width: 250px;
        margin: 0 auto;
    }
    
    .service-image {
        height: 180px;
    }
    
    .vm-card-inner {
        padding: 30px 20px;
    }
    
    .vm-title {
        font-size: 24px;
    }
    
    .vm-text {
        font-size: 16px;
        line-height: 1.6;
    }
}

/* RESPONSIVE ANIMATION TIMING */
@media (max-width: 768px) {
    .reveal-element {
        transform: translateY(20px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }
}

/* PREVENT TEXT OVERFLOW */
@media (max-width: 768px) {
    h1, h2, h3, h4, h5, h6,
    .hero-title-en, .hero-title-ar,
    .service-title,
    .value-point-title {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    p, .hero-subtitle, .service-desc,
    .value-point-desc {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
}

/* FORCE REMOVE SIDE SCROLLBAR */
html, body {
    max-width: 100%;
    overflow-x: hidden !important;
}

* {
    max-width: 100%;
}

section {
    overflow-x: hidden;
}

.reveal-element,
.service-card,
.value-point,
.vm-card,
.stat-box {
    will-change: opacity;
    overflow-x: hidden;
}

/* NUMBER COUNTER ANIMATION */
.stat-number,
.stat-box-number {
    transition: opacity 0.2s ease;
}

.stat-number.animated,
.stat-box-number.animated {
    animation: fadeInUp 0.4s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* AOS CUSTOM DURATIONS */
[data-aos="zoom-in"] {
    opacity: 0;
    transform: scale(0.95);
    transition-property: opacity, transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos="zoom-in"].aos-animate {
    opacity: 1;
    transform: scale(1);
}

[data-aos="zoom-out"] {
    opacity: 0;
    transform: scale(1.05);
    transition-property: opacity, transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos="zoom-out"].aos-animate {
    opacity: 1;
    transform: scale(1);
}

/* RESPECT REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    
    .hero-content,
    .hero-title-en,
    .hero-title-ar,
    .hero-title-divider,
    .hero-subtitle,
    .cta-container,
    .scroll-indicator {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}
@media (max-width: 768px) {
    .stats-numbers {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stat-box {
        padding: 20px 15px;
    }
    
    .stat-box-number {
        font-size: 32px;
    }
}
/* Add to mobile section in CSS (around line 800-900) */
@media (max-width: 768px) {
    .footer-column,
    .footer-nav .footer-links,
    .footer-nav .footer-links a,
    .contact-item,
    .footer-brand .footer-logo,
    .footer-description {
        text-align: right !important;
        align-items: flex-end !important;
        justify-content: flex-end !important;
    }
    
    .footer-nav .footer-links a {
        flex-direction: row-reverse;
    }
    
    .contact-item {
        flex-direction: row;
    }
}
/* ===== COMPANY PROFILE PAGE STYLES ===== */

/* Updated: Hero Section for Company Profile */
.profile-hero {
    height: 40vh;
    min-height: 500px;
    max-height: 700px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.profile-hero .hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.profile-hero .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.profile-hero .hero-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10, 36, 99, 0.85) 0%, rgba(46, 46, 46, 0.75) 100%);
    z-index: -1;
}

.profile-hero .hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    margin: 80px auto 0;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

.profile-hero .hero-title-en {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
    letter-spacing: 1px;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}

.profile-hero .hero-title-ar {
    font-family: 'Cairo', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.3;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
}

.profile-hero .hero-title-divider {
    width: 80px;
    height: 3px;
    background-color: var(--accent-gold);
    margin: 0 auto 25px auto;
    opacity: 0;
    animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
}

.profile-hero .hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 600px;
    margin-right: auto;
    margin-left: auto;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.7s forwards;
}

.profile-hero .scroll-indicator {
    position: absolute;
    bottom: 30px;
    right: 50%;
    transform: translateX(50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--white);
    opacity: 0;
    animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) 1s forwards;
}

/* Updated: Company Overview Section */
.company-overview-section {
    background-color: var(--white);
    padding-top: 80px;
}

.overview-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.overview-text {
    text-align: right;
}

.overview-intro {
    font-family: 'Cairo', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-dark);
    line-height: 1.6;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(10, 36, 99, 0.1);
}

.overview-details p {
    font-family: 'Cairo', sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: var(--charcoal);
    margin-bottom: 20px;
}

.overview-stats {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.stat-card {
    background: linear-gradient(135deg, rgba(10, 36, 99, 0.05) 0%, rgba(10, 36, 99, 0.02) 100%);
    border: 1px solid rgba(10, 36, 99, 0.1);
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(10, 36, 99, 0.1);
    border-color: var(--accent-gold);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1a3a8f 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    flex-shrink: 0;
}

.stat-content {
    flex: 1;
    text-align: right;
}

.stat-title {
    font-family: 'Cairo', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.stat-desc {
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    color: var(--charcoal);
    opacity: 0.8;
    line-height: 1.5;
}

/* Vision & Mission Section */
.profile-vision-mission {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.profile-vm-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.profile-vm-card {
    background: var(--white);
    border-radius: 16px;
    padding: 50px 40px;
    box-shadow: 0 15px 40px rgba(10, 36, 99, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.profile-vm-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(10, 36, 99, 0.12);
}

.vision-card {
    border-top: 5px solid var(--accent-gold);
}

.mission-card {
    border-top: 5px solid var(--primary-dark);
}

.profile-vm-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.profile-vm-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1a3a8f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 28px;
    flex-shrink: 0;
}

.mission-card .profile-vm-icon {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #f5c542 100%);
}

.profile-vm-title {
    font-family: 'Cairo', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0;
}

.profile-vm-content {
    flex-grow: 1;
}

.profile-vm-text {
    font-family: 'Cairo', sans-serif;
    font-size: 20px;
    line-height: 1.8;
    color: var(--charcoal);
    text-align: right;
    margin: 0;
}

.profile-vm-decoration {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
}

.decoration-line {
    height: 2px;
    background: linear-gradient(90deg, var(--accent-gold), var(--primary-dark));
    animation: lineMove 20s linear infinite;
}

@keyframes lineMove {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Values Section */
.values-section {
    background-color: var(--white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(10, 36, 99, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(10, 36, 99, 0.05);
    height: 100%;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(10, 36, 99, 0.12);
}

.value-card-inner {
    padding: 40px 30px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.value-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1a3a8f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 32px;
    margin-bottom: 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-card:hover .value-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.value-card-title {
    font-family: 'Cairo', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.value-card-desc {
    font-family: 'Cairo', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--charcoal);
    opacity: 0.8;
}

/* Business Scope Section */
.scope-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1a3a8f 100%);
    color: var(--white);
}

.scope-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.scope-text .section-label {
    color: var(--accent-gold);
}

.scope-text .section-heading {
    color: var(--white);
}

.divider-left {
    width: 60px;
    height: 3px;
    background-color: var(--accent-gold);
    margin: 0 0 30px 0;
}

.scope-description {
    font-family: 'Cairo', sans-serif;
    font-size: 20px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.scope-cta {
    background-color: var(--accent-gold);
    color: var(--charcoal);
}

.scope-cta:hover {
    background-color: var(--light-gold);
}

.scope-visual {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.scope-visual-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.scope-visual:hover .scope-visual-image img {
    transform: scale(1.05);
}

.scope-visual-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background: linear-gradient(to top, rgba(10, 36, 99, 0.9), transparent);
    padding: 30px;
}

.scope-visual-content h4 {
    font-family: 'Cairo', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 5px;
}

.scope-visual-content p {
    font-family: 'Cairo', sans-serif;
    font-size: 16px;
    color: var(--accent-gold);
    margin: 0;
}

/* Geography Section */
.geography-section {
    background-color: var(--white);
}

.geography-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.geography-visual {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    order: 2;
}

.geography-text {
    order: 1;
}

.geography-visual-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.geography-visual:hover .geography-visual-image img {
    transform: scale(1.05);
}

.geography-visual-overlay {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    background: linear-gradient(to bottom, rgba(10, 36, 99, 0.9), transparent);
    padding: 30px;
}

.geography-visual-content h4 {
    font-family: 'Cairo', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 5px;
}

.geography-visual-content p {
    font-family: 'Cairo', sans-serif;
    font-size: 16px;
    color: var(--accent-gold);
    margin: 0;
}

.geography-text .section-label {
    color: var(--accent-gold);
}

.geography-text .section-heading {
    color: var(--primary-dark);
}

.geography-description {
    font-family: 'Cairo', sans-serif;
    font-size: 20px;
    line-height: 1.7;
    color: var(--charcoal);
    margin-bottom: 40px;
}

.geography-cta {
    background-color: var(--accent-gold);
    color: var(--charcoal);
}

.geography-cta:hover {
    background-color: var(--light-gold);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .profile-hero {
        height: 55vh;
        min-height: 450px;
    }
}

@media (max-width: 992px) {
    .profile-hero {
        height: 50vh;
        
        min-height: 400px;
    }
    
    .profile-hero .hero-title-en {
        font-size: 32px;
    }
    
    .profile-hero .hero-title-ar {
        font-size: 28px;
    }
    
    .profile-hero .hero-subtitle {
        font-size: 16px;
    }
    
    .overview-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .profile-vm-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
    
    .scope-content,
    .geography-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .geography-visual {
        order: 1;
    }
    
    .geography-text {
        order: 2;
    }
    
    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    .profile-hero {
        height: 45vh;
        min-height: 350px;
        max-height: 450px;
    }
    
    .profile-hero .hero-content {
        margin-top: 60px;
    }
    
    .profile-hero .hero-title-en {
        font-size: 28px;
    }
    
    .profile-hero .hero-title-ar {
        font-size: 24px;
    }
    
    .profile-hero .hero-subtitle {
        font-size: 15px;
        max-width: 90%;
    }
    
    .profile-hero .scroll-indicator {
        bottom: 20px;
    }
    
    .profile-vm-card {
        padding: 40px 30px;
    }
    
    .profile-vm-title {
        font-size: 28px;
    }
    
    .profile-vm-text {
        font-size: 18px;
    }
    
    .profile-vm-card-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .overview-intro {
        font-size: 20px;
    }
    
    .overview-details p {
        font-size: 16px;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .scope-description,
    .geography-description {
        font-size: 18px;
    }
    
    .scope-visual-image img,
    .geography-visual-image img {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .profile-hero {
        min-height: 300px;
        max-height: 400px;
        height: auto;
    }
    
    .profile-hero .hero-title-en {
        font-size: 24px;
    }
    
    .profile-hero .hero-title-ar {
        font-size: 22px;
    }
    
    .profile-hero .hero-subtitle {
        font-size: 14px;
    }
    
    .profile-vm-card {
        padding: 30px 20px;
    }
    
    .profile-vm-title {
        font-size: 24px;
    }
    
    .profile-vm-text {
        font-size: 16px;
        line-height: 1.6;
    }
    
    .value-card-inner {
        padding: 30px 20px;
    }
    
    .value-card-title {
        font-size: 20px;
    }
    
    .value-card-desc {
        font-size: 15px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .company-overview-section {
        padding-top: 60px;
    }
}

/* For very small screens */
@media (max-width: 380px) {
    .profile-hero {
        height: 35vh;
        min-height: 250px;
    }
    
    .profile-hero .hero-title-en {
        font-size: 22px;
    }
    
    .profile-hero .hero-title-ar {
        font-size: 20px;
    }
    
    .profile-hero .hero-subtitle {
        font-size: 13px;
    }
}

/* Print styles for company profile */
@media print {
    .profile-hero {
        height: auto;
        min-height: auto;
        max-height: none;
        break-inside: avoid;
    }
    
    .profile-hero .scroll-indicator {
        display: none;
    }
    
    .profile-hero .hero-bg,
    .profile-hero .hero-overlay {
        display: none;
    }
    
    .profile-hero .hero-content {
        color: #000;
        animation: none;
        opacity: 1;
    }
    
    .profile-hero .hero-title-en,
    .profile-hero .hero-title-ar {
        color: #000;
        animation: none;
        opacity: 1;
    }
    
    .profile-hero .hero-subtitle {
        color: #333;
        animation: none;
        opacity: 1;
    }
}
.text-justify {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}
.nav-link.active {
    color: var(--accent-gold) !important;
    font-weight: 700;
}
.text-justify-ar {
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.9;
}
.service-info {
    display: flex;
    align-items: center;
}

