/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    direction: rtl;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-link:hover,
.nav-link.active {
    color: #3498db;
    background-color: rgba(255,255,255,0.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    color: white;
    padding: 120px 0 80px;
    display: flex;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    color: #fff;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: #f39c12;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
    padding: 18px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
    text-shadow: none;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.5);
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    opacity: 0.9;
    font-weight: 400;
}

.services-list {
    list-style: none;
    padding: 0;
    margin: 2rem auto;
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.services-list li {
    padding: 1rem 1.5rem;
    font-size: 1.2rem;
    font-weight: 500;
    position: relative;
    padding-right: 3.5rem;
    margin-left: 1rem;
    margin-bottom: 0.8rem;
    background: #34495e;
    border-radius: 7px;
    padding-left: 0.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.services-list li:hover {
    background: #2c3e50;
    transform: translateX(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.services-list li::before {
    content: '✓';
    color: #27ae60;
    font-weight: bold;
    font-size: 1.4rem;
    padding-left: 0.5rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* New CSS to style the nested anchor tags in the services list */
.services-list li a {
    color: inherit; /* Inherit color from the parent <li> */
    text-decoration: none; /* Remove underline */
    display: block; /* Make the entire <li> clickable */
}

/* Services Preview */
.services-preview {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #3498db, #2980b9);
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-image {
    height: 250px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-card h3 {
    padding: 1.5rem 1.5rem 1rem;
    font-size: 1.3rem;
    color: #2c3e50;
}

.service-card p {
    padding: 0 1.5rem 1.5rem;
    color: #7f8c8d;
    line-height: 1.6;
}

/* Equipment Section */
.equipment-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.equipment-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
}

.equipment-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.equipment-gallery {
    margin: 3rem 0;
}

.equipment-gallery h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

/* Services page equipment galleries - 3 column layout */
.equipment-gallery .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.equipment-gallery .gallery-item {
    aspect-ratio: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    position: relative;
}

.equipment-gallery .gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

.equipment-gallery .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.equipment-gallery .gallery-item:hover img {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .equipment-gallery .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .equipment-gallery .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* ================= Slider gallery for services (except Telescopic) ================ */
.slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.slider-root { /* container that replaces old grid root */
    max-width: 1000px;
    margin: 0 auto;
}



.slider-viewport {
    overflow: hidden;
    width: 100%;
    margin: 0 -12px; /* counter slide padding so edges align */
    direction: ltr; /* prevent RTL from reversing track */
}

.slider-track {
    display: flex;
    transition: transform 0.45s ease;
    will-change: transform;
    direction: ltr;
}


.slider-slide {
    flex: 0 0 33.3333%;
    padding: 12px;
}

.slider .gallery-item { opacity: 1; transform: none; }
.slider-slide .gallery-item {
    height: 340px;
    border-radius: 12px;
}

.slider-slide .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(44,62,80,0.9);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(0,0,0,0.25);
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 5;
}

.slider-arrow:hover { background: rgba(52,73,94,0.95); transform: translateY(-50%) scale(1.05); }
.slider-arrow:active { transform: translateY(-50%) scale(0.98); }
.slider-arrow.prev { left: -16px; right: auto; }
.slider-arrow.next { right: -16px; left: auto; }

@media (max-width: 992px) {
    .slider-slide { flex: 0 0 50%; }
    .slider-slide .gallery-item { height: 300px; }
}

@media (max-width: 600px) {
    .slider-root { max-width: 100%; padding: 0 16px; }
    .slider { max-width: 100%; }
    .slider-viewport { margin: 0 -8px; }
    .slider-slide { flex: 0 0 100%; padding: 8px; }
    .slider-slide .gallery-item { height: 260px; }
    .slider-arrow { width: 38px; height: 38px; font-size: 18px; }
    .slider-arrow.prev { left: 0; }
    .slider-arrow.next { right: 0; }
}

/* Specifications */
.specifications-section {
    margin: 3rem 0;
}

.specifications-section h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
}

.specs-tables {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.spec-table {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.spec-table h4 {
    font-size: 1.3rem;
    color: #e74c3c;
    margin-bottom: 1rem;
    text-align: center;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 5px;
}

.specifications-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.specifications-table td {
    padding: 0.8rem;
    border-bottom: 1px solid #ecf0f1;
    font-size: 0.9rem;
}

.specifications-table td:first-child {
    font-weight: 600;
    color: #2c3e50;
    background: #f8f9fa;
}

.specifications-table tr:hover {
    background: #f8f9fa;
}

/* About Content */
.about-content {
    padding: 80px 0;
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #555;
}

.special-offer {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    text-align: center;
}

.special-offer h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.services-overview {
    margin: 2rem 0;
}

.services-overview h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.services-list {
    list-style: none;
    padding-right: 1rem;
}

.services-list li {
    padding: 0.5rem 0;
    position: relative;
}

.services-list li::before {
    content: '✓';
    color: #27ae60;
    font-weight: bold;
    position: absolute;
    right: -1rem;
}

.quality-standards,
.availability {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-right: 4px solid #3498db;
}

.quality-standards h3,
.availability h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.about-images {
    position: sticky;
    top: 100px;
}

.image-gallery h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Statistics Section */
.statistics-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
}

.statistics-section .section-title {
    color: #ffffff;
    font-size: 2.8rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: rgba(255,255,255,0.15);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.stat-item:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.2);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.stat-number {
    font-size: 3.2rem;
    font-weight: 800;
    color: #f39c12;
    margin-bottom: 0.8rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
    letter-spacing: -1px;
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    line-height: 1.4;
}

/* Why Choose Us */
.why-choose-us {
    padding: 80px 0;
    background: #f8f9fa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* Contact Content */
.contact-content {
    padding: 80px 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-right: 4px solid #3498db;
}

.contact-icon {
    font-size: 2rem;
    margin-left: 1rem;
    margin-top: 0.5rem;
}

.contact-details h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: #555;
    margin-bottom: 0.5rem;
}

.contact-details a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
}

.contact-details a:hover {
    color: #2980b9;
}

.contact-details ul {
    list-style: none;
    padding-right: 1rem;
    margin-top: 0.5rem;
}

.contact-details ul li {
    padding: 0.3rem 0;
    color: #555;
    position: relative;
}

.contact-details ul li::before {
    content: '•';
    color: #3498db;
    font-weight: bold;
    position: absolute;
    right: -1rem;
}

/* Contact Form */
.contact-form-section h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ecf0f1;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: 'Cairo', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

.submit-btn {
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

/* Map Section */
.map-section {
    padding: 60px 0;
    background: #f8f9fa;
    text-align: center;
}

.map-section h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.map-placeholder {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

.map-placeholder p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1rem;
}

/* Special Offer Section */
.special-offer-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    text-align: center;
}

.offer-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.offer-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #3498db;
}

.footer-section p {
    line-height: 1.6;
    color: #bdc3c7;
}

/* Smooth Animations for Individual Elements */
.service-card,
.feature-card,
.stat-item,
.gallery-item,
.spec-table {
    transition: all 0.6s ease;
    opacity: 0;
    transform: translateY(30px);
}

.service-card.animate,
.feature-card.animate,
.stat-item.animate,
.gallery-item.animate,
.spec-table.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Modal Styles */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.custom-modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    transform: scale(0.7) translateY(50px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.custom-modal.show .modal-content {
    transform: scale(1) translateY(0);
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #27ae60, #2ecc71, #3498db, #9b59b6);
    background-size: 300% 100%;
    animation: gradientShift 3s ease infinite;
}

.modal-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 45px;
    color: white;
    margin: 0 auto 2rem;
    animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 10px 30px rgba(39, 174, 96, 0.3);
    position: relative;
}

.modal-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    opacity: 0.3;
    animation: pulse 2s infinite;
    z-index: -1;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.modal-message {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2.5rem;
    font-weight: 500;
    line-height: 1.8;
}

.modal-button {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 15px 35px;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    position: relative;
    overflow: hidden;
}

.modal-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.modal-button:hover {
    background: linear-gradient(135deg, #2980b9, #3498db);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.modal-button:hover::before {
    left: 100%;
}

.modal-button:active {
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #2c3e50;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .specs-tables {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2.8rem;
    }
    
    .stat-label {
        font-size: 1.1rem;
    }
    
    .services-list li {
        font-size: 1.1rem;
        padding: 0.8rem 1.2rem;
        padding-right: 3rem;
    }
    
    .services-list li::before {
        right: 1.2rem;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .services-list li {
        font-size: 1rem;
        padding: 0.7rem 1rem;
        padding-right: 2.5rem;
    }
    
    .services-list li::before {
        right: 1rem;
        font-size: 1.1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .page-hero h1 {
        font-size: 2.5rem;
    }
}

/* Telescopic Crane Styles */
.crane-types {
    margin: 2rem 0;
}

.crane-types h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
}

.crane-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.crane-list li {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.crane-list li::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.crane-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.crane-list li:hover::before {
    left: 100%;
}

/* Responsive Design for Crane List */
@media (max-width: 768px) {
    .crane-list {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .crane-list li {
        font-size: 1rem;
        padding: 0.8rem 1rem;
    }
    
    .crane-types h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .crane-list li {
        font-size: 0.9rem;
        padding: 0.7rem 0.8rem;
    }
    
    .crane-types h3 {
        font-size: 1.2rem;
    }
}

/* Floating Call Icon */
.floating-call-icon {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 10000;
    animation: pulse 2s infinite;
    opacity: 1 !important;
}

.call-link {
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.call-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    box-shadow: 0 4px 20px rgba(39, 174, 96, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 3px solid white;
    opacity: 1 !important;
}

.call-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(39, 174, 96, 0.6);
    background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.call-link:hover .call-icon {
    transform: scale(1.1);
}

/* Pulse Animation */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(44, 62, 80, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(44, 62, 80, 0.8), 0 0 0 10px rgba(44, 62, 80, 0.1);
    }
    100% {
        box-shadow: 0 4px 20px rgba(44, 62, 80, 0.4);
    }
}

/* Responsive Design for Call Icon */
@media (max-width: 768px) {
    .floating-call-icon {
        bottom: 15px;
        left: 15px;
    }
    
    .call-icon {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .floating-call-icon {
        bottom: 10px;
        left: 10px;
    }
    
    .call-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* Modal Animations */
@keyframes bounceIn {
    0% {
        transform: scale(0.3) rotate(-10deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.1) rotate(5deg);
    }
    70% {
        transform: scale(0.95) rotate(-2deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.1;
    }
    100% {
        transform: scale(1);
        opacity: 0.3;
    }
}