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

body {
    font-family: 'Cairo', 'Arial', sans-serif;
    overflow-x: hidden;
}

/* Navigation Bar */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    z-index: 1000;
    padding: 0.6rem 0 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.25rem;
    background: rgba(6, 23, 41, 0.36);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo a:hover {
    opacity: 0.8;
}

.logo-image {
  width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10%;
    margin-bottom: 0.5rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    transition: color 0.3s ease;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.logo a:hover .logo-text {
    color: #f0f0f0;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

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

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

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
}

.nav-link:hover {
    color: #f0f0f0;
    background: rgba(255, 255, 255, 0.14);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

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

.lang-toggle {
    background: linear-gradient(135deg, #2f9ce8 0%, #2186cf 100%);
    color: white;
    border: none;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease;
    font-size: 0.9rem;
    box-shadow: 0 4px 14px rgba(33, 134, 207, 0.45);
}

.lang-toggle:hover {
    background: #2980b9;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(33, 134, 207, 0.5);
}

.mobile-lang-item {
    display: none;
}

/* Slider Section */
.slider-section {
    position: relative;
    height: 100vh;
    --slider-top-offset: 126px;
    overflow: hidden;
    margin-top: 0;
}

/* Navbar inside slider */
.slider-section .navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* Fixed navbar after slider */
.navbar-fixed {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border-bottom: none !important;
    transition: all 0.3s ease !important;
}

.navbar-fixed .nav-container {
    background: rgba(255, 255, 255, 0.95) !important;
    border-color: rgba(30, 60, 114, 0.14) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.navbar-fixed .logo-text {
    color: #1a1a1a !important;
    text-shadow: none !important;
}

.navbar-fixed .nav-link {
    color: #1a1a1a !important;
    text-shadow: none !important;
}

.navbar-fixed .nav-link::after {
    background: #2c3e50 !important;
}

.navbar-fixed .nav-link:hover {
    color: #2c3e50 !important;
}

/* Body padding when navbar is fixed (for contact and join pages) */
body:has(.navbar-fixed) {
    padding-top: 0;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: var(--slider-top-offset);
    left: 0;
    width: 100%;  
    object-fit: cover; 
    height: calc(100vh - var(--slider-top-offset)); 
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-image {
    width: 100%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
} 



.slide-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.slide-content {
    position: absolute;
    top: auto;
    bottom: clamp(70px, 12vh, 120px);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    z-index: 10;
    max-width: 800px;
    padding: 2rem;
}

.slide-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease;
}

.slide-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease;
}

.learn-more-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
    animation: fadeInUp 1.2s ease;
    text-decoration: none;
    display: inline-block;
}

.learn-more-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.6);
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: white;
    font-size: 3rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    display: none;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.prev-arrow {
    left: 2rem;
}

.next-arrow {
    right: 2rem;
}

/* RTL Support - Reverse arrows for Arabic */
[dir="rtl"] .prev-arrow {
    left: auto;
    right: 2rem;
}

[dir="rtl"] .next-arrow {
    right: auto;
    left: 2rem;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 100;
}

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

.dot.active {
    background: white;
    transform: scale(1.3);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Our Services Section */
.services-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: white;
    padding: 5rem 2rem 4rem;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.services-section.animate {
    opacity: 1;
    transform: translateY(0);
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.services-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: #2c3e50;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2.5rem;
    transform: rotate(0deg);
    animation: fadeInUp 0.8s ease;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.8s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

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

.service-card.topographic-featured-card .topographic-featured-image {
    height: 300px;
}

.service-content {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-title {
    font-size: 1rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.service-description {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
    margin-bottom: 0.8rem;
    flex-grow: 1;
}

.read-more-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    align-self: flex-start;
    text-decoration: none;
    display: inline-block;
}

.read-more-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

/* Almesbar Boats Section */
.boats-section {
    position: relative;
    width: 100%;
    background: white;
    padding: 5rem 2rem 4rem;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.boats-section.animate {
    opacity: 1;
    transform: translateY(0);
}

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

.boats-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #2c3e50;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease;
}

.boats-title::before {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    margin: 0 auto 1rem;
    border-radius: 2px;
}

.boats-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.boats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.boat-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 350px;
    display: flex;
    flex-direction: column;
}

.boat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.boat-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    flex: 1;
}

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

.boat-gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
}

.boat-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem 1.5rem;
    z-index: 10;
}

.boat-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
}

.boat-spec {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    line-height: 1.5;
}

/* Equipments Section */
.equipments-section {
    position: relative;
    width: 100%;
    background: #f0f8ff;
    padding: 5rem 2rem 4rem;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.equipments-section.animate {
    opacity: 1;
    transform: translateY(0);
}

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

.equipments-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #2c3e50;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease;
}

.equipments-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.equipment-arrow {
    background: #2c3e50;
    color: white;
    border: none;
    font-size: 2.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 10;
}

.equipment-arrow:hover {
    background: #3498db;
    transform: scale(1.1);
}

.equipments-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: 1;
    padding: 1rem 0;
}

.equipments-slider::-webkit-scrollbar {
    display: none;
}

.equipment-card {
    background: #b8d4e8;
    border-radius: 25px;
    padding: 1rem;
    text-align: center;
    min-width: 250px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.equipment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.equipment-image-wrapper {
    width: 280px;
    height: 250px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.equipment-image {
    width: 80%;
    height: 80%;
    object-fit: cover;
}

/* Gyro card: show full image without cropping */
.equipment-card-gyro .equipment-image {
    width: 92%;
    height: 92%;
    object-fit: contain;
    object-position: center;
}

/* Zoom out specific equipment thumbnails */
.equipment-card-side-scan .equipment-image,
.equipment-card-sub-bottom .equipment-image {
    width: 68%;
    height: 68%;
    object-fit: contain;
    object-position: center;
}

.equipment-image-multi {
    width: 85%;
    height: 85%;
    object-fit: cover;
} 

 
.equipment-name {
    font-size: 1.1rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.equipment-spec {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.equipment-learn-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
}

.equipment-learn-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

/* Our Projects Section - Gallery Style */
.projects-section {
    position: relative;
    width: 100%;
    background: #f0f8ff;
    padding: 5rem 2rem 4rem;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.projects-section.animate {
    opacity: 1;
    transform: translateY(0);
}

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

.projects-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: #1e3c72;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease;
}

.projects-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    position: relative; 

    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: opacity 0.75s ease, transform 0.75s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(28px);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item.in-view {
    opacity: 1;
    transform: translateY(0);
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: none;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-title {
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.4rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
}

.gallery-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    line-height: 1.4;
}

.gallery-view-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 0.65rem 1.2rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    text-decoration: none;
    display: inline-block;
}

.gallery-view-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    z-index: 10001;
    transition: transform 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.lightbox-close:hover {
    transform: rotate(90deg);
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 3rem;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.2rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem 2rem;
    border-radius: 5px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Detail Modal */
.detail-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
}

.detail-modal.active {
    display: flex;
}

.detail-modal-content {
    background: white;
    border-radius: 15px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.detail-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: #333;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
}

.detail-modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
}

.detail-modal-body {
    padding: 3rem;
}

.detail-modal-body h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-right: 3rem;
}

.detail-modal-body img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.detail-modal-body p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1rem;
}

.detail-modal-body ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.detail-modal-body li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 0.5rem;
}

/* Our Clients Section */
.clients-section {
    position: relative;
    width: 100%;
    background: #f0f8ff;
    padding: 5rem 2rem 4rem;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.clients-section.animate {
    opacity: 1;
    transform: translateY(0);
}

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

.clients-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #1e3c72;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
}
.whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white;
    padding: 12px 18px;
    border-radius: 50px;
    font-family: Arial, sans-serif;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

.whatsapp-btn img {
    width: 22px;
    height: 22px;
    filter: invert(1);
}

.whatsapp-btn:hover {
    background: #1ebe5d;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}
.client-logo { 
    width: 100%; 
    /* height: 300px; */
    background: white;
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.client-logo:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.client-logo-img {
    max-width: 100%;
    max-height: 120px; /* ÙƒØ¨Ø±Ù†Ø§Ù‡Ø§ */
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Footer */
.footer {
    background: #1e3c72;
    color: white;
    padding: 4rem 2rem 2rem;
    width: 100%;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    align-items: start;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 0;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
}


.footer-logo-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10%;
    margin-bottom: 0.5rem;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.footer-title {
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    color: white;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 0;
    margin: 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.footer-links a:hover {
    color: white;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    overflow-wrap: anywhere;
    line-height: 1.5;
}

.contact-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 0.15rem;
}

.map-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.map-placeholder {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.map-placeholder iframe {
    display: block;
    width: 100%;
    max-width: 100%;
}

.view-map-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.view-map-link:hover {
    color: white;
}

.footer-social {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    gap: 0.7rem;
}

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.14);
    color: white;
    text-decoration: none;
    transition: transform 0.25s ease, background-color 0.25s ease;
    justify-self: center;
}

.social-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.social-icon:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.24);
}

/* Responsive Design */
/* RTL Support for mobile menu */
[dir="rtl"] .nav-menu {
    right: auto;
    left: -100%;
}

[dir="rtl"] .nav-menu.active {
    right: auto;
    left: 0;
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0.65rem 0.8rem;
        flex-wrap: nowrap;
        position: relative;
        border-radius: 12px;
    }

    .mobile-menu-toggle {
        display: flex;
        order: 2;
        background: rgba(255, 255, 255, 0.18);
        border-radius: 10px;
        padding: 0.45rem;
    }

    [dir="rtl"] .mobile-menu-toggle {
        order: 0;
    }

    .lang-toggle {
        order: 3;
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    #langToggle {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 12px;
        right: -100%;
        width: min(82vw, 320px);
        height: calc(100vh - 24px);
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        align-items: flex-start;
        padding: 4.5rem 1.4rem 1.2rem;
        gap: 0;
        transition: right 0.3s ease;
        z-index: 1000;
        border-radius: 16px;
        box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
    }

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

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #e0e0e0;
    }

    .nav-menu .nav-join-item {
        display: none;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .mobile-lang-item {
        display: block;
        width: 100%;
        border-bottom: none !important;
        margin-top: 0.7rem;
        padding-top: 0.7rem;
        border-top: 1px solid #e0e0e0;
    }

    .mobile-lang-toggle {
        width: 100%;
        border-radius: 10px;
        justify-content: center;
    }

    .nav-link {
        display: block;
        padding: 0.95rem 0.4rem;
        color: #1a1a1a !important;
        text-shadow: none !important;
        font-size: 1rem;
        width: 100%;
        border-radius: 8px;
    }

    .nav-link::after {
        display: none;
    }

    .navbar-fixed .nav-menu {
        background: rgba(255, 255, 255, 0.98);
    }

    .navbar-fixed .mobile-menu-toggle span {
        background: #1a1a1a;
        box-shadow: none;
    }

    .logo-image {
        height: 40px;
        width: 40px;
        border-radius: 50%;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .slider-section {
        height: 100vh;
        min-height: 650px;
        background: #051a2f;
        --slider-top-offset: 112px;
    }

    .slide {
        display: grid;
        grid-template-rows: 62% auto;
        align-content: start;
    }

    .slide-image {
        height: 62%;
        flex: 0 0 62%;
        background-size: cover;
        background-position: center top;
        background-color: #0b1e31;
    }

    .slide-image::after {
        background: rgba(0, 0, 0, 0.3);
    }

    .slide-content {
        position: static;
        top: auto;
        bottom: auto;
        left: auto;
        transform: none;
        width: 100%;
        max-width: none;
        flex: 0 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 0.8rem 1rem 1.2rem;
        text-align: center;
    }

    .slide-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }

    .slide-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }

    .learn-more-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .slider-arrow {
        width: 45px;
        height: 45px;
        font-size: 2rem;
    }

    .prev-arrow {
        left: 1rem;
    }

    .next-arrow {
        right: 1rem;
    }

    .services-section {
        padding: 4rem 1.5rem 3rem;
    }

    .services-title {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }

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

    .service-content {
        padding: 1.2rem;
    }

    .service-title {
        font-size: 1.1rem;
    }

    .service-image {
        height: 160px;
    }

    .boats-section {
        padding: 4rem 1.5rem 3rem;
    }

    .boats-title {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }

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

    .boat-card {
        height: 300px;
    }

    .boat-content {
        padding: 1.5rem 1.2rem 1.2rem;
    }

    .boat-name {
        font-size: 1.3rem;
        margin-bottom: 0.4rem;
    }

    .boat-spec {
        font-size: 0.9rem;
    }

    .equipments-section {
        padding: 4rem 1.5rem 3rem;
    }

    .equipments-title {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }

    .equipment-arrow {
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }

    .equipments-slider-wrapper {
        padding: 0 1rem;
    }

    .equipment-arrow {
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
        z-index: 10;
    }

    .prev-equipment {
        left: 0.5rem;
    }

    .next-equipment {
        right: 0.5rem;
    }

    .equipment-card {
        min-width: 200px;
        padding: 1.2rem;
    }

    .equipment-image-wrapper {
        width: 130px;
        height: 130px;
        margin-bottom: 1rem;
    }

    .equipment-name {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .equipment-spec {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }

    .equipment-learn-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
    }

    .detail-modal-content {
        max-width: 95%;
        margin: 1rem;
    }

    .detail-modal-body {
        padding: 2rem 1.5rem;
    }

    .detail-modal-body h2 {
        font-size: 1.5rem;
        padding-right: 2.5rem;
    }

    .detail-modal-close {
        top: 0.5rem;
        right: 0.5rem;
        width: 35px;
        height: 35px;
        font-size: 2rem;
    }

    .projects-section {
        padding: 4rem 1.5rem 3rem;
    }

    .projects-title {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }

    .projects-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .gallery-image-wrapper {
        height: 220px;
    }

    .gallery-overlay {
        padding: 1.2rem;
    }

    .gallery-title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .gallery-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .gallery-view-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }

    .lightbox-close {
        top: 1rem;
        right: 1rem;
        font-size: 2rem;
        width: 40px;
        height: 40px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 45px;
        height: 45px;
        font-size: 2rem;
    }

    .lightbox-prev {
        left: 1rem;
    }

    .lightbox-next {
        right: 1rem;
    }

    .clients-section {
        padding: 4rem 1.5rem 3rem;
    }

    .clients-title {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }

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

    .client-logo {
        padding: 1rem;
    }

    .client-logo-img {
        max-height: 60px;
    }

    .footer {
        padding: 3rem 1.5rem 1.5rem;
    }.footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-column {
        text-align: start;
        gap: 1rem;
    }

    .footer-logo {
        justify-content: flex-start;
        align-items: flex-start;
    }

    .footer-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .footer-links {
        align-items: flex-start;
    }

    .contact-info {
        align-items: stretch;
    }

    .contact-item {
        justify-content: flex-start;
    }

    .view-map-link {
        align-self: flex-start;
    }

    .footer-social {
        justify-content: flex-start;
    }

    /* Additional mobile optimizations */
    .service-card,
    .boat-card {
        transition: transform 0.2s ease;
    }

    .service-card:active,
    .boat-card:active,
    .equipment-card:active,
    .gallery-item:active {
        transform: scale(0.98);
    }

    /* Improve touch targets */
    .nav-link,
    .learn-more-btn,
    .read-more-btn,
    .equipment-learn-btn,
    .gallery-view-btn,
    .lang-toggle {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Prevent text size adjustment on iOS */
    input,
    textarea,
    select {
        font-size: 16px !important;
    }

    /* Smooth scrolling */
    html {
        scroll-behavior: smooth;
    }

    /* Better spacing for mobile */
    .services-section,
    .boats-section,
    .equipments-section,
    .projects-section,
    .clients-section {
        padding: 3rem 1rem 2rem;
    }

    .services-title,
    .boats-title,
    .equipments-title,
    .projects-title,
    .clients-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
        line-height: 1.2;
    }
}

@media (max-width: 480px) {
    .slider-section {
        min-height: 620px;
        --slider-top-offset: 106px;
    }

    .nav-menu {
        width: min(86vw, 320px);
    }

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

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

    .slide-content {
        width: 100%;
        padding-top: 1rem;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.8rem;
    }

    .slide-image {
        height: 60%;
        flex-basis: 60%;
        background-size: cover;
        background-position: center top;
    }

    .slide {
        grid-template-rows: 60% auto;
    }

    .equipment-card {
        min-width: 180px;
    }

    .clients-grid {
        grid-template-columns: 1fr;
    }

    .whatsapp-btn {
        right: 12px;
        bottom: 12px;
        padding: 10px 12px;
        font-size: 13px;
        gap: 8px;
    }

    .social-icon {
        width: 38px;
        height: 38px;
    }
}

/* Keep this after base mobile rules so phone-specific equipment layout wins */
@media (max-width: 767px) {
    .equipments-slider-wrapper {
        padding: 0;
    }

    .equipments-slider {
        gap: 0.75rem;
        padding: 0 0.5rem;
        scroll-snap-type: x mandatory;
    }

    .equipment-card {
        min-width: calc(100% - 1rem);
        width: calc(100% - 1rem);
        padding: 1rem;
        scroll-snap-align: center;
    }

    .equipment-image-wrapper {
        width: min(78vw, 240px);
        height: min(72vw, 220px);
        margin-bottom: 1.2rem;
    }

    .equipment-arrow {
        display: none;
    }

    .client-logo {
        padding: 1.25rem;
        min-height: 130px;
    }

    .client-logo-img {
        max-height: 90px;
    }

    .service-image .topographic-service-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transform: scale(1);
        background: transparent;
    }

    .service-card.topographic-featured-card .topographic-featured-image {
        height: 300px;
    }
}

@media (min-width: 769px) {
    .nav-menu .nav-join-item {
        display: none;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }

    .nav-menu {
        gap: 1.5rem;
        font-size: 0.95rem;
    }

    .services-section,
    .boats-section,
    .equipments-section,
    .projects-section,
    .clients-section {
        padding: 4rem 2rem 3rem;
    }

    .services-title,
    .boats-title,
    .equipments-title,
    .projects-title,
    .clients-title {
        font-size: 3rem;
    }

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

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

    .projects-gallery {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }

    .gallery-item {
        width: 100%;
        max-width: 240px;
        justify-self: center;
    }

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

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

    .footer-column {
        gap: 1.2rem;
    }

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

    .equipment-card {
        min-width: 240px;
    }

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

    .slide-subtitle {
        font-size: 1.2rem;
    }
}

@media (min-width: 1025px) {
    .navbar {
        padding-top: 0;
    }

    .slide-image {
        height: 100%;
        background-size: 100% 100%;
        background-position: center center;
    }

    .nav-container {
        width: 100%;
        max-width: none;
        margin: 0;
        border-radius: 0;
        padding: 0.8rem 2rem;
    }

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

    .boats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .projects-gallery {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }

    .gallery-item {
        width: 100%;
        max-width: 260px;
        justify-self: center;
    }

    .clients-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-container {
        grid-template-columns: 1.2fr 1fr 1.2fr 1.4fr;
    }
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

.contact-hero, .join-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 8rem 2rem 4rem;
    text-align: center;
    color: white;
    margin-top: 70px;
}

.contact-hero-content, .join-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero-title, .join-hero-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.contact-hero-subtitle, .join-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
}

.contact-page-section, .join-page-section {
    padding: 4rem 2rem;
    background: #f8f9fa;
}

.contact-page-container, .join-page-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-info-section, .contact-form-section {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-section-title, .join-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.contact-info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
}

.contact-info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: #667eea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 24px;
    height: 24px;
}

.contact-info-details h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.contact-info-details p {
    color: #666;
    margin: 0.25rem 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.form-group label {
    font-weight: 600;
    color: #2c3e50;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
}

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

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Cairo', sans-serif;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.contact-map-section {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-map {
    border-radius: 12px;
    overflow: hidden;
}

/* ============================================
   JOIN PAGE STYLES
   ============================================ */

.join-why-section,
.join-positions-section,
.join-form-section {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

.join-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.join-benefit-card {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.join-benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.join-benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.join-benefit-card p {
    color: #666;
    line-height: 1.6;
}

.positions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.position-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.position-card:hover {
    border-color: #667eea;
    transform: translateY(-5px);
}

.position-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.position-location,
.position-type {
    color: #666;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.position-desc {
    color: #666;
    line-height: 1.6;
    margin: 1rem 0;
}

.apply-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-family: 'Cairo', sans-serif;
    width: 100%;
}

.apply-btn:hover {
    background: #764ba2;
}

.join-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.join-form .form-group input[type="file"] {
    padding: 0.5rem;
}

/* ============================================
   ABOUT PAGE STYLES
   ============================================ */

.about-hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 8rem 2rem 4rem;
    text-align: center;
    color: white;
    margin-top: 70px;
}

.about-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-hero-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.about-hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
}

.about-page-section {
    padding: 4rem 2rem;
    background: #f8f9fa;
}

.about-page-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
}

.about-story-card,
.about-values-card,
.about-cta-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 2.5rem;
}

.about-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.about-story-card p {
    color: #4f5d6b;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-story-card p:last-child {
    margin-bottom: 0;
}

.about-dual-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.about-info-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 2rem;
}

.about-info-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 0.8rem;
}

.about-info-card p {
    color: #4f5d6b;
    line-height: 1.7;
}

.about-service-list {
    margin: 0;
    padding-inline-start: 1.2rem;
    color: #4f5d6b;
    line-height: 1.7;
}

.about-service-list li + li {
    margin-top: 0.35rem;
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.about-value-item {
    border: 1px solid #e5e9ee;
    border-radius: 10px;
    padding: 1.2rem;
}

.about-value-item h4 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 0.6rem;
}

.about-value-item p {
    color: #5f6f7f;
    line-height: 1.6;
}

.about-cta-card {
    text-align: center;
    background: linear-gradient(135deg, #eaf4ff 0%, #f5fbff 100%);
}

.about-cta-card h3 {
    font-size: 1.8rem;
    color: #1e3c72;
    margin-bottom: 0.6rem;
}

.about-cta-card p {
    color: #40566f;
    margin-bottom: 1.4rem;
}

.about-cta-btn {
    display: inline-block;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 999px;
    padding: 0.85rem 1.8rem;
    font-weight: 700;
    transition: background 0.3s ease, transform 0.2s ease;
}

.about-cta-btn:hover {
    background: #2f8ac6;
    transform: translateY(-2px);
}

/* ============================================
   RESPONSIVE STYLES FOR CONTACT/JOIN PAGES
   ============================================ */

@media (max-width: 768px) {
    .contact-hero, .join-hero {
        padding: 6rem 1.5rem 3rem;
        margin-top: 60px;
    }

    .contact-hero-title, .join-hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .contact-hero-subtitle, .join-hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }

    .contact-page-section, .join-page-section {
        padding: 2rem 1rem;
    }

    .contact-page-container, .join-page-container {
        padding: 0;
    }

    .contact-page-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .contact-info-section, .contact-form-section,
    .join-why-section, .join-positions-section, .join-form-section {
        padding: 1.5rem;
    }

    .contact-section-title, .join-section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .contact-info-item {
        flex-direction: column;
        gap: 1rem;
        padding-bottom: 1.5rem;
    }

    .contact-info-icon {
        width: 45px;
        height: 45px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-group {
        gap: 0.5rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.7rem;
        font-size: 0.95rem;
    }

    .submit-btn {
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
        width: 100%;
    }

    .join-benefits-grid,
    .positions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .join-benefit-card,
    .position-card {
        padding: 1.5rem;
    }

    .contact-map-section {
        padding: 1.5rem;
    }

    .contact-map iframe {
        height: 300px;
    }

    .join-benefits-grid,
    .positions-grid {
        grid-template-columns: 1fr;
    }

    .about-hero {
        padding: 6rem 1.5rem 3rem;
        margin-top: 60px;
    }

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

    .about-hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
    }

    .about-page-section {
        padding: 2rem 1rem;
    }

    .about-story-card,
    .about-values-card,
    .about-cta-card,
    .about-info-card {
        padding: 1.5rem;
    }

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

    .about-dual-grid,
    .about-values-grid {
        grid-template-columns: 1fr;
    }

    .about-cta-card h3 {
        font-size: 1.4rem;
    }

    .contact-info-section,
    .contact-form-section,
    .join-why-section,
    .join-positions-section,
    .join-form-section {
        padding: 1.5rem;
    }
}
