/* Reset */
:root {
  /* Dark transport-friendly palette */
  --primary: #06294b; /* deep navy */
  --secondary: #0b5345; /* dark teal */
  --accent: #e06a00; /* warm accent */
  --muted: #071022; /* page background (dark) */
  /* overlays (darker for emphasis) */
  --overlay-dark: rgba(2, 6, 23, 0.6);
  --overlay-light: rgba(255, 255, 255, 0.02);
  /* bubbles tuned to palette */
  --bubble-1: rgba(11, 94, 215, 0.12);
  --bubble-2: rgba(11, 83, 69, 0.12);
  --bubble-3: rgba(224, 106, 0, 0.1);
  --text: #eef2f7; /* light text for dark backgrounds */
  --cta-bg: var(--accent);
  --cta-color: #fff;
}

/* الفقرة */
.about-section p {
  font-family: "Cairo", sans-serif;
  font-weight: 400;
}

/* زر احجز الآن */
.btn-book {
  font-family: "Tajawal", sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
}

body {
  background: var(--muted);
  color: var(--text);
  font-family: monospace;
}

/* Navbar */
.navbar {
  background: var(--primary);
  z-index: 1000;
}

.navbar-brand {
  font-size: 1.7rem;
  font-weight: bold;
}

/* Logo sizing and brand text (controlled in CSS instead of inline styles) */
.navbar-brand img {
  height: 60px;
}
.navbar-brand.d-lg-none img {
  height: 50px;
}
.brand-text span {
  font-weight: 700;
  font-size: 22px;
}
.navbar-brand.d-lg-none .brand-text span {
  font-size: 16px;
}
.brand-text p {
  color: #fff;
  margin: 0;
  opacity: 0.9;
  font-size: 20px;
}

/* Truck SVG icon sizing and color (used as navbar logo) */
.nav-logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav-logo-icon .truck-icon {
  width: auto;
  height: 60px;
  color: var(--text);
  display: block;
}
.navbar-brand.d-lg-none .nav-logo-icon .truck-icon {
  height: 50px;
}

.nav-link {
  color: #fff !important;
  font-weight: 600;
  margin-left: 10px;
}
.nav-link:hover {
  color: #cce5ff !important;
}

/* Special styling for the contact link in the navbar */
.nav-contact-btn {
  background-color: rgba(255, 0, 0, 0.8);
  border-radius: 5px;
  color: #fff !important;
  padding: 6px 10px;
}

/* About section underline for h3 */
#about h3 {
  border-bottom: 3px solid var(--accent);
  display: inline-block;
  padding-bottom: 6px;
}

/* Home Section */
.home {
  width: 100%;
  position: relative;
  padding-top: 70px;
}

/* Carousel responsive height */
/* Carousel responsive height */
#homeCarousel .carousel-inner {
  width: 100%;
  height: 100vh;
}

.carousel-item {
  width: 100%;
  height: 100%;
  transition: opacity 0.8s ease-in-out !important; /* smooth fade */
}

.carousel-fade .carousel-item {
  opacity: 0;
  transition-property: opacity;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
  opacity: 1;
}

.carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* نصوص على الصور */
.carousel-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  z-index: 10;
  max-width: 90%;
}

.carousel-caption h2 {
  font-size: 2.5rem;
  font-weight: bold;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.carousel-caption p {
  font-size: 1.2rem;
  margin: 10px 0 20px;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
}

/* أزرار */
.btn-group {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.btn-work,
.btn-contact {
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1.2rem;
  text-decoration: none;
  transition: all 0.1s ease;
}

/* ألوان الأزرار */
.btn-work {
  background-color: #ff6600;
  color: #fff;
}

.btn-work:hover {
  background-color: #e65c00;
  transform: scale(1.05);
}

.btn-contact {
  background-color: #0099ff;
  color: #fff;
}

.btn-contact:hover {
  background-color: #007acc;
  transform: scale(1.05);
}

/* Responsive للشاشات الصغيرة */
@media (max-width: 992px) {
  #homeCarousel .carousel-inner {
    height: 80vh;
  }

  .carousel-caption h2 {
    font-size: 2rem;
  }

  .carousel-caption p {
    font-size: 1rem;
  }

  .btn-work,
  .btn-contact {
    font-size: 1rem;
    padding: 10px 20px;
  }
}

@media (max-width: 576px) {
  #homeCarousel .carousel-inner {
    height: 70vh;
  }

  .carousel-caption h2 {
    font-size: 1.5rem;
  }

  .carousel-caption p {
    font-size: 10px;
  }

  .btn-group {
    flex-direction: column;
    gap: 10px;
  }
}

.about-section {
  background-color: #1c1c1c; /* لون غامق */
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.about-section .text-white h2,
.about-section .text-white h3,
.about-section .text-white p {
  color: #fff;
}

.btn-book {
  background-color: #ff6600;
  color: #fff;
  padding: 12px 25px;
  font-size: 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-book:hover {
  background-color: #e65c00;
  transform: scale(1.05);
}

/* نجوم متحركة */
.stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.stars span {
  position: absolute;
  display: block;
  width: 3px;
  height: 3px;
  background: #fff;
  border-radius: 50%;
  animation: moveStars 6s linear infinite;
  opacity: 0.8;
}

.stars span:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}
.stars span:nth-child(2) {
  top: 40%;
  left: 50%;
  animation-delay: 1s;
}
.stars span:nth-child(3) {
  top: 60%;
  left: 70%;
  animation-delay: 2s;
}
.stars span:nth-child(4) {
  top: 30%;
  left: 80%;
  animation-delay: 3s;
}
.stars span:nth-child(5) {
  top: 50%;
  left: 30%;
  animation-delay: 4s;
}

@keyframes moveStars {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.5);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

/* Responsive */
@media (max-width: 992px) {
  /* ---------------------------------
   Section backgrounds (visual harmony)
   Dark palette, consistent spacing
   --------------------------------- */
  section {
    padding: 70px 0;
    color: var(--text);
  }

  /* keep home carousel background as-is (image-driven) */
  section.home {
    padding: 0;
    background: transparent;
  }

  /* About: dark blue teal gradient */
  #about {
    background: linear-gradient(
      120deg,
      rgba(6, 41, 75, 0.95),
      rgba(11, 83, 69, 0.92)
    );
    color: var(--text);
  }
  #about .container {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  /* Services: slightly lighter panel so white cards pop */
  #services {
    background: linear-gradient(
      180deg,
      rgba(8, 36, 60, 0.85),
      rgba(6, 30, 50, 0.82)
    );
  }
  #services h2,
  #services .service-card h4 {
    color: var(--cta-bg);
  }

  /* Contact: emphasize CTA with warm accent over dark */
  #contact {
    background: linear-gradient(
      135deg,
      rgba(6, 41, 75, 0.95),
      rgba(224, 106, 0, 0.18)
    );
    color: var(--text);
  }
  #contact .form-control {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
  }

  /* Footer uses existing gradient but ensure padding/contrast */
  .footer-pro {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  /* Small screens: reduce vertical padding */
  @media (max-width: 576px) {
    section {
      padding: 36px 0;
    }
    #about .container {
      padding-top: 20px;
      padding-bottom: 20px;
    }
  }

  .about-section {
    padding: 60px 0;
  }
}

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

  .btn-book {
    font-size: 1rem;
    padding: 10px 20px;
  }
}

/* Services */
.services .card {
  border: none;
  padding: 20px;
  border-radius: 12px;
  background: #fff;
  transition: 0.3s;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
.services .card:hover {
  transform: translateY(-7px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.services i {
  font-size: 45px;
  color: var(--primary);
  margin-bottom: 15px;
}

/* Gallery */
.gallery img {
  border-radius: 10px;
  transition: 0.3s;
}
.gallery img:hover {
  transform: scale(1.05);
  border: 3px solid var(--primary);
}

/* Contact */
.contact {
  background: #fff;
  padding: 50px 20px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.contact input,
.contact textarea {
  border-radius: 8px;
}

/* Footer */
.footer {
  background: #0d6efd;
  color: #fff;
  padding: 20px 0;
  text-align: center;
  margin-top: 40px;
}
.footer p {
  margin: 0;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes carousel3d {
  0% {
    transform: scale(1.03) rotateY(6deg);
  }
  50% {
    transform: scale(1.06) rotateY(-6deg);
  }
  100% {
    transform: scale(1.03) rotateY(6deg);
  }
}

/* Applying animations */
.home h2,
.home p,
.home .btn-contact,
.home .btn-work {
  animation: fadeUp 1.1s ease forwards;
}

.services .card {
  animation: fadeIn 1.2s ease;
}

.gallery img {
  animation: zoomIn 0.8s ease;
}

/* Smooth transitions */
a,
button,
.card,
img,
.btn-main,
.nav-link {
  transition: all 0.35s ease !important;
}

/* Animation Delays */
.home h2 {
  animation-delay: 0.2s;
}
.home p {
  animation-delay: 0.4s;
}
.home .btn-work {
  animation-delay: 0.6s;
}
.home .btn-contact {
  animation-delay: 0.6s;
}

.services .card {
  animation-delay: 0.3s;
}
.gallery img {
  animation-delay: 0.2s;
}

/* Responsive Design */
@media (max-width: 992px) {
  .home h2 {
    font-size: 2.4rem;
  }
  .home p {
    font-size: 1.1rem;
  }
  .home {
    height: 70vh;
    padding: 40px 15px;
  }
}

/* Section color harmony: apply a cohesive palette and readable contrasts */
section.home {
  /* keep carousel images, but add subtle tint at edges */
  background: linear-gradient(
    180deg,
    rgba(244, 247, 251, 1) 0%,
    rgba(244, 247, 251, 0.95) 100%
  );
}

/* About: calm blue tint with dark headings */
#about {
  background: linear-gradient(
    120deg,
    rgba(11, 94, 215, 0.04),
    rgba(227, 240, 255, 0.02)
  );
}
#about h2 {
  color: var(--primary);
}
#about p {
  color: var(--text);
}

/* Services: light neutral background so white cards pop; headings use primary */
#services {
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 1),
    rgba(236, 246, 255, 0.6)
  );
}
#services h2 {
  color: var(--primary);
}
.service-card h4 {
  color: var(--primary);
}

/* Contact: stronger primary-accent gradient for CTA emphasis */
#contact {
  background: linear-gradient(
    135deg,
    rgba(11, 94, 215, 0.95),
    rgba(255, 122, 0, 0.85)
  );
  color: #fff;
}
#contact h2,
#contact .form-label {
  color: #fff;
}
#contact .form-control {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
}
#contact .form-control::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

/* Utility: ensure section headings across site have visual consistency */
section h2.fw-bold {
  color: var(--primary);
  text-align: center;
}

/* Make sure text contrast is sufficient on light backgrounds */
section {
  color: var(--text);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .services .card {
    padding: 15px;
  }
  .gallery img {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .navbar-brand {
    font-size: 1.4rem;
  }
  .nav-link {
    margin-left: 0;
    font-size: 0.9rem;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .hero p {
    font-size: 0.95rem;
  }
  .btn-main {
    padding: 10px 20px;
  }
}

/* Carousel (Home) creative styles */
#home .carousel {
  position: relative;
}
#home .carousel .carousel-item {
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
}
.carousel-bg {
  width: 100%;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.carousel-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55; /* show image more clearly */
  z-index: 0; /* sit behind overlay */
  border-radius: 0 0 40px 40px;
  pointer-events: none;
  transform: scale(1.03) rotateY(6deg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  animation: carousel3d 8s ease-in-out infinite alternate;
}
.carousel-bg .container {
  position: relative;
  z-index: 3;
}

/* Overlay implemented for current markup: use pseudo-element on .carousel-item */
#home .carousel .carousel-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1; /* sits above image (z=0) and below caption */
  background: linear-gradient(180deg, var(--overlay-dark), rgba(0, 0, 0, 0));
  pointer-events: none;
}

/* Caption styling */
.carousel-caption {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  padding: 18px 22px;
  max-width: 900px;
}
.carousel-caption h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 8px;
  text-shadow: 2px 4px 20px rgba(0, 0, 0, 0.35);
}
.carousel-caption p {
  font-size: 1.1rem;
  margin-bottom: 14px;
  text-shadow: 1px 2px 8px rgba(0, 0, 0, 0.25);
}

/* CTA buttons in carousel */
.btn-group .btn {
  margin-inline: 6px;
}
.btn-work {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(11, 94, 215, 0.12);
}
.btn-contact {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(255, 122, 0, 0.12);
}
.btn-work:hover,
.btn-contact:hover {
  transform: translateY(-3px);
}

/* Services cards styling & responsive */
.service-card {
  background: #fff;
  border-radius: 12px;
  padding: 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 40px rgba(11, 94, 215, 0.08);
}
.service-img {
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}

/* Contact form adjustments */
#contact .form-control:focus {
  box-shadow: 0 0 0 0.2rem rgba(11, 94, 215, 0.12);
  border-color: var(--primary);
}
#contact form {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.02)
  );
}

/* Footer small tweaks */
.footer-pro {
  padding-top: 32px;
  padding-bottom: 28px;
}

/* Responsive breakpoints for captions and services */
@media (max-width: 992px) {
  .carousel-caption h2 {
    font-size: 2.2rem;
  }
  .carousel-caption p {
    font-size: 1rem;
  }
  .service-img {
    height: 160px;
  }
}
@media (max-width: 576px) {
  .carousel-caption {
    padding: 12px 14px;
    max-width: 92%;
  }
  .carousel-caption h2 {
    font-size: 1.6rem;
  }
  .carousel-caption p {
    font-size: 0.95rem;
  }
  .service-card {
    padding: 16px;
  }
  .service-img {
    height: 140px;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .carousel-img,
  .service-card,
  .bubbles span {
    animation: none !important;
    transition: none !important;
  }
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    var(--overlay-dark),
    var(--overlay-light)
  );
  z-index: 1;
  border-radius: 0 0 40px 40px; /* same rounded corners as image */
}

/* Animated Bubbles for sections (subtle, transport palette) */
.section-bubbles {
  position: relative;
  overflow: hidden;
}
.bubbles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.bubbles span {
  position: absolute;
  border-radius: 50%;
  opacity: 0.45;
  animation: bubbleMove 9s linear infinite;
  will-change: transform;
}
.bubbles span:nth-child(1) {
  width: 64px;
  height: 64px;
  left: 8%;
  top: 78%;
  background: var(--bubble-1);
  animation-delay: 0s;
}
.bubbles span:nth-child(2) {
  width: 40px;
  height: 40px;
  left: 82%;
  top: 88%;
  background: var(--bubble-2);
  animation-delay: 2s;
}
.bubbles span:nth-child(3) {
  width: 80px;
  height: 80px;
  left: 50%;
  top: 94%;
  background: rgba(11, 94, 215, 0.12);
  animation-delay: 1s;
}
.bubbles span:nth-child(4) {
  width: 34px;
  height: 34px;
  left: 30%;
  top: 84%;
  background: var(--bubble-2);
  animation-delay: 3s;
}
.bubbles span:nth-child(5) {
  width: 52px;
  height: 52px;
  left: 70%;
  top: 98%;
  background: var(--bubble-3);
  animation-delay: 1.5s;
}
.bubbles span:nth-child(6) {
  width: 36px;
  height: 36px;
  left: 60%;
  top: 92%;
  background: var(--bubble-1);
  animation-delay: 2.5s;
}
.bubbles span:nth-child(7) {
  width: 28px;
  height: 28px;
  left: 22%;
  top: 96%;
  background: rgba(255, 235, 205, 0.18);
  animation-delay: 4s;
}
.bubbles span:nth-child(8) {
  width: 46px;
  height: 46px;
  left: 90%;
  top: 92%;
  background: rgba(227, 240, 255, 0.14);
  animation-delay: 2.2s;
}
.bubbles span:nth-child(9) {
  width: 56px;
  height: 56px;
  left: 40%;
  top: 99%;
  background: rgba(255, 218, 82, 0.14);
  animation-delay: 3.5s;
}
.bubbles span:nth-child(10) {
  width: 38px;
  height: 38px;
  left: 60%;
  top: 96%;
  background: rgba(255, 228, 225, 0.14);
  animation-delay: 1.8s;
}

@keyframes bubbleMove {
  0% {
    transform: translateY(0) scale(1) rotate(0deg);
    opacity: 0.45;
  }
  50% {
    transform: translateY(-60px) scale(1.08) rotate(18deg);
    opacity: 0.6;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.06));
  }
  100% {
    transform: translateY(-120px) scale(1.03) rotate(36deg);
    opacity: 0.18;
  }
}
/* Professional Footer Styles */
.footer-pro {
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.08);
}
.footer-pro h4,
.footer-pro h5 {
  color: #fff;
}
.footer-link {
  color: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  transition: color 0.2s;
}
.footer-link:hover {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: underline;
}
.footer-social a img {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.18));
  transition: transform 0.2s;
}
.footer-social a:hover img {
  transform: scale(1.15);
}
.footer-icon {
  margin-left: 6px;
  font-size: 1.2em;
}
.footer-pro ul {
  padding-left: 0;
}
.footer-pro hr {
  border-color: #fff;
  opacity: 0.2;
}
.footer-pro .small {
  color: rgba(255, 255, 255, 0.9);
}
.bg-1 {
  background: linear-gradient(135deg, #0d6efd 0%, #6f42c1 100%);
  background-size: cover;
}
.bg-2 {
  background: linear-gradient(135deg, #198754 0%, #0dcaf0 100%);
}
.bg-3 {
  background: linear-gradient(135deg, #fd7e14 0%, #ffc107 100%);
}
.carousel-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 10px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.25);
}
.carousel-subtitle {
  font-size: 1.2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.7s ease;
}
.carousel-item.active .carousel-title,
.carousel-item.active .carousel-subtitle {
  opacity: 1;
  transform: translateY(0);
}
.btn-main {
  background: var(--cta-bg);
  color: var(--cta-color);
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 10px;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

/* small decorative floating effect */
.carousel-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* subtle tint using palette — placed above image and below content */
  background: linear-gradient(
    180deg,
    var(--overlay-dark),
    var(--overlay-light)
  );
  backdrop-filter: blur(3px);
}

@media (max-width: 576px) {
  .carousel-title {
    font-size: 1.6rem;
  }
  .carousel-subtitle {
    font-size: 0.95rem;
  }
}

/* Portfolio Section */
#portfolio {
  background: linear-gradient(
    120deg,
    rgba(6, 41, 75, 0.95),
    rgba(11, 83, 69, 0.9)
  );
  color: #fff;
  position: relative;
  overflow: hidden;
}

#portfolio h2 {
  color: #ff6600; /* accent color */
  margin-bottom: 40px;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.portfolio-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
  border-radius: 12px;
}
.portfolio-item:hover img {
  transform: scale(1.1);
  filter: brightness(50%);
}

/* Overlay text */
.portfolio-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
}
.portfolio-item:hover .overlay {
  opacity: 1;
}
.portfolio-item .overlay h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ff6600; /* accent */
}
.portfolio-item .overlay p {
  font-size: 1rem;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 992px) {
  .portfolio-item img {
    height: 220px;
  }
}
@media (max-width: 576px) {
  .portfolio-item img {
    height: 180px;
  }
  .portfolio-item .overlay h4 {
    font-size: 1.2rem;
  }
  .portfolio-item .overlay p {
    font-size: 0.9rem;
  }
}

.footer-link:hover {
  color: #ffd580;
  text-decoration: underline;
}

.footer-icon:hover {
  color: #ffd580;
}

/* Fixed icons bottom right */
.fixed-icons {
  position: fixed;
  bottom: 20px;
  right: 20px; /* لو عايزاهم شمال: left: 20px */
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
}

/* شكل الدائرة */
.fixed-icons .icon {
  width: 55px;
  height: 55px;
  background: #ff6600; /* هيتغير حسب الزر */
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 25px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: 0.2s ease-in-out;
}

/* Hover */
.fixed-icons .icon:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

/* تخصيص كل Icon */
.call-icon {
  background: #ff6600;
}

.whatsapp-icon {
  background: #25d366;
}



.white{
  color: #fff;
}

/* Responsive */
@media (max-width: 576px) {
  .fixed-icons .icon {
    width: 47px;
    height: 47px;
    font-size: 21px;
  }
}

.up-down {
  animation: upDown 2.5s ease-in-out infinite;
}

@keyframes upDown {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0);
  }
}

.carousel-caption{
    right: 0;
    bottom: -50px;
}
