* {
    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;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.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 {
    height: 50px;
    width: 50px;
    object-fit: contain;
    border-radius: 50%;
}

.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: 2rem;
    align-items: center;
}

.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);
}

.nav-link:hover {
    color: #f0f0f0;
}

.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: #3498db;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
    font-size: 0.9rem;
}

.lang-toggle:hover {
    background: #2980b9;
}

/* Slider Section */
.slider-section {
    position: relative;
    width: 100%;
    height: 100vh;
    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: white !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    border-bottom: 1px solid #e0e0e0 !important;
    transition: all 0.3s ease !important;
}

.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: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

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

.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: 50%;
    left: 50%;
    transform: translate(-50%, -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);
}

.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(-2deg);
    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: 150px;
    overflow: hidden;
    position: relative;
}

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

.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: 15px;
    padding: 2rem;
    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: 180px;
    height: 180px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.equipment-image {
    width: 100%;
    height: 100%;
    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: all 0.3s ease;
}

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

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

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

.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, 1fr);
    gap: 2rem;
}

.client-logo {
    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: 80px;
    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;
}

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

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

.footer-logo-image {
    height: 60px;
    width: 60px;
    object-fit: contain;
    margin-bottom: 0.5rem;
    border-radius: 50%;
}

.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;
}

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

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

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-icon {
    font-size: 1.1rem;
}

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

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

.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;
}

/* 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: 1rem;
        flex-wrap: nowrap;
        position: relative;
    }

    .mobile-menu-toggle {
        display: flex;
        order: 2;
    }

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

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

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        gap: 0;
        transition: right 0.3s ease;
        z-index: 1000;
    }

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

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

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

    .nav-link {
        display: block;
        padding: 1rem 0;
        color: #1a1a1a !important;
        text-shadow: none !important;
        font-size: 1rem;
        width: 100%;
    }

    .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: 600px;
    }

    .slide-content {
        padding: 2rem 1.5rem;
        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 {
        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: center;
    }

    .footer-logo {
        justify-content: center;
    }

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

    .footer-links {
        align-items: center;
    }

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

    /* 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 (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(2, 1fr);
        gap: 1.5rem;
    }

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

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 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) {
    .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(3, 1fr);
        gap: 1.5rem;
    }

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

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

/* ============================================
   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;
}

/* ============================================
   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;
    }

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

