/* General Styles */
body {
  font-family: "Cairo", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: all 0.3s ease;
}

/* Navbar Styles */
.navbar {
  background-color: var(--navbar-bg) !important;
  box-shadow: 0 2px 4px var(--shadow-color);
}

.navbar-brand {
  font-weight: 700;
  color: #d19a00;
}

.navbar-light .navbar-nav .nav-link {
  color: var(--text-color) !important;
  font-size: 18px;
  font-weight: 600;
  padding: 0 15px;
}

.navbar-light .navbar-nav .nav-link:hover {
  color: var(--primary-color) !important;
}

.navbar-light .navbar-toggler {
  border-color: var(--border-color);
  background-color: var(--bg-secondary);
}

.navbar-light .navbar-toggler-icon {
  filter: var(--navbar-toggler-filter);
}

/* زيادة حجم زر تواصل معنا في النافبار */
.navbar .btn-warning {
  font-size: 16px;
  font-weight: 600;
  padding: 8px 25px;
}

/* تحسين المظهر في الشاشات الصغيرة */
@media (max-width: 768px) {
  .navbar-light .navbar-nav .nav-link {
    font-size: 16px;
    padding: 10px 0;
  }
}

/* Header Styles */
.header {
  background: url("https://via.placeholder.com/1920x600") no-repeat center
    center/cover;
  color: white;
  text-align: center;
  padding: 100px 0;
  position: relative;
}

.header h1 {
  font-size: 3rem;
  color: #d19a00;
}

.header img {
  border-radius: 50%;
  width: 150px;
  height: 150px;
}

.header .circle {
  position: absolute;
  border-radius: 50%;
  background-color: #f6d58e;
}

.header .circle-small {
  width: 50px;
  height: 50px;
  top: 20%;
  right: 20%;
}

.header .circle-medium {
  width: 100px;
  height: 100px;
  bottom: 10%;
  left: 15%;
}

/* Services Section Styles */
.services {
  background-color: var(--bg-color);
  padding: 80px 0;
}

.services .section-header {
  margin-bottom: 50px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.service-item {
  background-color: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

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

.service-icon {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

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

.service-text {
  padding: 20px;
  text-align: center;
  position: relative;
}

.icon-container {
  width: 60px;
  height: 60px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -50px auto 15px;
  border: 2px solid #d19a00;
  position: relative;
  z-index: 1;
}

.icon-container i {
  font-size: 24px;
  color: #d19a00;
}

.service-text h3 {
  color: #002332;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-text p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.read-more {
  color: #d19a00;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.read-more:hover {
  color: #002332;
}

.read-more i {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.read-more:hover i {
  transform: translateX(-5px);
}

/* Responsive Styles */
@media (max-width: 991px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-icon {
    height: 180px;
  }

  .service-text {
    padding: 15px;
  }

  .icon-container {
    width: 50px;
    height: 50px;
    margin-top: -40px;
  }

  .icon-container i {
    font-size: 20px;
  }

  .service-text h3 {
    font-size: 1rem;
  }
}

/* Contact Section */
.contact-section {
  background-color: var(--bg-secondary);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 8px var(--shadow-color);
  margin-top: -50px;
  z-index: 10;
  position: relative;
}

.contact-info {
  background-color: var(--primary-color);
  color: #fff;
  padding: 20px;
  border-radius: 10px;
}

.contact-info h3 {
  font-size: 1.5rem;
}

.contact-info p {
  margin: 10px 0;
  font-size: 1rem;
}

.contact-info .contact-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info .contact-link:hover {
  color: #d19a00;
}

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

.contact-info i {
  color: #d19a00;
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

/* FAQ Section */
.faq {
  background-color: var(--bg-color);
}

.faq-image {
  position: relative;
  height: 100%;
  min-height: 400px;
}

.faq-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.faq-content {
  padding-right: 30px;
}

.faq-item {
  background: #fff;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.faq-header {
  padding: 20px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-header:hover {
  background-color: rgba(209, 154, 0, 0.05);
}

.faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.faq-icon i {
  color: #d19a00;
  font-size: 14px;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-header h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #002332;
}

.faq-body {
  padding: 0 20px;
  height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-body {
  padding: 0 20px 20px;
  height: auto;
}

.faq-body p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Footer Styles */
.footer {
  background-color: #002332;
  padding: 60px 0 30px;
  color: #fff;
}

.footer h4 {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 25px;
  position: relative;
}

.footer h4::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  width: 40px;
  height: 2px;
  background-color: #d19a00;
}

.footer .contact-info {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
}

.footer .contact-info p {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  color: #002332;
  font-size: 0.95rem;
}

.footer .contact-info p i {
  color: #d19a00;
  margin-left: 10px;
  font-size: 18px;
  width: 20px;
  text-align: center;
}

.footer .contact-info .contact-link {
  color: #002332;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer .contact-info .contact-link:hover {
  color: #d19a00;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover {
  color: #d19a00;
  transform: translateX(-5px);
}

.footer-links a::before {
  content: "\f104";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-left: 8px;
  font-size: 12px;
  color: #d19a00;
}

/* Footer Responsive */
@media (max-width: 991px) {
  .footer {
    padding: 40px 0 20px;
  }

  .footer h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .footer .col-md-3 {
    margin-bottom: 30px;
  }

  .footer h4 {
    font-size: 1rem;
  }

  .footer .contact-info p,
  .footer-links a {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .footer {
    padding: 30px 0 15px;
  }

  .footer .col-md-3:last-child {
    margin-bottom: 0;
  }
}

/* Modal Styles */
.modal-header,
.modal-footer {
  border-color: var(--border-color);
}

.btn-warning {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--bg-secondary);
}

.btn-warning:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
}

.modal-content {
  background-color: var(--bg-secondary);
  color: var(--text-color);
}

.btn-close {
  filter: var(--btn-close-filter);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .header h1 {
    font-size: 2rem;
  }

  .contact-section {
    margin-top: 0;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .service-item {
    height: 250px;
  }

  .service-icon {
    height: 180px;
  }

  .icon-container {
    width: 50px;
    height: 50px;
    margin-top: -40px;
  }

  .icon-container i {
    font-size: 20px;
  }

  .service-text h3 {
    font-size: 0.9rem;
  }
}

/* Hero Section */
.hero {
  height: 100vh;
  background-image: url("assets/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  color: white;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--hero-overlay);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 200px;
}

/* Project Cards */
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 30px;
  background-color: var(--bg-secondary);
}

.project-card img {
  transition: transform 0.3s ease;
}

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

.project-info {
  position: absolute;
  bottom: -100%;
  left: 0;
  right: 0;
  background-color: var(--primary-color);
  color: white;
  padding: 20px;
  transition: bottom 0.3s ease;
}

.project-card:hover .project-info {
  bottom: 0;
}

/* Testimonials */
.testimonial-item {
  text-align: center;
  padding: 30px;
  background-color: var(--bg-secondary);
  border-radius: 10px;
  margin: 20px;
  box-shadow: 0 4px 8px var(--shadow-color);
}

.testimonial-item .avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 15px;
}

.stars {
  color: #ffd700;
  margin-bottom: 15px;
}

.testimonial-item p {
  color: var(--text-color);
}

.testimonial-item .client-name {
  color: var(--text-secondary);
}

/* About Section Styles */
.about {
  padding: 80px 0;
  background-color: var(--bg-color);
}

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

.section-header h2 {
  color: var(--primary-color);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.section-header .lead {
  color: var(--text-secondary);
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.read-more {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  padding-bottom: 5px;
}

.read-more::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
}

/* About Images Styles */
.about-images {
  position: relative;
  margin-bottom: 30px;
  height: 400px;
}

.main-image {
  position: absolute;
  width: 70%;
  height: 300px;
  top: 0;
  right: 0;
  border-radius: 15px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.secondary-image {
  position: absolute;
  width: 60%;
  height: 250px;
  bottom: 0;
  left: 0;
  border-radius: 15px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.features-grid {
  display: grid;
  gap: 30px;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  padding: 20px;
  background-color: var(--bg-secondary);
  border-radius: 10px;
  box-shadow: 0 4px 8px var(--shadow-color);
  transition: transform 0.3s ease;
}

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

.feature-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  margin-left: 20px;
  background-color: rgba(209, 154, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon .icon {
  width: 30px;
  height: 30px;
}

.feature-content h3 {
  color: var(--text-color);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .about-images {
    height: 300px;
  }

  .main-image {
    width: 80%;
    height: 200px;
  }

  .secondary-image {
    width: 70%;
    height: 180px;
  }

  .feature-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .feature-icon {
    margin: 0 0 15px 0;
  }
}

/* Services Tabs Styles */
.services-info .nav-tabs {
  border: none;
  margin-bottom: 20px;
  display: flex;
  gap: 15px;
}

.services-info .nav-tabs .nav-link {
  border: none;
  color: var(--text-secondary);
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 5px;
  transition: all 0.3s ease;
  background-color: var(--bg-secondary);
}

.services-info .nav-tabs .nav-link:hover {
  color: var(--primary-color);
}

.services-info .nav-tabs .nav-link.active {
  color: var(--bg-secondary);
  background-color: var(--primary-color);
}

.services-info .tab-content {
  padding: 20px 0;
}

.departments-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.departments-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.departments-list li:last-child {
  border-bottom: none;
}

:root {
  /* Light Theme Colors */
  --primary-color: #d19a00;
  --primary-hover: #b38600;
  --text-color: #343a40;
  --text-secondary: #666;
  --bg-color: #f8f9fa;
  --bg-secondary: #fff;
  --border-color: #eee;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --navbar-bg: #fff;
  --hero-overlay: rgba(0, 0, 0, 0.5);
  --footer-bg: #002332;
  --footer-text: #fff;
  --footer-link: #fff;
  --footer-link-hover: #d19a00;
}

[data-theme="dark"] {
  /* Dark Theme Colors */
  --primary-color: #ffc107;
  --primary-hover: #d19a00;
  --text-color: #e9ecef;
  --text-secondary: #adb5bd;
  --bg-color: #1a1a1a;
  --bg-secondary: #2d2d2d;
  --border-color: #404040;
  --shadow-color: rgba(0, 0, 0, 0.3);
  --navbar-bg: #2d2d2d;
  --hero-overlay: rgba(0, 0, 0, 0.7);
  --footer-bg: #001a26;
  --footer-text: #fff;
  --footer-link: #fff;
  --footer-link-hover: #ffc107;
}

/* Theme Switch Styles */
.theme-switch-wrapper {
  display: flex;
  align-items: center;
}

.theme-switch {
  display: inline-block;
  position: relative;
  width: 60px;
  height: 34px;
}

.theme-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-secondary);
  transition: 0.4s;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px;
}

.slider:before {
  content: "";
  position: absolute;
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: var(--primary-color);
  transition: 0.4s;
}

.slider.round {
  border-radius: 34px;
  border: 2px solid var(--primary-color);
}

.slider.round:before {
  border-radius: 50%;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.slider .fas {
  color: var(--primary-color);
  font-size: 14px;
}

/* New styles for the section title and subtitle */
.section-title {
  color: var(--text-color);
}

.section-subtitle {
  color: var(--text-secondary);
}

/* Section Backgrounds */
section {
  background-color: var(--bg-color);
}

section:nth-child(even) {
  background-color: var(--bg-secondary);
}

/* Form Controls */
input,
textarea,
select {
  background-color: var(--bg-secondary) !important;
  border-color: var(--border-color) !important;
  color: var(--text-color) !important;
}

input::placeholder,
textarea::placeholder {
  color: var(--text-secondary) !important;
}

/* Projects Section Styles */
.projects {
  background-color: var(--bg-color);
  padding: 80px 0;
}

.project-box {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0 4px 8px var(--shadow-color);
  background-color: var(--bg-secondary);
}

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

.project-content {
  padding: 20px;
  text-align: center;
}

.project-content h3 {
  color: var(--text-color);
  font-size: 1.4rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.project-content p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.read-more-btn {
  display: inline-block;
  padding: 8px 25px;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.read-more-btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  color: white;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .project-box img {
    height: 250px;
  }

  .project-content h3 {
    font-size: 1.2rem;
  }

  .project-content p {
    font-size: 0.9rem;
  }
}

/* Testimonials Section Styles */
.testimonials {
  background-color: var(--bg-color);
  padding: 80px 0;
  position: relative;
}

.testimonial-header {
  margin-bottom: 50px;
}

.avatar-rating {
  display: inline-block;
  position: relative;
}

.main-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-color);
}

.rating {
  color: var(--primary-color);
  margin: 15px 0;
}

.testimonial-slider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 40px 0;
}

.slider-arrow {
  background: none;
  border: none;
  color: var(--primary-color);
  font-size: 24px;
  cursor: pointer;
  padding: 10px;
  transition: transform 0.3s ease;
}

.slider-arrow:hover {
  transform: scale(1.2);
}

.testimonial-cards {
  display: flex;
  gap: 30px;
  max-width: 900px;
  overflow: hidden;
}

.testimonial-card {
  background-color: var(--bg-secondary);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 15px var(--shadow-color);
  flex: 0 0 300px;
  transform: scale(0.9);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.testimonial-card.active {
  transform: scale(1);
  opacity: 1;
}

.client-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-bottom: 15px;
  object-fit: cover;
}

.testimonial-text {
  color: var(--text-color);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 15px 0;
}

.client-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: 10px;
}

.client-link:hover {
  color: var(--primary-hover);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: var(--primary-color);
  transform: scale(1.2);
}

/* Love Icons */
.love-icons {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.love-icon {
  color: #ff6b6b;
  font-size: 30px;
  animation: float 3s ease-in-out infinite;
}

.love-icon:nth-child(2) {
  font-size: 20px;
  animation-delay: 0.5s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Responsive Styles */
@media (max-width: 768px) {
  .testimonial-cards {
    gap: 15px;
  }

  .testimonial-card {
    flex: 0 0 260px;
    padding: 20px;
  }

  .client-img {
    width: 60px;
    height: 60px;
  }

  .testimonial-text {
    font-size: 0.9rem;
  }
}

/* تحديث حجم وتباعد النجوم */
.rating .fa-star {
  font-size: 18px;
  margin: 0 2px;
  color: var(--primary-color);
}

/* تحديث أيقونات الأسهم */
.slider-arrow .fa-chevron-right,
.slider-arrow .fa-chevron-left {
  font-size: 24px;
  color: var(--primary-color);
}

/* تحديث أيقونات القلب */
.love-icons {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.love-icon {
  color: #ff6b6b;
  font-size: 30px;
  animation: float 3s ease-in-out infinite;
}

.love-icon:nth-child(2) {
  font-size: 20px;
  animation-delay: 0.5s;
}

/* Responsive Styles */
/* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  /* Navbar */
  .navbar-brand img {
    max-width: 120px;
  }

  .navbar .btn-warning {
    width: 100%;
    margin-top: 10px;
  }

  /* Hero Section */
  .hero {
    height: auto;
    min-height: 100vh;
  }

  .hero-content {
    padding: 100px 0;
  }

  .hero-content h1 {
    font-size: 1.8rem;
    line-height: 1.4;
  }

  /* About Section */
  .about-images {
    height: 300px;
    margin-bottom: 40px;
  }

  .main-image,
  .secondary-image {
    width: 90%;
    height: 200px;
  }

  .feature-card {
    padding: 15px;
  }

  /* Services Section */
  .service-item {
    height: 200px;
  }

  .service-text h3 {
    font-size: 1rem;
  }

  .services-info {
    margin-top: 30px;
    padding: 15px;
  }

  /* Projects Section */
  .project-box {
    margin-bottom: 20px;
  }

  .project-content {
    padding: 15px;
  }

  .project-content h3 {
    font-size: 1.1rem;
  }

  /* Testimonials Section */
  .testimonial-card {
    flex: 0 0 100%;
    padding: 15px;
  }

  .testimonial-text {
    font-size: 0.9rem;
  }

  .slider-arrow {
    display: none;
  }

  .footer {
    padding: 30px 0;
  }

  .footer .row > div {
    margin-bottom: 25px;
    text-align: center;
  }

  .footer h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
  }

  .footer .contact-info p {
    font-size: 0.9rem;
    justify-content: center;
  }

  .footer .contact-info i {
    font-size: 1rem;
  }

  .footer-links li {
    margin-bottom: 10px;
  }

  .footer-links a {
    font-size: 0.9rem;
    padding: 8px 0;
    display: inline-block;
  }
}

/* Small devices (tablets, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .service-item {
    height: 220px;
  }

  .project-box img {
    height: 250px;
  }

  .footer {
    padding: 40px 0;
  }

  .footer .row > div {
    margin-bottom: 30px;
  }

  .footer .row > div:last-child {
    margin-bottom: 0;
  }

  .footer h4 {
    font-size: 1.2rem;
  }

  .footer .contact-info p {
    font-size: 1rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .navbar-nav {
    margin: 15px 0;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .about-images {
    height: 350px;
  }

  .service-item {
    height: 250px;
  }

  .testimonial-card {
    flex: 0 0 280px;
  }

  .footer {
    padding: 50px 0;
  }

  .footer .row {
    display: flex;
    flex-wrap: wrap;
  }

  .footer .row > div {
    flex: 0 0 50%;
    margin-bottom: 30px;
  }

  .footer .contact-info p {
    font-size: 0.95rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .service-item {
    height: 280px;
  }

  .footer .row {
    display: flex;
    justify-content: space-between;
  }

  .footer .contact-info p {
    display: flex;
    align-items: center;
    gap: 15px;
  }

  .footer-links li {
    margin-bottom: 15px;
  }

  .footer-links a {
    position: relative;
    padding-right: 0;
    transition: all 0.3s ease;
  }

  .footer-links a:hover {
    padding-right: 15px;
  }

  .footer-links a::before {
    content: "";
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
  }

  .footer-links a:hover::before {
    width: 20px;
    right: -15px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }
}

/* Common Responsive Styles */
@media (max-width: 991.98px) {
  /* Fix for navbar on mobile */
  .navbar-collapse {
    background-color: var(--bg-secondary);
    padding: 15px;
    border-radius: 10px;
    margin-top: 10px;
    box-shadow: 0 4px 8px var(--shadow-color);
  }

  .navbar-nav .nav-link {
    padding: 10px 15px;
    border-radius: 5px;
  }

  .navbar-nav .nav-link:hover {
    background-color: var(--bg-color);
  }

  /* Fix for modal on mobile */
  .modal-dialog {
    margin: 10px;
  }

  /* Improve spacing */
  section {
    padding: 40px 0;
  }

  .section-header {
    margin-bottom: 30px;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  /* Improve footer on mobile */
  .footer {
    text-align: center;
  }

  .footer .contact-info {
    justify-content: center;
  }

  .footer-links {
    margin-bottom: 20px;
  }

  .footer .contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

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

  .footer .contact-info i {
    width: auto;
    margin-left: 0;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-links li {
    text-align: center;
    width: 100%;
  }

  .footer-links a {
    padding: 8px 15px;
    transition: all 0.3s ease;
  }

  .footer-links a:hover {
    background-color: rgba(209, 154, 0, 0.1);
    border-radius: 5px;
  }
}

/* RTL Specific Responsive Fixes */
@media (max-width: 991.98px) {
  [dir="rtl"] .navbar-nav {
    padding-right: 0;
  }

  [dir="rtl"] .navbar-nav .nav-link {
    text-align: right;
  }

  [dir="rtl"] .footer .contact-info p {
    justify-content: center;
  }
}

/* Dark Mode Specific Responsive Fixes */
@media (max-width: 991.98px) {
  [data-theme="dark"] .navbar-collapse {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
  }
}

/* Improve Touch Targets on Mobile */
@media (max-width: 767.98px) {
  button,
  .btn,
  .nav-link,
  a {
    min-height: 44px;
    min-width: 44px;
    padding: 10px 15px;
  }

  .feature-icon,
  .service-item,
  .project-box,
  .testimonial-card {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
}

/* Fix Font Sizes on Different Screens */
@media (max-width: 575.98px) {
  html {
    font-size: 14px;
  }
}

@media (min-width: 576px) {
  html {
    font-size: 16px;
  }
}

/* Improve Performance on Mobile */
@media (max-width: 767.98px) {
  * {
    -webkit-tap-highlight-color: transparent;
  }

  .animate-on-scroll {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Floating Social Media Icons */
.floating-social {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.floating-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  animation: float 3s ease-in-out infinite;
}

.floating-btn:hover {
  transform: scale(1.1);
  color: #fff;
}

.floating-btn .tooltip {
  position: absolute;
  right: 70px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 5px 15px;
  border-radius: 5px;
  font-size: 14px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.floating-btn:hover .tooltip {
  opacity: 1;
  visibility: visible;
}

.whatsapp {
  background: #25d366;
  animation-delay: 0s;
}

.facebook {
  background: #1877f2;
  animation-delay: 0.2s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Responsive Styles for Floating Icons */
@media (max-width: 768px) {
  .floating-social {
    right: 10px;
  }

  .floating-btn {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .floating-btn .tooltip {
    display: none;
  }
}

@media (max-width: 576px) {
  .floating-social {
    bottom: 20px;
    top: auto;
    right: 20px;
    transform: none;
    flex-direction: row;
  }

  .floating-btn {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
}

/* About Page Styles */
.about-page {
  background-color: var(--bg-color);
  padding: 60px 0;
}

.about-text h2 {
  color: var(--text-color);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
  position: relative;
}

.about-points .point {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 15px;
}

.about-points .point i {
  color: #d19a00;
  font-size: 1.1rem;
  margin-top: 5px;
}

.about-points .point p {
  color: var(--text-color);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.about-image {
  position: relative;
  height: 100%;
  min-height: 400px;
}

.about-image .main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .about-text h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }

  .about-points .point p {
    font-size: 0.95rem;
  }

  .about-image {
    min-height: 300px;
    margin-top: 30px;
  }
}

@media (max-width: 576px) {
  .about-text h2 {
    font-size: 1.6rem;
  }

  .about-points .point {
    margin-bottom: 15px;
  }

  .about-points .point p {
    font-size: 0.9rem;
  }
}

/* About Header & Services Grid Styles */
.about-header {
  position: relative;
  background: linear-gradient(rgba(245, 178, 32, 0.9), rgba(245, 178, 32, 0.9)),
    url("assets/about-header-bg.jpg");
  background-size: cover;
  background-position: center;
  padding: 80px 0;
  color: #fff;
}

.about-header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1));
}

.header-content {
  text-align: center;
  margin-bottom: 50px;
}

.header-content h1 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.5;
  color: #002332;
  max-width: 800px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.service-item {
  background-color: #fff;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.service-icon {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

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

.service-text {
  padding: 20px;
  text-align: center;
  position: relative;
}

.icon-container {
  width: 60px;
  height: 60px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -50px auto 15px;
  border: 2px solid #d19a00;
  position: relative;
  z-index: 1;
}

.icon-container i {
  font-size: 24px;
  color: #d19a00;
}

.service-text h3 {
  color: #002332;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-text p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.read-more {
  color: #d19a00;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.read-more:hover {
  color: #002332;
}

.read-more i {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.read-more:hover i {
  transform: translateX(-5px);
}

/* Responsive Styles */
@media (max-width: 991px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-icon {
    height: 180px;
  }

  .service-text {
    padding: 15px;
  }

  .icon-container {
    width: 50px;
    height: 50px;
    margin-top: -40px;
  }

  .icon-container i {
    font-size: 20px;
  }

  .service-text h3 {
    font-size: 1rem;
  }
}

/* About Page Responsive Styles */
@media (max-width: 1200px) {
  .about-header {
    padding: 60px 0;
  }

  .header-content h1 {
    font-size: 1.8rem;
    max-width: 700px;
  }

  .services-grid {
    gap: 15px;
  }

  .service-item {
    padding: 15px;
  }

  .about-text h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
  }
}

@media (max-width: 991px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .service-item {
    height: 180px;
  }

  .about-content {
    padding-right: 0;
    margin-bottom: 30px;
  }

  .about-text h2 {
    font-size: 1.4rem;
    padding-right: 20px;
  }

  .about-text h2::before {
    width: 10px;
    height: 10px;
    top: 10px;
  }

  .about-image .main-image {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .about-header {
    padding: 40px 0;
  }

  .header-content {
    margin-bottom: 30px;
  }

  .header-content h1 {
    font-size: 1.5rem;
    padding: 0 15px;
  }

  .services-grid {
    gap: 15px;
  }

  .service-item {
    height: 160px;
  }

  .icon-container {
    width: 50px;
    height: 50px;
    margin-top: -25px;
  }

  .icon-container i {
    font-size: 20px;
  }

  .service-text h3 {
    font-size: 0.9rem;
  }

  .about-page {
    padding: 40px 0;
  }

  .about-text h2 {
    font-size: 1.3rem;
    margin-bottom: 15px;
  }

  .about-image {
    display: none;
  }

  .about-image-mobile {
    display: block;
    margin: 20px 0;
  }

  .about-image-mobile img {
    height: 250px;
    object-fit: cover;
  }
}

@media (max-width: 576px) {
  .about-header {
    padding: 30px 0;
  }

  .header-content h1 {
    font-size: 1.2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-item {
    height: 200px;
  }

  .about-text h2 {
    font-size: 1.1rem;
    padding-right: 15px;
    margin-bottom: 12px;
  }

  .about-text h2::before {
    width: 8px;
    height: 8px;
    top: 8px;
  }

  .about-image-mobile img {
    height: 200px;
  }

  .faq .accordion-button {
    font-size: 0.9rem;
    padding: 12px 15px;
  }

  .faq .accordion-body {
    font-size: 0.9rem;
    padding: 12px;
  }
}

@media (max-width: 375px) {
  .header-content h1 {
    font-size: 1.1rem;
  }

  .service-item {
    height: 180px;
  }

  .about-text h2 {
    font-size: 1rem;
  }

  .about-image-mobile img {
    height: 180px;
  }
}

/* Services Header Styles */
.services-header {
  position: relative;
  background: linear-gradient(rgba(245, 178, 32, 0.9), rgba(245, 178, 32, 0.9)),
    url("assets/services-bg.jpg");
  background-size: cover;
  background-position: center;
  padding: 80px 0;
  color: #fff;
}

.services-header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1));
}

.services-header .header-content {
  position: relative;
  text-align: center;
  z-index: 1;
}

.services-header h1 {
  color: #002332;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.services-header p {
  color: #002332;
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Contact Page Styles */
.contact-header {
  position: relative;
  background: linear-gradient(rgba(245, 178, 32, 0.9), rgba(245, 178, 32, 0.9)),
    url("assets/contact-bg.jpg");
  background-size: cover;
  background-position: center;
  padding: 80px 0;
  color: #fff;
}

.contact-header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1));
}

.contact-header .header-content {
  position: relative;
  text-align: center;
  z-index: 1;
}

.contact-header h1 {
  color: #002332;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.contact-header p {
  color: #002332;
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Contact Section Styles */
.contact-section {
  background-color: var(--bg-color);
}

.contact-info {
  padding: 30px;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-info h2 {
  color: #002332;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 30px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.info-item i {
  font-size: 24px;
  color: #d19a00;
  margin-left: 15px;
  margin-top: 5px;
}

.info-content h3 {
  color: #002332;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.info-content p {
  color: #666;
  font-size: 0.95rem;
  margin: 0;
}

.contact-form {
  padding: 30px;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
  color: #002332;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 30px;
}

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

.form-control {
  height: 50px;
  border: 2px solid #eee;
  border-radius: 10px;
  padding: 10px 15px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: #d19a00;
  box-shadow: none;
}

textarea.form-control {
  height: auto;
  resize: none;
}

.btn-warning {
  background-color: #d19a00;
  border: none;
  padding: 12px 35px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.btn-warning:hover {
  background-color: #002332;
  transform: translateY(-2px);
}

/* Map Section Styles */
.map-section {
  padding: 60px 0;
  background-color: var(--bg-color);
}

.map-container {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Styles */
@media (max-width: 991px) {
  .contact-info {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .contact-header {
    padding: 60px 0;
  }

  .contact-header h1 {
    font-size: 2rem;
  }

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

  .contact-info h2,
  .contact-form h2 {
    font-size: 1.5rem;
  }

  .info-item i {
    font-size: 20px;
  }

  .info-content h3 {
    font-size: 1rem;
  }

  .info-content p {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .contact-header {
    padding: 40px 0;
  }

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

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

  .contact-info,
  .contact-form {
    padding: 20px;
  }

  .form-control {
    height: 45px;
    font-size: 0.9rem;
  }

  .btn-warning {
    padding: 10px 30px;
    font-size: 0.95rem;
  }
}

/* Projects Header Styles */
.projects-header {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 80px 0;
  color: #002332;
}

.projects-header .header-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.projects-header .header-content p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Projects Filter Styles */
.projects-filter {
  margin-bottom: 40px;
}

.filter-btn {
  background: none;
  border: 2px solid #d19a00;
  color: #002332;
  padding: 8px 20px;
  margin: 0 5px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: #d19a00;
  color: #fff;
}

/* Project Card Styles */
.project-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

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

.project-image {
  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.1);
}

.project-content {
  padding: 20px;
}

.project-category {
  display: inline-block;
  background-color: rgba(209, 154, 0, 0.1);
  color: #d19a00;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.project-content h3 {
  color: #002332;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.project-content p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .projects-header {
    padding: 60px 0;
  }

  .projects-header .header-content h1 {
    font-size: 2rem;
  }

  .filter-btn {
    margin-bottom: 10px;
  }
}

@media (max-width: 768px) {
  .projects-header {
    padding: 40px 0;
  }

  .projects-header .header-content h1 {
    font-size: 1.8rem;
  }

  .project-image {
    height: 200px;
  }
}

@media (max-width: 576px) {
  .projects-header .header-content h1 {
    font-size: 1.5rem;
  }

  .projects-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .filter-btn {
    font-size: 0.9rem;
    padding: 6px 15px;
  }
}
