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

body {
  font-family: 'Roboto', sans-serif; 
  line-height: 1.6;
  color: #e0e0e0;
  /* background-color: #071b26; */
  overflow-x: hidden;
  transition: background-color 0.4s ease;
}

h1, h2, h3, h4, h5, h6 {
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

h1, h2 {
  text-align: center;
}

/*  Navbar   */
.shadow-navbar {
  background: rgba(7, 27, 38, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  transition: all 0.4s ease;
  z-index: 1000;
}

.navbar-brand img {
  transition: transform 0.3s ease;
}

.navbar-brand img:hover {
  transform: scale(1.1);
}

.nav-link {
  color: #fff !important;
  font-weight: 600;
  transition: color 0.3s ease, transform 0.2s ease;
  margin: 0 8px;
  font-size: 25px;
}

.nav-link:hover {
  color: #00aaff !important;
  transform: translateY(-2px);
}

#call-btn {
  border-radius: 30px;
  padding: 10px 30px;
  font-weight: 600;
  font-size: 16px;
  background-color: #05426e;
  color: #fff;
  transition: all 0.3s ease;
  display: inline-block;
  border: 2px solid #05426e;
}

#call-btn:hover {
  background-color: transparent;
  color: #00aaff;
  border-color: #00aaff;
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0, 170, 255, 0.4);
}

/* === Hero Section === */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  background: url('../images/photo_2025-08-31_01-55-54.jpg') no-repeat center center / cover;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  z-index: 1;
}

.hero .overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 20px;
  max-width: 900px;
  animation: fadeInUp 1s ease;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  margin-bottom: 15px;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
  
}

.hero h6 {
  font-size: clamp(1.2rem, 3vw, 2rem);
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero .btn {
  display: inline-block;
  padding: 12px 30px;
  background: #05426e;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.4s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero .btn:hover {
  background: #005fa3;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* === About Section === */
.about {
  padding: 80px 20px;
  /* background-color: #071b26; */
  color: #e0e0e0;
}

.about h2 {
  margin-bottom: 30px;
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-shadow:  0 0 20px #052537;
  color: #063149;
}

.about p {
  font-size: 1.4rem;
  line-height: 1.8;
  margin-bottom: 20px;
  opacity: 0.95;
  color: black;
}

.about img {
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s ease;
}

.about img:hover {
  transform: scale(1.03);
}

.services {
  padding: 100px 20px;
  /* background-color: #081d2a; */
  text-align: center;
  color: #fff;
}

.services h2 {
  font-size: clamp(2.5rem, 7vw, 4rem);
  margin-bottom: 60px;
  text-shadow:  0 0 20px #052537;
  color: #063149;
  opacity: 0;
  transform: translateY(20px);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .service-list {
    grid-template-columns: 1fr;
  }
}
/* === Service Cards === */
.card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(30px);
}

.services.visible .card {
  opacity: 1;
  transform: translateY(0);
}

/* التأخير لكل كارت */
.services.visible .card:nth-child(1) { transition-delay: 0.2s; }
.services.visible .card:nth-child(2) { transition-delay: 0.4s; }
.services.visible .card:nth-child(3) { transition-delay: 0.6s; }
.services.visible .card:nth-child(4) { transition-delay: 0.8s; }

/* صورة الكارت */
.card-img-top {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.card:hover .card-img-top,
.card.active .card-img-top {
  transform: scale(1.1);
}

/* محتوى الكارت */
.card-body {
  flex-grow: 1;
  text-align: center;
  padding: 24px;
  background: #0e5074;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.card-body h3 {
  font-size: 1.6rem;
  margin: 0;
  color: #fff;
  font-weight: 600;
}

.card-body .short,
.card-body .long {
  margin: 0;
  line-height: 1.6;
}

.card-body .short {
  color: #ddd;
  font-size: 1rem;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.card-body .long {
  color: #fff;
  font-size: 0.95rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* === hover (في الدسكتوب) === */
.card:hover .short,
.card.active .short {
  opacity: 0;
  transform: translateY(-10px);
}

.card:hover .long,
.card.active .long {
  opacity: 1;
  transform: translateY(0);
}

/* === hover effect على الكارت === */
.card:hover {
  transform: translateY(-10px) rotateX(3deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}
/* === Footer === */
footer {
  text-align: center;
  padding: 25px 15px;
  background: #051a25;
  color: #aaa;
  font-size: 0.95rem;
  border-top: 1px solid #0a2e40;
  transition: background 0.3s ease;
}

footer p {
  margin: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 992px) {
  .hero h1 {
    font-size: 3rem;
  }

  .hero h6 {
    font-size: 1.5rem;
  }

  .about .col-lg-6 {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero h6 {
    font-size: 1.2rem;
  }



  .navbar-collapse {
    text-align: center;
  }

  .nav-item {
    margin: 10px 0;
  }

  footer {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .hero .btn {
    padding: 10px 20px;
    font-size: 1rem;
  }

  .services h2 {
    font-size: 2.5rem;
  }

  .about h2 {
    font-size: 2.2rem;
  }
}


.faqs {
  padding: 100px 20px;
  /* background-color: #d2efff; */
  text-align: center;
  /* color: #fff; */
}

.faqs h2 {
  font-size: clamp(2.5rem, 6vw, 3.8rem);
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(20px);
  text-shadow:  0 0 20px #052537;
  color: #063149;
  /* Will be animated by your existing JS */
}

/* FAQ Container */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 15px;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  background: #052537;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}


.faq-question {
  display: block;
  padding: 20px;
  background: rgba(0, 170, 255, 0.1);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
  text-align: left;
  position: relative;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: #00aaff;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  content: '−';
  transform: translateY(-50%) rotate(180deg);
}

.faq-question:hover {
  background: rgba(0, 170, 255, 0.2);
  color: #00aaff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
  color: #ddd;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 20px;
}

.faq-answer p {
  padding: 20px 0;
  margin: 0;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 20px 20px;
}

@media (max-width: 768px) {
  .faqs h2 {
    font-size: 2.8rem;
    margin-bottom: 40px;
  }

  .faq-question {
    font-size: 1.1rem;
    padding: 18px;
  }

  .faq-answer p {
    padding: 15px 0;
  }
}
.why-us h2{
    text-shadow:  0 0 20px #052537;
  color: #063149;
  font-size: 3.1rem;
}
.feature-item h3{
  color: #005fa3;
}
.feature-item p{
  font-size: 18px;
}
.why-us{
  display: grid;
}

.mid-section{
  display: flex;
  /* flex-direction: row; */
  /* flex-wrap: wrap; */
  margin-left: 20%;
  background-color: #fff5f9;
}
#mid{
  background-color: #bdd2de;
  padding-top: 50px;
  padding-bottom: 50px;
  margin-bottom:20px ;
}

/*  Testimonials */
.testimonials {
  padding: 100px 20px;
  text-align: center;
  color: #fff;
}

.testimonials h2 {
  font-size: clamp(2.5rem, 6vw, 3.8rem);
  margin-bottom: 60px;
  text-shadow: 0 0 20px #052537;
  color: #063149;
  opacity: 0;
  transform: translateY(20px);
}

.slider-wrapper {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
  padding: 0 60px; 
}

.prev-btn, .next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: #0b2f41;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.prev-btn {
  left: 10px;
}

.next-btn {
  right: 10px;
}

.prev-btn:hover, .next-btn:hover {
  background: #0e3549;
  transform: translateY(-50%) scale(1.1);
}

/* === Slider === */
.testimonial-slider {
  display: flex;
  gap: 30px;
  transition: transform 0.6s ease;
  padding: 20px 0;
  transform: translateX(0);
}

/* === Card === */
.testimonial-card {
  flex: 0 0 calc(25% - 22.5px); /* 4 cards with gap */
  min-width: 280px;
  background: #063149;
  border-radius: 16px;
  padding: 30px 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.4s ease;
}

.testimonials.visible .testimonial-card {
  opacity: 1;
  transform: translateY(0);
}

.testimonials.visible .testimonial-card:nth-child(1) { transition-delay: 0.2s; }
.testimonials.visible .testimonial-card:nth-child(2) { transition-delay: 0.3s; }
.testimonials.visible .testimonial-card:nth-child(3) { transition-delay: 0.4s; }
.testimonials.visible .testimonial-card:nth-child(4) { transition-delay: 0.5s; }
.testimonials.visible .testimonial-card:nth-child(5) { transition-delay: 0.6s; }
.testimonials.visible .testimonial-card:nth-child(6) { transition-delay: 0.7s; }

.testimonial-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.28);
  background: rgba(0, 170, 255, 0.12);
  border-color: rgba(11, 38, 52, 0.5);
  color: #051a25;
}

.client-photo {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #00aaff center/cover no-repeat;
  margin: 0 auto 15px;
  border: 3px solid #00aaff;
  box-shadow: 0 0 15px rgba(0, 170, 255, 0.4);
  transition: transform 0.3s ease;
}

.testimonial-card:hover .client-photo {
  transform: scale(1.1);
  color: #051a25;
}

.rating {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 15px;
  height: 24px;
}

.rating svg {
  width: 18px;
  height: 18px;
}

.testimonial-card blockquote {
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0 0 15px 0;
}

.testimonial-card blockquote:hover{
  color: #051a25;
}
.client-name {
  font-weight: 600;
  font-size: 1.15rem;
  color: #fff;
  margin: 10px 0 5px 0;
}
.client-name:hover{
  color: #051a25;
}
.client-location {
  font-size: 0.95rem;
  color: #aaa;
  font-style: italic;
  margin: 0;
}

.btn-review {
  display: inline-block;
  padding: 14px 36px;
  background: #123546;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 30px;
  margin-top: 30px;
  transition: all 0.4s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.btn-review:hover {
  background: #0088cc;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

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

  .testimonial-slider {
    gap: 20px;
  }

  .testimonial-card {
    flex: 0 0 100%;
    min-width: 250px;
  }

  .prev-btn, .next-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .testimonial-card {
    flex: 0 0 calc(50% - 15px);
  }
}
/* ===== Contact Section ===== */
.contact {
  padding: 100px 20px;
  background: #f2f8fc;
  text-align: center;
}

.contact h2 {
  font-size: clamp(2.5rem, 6vw, 3.8rem);
  margin-bottom: 30px;
  /* opacity: 0; */
  text-shadow:  0 0 10px #052537;
  color: #063149;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.contact form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact input,
.contact textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #444;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: black;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.contact input::placeholder,
.contact textarea::placeholder {
  color: #999;
}

.contact input:focus,
.contact textarea:focus {
  outline: none;
  border-color: #0e3143;
  background: rgba(0, 170, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(0, 170, 255, 0.2);
  transform: translateY(-2px);
}

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

.contact button {
  padding: 14px;
  background: #063149;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  margin-top: 10px;
}

.contact button:hover {
  background: #246687;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.contact button:active {
  transform: translateY(0);
}

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

.footer-link:hover {
    color: #2b84b4;
}

.social-icon {
    width: 35px;
    height: 35px;
    line-height: 35px;
    border-radius: 50%;
    text-align: center;
    color: #fff;
    display: inline-block;
    margin: 0 8px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    color: #fff;
    box-shadow: 0 5px 10px rgba(255, 255, 255, 0.2);
}