@font-face {
  font-family: 'Aljazeera';
  src: url('./Aljazeera.ttf') format('truetype');
}

body {
margin: 0;
font-family: 'Aljazeera', sans-serif;
background-color: #f5f5f5;
direction: rtl;
}
.top-nav-container {
position: relative;
}

/* Top buttons row */
.top-buttons {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 0;
}

/* Circle buttons */
.circle-btn {
width: 40px;
height: 40px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
border: 1px solid #312782;
color: #312782;
margin: 0 5px;
text-decoration: none;
font-size: 14px;
font-weight: bold;
}

/* Store button */
.store-btn {
background-color: #312782;
color: #fff;
padding: 8px 15px;
font-weight: bold;
text-decoration: none;
border-radius: 4px;
}

/* Purple divider line */
.purple-divider {
height: 1px;
background-color: #312782;
margin: 5px 0;
}

/* Main navigation */
.main-nav {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 0;
}

/* Logo styling */
.brand-logo {
position: absolute;
left: 50%;
transform: translateX(-50%);
top: -15px;
z-index: 100;
}

.logo {
width: 180px;
margin-bottom: -150px;
}

/* Navigation links */
.nav-links {
display: flex;
list-style: none;
padding: 0;
margin: 0;
}

.nav-links li a {
color: #000;
padding: 10px 15px;
font-size: 20px;
text-decoration: none;
}

/* Toggle button icon */
.navbar-toggler {
display: none;
border: none;
background: none;
font-size: 24px;
color: #312782;
padding: 10px;
}

/* Collapse menu styling */
.navbar-collapse {
background-color: #f9f9f9;
position: absolute;
top: 100%;
right: 0;
width: 100%;
z-index: 999;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
text-align: center;
padding: 20px 0;
}

.navbar-collapse .nav-links {
flex-direction: column;
align-items: center;
}

.navbar-collapse .nav-links li {
width: 100%;
}

.navbar-collapse .nav-links li a {
display: block;
padding: 10px 20px;
color: #312782;
text-decoration: none;
border-bottom: 1px solid #ddd;
font-size: 18px;
}

.navbar-collapse .nav-links li a:hover {
background-color: #f1f1f1;
}

.navbar-collapse .brand-logo-mobile {
margin: 15px 0;
}

.navbar-collapse .brand-logo-mobile img {
height: 50px;
width: 150px;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
.main-nav {
display: none;
}

.navbar-toggler {
display: block;
}
}
.footer {
  background-color: #312782; /* Purple background */
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-logo img {
  width: 150px; /* Adjust based on your logo size */
  height: auto;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: #ddd;
}
.footer-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.social-icons {
  display: flex;
  gap: 15px;
}
.social-icons a {
  color: #fff;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}
.social-icons a:hover {
  color: #ddd;
}
.footer-phone {
  font-size: 1rem;
  direction: ltr; /* To display phone number correctly */
}
.footer-bottom {
  margin-top: 20px;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 10px;
}
@media (max-width: 768px) {
  .footer-content {
      flex-direction: column;
      gap: 20px;
  }
  .footer-links {
      gap: 15px;
  }
  .footer-logo img {
      width: 120px;
  }
}


.section-container {
  display: flex;
  flex-direction: row; /* Ensure row layout for desktop */
  align-items: center;
  background: #312782;
  height: 450px;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.section-container:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.1;
}

 .content-right {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        color: white;
        width: 50%;
        padding-right: 8%;
        z-index: 2;
    }

    .breadcrumb {
        margin-bottom: 20px;
        font-size: 18px;
        opacity: 0.9;
        display: flex;
        align-items: center;
    }

    .breadcrumb a {
        color: white;
        text-decoration: none;
        transition: opacity 0.3s ease;
    }

    .breadcrumb a:hover {
        opacity: 0.8;
    }

    .breadcrumb .separator {
        margin: 0 8px;
        font-size: 12px;
    }

    .title {
        font-size: 65px;
        font-weight: bold;
        margin: 0;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
        position: relative;
    }

    .title:after {
        content: '';
        position: absolute;
        bottom: -10px;
        right: 0;
        width: 60px;
        height: 4px;
        background-color: #FFD700;
        border-radius: 2px;
    }

    .subtitle {
        margin-top: 25px;
        font-size: 18px;
        opacity: 0.9;
        max-width: 400px;
        text-align: right;
    }
.image-container {
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.section-image {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
  filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.3));
  animation: floatAnimation 4s ease-in-out infinite;
}

/* Animation for floating effect */
@keyframes floatAnimation {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .section-container {
    flex-direction: column; /* Stack image and text vertically */
    height: auto; /* Allow height to adjust */
    padding: 20px 0;
  }

  .image-container {
    width: 100%;
    height: 300px; /* Fixed height for image section */
    order: 1; /* Ensure image comes first */
  }

  .content-right {
    width: 100%;
    align-items: center; /* Center text for mobile */
    padding: 20px;
    order: 2; /* Text comes after image */
    text-align: center;
  }

  .title {
    font-size: 40px; /* Smaller title for mobile */
  }

  .subtitle {
    font-size: 16px;
    max-width: 90%;
    text-align: center; /* Center subtitle text */
  }

  .title:after {
    left: 50%;
    transform: translateX(-50%); /* Center the underline */
  }

  .section-image {
    max-width: 70%; /* Slightly smaller image on mobile */
  }
}

@media (max-width: 480px) {
  .title {
    font-size: 32px; /* Further reduce title size */
  }

  .breadcrumb {
    font-size: 16px;
  }

  .subtitle {
    font-size: 14px;
  }

  .image-container {
    height: 200px; /* Smaller image section for very small screens */
  }
}
/* NEW SECTIONS - CARDS */
.cards-section {
  padding: 60px 5%;
  background-color: #f8f8f8;
}

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

.section-title {
  font-size: 36px;
  color: #312782;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}


body {
  font-family: 'Arial', sans-serif;
  direction: rtl;
  margin: 0;
  padding: 0;
  background: #fff;
  color: #333;
}

.contact-form {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 40px;
  gap: 40px;
  background-color: #f4f4f4;
  
}

.form-container {
  flex: 1;
  margin-left: 50px;
}

.form-container h2 {
  margin-bottom: 20px;
  color: #312782;
}

form input,
form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  direction: rtl; /* Ensure RTL for all inputs and textarea */
  text-align: right; /* Align text and placeholder to the right */
}

form input[type="email"] {
  direction: rtl !important; /* Override browser's default LTR for email input */
  text-align: right !important; /* Ensure placeholder and text align right */
}

form textarea {
  height: 100px;
}

form button {
  background-color: #312782;
  color: white;
  border: none;
  padding: 10px 25px;
  cursor: pointer;
  border-radius: 4px;
}

form button:hover {
  background-color: #312782;
}

.image-side {
  flex: 1;
  text-align: center;
  margin-left: 100px;
}

.image-side img {
  width: 100%;
  max-width: 100%;
}

/* Email boxes (unchanged, included for completeness) */
.email-boxes {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 40px 20px;
  background-color: #f9f9f9;
}

.email-boxes .box {
  background-color: #312782;
  color: white;
  padding: 20px;
  width: 250px;
  text-align: center;
  border-radius: 10px;
  position: relative;
}

.email-boxes .box i {
  font-size: 30px;
  margin-bottom: 10px;
}

.email-boxes .box h3 {
  margin: 10px 0;
}

/* خريطة */
.map-section {
  display: flex;
  justify-content: space-between;
  padding: 30px;
  background-color: #f4f4f4;
  gap: 30px;
}

.map, .address {
  flex: 1;
  
}

.address h3 {
  color: #312782;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  margin-top: 100px;
 
}
.address p {
  margin: 5px 0;
  text-align: center;
  font-size: 25px;
}
/* Responsive adjustments for contact-form section */
@media (max-width: 768px) {
  .contact-form {
    flex-direction: column; /* Stack form and image vertically */
    padding: 20px; /* Reduce padding for smaller screens */
    gap: 20px; /* Reduce gap between elements */
  }

  .form-container {
    margin-left: 0; /* Remove left margin for full-width form */
    width: 100%; /* Ensure form takes full width */
  }

  .form-container h2 {
    font-size: 24px; /* Slightly smaller heading for mobile */
    text-align: center; /* Center heading for better appearance */
  }

  .image-side {
    margin-left: 0; /* Remove left margin */
    width: 100%; /* Ensure image container takes full width */
  }

  .image-side img {
    max-width: 80%; /* Reduce image size for better fit */
    margin: 0 auto; /* Center image */
  }

  form input,
  form textarea {
    font-size: 16px; /* Ensure readable input text */
    padding: 8px; /* Slightly reduce padding */
  }

  form button {
    width: 100%; /* Make button full-width */
    padding: 12px; /* Adjust padding for better touch target */
    font-size: 16px; /* Ensure readable button text */
  }
}

@media (max-width: 576px) {
  .contact-form {
    padding: 15px; /* Further reduce padding for very small screens */
  }

  .form-container h2 {
    font-size: 20px; /* Even smaller heading for very small screens */
  }

  .image-side img {
    max-width: 90%; /* Allow slightly larger image on very small screens */
  }

  form input,
  form textarea {
    font-size: 14px; /* Slightly smaller font for inputs */
  }

  form button {
    font-size: 14px; /* Slightly smaller button text */
  }
}

/* Responsive adjustments for map-section */
@media (max-width: 768px) {
  .map-section {
    flex-direction: column; /* Stack map and address vertically */
    padding: 20px; /* Reduce padding for smaller screens */
    gap: 20px; /* Reduce gap between map and address */
  }

  .map, .address {
    width: 100%; /* Ensure both map and address take full width */
  }

  .map iframe {
    width: 100%; /* Make map iframe full-width */
    height: 300px; /* Reduce map height for better fit on mobile */
  }

  .address {
    margin-top: 0; /* Remove top margin to align with stacked layout */
    text-align: center; /* Center address text */
  }

  .address h3 {
    font-size: 22px; /* Slightly smaller heading */
    margin-top: 0; /* Remove extra top margin */
  }

  .address p {
    font-size: 20px; /* Slightly smaller font size for address text */
    margin: 8px 0; /* Adjust margins for better spacing */
  }
}

@media (max-width: 576px) {
  .map-section {
    padding: 15px; /* Further reduce padding for very small screens */
  }

  .map iframe {
    height: 250px; /* Further reduce map height for very small screens */
  }

  .address h3 {
    font-size: 20px; /* Even smaller heading */
  }

  .address p {
    font-size: 18px; /* Further reduce font size for address text */
  }
}

/* Responsive adjustments for email-boxes section */
@media (max-width: 768px) {
  .email-boxes {
    flex-direction: column; /* Stack boxes vertically */
    padding: 20px; /* Reduce padding for smaller screens */
    gap: 20px; /* Reduce gap between boxes */
  }

  .email-boxes .box {
    width: 100%; /* Make each box full-width */
    max-width: 300px; /* Limit max width for better appearance */
    margin: 0 auto; /* Center boxes */
  }

  .email-boxes .box h3 {
    font-size: 20px; /* Slightly smaller heading */
  }

  .email-boxes .box p {
    font-size: 16px; /* Slightly smaller text */
  }

  .email-boxes .box i {
    font-size: 28px; /* Slightly smaller icon */
  }
}

@media (max-width: 576px) {
  .email-boxes {
    padding: 15px; /* Further reduce padding for very small screens */
  }

  .email-boxes .box {
    max-width: 250px; /* Further reduce max width for very small screens */
  }

  .email-boxes .box h3 {
    font-size: 18px; /* Even smaller heading */
  }

  .email-boxes .box p {
    font-size: 14px; /* Even smaller text */
  }

  .email-boxes .box i {
    font-size: 24px; /* Even smaller icon */
  }
}
