cbody {
  font-family: 'DM Sans', sans-serif;
  scroll-behavior: smooth;
}
.hidelogo {
    display:block;
}
.hero-title {
    font-size:2.5em;
    margin-bottom:-12px;
}

.contact-title {
    font-size:2em;
    margin-bottom:-12px;
    font-weight:400;
}

.draw {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: drawLine 6s linear infinite;
}

@keyframes drawLine {
  0% {
    stroke-dashoffset: 300;
  }
  50% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: 0; /* stay visible during "pause" */
  }
}

svg {
  width: 100%;
  height: 100%;
  display: block;
}

.center-text {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.zain-extralight {
  font-family: "Zain", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.zain-light {
  font-family: "Zain", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.zain-regular {
  font-family: "Zain", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.zain-bold {
  font-family: "Zain", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.zain-extrabold {
  font-family: "Zain", sans-serif;
  font-weight: 800;
  font-style: normal;
}

.zain-black {
  font-family: "Zain", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.zain-light-italic {
  font-family: "Zain", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.zain-regular-italic {
  font-family: "Zain", sans-serif;
  font-weight: 400;
  font-style: italic;
}


.navbar {
  transition: background-color 0.3s;
}
p {
    font-size:16px;
    font-weight:normal;
}
.colwhi {
    color:#fff;
}
.colblk {
    color:#333;
}
.colorg {
    color:#e1a543;
}
.blkbg {
  background-color: rgba(0, 47, 66, 0.95);
}
.coldark {
    color:#073649;
}
.blkbgdark {
  background-color: #073649;
}

.blkbgdrk {
  background-color: #111;
}

.testimonial-slider {
      max-width: 800px;
      margin: 0px auto;
      position: relative;
      overflow: hidden;
      background: #002f42;
      border-radius: 10px;
      padding: 40px 20px;
    }

    .testimonial-container {
      display: flex;
      transition: transform 0.5s ease-in-out;
    }

    .testimonial {
      flex: 0 0 100%;
      padding: 20px;
      box-sizing: border-box;
      text-align: center;
    }

    .testimonial p {
      font-size: 1.1rem;
      line-height: 1.6;
    }

    .testimonial h5 {
      margin-top: 15px;
      color: #e1a543;
    }

    .btn-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(255, 255, 255, 0.1);
      border: none;
      color: white;
      font-size: 1.5rem;
      padding: 10px 15px;
      cursor: pointer;
      z-index: 10;
      transition: background 0.3s;
    }

    .btn-arrow:hover {
      background: rgba(255, 255, 255, 0.3);
    }

    .btn-prev {
      left: 10px;
    }

    .btn-next {
      right: 10px;
    }

    @media (max-width: 600px) {
      .testimonial-slider {
        padding: 20px 10px;
      }

      .btn-arrow {
        font-size: 1.2rem;
      }
      .hero-title {
          font-size:1.8em;
      }
      .center-text {
  display: flex;
  justify-content: center;
  align-items: baseline;
  height: auto;
}
.hidelogo {
    display:none;
}
    }

.service-box {
  position: relative;
  height: 450px;
  background-image: none !important; /* we use ::after instead */
  background-size: cover;
  background-position: center;
  border-radius: 0px;
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

/* Background image + blur layer */
.service-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  filter: blur(0px);
  transition: filter 0.4s ease;
  z-index: 0;
}

/* Blur effect on hover */
.service-box:hover::after {
  filter: blur(5px);
  transform: scale(1.05);
}

/* Optional dark overlay */
.service-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

/* Text content stays on top */
.service-content {
  position: relative;
  z-index: 2;
  color: white;
}

/* Hover animation */
.service-box:hover {
  transform: translateY(-20px);
}

/* Background images for each column */
.service-box:nth-child(1)::after {
  background-image: url('http://173.224.122.237/~websitek/amaraliving/img/about-amara-01.webp');
}
.service-box:nth-child(2)::after {
  background-image: url('http://173.224.122.237/~websitek/amaraliving/img/Full-Remodel-learn-more-2-1-2.webp');
}
.service-box:nth-child(3)::after {
  background-image: url('http://173.224.122.237/~websitek/amaraliving/img/DSC6084-scaled.webp');
}
.service-box:nth-child(4)::after {
  background-image: url('http://173.224.122.237/~websitek/amaraliving/img/Full-Remodel-learn-more-2-w.webp');
}

.scroll-wrapper {
  height: 300vh; /* Enough vertical scroll for 3 images */
  position: relative;
}

.sticky-container {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.image-track {
  display: flex;
  height: 100%;
  will-change: transform;
  transition: transform 0.1s linear;
}

.image-box {
  flex: 0 0 100vw;
  height: 100%;
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


    @media (max-width: 768px) {
      .image-box { height: 70vh; }
      .sticky-container { height: 70vh; }
    }

    @media (max-width: 480px) {
      .image-box { height: 60vh; }
      .sticky-container { height: 60vh; }
    }

.navbar.scrolled {
  background-color: rgba(45, 45, 45, 0.95);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.navbar.scrolled .nav-link {
  color: #fff;
}
.nav-link {
  font-family: var(--_font-family---paragraph);
  font-size: var(--_font-size---paragraph--m);
  text-transform: uppercase;
  color: #fff;
  padding: 0;
  line-height: 160%;
  text-decoration: none;
  transition-property: color;
  transition-duration: .2s;
  transition-timing-function: ease;
}

.hero-section {
  height: 100vh;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1; /* push it behind content */
}
.hero {
  background: url('img/aamara-banner-bg.jpg') center/cover no-repeat;
  height: 100vh;
  position: relative;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  /*background: rgba(0, 0, 0, 0.5);*/
}
.hero .content {
  position: relative;
  z-index: 2;
}
.service-icon {
  font-size: 3rem;
  color: #007bff;
}
.project-card img {
  height: 200px;
  object-fit: cover;
}
.footer {
  background-color: #002f42;
  padding: 2rem 0;
}

/*Contact */
.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    color: #fff;
    backdrop-filter: blur(5px);
  }

  .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
  }

  .form-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
  }

  .input-with-icon {
    position: relative;
  }

  .input-with-icon input,
  .input-with-icon textarea {
    padding-left: 40px;
  }

  .form-control {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
  }

  .form-control:focus {
    background: transparent;
    box-shadow: none;
    border-color: #fff;
  }

  .btn-contact {
    background-color: #ffffff;
    color: #000;
    border: none;
    padding: 10px 30px;
    font-weight: bold;
    transition: all 0.3s ease;
  }


  .btn-contact:hover {
    background-color: #eaeaea;
  }
.contact-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 10px 15px;
    transition: all 0.3s ease;
    backdrop-filter: blur(0px);
  }

  .contact-card:hover {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    transform: scale(1.02);
  }

  .contact-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
  }

  .contact-link {
    display: flex;
    align-items: center;
    color: white;
    font-size:0.4em;
    font-weight:400;
    text-decoration: none;
  }

  .contact-link:hover {
    text-decoration: none;
    color: #ffffff;
  }
.contact-hero {
  background: url('img/contact-us-al.webp') center/cover no-repeat;
  height: 100vh;
  position: relative;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/*About*/
.about-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background-color:#333;
  overflow: hidden;
  background-color: black; /* Optional: Your hero background */
}

#tsparticles {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.about-hero-content {
  position: relative;
  z-index: 1;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-align: center;
  padding: 2rem;
}

.fixed-image-container {
      position: sticky;
      top: 0;
      height: 100vh;
      overflow: hidden;
    }

    .fixed-image-container img {
      width: 100%;
      height: 100vh;
      object-fit: cover;
      transition: opacity 1s ease;
      position: absolute;
      top: 0;
      left: 0;
      border-radius:20px;
      z-index: 1;
      opacity: 0;
    }

    .fixed-image-container img.active {
      opacity: 1;
      z-index: 2;
    }

    .glass-card {
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border-radius: 15px;
      padding: 30px;
      color: white;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
      margin-bottom: 40px;
      transition: transform 0.3s ease;
    }

    .glass-card:hover {
      transform: translateY(-10px);
    }

    @media (max-width: 768px) {
      .fixed-image-container {
        display: none;
      }
    }
    
    .our-team-section {
  background: linear-gradient(135deg, #073649, #073649);
}

.team-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  transition: transform 0.3s ease;
  padding: 20px;
  text-align: center;
  color: #fff;
}

.team-img img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.team-card:hover .team-img img {
  transform: scale(1.05);
}

.team-content h4 {
  font-weight: 600;
  margin-bottom: 5px;
  font-size: 1.3rem;
}

.team-content p {
  font-size: 0.95rem;
  margin-bottom: 15px;
  color: #ccc;
}

.social-icons a {
  display: inline-block;
  color: #fff;
  font-size: 1.2rem;
  margin: 0 10px;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  color: #ffd700;
  transform: translateY(-3px);
}



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


    /* Sidebar styles */
    .sidebar {
      position: fixed;
      top: 0;
      left: 0;
      width: 20vw;
      height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      transition: background-color 0.3s ease;
      z-index: 1000;
      padding: 2rem 1rem;
    }

    .sidebar.transparent {
      background-color: none;
      color: #FFCD57;
    }

    .sidebar.white {
      background-color: none;
      color: #073649;
    }

    .sidebar a {
      color: #FFCD57;
      text-decoration: none;
      font-size:1.6em;
      margin: 1rem 0;
      display: block;
      transition: transform 0.3s ease, font-weight 0.3s;
    }
    
    .sidebarp {
      font-size:0.5em;
    }

    .sidebar a.active {
      transform: translateX(30px);
      font-weight: bold;
      color:#ffffff;
    }

    /* Hero section */
    #hero {
      height: 100vh;
      background: url('https://via.placeholder.com/1600x900') no-repeat center center/cover;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      position: relative;
    }

    /* General sections */
    section {
      min-height: 100vh;
      background-color: #f7f7f7;
    }

    section h2 {
      margin-bottom: 1rem;
    }

    .gallery {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 1rem;
    }

    .gallery img {
      width: 100%;
      height: auto;
      border-radius: 8px;
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
      .sidebar {
        width: 100%;
        height: auto;
        flex-direction: row;
        justify-content: space-around;
        position: fixed;
        padding: 1rem;
        display:none;
        background-color: rgba(255, 255, 255, 0.95);
      }

      .sidebar a {
        margin: 0 1rem;
      }

      section {
        padding-top: 0px;
      }
    }
@media (max-width: 991px) {
  .navbar-collapse {
    background-color: black; /* black background only on mobile collapse */
    text-align: center;      /* center the menu text */
    padding: 1rem 0rem;
    width:90%;
  }

  .navbar-collapse .nav-link {
    color: white !important; /* make text white */
  }

  .navbar-collapse .nav-link:hover {
    color: #f8f9fa; /* slightly lighter hover effect */
  }
}

    @media (min-width: 769px) {
      .projects-page section:not(#hero) {
  padding-left: 20vw;
  padding-top: 100px;
  padding-bottom: 100px;
}
    }
    
/* Preloader */
/* Preloader base */
#preloader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.8s ease;
}

.preloader-content {
  text-align: center;
  color: #fff;
}

.preloader-logo {
  width: 120px;
  margin-bottom: 20px;
  animation: pulse 1.5s ease-in-out infinite;
}

/* Spinner */
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid #fff;
  border-radius: 50%;
  margin: 0 auto 10px;
  animation: spin 1s linear infinite;
}

/* Text */
.loading-text {
  font-size: 1rem;
  font-weight: 500;
}

/* Animations */
@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

/* Hide when loaded */
body.loaded #preloader {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}


/* Floating button styling */
        .enquire-button {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background-color: #e1a543;
            color: white;
            border: none;
            padding: 15px 30px;
            font-size: 16px;
            border-radius: 5px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            cursor: pointer;
            z-index: 1000;
            transition: all 0.3s ease;
        }
        
        /* Floating button styling for WhatsApp */
    .whatsapp-button {
      position: fixed;
      bottom: 20px;
      left: 20px;
      background-color: #25D366;  /* WhatsApp green */
      color: white;
      border: none;
      width: 60px; /* Width of the button */
      height: 60px; /* Height of the button */
      border-radius: 50%; /* Make it circular */
      display: flex; /* Align the icon */
      justify-content: center; /* Center the icon horizontally */
      align-items: center; /* Center the icon vertically */
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      cursor: pointer;
      z-index: 1000;
      transition: all 0.3s ease;
    }

    /* WhatsApp button icon size */
    .whatsapp-button i {
      font-size: 30px; /* Icon size */
    }

        /* Shake animation */
        @keyframes shake {
            0% { transform: translateX(0); }
            25% { transform: translateX(-10px); }
            50% { transform: translateX(10px); }
            75% { transform: translateX(-10px); }
            100% { transform: translateX(10px); }
        }

        /* Add shake effect every 5 seconds */
        .shake {
            animation: shake 0.5s ease infinite;
        }