/* Reset and Base Styles */
/* Global scrollbar hiding */
body::-webkit-scrollbar-track,
nav::-webkit-scrollbar,
header::-webkit-scrollbar,
.nav-container::-webkit-scrollbar {
    display: none;
}

body, nav, header, .nav-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Prevent horizontal overflow */
body, html {
    overflow-x: hidden;
}

.nav-container {
    overflow-x: hidden;
}

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

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: #3C3B6E;
    direction: rtl;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.8rem 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.nav-brand h2 {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
}

.nav-brand .logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: contain;
    background: transparent;
    padding: 4px;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
    flex-wrap: nowrap;
}

.nav-menu .nav-link {
    color: white;
    text-decoration: none;
    padding: 0.8rem;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-menu .nav-link:hover {
    color: #f97316;
    background: rgba(249, 115, 22, 0.1);
    border-radius: 8px;
}

/* Media Queries للجوال */
@media (max-width: 768px) {
    .navbar .container {
        justify-content: space-between;
    }
    
    .search-container.desktop-search {
        display: none;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-simple-controls {
        display: flex;
        gap: 1rem;
    }
}

.nav-menu li {
    margin: 0;
    flex-shrink: 0; /* منع تقليص العناصر */
}

/* Hide scrollbars globally */
.nav-menu::-webkit-scrollbar {
    display: none;
}

.nav-menu {
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0.8rem; /* تقليل padding الجانبي */
    font-size: 0.95rem; /* تقليل حجم الخط قليلاً */
    white-space: nowrap; /* منع كسر النص */
}
}

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

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 10001;
    position: relative;
    padding: 10px;
    background: transparent;
    border: none;
    touch-action: manipulation;
    pointer-events: auto;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #3C3B6E 0%, #3C3B6E 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    z-index: 2;
    padding-top: 100px;
}

.hero-text {
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1.5;
    position: relative;
    height: 80vh;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    opacity: 0.6;
    transform: scale(1.1);
}

/* تأثيرات متحركة لصورة المبنى - للكمبيوتر فقط */
@media (min-width: 769px) {
    .hero-image img {
        animation: zoomInSlow 15s ease-in-out infinite;
    }
}

@keyframes zoomInSlow {
    0% {
        transform: scale(1.0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1.0);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background: #f59e0b;
    color: white;
}

.btn-primary:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: #0f172a;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Stats Section */
.stats {
    background: white;
    padding: 4rem 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
    border-radius: 15px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: #64748b;
    font-weight: 500;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: #f8fafc;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.5rem;
    color: #0f172a;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    color: #3C3B6E;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.values-list {
    list-style: none;
}

.values-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #3C3B6E;
}

.values-list i {
    color: #f59e0b;
    font-size: 1.2rem;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Projects Section */
.projects {
    padding: 6rem 0;
    background: white;
}

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

.project-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.project-card:hover .project-overlay {
    transform: translateY(0);
}

.project-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.project-overlay p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.project-link {
    color: #f59e0b;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid #f59e0b;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: white;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: #f8fafc;
}

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0f172a, #0f172a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    color: #0f172a;
    margin-bottom: 1rem;
}

.service-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Team Section */
.team {
    padding: 6rem 0;
    background: white;
}

.team-image {
    text-align: center;
}

.team-image img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: #f8fafc;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0f172a, #0f172a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
    font-size: 1.2rem;
}

.contact-details h3 {
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: #64748b;
    line-height: 1.6;
}

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

.form-group {
    margin-bottom: 1.5rem;
}

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

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

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

/* Footer */
.footer {
    background: #0f172a;
    color: white;
    padding: 4rem 0 2rem;
}

.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: #f59e0b;
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #f59e0b;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #f59e0b;
    transform: translateY(-2px);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-contact i {
    color: #f59e0b;
    width: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: contain;
}

.footer-logo h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #f59e0b;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    opacity: 0.8;
}

/* Mobile Simple Controls - SINGLE MENU BUTTON ONLY */
.mobile-simple-controls {
    display: none;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    padding: 10px;
    overflow: visible;
    position: relative;
    z-index: 10000;
}

.mobile-menu-button {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: rgba(44, 62, 80, 0.9);
    border: 2px solid rgba(44, 62, 80, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
    min-width: 50px;
    min-height: 50px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.mobile-menu-button:hover,
.mobile-menu-button:active {
    background: rgba(245, 158, 11, 0.8);
    border-color: #f59e0b;
    transform: scale(1.05);
}

.mobile-menu-button i {
    font-size: 22px;
    color: white;
    pointer-events: none;
}

/* Mobile Overlays - IMPROVED DESIGN */
.mobile-search-overlay,
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.9);
    z-index: 10000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
    padding-top: 80px;
}

.mobile-search-content,
.mobile-menu-content {
    background: white;
    border-radius: 12px;
    padding: 20px;
    width: 100%;
    max-width: 320px;
    max-height: 70vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-search-header,
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.mobile-search-header h3,
.mobile-menu-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
}

.close-btn {
    background: #f1f5f9;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #64748b;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.close-btn:hover {
    background: #e2e8f0;
    color: #475569;
}

.mobile-search-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 15px;
    font-family: 'Cairo', sans-serif;
    color: #0f172a !important;
    background-color: white !important;
}

.mobile-search-input:focus {
    outline: none;
    border-color: #0f172a;
}

.mobile-search-results {
    max-height: 250px;
    overflow-y: auto;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-menu-links a {
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 8px;
    text-decoration: none;
    color: #334155;
    font-weight: 500;
    text-align: center;
    transition: all 0.2s ease;
    font-size: 16px;
    border: 1px solid #e2e8f0;
}

.mobile-menu-links a:hover,
.mobile-menu-links a:active {
    background: #0f172a;
    color: white;
    border-color: #0f172a;
}

/* Search Results Styling */
.mobile-search-results-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-search-result-item {
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-search-result-item:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

.mobile-search-result-type {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 4px;
}

.mobile-search-result-title {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 4px;
}

.mobile-search-result-description {
    font-size: 13px;
    color: #64748b;
    line-height: 1.4;
}

.mobile-no-results {
    text-align: center;
    padding: 20px;
    color: #64748b;
    font-size: 14px;
}

/* Show mobile controls only on mobile */
@media (max-width: 768px) {
    .mobile-simple-controls {
        display: flex !important;
        padding: 15px 10px;
        min-height: 70px;
        align-items: center;
    }
    
    .navbar .container {
        padding: 0 1rem;
        overflow: visible;
        min-height: 70px;
        align-items: center;
    }
    
    .header {
        padding: 0.8rem 0;
    }
    
    .desktop-search,
    .nav-menu {
        display: none !important;
    }
    
    .mobile-search-overlay.active,
    .mobile-menu-overlay.active {
        display: flex !important;
    }
}

/* Hide mobile controls on desktop and show navigation */
@media (min-width: 769px) {
    .mobile-simple-controls {
        display: none !important;
    }
    
    .desktop-search {
        display: flex !important;
    }
    
    .nav-menu {
        display: flex !important;
        position: static !important;
        flex-direction: row !important;
        background: transparent !important;
        width: auto !important;
        left: auto !important;
        top: auto !important;
        box-shadow: none !important;
        height: auto !important;
    }
    
    .mobile-search-overlay,
    .mobile-menu-overlay {
        display: none !important;
    }
}

    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    /* Mobile navigation menu */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #0f172a;
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        z-index: 9998;
        padding: 2rem 0;
        display: flex !important;
        height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0 !important;
    }

    .nav-menu.active li {
        margin: 1rem 0;
    }

    .nav-menu.active .nav-link {
        font-size: 1.1rem;
        padding: 1rem;
        display: block;
        color: white;
        text-decoration: none;
        transition: background-color 0.3s ease;
    }
    
    .nav-menu.active .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 0 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-image {
        order: -1;
        height: 300px;
    }
    
    .hero-image img {
        position: relative;
        transform: none;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}idth: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-brand h2 {
        font-size: 1.2rem;
    }
    
    .logo {
        height: 40px;
    }
}

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

/* Loading Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}



.logo {
    object-fit: contain;
}


/* Warranties Section */
.warranties {
    background: #f8fafc;
    padding: 5rem 0;
}

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

.warranty-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.warranty-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: #f59e0b;
}

.warranty-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.warranty-card:hover .warranty-icon {
    transform: scale(1.1);
}

.warranty-icon i {
    font-size: 2rem;
    color: white;
}

.warranty-card h3 {
    color: #0f172a;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.warranty-period {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.warranty-card p {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .warranties-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .warranty-card {
        padding: 1.5rem;
    }
    
    .warranty-icon {
        width: 60px;
        height: 60px;
    }
    
    .warranty-icon i {
        font-size: 1.5rem;
    }
}


/* Booking Section */
.booking {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 5rem 0;
    color: white;
}

.booking .section-title {
    color: white;
}

.booking .section-subtitle {
    color: #cbd5e1;
}

.booking-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: start;
}

.booking-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.booking-form .form-group {
    margin-bottom: 1.5rem;
}

.booking-form label {
    display: block;
    color: white;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.booking-form input::placeholder,
.booking-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    outline: none;
    border-color: #f59e0b;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.booking-form select option {
    background: #1e293b;
    color: white;
}

.btn-booking {
    width: 100%;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1rem;
}

.booking-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.booking-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
}

.booking-card:hover {
    transform: translateY(-5px);
}

.booking-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.booking-icon i {
    font-size: 1.5rem;
    color: white;
}

.booking-card h3 {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.booking-card p {
    color: #cbd5e1;
    line-height: 1.6;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .booking-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .booking-form {
        padding: 2rem;
    }
    
    .booking-info {
        gap: 1.5rem;
    }
    
    .booking-card {
        padding: 1.5rem;
    }
}


/* Mobile Menu Styles */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #0f172a;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        z-index: 999;
        padding: 2rem 0;
    }

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

    .nav-menu li {
        margin: 1rem 0;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 1rem;
        display: block;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}



/* Search Container Styles */
.search-container {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0 1rem; /* تقليل الهامش */
    z-index: 1000;
    max-width: 250px; /* تقليل العرض أكثر */
    width: 100%;
    flex-shrink: 0; /* منع تقليص شريط البحث */
}

.desktop-search {
    display: flex;
}

.mobile-controls {
    display: none;
    align-items: center;
    gap: 1rem;
}

.mobile-search-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.75rem;
    min-width: 48px;
    min-height: 48px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    z-index: 1000;
}

.mobile-search-btn:hover,
.mobile-search-btn:active {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-search-btn i {
    pointer-events: none;
}

/* Hamburger default styles */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.75rem;
    min-width: 48px;
    min-height: 48px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    z-index: 10001;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hamburger:hover,
.hamburger:active {
    background: rgba(255, 255, 255, 0.1);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
    display: block;
    pointer-events: none;
}

.mobile-search-container {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    padding: 1rem;
    z-index: 9999;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(-100%);
    transition: transform 0.3s ease, display 0s 0.3s;
}

.mobile-search-container.active {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    transform: translateY(0) !important;
    transition: transform 0.3s ease;
}

.mobile-search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px; /* Prevents zoom on iOS */
    font-family: 'Cairo', sans-serif;
    outline: none;
    transition: all 0.3s ease;
    min-height: 48px;
}

.mobile-search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.mobile-search-input:focus {
    border-color: #f59e0b;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.mobile-search-submit {
    background: #f59e0b;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.mobile-search-submit:hover,
.mobile-search-submit:focus {
    background: #d97706;
    transform: scale(1.05);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-input:focus {
    outline: none;
    border-color: #f59e0b;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.search-btn {
    position: absolute;
    right: 5px;
    background: #f59e0b;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    z-index: 1001;
    pointer-events: auto;
}

.search-btn:hover {
    background: #d97706;
    transform: scale(1.1);
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    margin-top: 10px;
}

.search-result-item {
    padding: 1rem;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-result-item:hover {
    background-color: #f9fafb;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-title {
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.search-result-description {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.4;
}

.search-result-type {
    display: inline-block;
    background: #f59e0b;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
}

.no-results {
    padding: 2rem;
    text-align: center;
    color: #64748b;
}

/* Mobile Search Styles */
@media (max-width: 768px) {
    .search-container {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.95);
        padding: 1rem;
        margin: 0;
        z-index: 9999;
    }
    
    .search-container.mobile-active {
        display: flex;
    }
    
    .search-input {
        width: 100%;
        margin-right: 0.5rem;
        min-height: 44px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .search-btn {
        min-width: 44px;
        min-height: 44px;
        width: 44px;
        height: 44px;
        right: 5px;
        z-index: 1002;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
    }
    
    .search-btn:focus {
        outline: none;
    }
    
    .search-btn:active {
        transform: scale(0.95);
        background: #d97706;
    }
    
    .mobile-search-toggle {
        display: block;
        background: none;
        border: none;
        color: white;
        font-size: 1.2rem;
        cursor: pointer;
        padding: 0.5rem;
        margin-left: 1rem;
        min-width: 44px;
        min-height: 44px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
    }
    
    .mobile-search-toggle:focus {
        outline: none;
    }
    
    .mobile-search-toggle:active {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 4px;
    }
}

@media (min-width: 769px) {
    .mobile-search-toggle {
        display: none;
    }
}



/* Projects Page Styles */
.projects-page {
    padding-top: 80px;
}

.page-header {
    background: linear-gradient(135deg, #1a365d 0%, #2d5a87 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.projects-section {
    padding: 80px 0;
    background: #f8fafc;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-size: 1.4rem;
    color: #1a365d;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.project-content p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.9rem;
}

.detail-item i {
    color: #f97316;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(249, 115, 22, 0.3);
}

.cta-section {
    background: linear-gradient(135deg, #1a365d 0%, #2d5a87 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-content .btn-primary {
    font-size: 1.1rem;
    padding: 15px 30px;
}

/* Active navigation link */
.nav-link.active,
.mobile-menu-links a.active {
    color: #f97316 !important;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header {
        padding: 60px 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .projects-section {
        padding: 60px 0;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-content {
        padding: 1.5rem;
    }
    
    .project-content h3 {
        font-size: 1.2rem;
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .project-image {
        height: 200px;
    }
    
    .project-content {
        padding: 1rem;
    }
    
    .project-details {
        flex-direction: column;
        gap: 0.5rem;
    }
}



/* ===== BOOKING PAGE STYLES ===== */
.booking-page {
    padding-top: 80px;
}

.booking-hero {
    background: linear-gradient(135deg, #3C3B6E 0%, #3C3B6E 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.booking-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.booking-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.booking-form-section {
    padding: 80px 0;
    background: #f8fafc;
}

.booking-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.booking-form-container {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    color: #3C3B6E;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.form-header p {
    color: #64748b;
    font-size: 1.1rem;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

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

.form-group label {
    color: #333333;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3C3B6E;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

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

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #64748b;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
}

.terms-link {
    color: #3C3B6E;
    text-decoration: none;
}

.terms-link:hover {
    text-decoration: underline;
}

.submit-btn {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    padding: 18px 30px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.3);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.booking-benefits {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.booking-benefits h3 {
    color: #3C3B6E;
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
}

.benefit-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    border-radius: 12px;
    background: #f8fafc;
    transition: all 0.3s ease;
}

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

.benefit-icon {
    background: linear-gradient(135deg, #3C3B6E 0%, #3C3B6E 100%);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.benefit-content h4 {
    color: #3C3B6E;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.benefit-content p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-info-section {
    padding: 60px 0;
    background: #3C3B6E;
    color: white;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.contact-icon {
    background: #f97316;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #f1f5f9;
}

.contact-content p {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .booking-hero h1 {
        font-size: 2rem;
    }
    
    .booking-hero p {
        font-size: 1rem;
    }
    
    .booking-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .booking-form-container,
    .booking-benefits {
        padding: 25px;
    }
    
    .form-header h2 {
        font-size: 2rem;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-item {
        padding: 15px;
    }
    
    .benefit-item {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .booking-hero {
        padding: 60px 0;
    }
    
    .booking-form-section {
        padding: 60px 0;
    }
    
    .booking-form-container,
    .booking-benefits {
        padding: 20px;
    }
    
    .form-header h2 {
        font-size: 1.8rem;
    }
    
    .booking-benefits h3 {
        font-size: 1.5rem;
    }
}



/* Project Details Page Styles */
.project-hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 100px 0 80px;
    margin-top: 80px;
}

.project-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.project-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.project-location {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #e8f4fd;
}

.project-location i {
    margin-left: 10px;
    color: #ff6b35;
}

.project-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e8f4fd;
}

.project-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Project Features */
.project-features {
    padding: 80px 0;
    background: #f8f9fa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e3c72;
}

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

/* Pricing Section */
.pricing-section {
    padding: 80px 0;
    background: white;
}

.pricing-table-container {
    margin-top: 50px;
    overflow-x: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 15px;
    overflow: hidden;
}

.pricing-table thead {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
}

.pricing-table th,
.pricing-table td {
    padding: 20px 15px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.pricing-table th {
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-table tbody tr {
    transition: background-color 0.3s ease;
}

.pricing-table tbody tr:hover {
    background-color: #f8f9fa;
}

.pricing-table tbody tr:nth-child(even) {
    background-color: #fafbfc;
}

.pricing-table tbody tr:nth-child(even):hover {
    background-color: #f0f2f5;
}

.pricing-table td {
    font-size: 1rem;
    color: #333;
}

.status {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status.available {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status.sold {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Payment Plans */
.payment-plans {
    padding: 80px 0;
    background: #f8f9fa;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.plan-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.plan-card.featured {
    border: 3px solid #ff6b35;
    transform: scale(1.05);
}

.plan-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1e3c72;
}

.plan-discount,
.plan-popular,
.plan-duration {
    position: absolute;
    top: -15px;
    right: 20px;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
}

.plan-discount {
    background: #28a745;
}

.plan-popular {
    background: #ff6b35;
}

.plan-duration {
    background: #6c757d;
}

.plan-card ul {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.plan-card li {
    padding: 10px 0;
    color: #666;
    border-bottom: 1px solid #eee;
}

.plan-card li:last-child {
    border-bottom: none;
}

.plan-card li:before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
    margin-left: 10px;
}

/* Contact CTA */
.contact-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #e8f4fd;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: #ff6b35;
    color: white;
    border: 2px solid #ff6b35;
}

.btn-primary:hover {
    background: transparent;
    color: #ff6b35;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #1e3c72;
}

/* Responsive Design */
@media (max-width: 768px) {
    .project-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .project-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
    }
    
    .plan-card.featured {
        transform: none;
    }
    
    .pricing-table th,
    .pricing-table td {
        padding: 15px 10px;
        font-size: 0.9rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .pricing-table th,
    .pricing-table td {
        padding: 10px 5px;
        font-size: 0.8rem;
    }
    
    .project-img {
        height: 250px;
    }
    
    .feature-card,
    .plan-card {
        padding: 30px 20px;
    }
}



/* Project Location Styles */
.project-location {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    margin: 40px 0;
    border-radius: 20px;
}

.location-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.location-info {
    padding: 20px;
}

.location-details h3 {
    color: #3C3B6E;
    font-size: 1.5rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.location-details p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.location-features h4 {
    color: #3C3B6E;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.location-features ul {
    list-style: none;
    padding: 0;
}

.location-features li {
    color: #555;
    font-size: 1rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.location-features li:last-child {
    border-bottom: none;
}

.location-features i {
    color: #3498db;
    width: 20px;
    text-align: center;
}

.map-container {
    position: relative;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.map-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}

.map-link {
    background: rgba(255,255,255,0.95);
    color: #3498db;
    padding: 10px 15px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.map-link:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .location-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .map-container {
        height: 300px;
    }
    
    .location-features li {
        font-size: 0.9rem;
    }
    
    .map-overlay {
        top: 10px;
        right: 10px;
    }
    
    .map-link {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}



/* Project Header Styles - مطابق للصورة المرفقة */
.project-header {
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%) !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3) !important;
    width: 100% !important;
}

.project-navbar {
    padding: 0 !important;
    min-height: 80px !important;
}

.project-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 15px 20px !important;
    max-width: 100% !important;
    margin: 0 !important;
}

/* Menu Button (Left) */
.project-menu-button {
    width: 60px !important;
    height: 60px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    color: white !important;
    font-size: 24px !important;
    order: 1 !important;
}

.project-menu-button:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    transform: scale(1.05) !important;
}

.project-menu-button i {
    font-size: 24px !important;
    color: white !important;
}

/* Company Name (Center) */
.project-company-name {
    flex: 1 !important;
    text-align: center !important;
    order: 2 !important;
    margin: 0 20px !important;
}

.project-company-name h2 {
    color: white !important;
    font-size: 1.8rem !important;
    font-weight: 600 !important;
    margin: 0 !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3) !important;
    font-family: 'Cairo', sans-serif !important;
}

/* Company Logo (Right) */
.project-logo {
    width: 70px !important;
    height: 70px !important;
    order: 3 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.project-logo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    border-radius: 50% !important;
    border: 3px solid rgba(255, 255, 255, 0.3) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    padding: 5px !important;
}



/* تنسيق بطاقات الطلبات والرسائل في لوحة التحكم */
.request-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #3C3B6E;
    transition: transform 0.2s ease;
}

.request-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.request-card.compact {
    padding: 15px;
    margin-bottom: 15px;
}

.request-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
}

.request-header h4 {
    margin: 0;
    color: #3C3B6E;
    font-size: 1.2em;
}

.request-header h4 i {
    margin-left: 8px;
    color: #3C3B6E;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: bold;
    text-transform: uppercase;
}

.status-badge.new {
    background: #fef3c7;
    color: #d97706;
}

.status-badge.processed {
    background: #d1fae5;
    color: #059669;
}

.request-details {
    margin-bottom: 15px;
}

.request-details p {
    margin: 8px 0;
    color: #3C3B6E;
    line-height: 1.5;
}

.request-details p i {
    width: 20px;
    margin-left: 8px;
    color: #3C3B6E;
}

.request-details strong {
    color: #3C3B6E;
}

.request-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.action-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.contact-btn {
    background: #3C3B6E;
    color: white;
}

.contact-btn:hover {
    background: #3C3B6E;
}

.complete-btn {
    background: #10b981;
    color: white;
}

.complete-btn:hover {
    background: #059669;
}

.delete-btn {
    background: #ef4444;
    color: white;
}

.delete-btn:hover {
    background: #dc2626;
}

.no-data {
    text-align: center;
    padding: 40px 20px;
    color: #3C3B6E;
}

.no-data i {
    font-size: 3em;
    margin-bottom: 15px;
    color: #d1d5db;
}

.no-data p {
    font-size: 1.1em;
    margin: 0;
}

/* تحسينات للجوال */
@media (max-width: 768px) {
    .request-card {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .request-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .request-actions {
        flex-direction: column;
    }
    
    .action-btn {
        width: 100%;
        justify-content: center;
    }
    
    .details-content {
        margin: 10px;
        max-height: calc(100vh - 20px);
    }
    
    .details-body {
        padding: 15px;
    }
}

/* تحسين عرض التفاصيل */
.details-header {
    background: #f8fafc;
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.details-header h2 {
    margin: 0;
    color: #3C3B6E;
    font-size: 1.5em;
}

.details-header h2 i {
    margin-left: 10px;
    color: #3C3B6E;
}

.details-body {
    padding: 20px;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.details-body h3 {
    color: #3C3B6E;
    margin: 30px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e7eb;
    font-size: 1.3em;
}

.details-body h3:first-child {
    margin-top: 0;
}

.details-body h3 i {
    margin-left: 10px;
    color: #3C3B6E;
}

.close-btn {
    background: #ef4444;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.close-btn:hover {
    background: #dc2626;
    transform: scale(1.1);
}



/* تحسينات النظام المحسن */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #fff;
    border-radius: 8px;
    padding: 15px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    max-width: 300px;
    border-left: 4px solid #007bff;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    border-left-color: #28a745;
}

.notification.error {
    border-left-color: #dc3545;
}

.notification i {
    margin-left: 10px;
    color: #007bff;
}

.notification.success i {
    color: #28a745;
}

.notification.error i {
    color: #dc3545;
}

/* تحسينات البطاقات */
.stat-card.has-new {
    border-color: #28a745;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
}

.stat-card.empty {
    opacity: 0.7;
}

.request-card.enhanced {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    margin-bottom: 20px;
    background: #fff;
    transition: all 0.3s ease;
}

.request-card.enhanced:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.request-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    background: #f8f9fa;
    border-radius: 12px 12px 0 0;
}

.request-info h4 {
    margin: 0;
    color: #333;
    font-size: 16px;
}

.request-id {
    font-size: 12px;
    color: #666;
    background: #e9ecef;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 10px;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.status-badge.new {
    background: #e3f2fd;
    color: #1976d2;
}

.status-badge.contacted {
    background: #fff3e0;
    color: #f57c00;
}

.status-badge.completed {
    background: #e8f5e8;
    color: #2e7d32;
}

.request-details {
    padding: 20px;
}

.detail-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    padding: 8px 0;
}

.detail-row i {
    width: 20px;
    margin-left: 10px;
    color: #666;
    margin-top: 2px;
}

.detail-row span {
    flex: 1;
}

.detail-row a {
    color: #007bff;
    text-decoration: none;
}

.detail-row a:hover {
    text-decoration: underline;
}

.message-row {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px;
    margin: 8px 0;
}

.request-actions {
    display: flex;
    gap: 10px;
    padding: 15px 20px;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
    border-radius: 0 0 12px 12px;
}

.action-btn {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.contact-btn {
    background: #007bff;
    color: white;
}

.contact-btn:hover {
    background: #0056b3;
}

.complete-btn {
    background: #28a745;
    color: white;
}

.complete-btn:hover {
    background: #1e7e34;
}

.delete-btn {
    background: #dc3545;
    color: white;
}

.delete-btn:hover {
    background: #c82333;
}

/* تحسينات الهيدر */
.details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 2px solid #f0f0f0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px 12px 0 0;
}

.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.refresh-btn, .export-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.refresh-btn:hover, .export-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* إحصائيات سريعة */
.quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-item i {
    color: #007bff;
    font-size: 18px;
}

/* تحسينات للجوال */
@media (max-width: 768px) {
    .notification {
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .request-actions {
        flex-direction: column;
    }
    
    .action-btn {
        margin-bottom: 5px;
    }
    
    .header-actions {
        flex-direction: column;
        gap: 5px;
    }
    
    .quick-stats {
        grid-template-columns: 1fr;
    }
    
    .detail-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .detail-row i {
        margin-bottom: 5px;
    }
}

/* تحسينات للبيانات الفارغة */
.no-data {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.no-data i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 20px;
}

.no-data h3 {
    margin: 20px 0 10px;
    color: #333;
}

.no-data p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.test-btn {
    background: #17a2b8;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.test-btn:hover {
    background: #138496;
}

.show-more {
    text-align: center;
    margin: 20px 0;
}

.show-more a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.show-more a:hover {
    text-decoration: underline;
}

/* تحسينات النماذج للجوال */
.focused {
    transform: scale(1.02);
    transition: transform 0.2s ease;
}

/* تحسينات الأزرار */
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

button:disabled:hover {
    transform: none;
}

/* تحسينات التمرير */
.details-body {
    max-height: 70vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}

.details-body::-webkit-scrollbar {
    width: 6px;
}

.details-body::-webkit-scrollbar-track {
    background: transparent;
}

.details-body::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.details-body::-webkit-scrollbar-thumb:hover {
    background: #999;
}

