/* General Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Define a color palette for better consistency */
    --primary-color: #007bff; /* Bright Blue */
    --primary-dark-color: #0056b3; /* Darker Blue */
    --secondary-color: #6c757d; /* Muted Gray */
    --accent-color: #28a745; /* Green for success/highlights */
    --text-dark: #2c3e50; /* Dark for headings */
    --text-medium: #555; /* Medium for body text */
    --text-light: #888; /* Light for placeholders/hints */
    --bg-light: #f8f9fa; /* Light background */
    --bg-white: #fff; /* White background for cards */
    --border-color: #e9ecef; /* Light border color */
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: var(--text-medium);
    background-color: var(--bg-light);
    direction: rtl;
    text-align: right;
    overflow-x: hidden; /* Prevent horizontal scroll on small screens */
}

/* For English/Numbers within Arabic text */
.en-font {
    font-family: 'Montserrat', sans-serif;
    direction: ltr;
    display: inline-block;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
}

a:hover {
    color: var(--primary-dark-color);
    transform: translateY(-1px); /* Subtle lift */
}

/* Container for the entire page content */
.contact-page-container {
    max-width: 1200px;
    margin: 40px auto -20% auto;
    padding: 30px; /* Increased padding */
    background-image:linear-gradient(var(--bg-light),#bfd5ff,#7d8aa6);
    border-radius: 12px; /* Slightly more rounded corners */
    box-shadow: var(--shadow-medium); /* Deeper shadow for the main container */
    overflow: hidden; /* Important for inner elements that might have negative margins or extend slightly */
}

/* Header Section */
.contact-header {
    text-align: center;
    margin-bottom: 50px; /* Increased margin */
    padding: 30px 20px; /* More padding */
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark-color) 100%); /* Gradient background */
    color: white; /* White text on dark background */
    border-radius: 10px; /* Rounded corners for the header */
    box-shadow: 0 0px 10px rgba(0, 0, 0, 0.9); /* Stronger shadow for the header */
    position: relative; /* For potential pseudo-elements or deeper styling */
    overflow: hidden; /* To contain inner elements if any */
    transition: 0.9s;
}
.contact-header:hover{
    transform: scale(0.93);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
.contact-header h1 {
    font-size: 3.5em; /* Larger font size */
    margin-bottom: 10px;
    font-weight: 700; /* Bolder */
    letter-spacing: 1px; /* Slightly spaced letters */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); /* Text shadow */
}

.contact-header p {
    font-size: 1.25em; /* Larger font size */
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto; /* Center the paragraph */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

/* Main Content Section (Info & Form) */
.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px; /* Increased gap */
    margin-bottom: 50px;
}

.contact-info-section,
.contact-form-section {
    flex: 1;
    min-width: 350px; /* Increased min-width for better layout */
    padding: 35px; /* Increased padding */
    background-color: var(--bg-white);
    border-radius: 10px;
    box-shadow: 0 0 10px #a4a4a4; /* Softer shadow for content sections */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition on hover */
}

.contact-info-section:hover,
.contact-form-section:hover {
    transform: translateY(-5px); /* Lift effect on hover */
    box-shadow: 0 0px 10px rgba(0, 0, 0, 0.12); /* Enhanced shadow on hover */
}


.contact-info-section h2,
.contact-form-section h2,
.map-section h2 {
    font-size: 2.2em; /* Slightly larger heading */
    color: var(--text-dark);
    margin-bottom: 30px; /* Increased margin */
    border-bottom: 3px solid var(--primary-color); /* Thicker line */
    padding-bottom: 12px; /* More padding */
    display: inline-block;
    position: relative; /* For potential ::after effects */
}

/* Contact Info Styles */
.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px; /* Increased margin */
    gap: 20px; /* More space between icon and text */
}

.info-item i {
    font-size: 2em; /* Larger icons */
    color: var(--primary-color);
    width: 40px; /* Consistent width */
    text-align: center;
    padding-top: 2px;
}

.info-item h3 {
    font-size: 1.4em; /* Larger heading for info items */
    color: var(--text-dark);
    margin-bottom: 5px;
}

.info-item p {
    font-size: 1.1em; /* Larger text */
    color: var(--text-medium);
}

.whatsapp-number, .whatsapp-link {
    color: #25D366;
    font-weight: 700; /* Bolder for emphasis */
}

.social-links {
    margin-top: 40px; /* More margin */
    border-top: 1px dashed var(--border-color); /* Dashed line for subtle separation */
    padding-top: 25px;
    display: flex;
    gap: 20px; /* Increased gap */
    justify-content: center; /* Center social links */
    text-align: center;
     
}

.social-links a {
    width: 50px; /* Larger icons */
    height: 50px;
    font-size: 1.8em; /* Larger font for icons */
    background-color: blue; /* Light background for default */
    color: white; /* Muted gray for default icon color */
    box-shadow: 0 0 8px #0010a4; /* Subtle shadow */
    border-radius: 50%;
    border: 2px solid black;
    
}

.social-links a:hover {
    transform: translateY(-5px) scale(1.05); /* More pronounced lift and slight scale */
    box-shadow: 0 0 15px rgba(f, f, f, 1); /* Stronger shadow on hover */
}

.social-links a .fa-facebook-f:hover { background-color: #000a6a; color: white; }
.social-links a .fa-twitter:hover { background-color: #1DA1F2; color: white; }
.social-links a .fa-linkedin-in:hover { background-color: #0A66C2; color: white; }


/* Contact Form Styles */
.form-group {
    margin-bottom: 25px; /* Increased margin */
}

.form-group label {
    font-size: 1.15em; /* Slightly larger label */
    color: var(--text-dark);
    margin-bottom: 10px; /* More space */
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    padding: 14px 18px; /* More padding */
    border: 1px solid var(--border-color);
    border-radius: 8px; /* More rounded */
    font-size: 1.05em; /* Slightly larger font */
    color: var(--text-dark);
    background-color: var(--bg-white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light); /* Lighter placeholder text */
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.3); /* Stronger focus shadow */
    outline: none;
}

.submit-btn {
    padding: 16px 30px; /* More padding */
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-dark-color) 100%); /* Gradient button */
    font-size: 1.3em; /* Larger font */
    letter-spacing: 0.5px;
    box-shadow: 0 0px 10px rgba(0, 123, 255, 0.5); /* Button shadow */
    border-radius: 8px; /* More rounded */
    color: white;
}

.submit-btn:hover {
    background: linear-gradient(90deg, var(--primary-dark-color) 0%, #004085 100%); /* Darker gradient on hover */
    transform: translateY(-3px); /* More pronounced lift */
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
}

/* Form Message Styles (for JavaScript feedback) */
.form-message {
    padding: 18px; /* More padding */
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 700; /* Bolder message */
    margin-top: 25px; /* Increased margin */
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Map Section */
.map-section {
    margin-top: 50px; /* Increased margin */
    padding: 35px;
    background-color: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow-light);
}

.map-container {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Map container shadow */
    overflow: hidden; /* Ensure border-radius applies to iframe */
    margin-top: 20px; /* Space between title and map */
}

.map-container iframe {
    width: 100%;
    height: 500px; /* Taller map for better viewing */
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .contact-page-container {
        margin: 30px auto 0 auto;
        padding: 25px;
    }

    .contact-header h1 {
        font-size: 2.8em;
    }

    .contact-header p {
        font-size: 1.1em;
    }

    .contact-content {
        flex-direction: column;
        gap: 30px;
    }

    .contact-info-section,
    .contact-form-section,
    .map-section {
        padding: 25px;
        min-width: unset; /* Allow flexibility */
    }

    .contact-info-section h2,
    .contact-form-section h2,
    .map-section h2 {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .contact-page-container {
        margin: 20px auto 0 auto;
        padding: 20px;
    }

    .contact-header {
        padding: 25px 15px;
        margin-bottom: 40px;
    }

    .contact-header h1 {
        font-size: 2.3em;
    }

    .contact-header p {
        font-size: 1em;
    }

    .info-item {
        gap: 15px;
        margin-bottom: 20px;
    }

    .info-item i {
        font-size: 1.8em;
        width: 35px;
    }

    .social-links {
        justify-content: center;
        gap: 15px;
    }

    .social-links a {
        width: 45px;
        height: 45px;
        font-size: 1.6em;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 1em;
    }

    .submit-btn {
        padding: 14px 20px;
        font-size: 1.15em;
    }
}

@media (max-width: 480px) {
    .contact-page-container {
        margin: 15px auto 0 auto;
        padding: 15px;
    }

    .contact-header h1 {
        font-size: 1.8em;
    }

    .contact-header p {
        font-size: 0.9em;
    }

    .contact-info-section h2,
    .contact-form-section h2,
    .map-section h2 {
        font-size: 1.7em;
        margin-bottom: 15px;
    }

    .info-item {
        margin-bottom: 15px;
    }

    .info-item h3 {
        font-size: 1.2em;
    }

    .info-item p {
        font-size: 0.95em;
    }

    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 1.4em;
    }

    .form-group label {
        font-size: 1em;
    }

    .submit-btn {
        font-size: 1em;
        padding: 12px 15px;
        border: none;
        box-shadow: 0 0 10px #001781;
        color: white;
    }

    .form-message {
        font-size: 0.95em;
        padding: 12px;
    }
}

/* --- Header Styles --- */
.main-header {
  background-color: #E0ECFF;
  color: white;
  padding: 5px 0;
  position: sticky;
  top: 0;
  z-index: 1050;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  padding: 0 20px;
}

.menu-toggle {
  background: transparent;
  color: #0b3d91;
  font-size: 28px;
  border: none;
  cursor: pointer;
  z-index: 1101;
  display: block; /* Show on mobile/tablet */
  padding: 5px;
  transition: transform 0.3s ease;
  order: 1; /* In RTL, this places it on the far right */
}

.menu-toggle:hover {
  color: #1a50a7;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 55px;
  order: 2; /* Logo in the middle */
}

.logo img {
  height: 70px;
}

/* --- Cart Icon Container (unified from icu.css) --- */
.cart-icon-container {
    cursor: pointer;
    font-size: 20px;
    color: #0B3D91;
    display: flex;
    align-items: center;
    justify-content: center;
    order: 3; /* In RTL, this places it on the far left */
}

/* Red Dot (Item Count) - unified from icu.css */
.cart-item-count {
    position: absolute;
    top: -6px;
    left: -6px; /* In RTL, appears to the left of the icon */
    background-color: #e74c3c;
    color: white;
    font-size: 11px;
    border-radius: 50%;
    padding: 5px 7px;
    min-width: 18px;
    min-height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
}

/* Rule for LTR (if site ever changes direction) */
body[dir="ltr"] .cart-item-count, html[dir="ltr"] .cart-item-count {
    left: auto;
    right: -6px; /* Place on the right in LTR */
}

/* Hide main nav on desktop by default for mobile/tablet */
.main-nav.desktop-nav {
  display: none;
}

/* --- Side Menu (unified from icu.css) --- */
.side-menu {
  position: fixed;
  top: 0;
  right: -250px; /* Hidden initially to the left (in RTL context) */
  left: auto;
  width: 200px;
  height: 100vh;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  flex-direction: column;
  padding-top: 80px;
  transition: right 0.3s ease-in-out; /* Transition for RTL open */
  z-index: 1100;
  list-style-type: none;
  box-shadow: 5px 0 15px rgba(0,0,0,0.5); /* Shadow for opening from left */
}

.side-menu.open {
  right: 0; /* Moves to 0 from the left when open */
}

.side-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.side-menu li {
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.side-menu li:last-child {
  border-bottom: none;
}

.side-menu a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  display: block;
  padding: 15px 20px;
  transition: background-color 0.3s ease;
}

.side-menu a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.side-menu .has-sub .submenu {
  list-style-type: none;
  padding-right: 15px; /* Keep padding-right for RTL indentation */
  background-color: rgba(0, 16, 163, 0.7);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease-in-out;
}

.side-menu .has-sub.active .submenu {
  max-height: 300px; /* Adjust as needed for submenu height */
}

.side-menu .submenu li {
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}
.side-menu .submenu li:last-child {
  border-bottom: none;
}
.side-menu .submenu a {
  padding: 10px 20px;
  font-size: 16px;
}
.side-menu .submenu a:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.overlay.open {
    opacity: 1;
    visibility: visible;
}

/* --- Side Cart Styles (Copied directly from icu.css - exact match) --- */
.side-cart {
    position: fixed;
    top: 0;
    left: -280px; /* مخفية في البداية على اليسار - تم تصغيرها */
    right: auto;
    width: 250px; /* تم تصغير العرض */
    height: 100%;
    background-color: #f8f8f8;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    transition: left 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

/* في حالة فتح السلة، تتحرك إلى 0 من اليسار */
.side-cart.open {
    left: 0;
}

/* التعامل مع LTR: في LTR تفتح من اليمين */
body[dir="ltr"] .side-cart, html[dir="ltr"] .side-cart {
    left: auto; /* إلغاء left */
    right: -280px; /* مخفية في البداية على اليمين - تم تصغيرها */
    transition: right 0.3s ease-out; /* انتقال لل right */
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2); /* ظل لليسار */
}

body[dir="ltr"] .side-cart.open, html[dir="ltr"] .side-cart.open {
    right: 0; /* عند الفتح في LTR، تتحرك إلى 0 من اليمين */
}


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

.cart-header h2 {
    margin: 0;
    color: #0b3d91;
    font-size: 24px;
}

.close-cart-btn {
    background: none;
    border: none;
    font-size: 30px;
    color: #555;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    transition: color 0.2s ease;
}

.close-cart-btn:hover {
    color: #e74c3c;
}

.cart-items-container {
    flex-grow: 1;
    overflow-y: auto;
    margin-bottom: 15px;
}

.empty-cart-message {
    text-align: center;
    color: #777;
    margin-top: 50px;
    font-size: 18px;
}

.cart-item {
    display: flex;
    flex-wrap: wrap; /* للسماح للعناصر بالنزول لسطر جديد */
    align-items: flex-start; /* تبدأ العناصر من الأعلى */
    gap: 10px;
    padding: 10px 0 20px 0 ;
    border-bottom: 1px solid #ccc; /* خط فاصل خفيف تحت كل منتج */
    margin-bottom: 10px;
    position: relative; /* لتحديد موضع الأزرار داخلها */
}

.cart-item:last-child {
    border-bottom: none; /* إزالة الخط الفاصل من آخر عنصر */
    margin-bottom: 0;
}

.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid #ddd;
    flex-shrink: 0; /* منع الصورة من الانكماش */
}

.cart-item-details {
    flex-grow: 1;
    min-width: 100px; /* لضمان ألا ينكمش النص أكثر من اللازم */
    text-align: right; /* محاذاة النص لليمين في RTL */
}

.cart-item-details h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: #333;
}

.cart-item-details p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* حاوية أزرار تعديل الكمية */
.cart-item-controls {
    display: flex;
    justify-content: center; /* توسيط الأزرار تحت المنتج */
    align-items: center;
    width: 100%; /* تأخذ عرض العنصر الأب كاملاً */
    margin-top: 10px; /* مسافة من فوق النص */
    padding-top: 8px; /* مسافة داخلية من الأعلى */
    border-top: 1px dotted #e0e0e0; /* خط فاصل خفيف فوق الأزرار */
    flex-wrap: wrap; /* تسمح للعناصر بالنزول لسطر جديد إذا ضاقت المساحة */
    gap: 8px; /* مسافة بين الأزرار */
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 5px;
}

.cart-item-actions button {
    background-color: #0b3d91;
    color: white;
    border: none;
    width: 28px; /* حجم أكبر قليلاً */
    height: 28px; /* حجم أكبر قليلاً */
    border-radius: 3px;
    cursor: pointer;
    font-size: 18px; /* حجم أيقونة أكبر قليلاً */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.cart-item-actions button:hover {
    background-color: #0d46b3;
}

.cart-item-actions span {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    min-width: 25px; /* مساحة أكبر للرقم */
    text-align: center;
}

/* زر حذف المنتج - تم تصغيره */
.remove-item-btn {
    background-color: #dc3545 !important;
    padding: 5px 10px !important; /* تصغير الـ padding */
    border-radius: 5px;
    font-size: 15px;
    width: auto; /* يجعل العرض تلقائي بناءً على المحتوى */
    flex-grow: 0; /* يمنع الزر من النمو لملء المساحة */
    margin-right: 0; /* إزالة أي margin-right سابق */
}

.remove-item-btn:hover {
    background-color: #c82333 !important;
}

.cart-summary {
    text-align: center;
    padding: 15px 0;
    border-top: 1px solid #eee;
    margin-top: 15px;
    font-size: 18px;
    font-weight: bold;
    color: #0b3d91;
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-actions button {
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 17px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-clear-cart {
    background-color: #6c757d;
    color: white;
}

.btn-clear-cart:hover {
    background-color: #5a6268;
}

.btn-checkout {
    background-color: #0b3d91;
    color: white;
}

.btn-checkout:hover {
    background-color: #0d46b3;
}

/* --- Toast Notification (Copied directly from icu.css - exact match) --- */
.toast-container {
    position: fixed;
    bottom: 20px;
    /* التغييرات الرئيسية هنا لجعله في المنتصف أفقيًا */
    left: 50%; /* ضع الحافة اليسرى للحاوية في منتصف الشاشة */
    transform: translateX(-50%); /* حرك الحاوية لليسار بنصف عرضها الخاص لتوسيطها */
    right: auto; /* تأكد من إلغاء أي right قديم */
    /* ----------------------------------------------- */
    z-index: 2500;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center; /* لتوسيط التوستات الفردية داخل الحاوية */
}

body[dir="ltr"] .toast-container, html[dir="ltr"] .toast-container {
    right: auto; /* إلغاء right */
    left: 20px; /* في LTR، تظهر التوست على اليسار */
}

.toast {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
    min-width: 250px;
    text-align: center;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast.success {
    background-color: rgba(40, 167, 69, 0.9);
}
.toast.danger{
    background-color: #cd2b22;
}

.toast.warning {
    background-color: rgba(255, 193, 7, 0.9);
    color: #333;
}

/* ستايلات خاصة بصفحة التواصل (contact/index.php) */

.contact-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 30px; /* مسافة بين الأقسام المختلفة */
}

.contact-header {
    text-align: center;
    margin-bottom: 30px;
}

.contact-header h1 {
    color: #007bff;
    font-size: 2.5em;
    margin-bottom: 10px;
}

.contact-header p {
    color: #555;
    font-size: 1.1em;
    line-height: 1.6;
}

.contact-content {
    display: flex;
    flex-wrap: wrap; /* للسماح للعناصر بالنزول لسطر جديد على الشاشات الصغيرة */
    gap: 30px;
}

.contact-info-section,
.contact-form-section {
    flex: 1; /* للسماح لهم بأخذ مساحة متساوية */
    min-width: 300px; /* للتحكم في الانكماش على الشاشات الصغيرة */
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.contact-info-section h2,
.contact-form-section h2,
.map-section h2 {
    color: #007bff;
    margin-bottom: 20px;
    font-size: 1.8em;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
}

.info-item {
    display: flex;
    align-items: flex-start; /* لضبط الأيقونة والنص في البداية */
    margin-bottom: 20px;
    gap: 15px; /* المسافة بين الأيقونة والنص */
}

.info-item i {
    color: #007bff;
    font-size: 1.5em;
    flex-shrink: 0; /* لمنع الأيقونة من الانكماش */
    margin-top: 5px; /* ضبط بسيط للمحاذاة الرأسية */
}

.info-item h3 {
    margin: 0;
    color: #333;
    font-size: 1.2em;
}

.info-item p {
    margin: 5px 0 0 0;
    color: #666;
    line-height: 1.5;
}

.info-item a {
    color: #007bff;
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}

.social-links {
    margin-top: 30px;
    text-align: center;
}

.social-links a {
    display: inline-block;
    font-size: 2em;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #0056b3;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    font-family: 'Cairo', sans-serif; /* لضمان الخط العربي في المدخلات */
    box-sizing: border-box; /* للحفاظ على العرض المحدد */
}

.form-group textarea {
    resize: vertical; /* للسماح بتغيير حجم مربع النص رأسياً */
}

.submit-btn {
    background-color: #007bff;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    width: 100%;
    transition: background-color 0.3s ease;
}

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

.map-section {
    margin-top: 30px;
    text-align: center;
}

.map-container {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden; /* لإخفاء أي جزء زائد من الخريطة */
    height: 450px; /* ارتفاع ثابت للخريطة */
}

.map-container iframe {
    display: block; /* لإزالة أي مسافة إضافية أسفل iframe */
}

/* ستايلات رسائل الفورم (نجاح/خطأ) */
.form-message {
    margin-top: 15px;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 0.95em;
    text-align: center;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* استجابة التصميم للشاشات الصغيرة */
@media (max-width: 768px) {
    .contact-content {
        flex-direction: column; /* جعل الأقسام تتكدس فوق بعضها البعض */
    }
}


