.hero-bg-image-section {
    position: relative;
    min-height: 90vh;
    padding-top: 80px;
    width: 100%;
    background: url('https://images.unsplash.com/photo-1560264280-88b68371db39?auto=format&fit=crop&q=80') center center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    direction: rtl;
    overflow: hidden;
    /* background-attachment: fixed; - removed for performance */
    background-position: center center;
    background-size: cover;
    transition: background-position 0.3s cubic-bezier(.4,1,.7,1);
}
.hero-bg-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,146,69,0.9) 0%, rgba(79,79,79,0.9) 100%);
    opacity: 0.85;
    z-index: 1;
}
.hero-bg-image-section .container {
    position: relative;
    z-index: 2;
}
.hero-bg-title {
    color: #fff;
    font-size: 2.7rem;
    font-weight: 900;
    text-shadow: 0 4px 24px rgba(0,0,0,0.18);
}
.hero-bg-desc {
    color: #f3f3f3;
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 2rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.hero-bg-btn {
    display: inline-block;
    padding: 13px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s;
    margin: 0 8px;
}
.hero-bg-btn.main-btn {
    background: #fff;
    color: #13c5c1;
    border: none;
}
/* Hover effect removed for hero main button */
.hero-bg-btn.ghost-btn {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}
/* Hover effect removed for hero ghost button */
@media (max-width: 991px) {
    .hero-bg-title { font-size: 2rem; }
    .hero-bg-desc { font-size: 1rem; }
    .hero-bg-image-section {
        min-height: 85vh;
        padding-top: 70px;
    }
}
@media (max-width: 600px) {
    .hero-bg-title { font-size: 1.3rem; }
    .hero-bg-btn { padding: 10px 18px; font-size: 1rem; }
    .hero-bg-image-section {
        min-height: 80vh;
        padding-top: 60px;
    }
}


/* Contact Information Cards - Modern Glass Design */
.contact-info-section {
    background: linear-gradient(145deg, #ffffff, #f5f9fa);
}


.contact-info-section .container {
    position: relative;
    z-index: 2;
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 45px 35px;
    text-align: center;
    box-shadow:
        0 20px 80px rgba(0, 0, 0, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}






.contact-info-icon {
    width: 90px;
    height: 90px;
    background: var(--primary-gradient);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: white;
    font-size: 32px;
    box-shadow:
        0 15px 30px rgba(38, 224, 127, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}




.contact-info-card h4 {
    color: #2d3748;
    font-weight: 800;
    margin-bottom: 18px;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
}

.contact-info-card p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1.05rem;
    font-weight: 500;
}

.contact-info-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgb(38, 224, 127) !important; /* لون ثابت */
    color: white;
    text-decoration: none;
    font-weight: 700;
    padding: 12px 25px;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 20px rgba(38, 224, 127, 0.25);
    position: relative;
    overflow: hidden;
}




.contact-info-link i {
    font-size: 16px;
    transition: transform 0.3s ease;
}


/* Contact Form Section */
.contact-form-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: linear-gradient(145deg, #ffffff, #f5f9fa);
    box-shadow: 0 12px 28px rgba(0,181,173,0.12), 0 4px 10px rgba(0,0,0,0.05) !important;
}

.contact-form-wrapper {
    position: relative;
    z-index: 2;

}

.contact-form-card {
    background: linear-gradient(145deg, #ffffff, #f5f9fa);
    box-shadow: 0 12px 28px rgba(0,181,173,0.12), 0 4px 10px rgba(0,0,0,0.05) !important;backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 50px;

    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

/* Hover effect removed for contact form cards */

.contact-form-card-shape {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(38, 224, 127, 0.1) 0%, rgba(19, 197, 193, 0.1) 100%);
    border-radius: 40%;
    transform: rotate(45deg);
    z-index: -1;
    opacity: 0.7;
    transition: all 0.5s ease;
}

/* Hover effect removed for contact form card shapes */

/* Form Input Styles */
.form-group {
    position: relative;
    margin-bottom: 25px;
}

.floating-label {
    position: relative;
}

.custom-input {
    height: 60px;
    border-radius: 16px;
    padding: 10px 20px 10px 50px;
    font-size: 16px;
    border: 2px solid rgba(38, 224, 127, 0.2);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    width: 100%;
    color: #333;
    font-weight: 500;
}

.custom-input:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 25px rgba(38, 224, 127, 0.15);
    outline: none;
    padding-right: 20px;
    padding-left: 50px;
}

.custom-input:focus + .form-label,
.custom-input:not(:placeholder-shown) + .form-label {
    transform: translateY(-75%) scale(0.8);
    background: linear-gradient(to right, #26e07f, #13c5c1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0 5px;
    left: 20px;
}

.form-label {
    position: absolute;
    top: 50%;
    left: 50px;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    pointer-events: none;
    color: #777;
    font-size: 16px;
    font-weight: 500;
    padding: 0 5px;
    background: transparent;
}

.input-icon {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: rgba(38, 224, 127, 0.6);
    font-size: 18px;
    transition: all 0.3s ease;
    z-index: 2;
}

.custom-input:focus ~ .input-icon {
    color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.custom-textarea {
    min-height: 150px;
    padding-top: 20px;
    resize: none;
    border-radius: 20px;
}

.custom-textarea + .form-label {
    top: 30px;
}

.custom-textarea:focus + .form-label,
.custom-textarea:not(:placeholder-shown) + .form-label {
    transform: translateY(-130%) scale(0.8);
}

.submit{
    background: #26e07f !important; /* لون ثابت */
    color: white;
}
/* Hover effect removed for submit button */
.btn-contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 50px;
    border-radius: 50px;
    background: #26e07f     ; /* لون ثابت */
    color: white;
    font-size: 18px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(38, 224, 127, 0.3);
}

/* Hover effect removed for contact submit button */

.btn-contact-submit::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    z-index: 1;
}

/* Hover effect removed for contact submit button after */

.btn-icon {
    z-index: 2;
}

/* Hover effect removed for contact submit button icon */

/* Map Section Enhancement */
.map-container {
    border-radius: 30px;
    overflow: hidden;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.1),
        0 10px 30px rgba(38, 224, 127, 0.1);
    transition: all 0.5s ease;
    transform: perspective(1000px) rotateY(0deg);
}

/* Hover effect removed for map container */

/* Responsive Styles - Enhance for all screens */
@media (max-width: 991px) {
    .contact-hero-section {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .contact-hero-content-wrapper {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .contact-hero-content {
        text-align: center;
        margin: 0 auto;
    }

    .contact-hero-title {
        font-size: 2.5rem;
    }

    .contact-hero-description {
        font-size: 1rem;
    }

    .contact-hero-stats {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    .contact-hero-badge::before {
        margin-left: 5px;
    }

    .contact-form-card {
        padding: 30px;
    }
}

@media (max-width: 767px) {
    .contact-hero-section {
        padding: 80px 0 50px;
        border-radius: 30px;
    }

    .contact-hero-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .contact-hero-description {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .contact-hero-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-stat-item {
        padding: 15px 20px;
    }

    .contact-stat-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .contact-stat-number {
        font-size: 1.8rem;
    }

    .contact-stat-label {
        font-size: 0.9rem;
    }

    .contact-form-card {
        padding: 25px 20px;
        border-radius: 20px;
    }

    .custom-input {
        height: 55px;
        padding: 10px 15px 10px 45px;
        font-size: 15px;
        border-radius: 12px;
    }

    .form-label {
        font-size: 15px;
        left: 45px;
    }

    .input-icon {
        left: 15px;
        font-size: 16px;
    }

    .btn-contact-submit {
        padding: 12px 40px;
        font-size: 16px;
    }
}

/* Animation for inputs when focused */
.custom-input:focus {
    animation: pulse-border 1.5s infinite;
}

@keyframes pulse-border {
    0% { box-shadow: 0 0 0 0 rgba(38, 224, 127, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(38, 224, 127, 0); }
    100% { box-shadow: 0 0 0 0 rgba(38, 224, 127, 0); }
}

/* Map Section Enhancement */
.map-container {
    border-radius: 30px;
    overflow: hidden;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.1),
        0 10px 30px rgba(38, 224, 127, 0.1);
    transition: all 0.5s ease;
    transform: perspective(1000px) rotateY(0deg);
}

/* Hover effect removed for map container */

/* Additional Modern Effects */
.contact-hero-badge {
    position: relative;
    overflow: hidden;
}

.contact-hero-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.8s ease;
}

/* Hover effect removed for contact hero badge */

/* Enhanced Container Spacing */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Improved Typography */
.contact-hero-title {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.contact-hero-description {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

/* Enhanced Glassmorphism */
.contact-info-card,
.contact-form-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
}

/* Smooth Page Transitions */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Performance Optimizations */
.contact-shape,
.contact-floating-badge,
.contact-stat-item,
.contact-info-card {
    will-change: transform;
}

/* Dark Mode Support (Future Enhancement) */
@media (prefers-color-scheme: dark) {
    .contact-hero-section {
        background: linear-gradient(135deg, #1a202c 0%, #2d3748 50%, #1a202c 100%);
    }

    .contact-hero-title,
    .contact-hero-description {
        color: #f7fafc;
    }
}







.contact-info-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-gradient);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 26px;
    box-shadow:
        0 12px 25px rgba(38, 224, 127, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.contact-info-icon i {
    font-size: 26px;
    color: white !important;
}




/* Mobile Responsive Fixes */
@media (max-width: 767px) {
    .container {
        max-width: 100%;
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }

    .row {
        margin-left: -5px;
        margin-right: -5px;
    }

    .col, .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
        padding-left: 5px;
        padding-right: 5px;
    }
}

/* Toast Notifications */
.toast-container {
    z-index: 9999;
}

.toast {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    min-width: 350px;
    max-width: 400px;
}

.toast-header {
    border: none;
    padding: 15px 20px;
    font-weight: 600;
}

.toast-body {
    padding: 15px 20px;
    font-size: 14px;
    line-height: 1.5;
}

.toast.show {
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Form Loading State */
.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Form Validation Styles */
.form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Responsive Toast */
@media (max-width: 576px) {
    .toast {
        min-width: 280px;
        max-width: 320px;
    }

    .toast-header,
    .toast-body {
        padding: 12px 15px;
    }
}

/* Interactive Map Section */
.interactive-map-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.interactive-map-section::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" fill="rgba(46,139,87,0.05)"><circle cx="20" cy="20" r="2"/><circle cx="80" cy="20" r="2"/><circle cx="20" cy="80" r="2"/><circle cx="80" cy="80" r="2"/><circle cx="50" cy="50" r="3"/></svg>');
    background-size: 100px 100px;
    pointer-events: none;
}

.map-container {
    position: relative;
    z-index: 2;
}

.map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 8px solid #fff;
    background: #fff;
    position: relative;
}

.map-wrapper::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(135deg, #2E8B57, #20B2AA, #3CB371);
    border-radius: 24px;
    z-index: -1;
}

.map-wrapper iframe {
    width: 100% !important;
    height: 450px !important;
    border: none;
    display: block;
}

.map-actions {
    margin-top: 1.5rem;
}

.map-actions .btn {
    background: linear-gradient(135deg, #2E8B57 0%, #20B2AA 100%);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(46, 139, 87, 0.3);
}

/* Hover effect removed for map actions button */

/* Footer Maps Link */
.maps-link {
    color: #20B2AA;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

/* Hover effect removed for maps link */

.maps-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

/* Hover effect removed for maps link icon */

/* Map Responsive */
@media (max-width: 768px) {
    .map-wrapper iframe {
        height: 300px !important;
    }
    
    .map-wrapper {
        border: 4px solid #fff;
        border-radius: 15px;
    }
    
    .map-wrapper::before {
        border-radius: 19px;
    }
    
    .map-actions .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .map-wrapper iframe {
        height: 250px !important;
    }
    
    .interactive-map-section {
        padding: 3rem 0 !important;
    }
    
    .map-actions .btn {
        width: 100%;
        text-align: center;
    }
}
