html {
  scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
  }
  @font-face {
    font-family: 'AvertaDemo';
    src: url('../fonts/AvertaDemoPECuttedDemo-Regular.otf') format('opentype');
  }
  
  @font-face {
    font-family: 'DotsAllForNow';
    src: url('../fonts/DotsAllForNow.ttf') format('truetype');
  }
  
  @font-face {
    font-family: 'HelveticaNeueLTArabic-Bold';
    src: url('../fonts/HelveticaNeueLTArabic-Bold.ttf') format('truetype');
  }
  
  @font-face {
    font-family: 'HelveticaNeueLTArabic-Roman';
    src: url('../fonts/HelveticaNeueLTArabic-Roman.ttf') format('truetype');
  }
  
  @font-face {
    font-family: 'IBMPlexSansArabic-Medium';
    src: url('../fonts/IBMPlexSansArabic-Medium.ttf') format('truetype');
  }
  
  @font-face {
    font-family: 'IBMPlexSansArabic-Regular';
    src: url('../fonts/IBMPlexSansArabic-Regular.ttf') format('truetype');
  }
  
  @font-face {
    font-family: 'IBMPlexSans-Regular';
    src: url('../fonts/IBMPlexSans-Regular.ttf') format('truetype');
  }
  
  @font-face {
    font-family: 'IBMPlexSans-SemiBold';
    src: url('../fonts/IBMPlexSans-SemiBold.ttf') format('truetype');
  }
  
  @font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype');
  }
  
  @font-face {
    font-family: 'Montserrat-SemiBold';
    src: url('../fonts/Montserrat-SemiBold.otf') format('opentype');
  }
  
  @font-face {
    font-family: 'PPMori-Extralight';
    src: url('../fonts/PPMori-Extralight.otf') format('opentype');
  }
  
  body {
    color: #333;
    font-family: 'Inter', sans-serif;
  }


  header {
    background-color: white;
    z-index: 2;
    position: relative;
    padding-bottom: 20px;
  }
  
  nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    flex-direction: row;
  }
  
  nav a {
    text-decoration: none;
    color: #6d28d9;
    font-weight: 500;
    font-size: 24px;
    white-space: nowrap;
  }
  
  nav img {
    margin: 0px 30px;
    width: 300px;
  }
  
  
   .video-div {
    margin: 0px 20px;
    position: relative;
    width: calc(100% - 40px);
    height: 720px;
  }
  

  .video-div span ,.video-div strong {
    z-index: 2;
    position: absolute;
    top: 50%;
    left: 40px;
    font-size: 80px;
    color: white;
  }

  .video-div span  {
    top: calc(50% + 100px);
  }

  .hero-image,
  .hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    display: none;
    z-index: 1;
  }
  
  .hero-image.active,
  .hero-video.active {
    display: block;
    z-index: 2;
  }

  .section {
    padding: 60px 20px 0px 20px;
    background-color: #fcfcfc;
    z-index: 2;
    position: relative;
  }
  
  .container {
    margin: auto;
  }
  
  .section-title {
    font-size: 50px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 8px;
  }
  
  .text-pink {
    color: #ed566d;
  }
  
  .section-paragraph {
    font-size: 16px;
    color: #333;
    line-height: 1.7;
    margin-bottom: 30px;
  }
  
  .with-border {
    padding-bottom: 20px;
    border-bottom: 1px solid #ed566d;
  }
  
  .centered-image {
    z-index: 1;
    position: fixed;
    top: 100px;
    left: 40px;
    width: calc(100% - 80px);
    text-align: center;
  }
  
  .rounded-shadow-image {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  .contact-left, .contact-right {
    font-size: 16px;
    color: #6c2c91;
    text-align: left;
  }
  
  .contact-left a,
  .contact-right a {
    color: #6c2c91;
    text-decoration: none;
  }
  
  .contact-left a:hover,
  .contact-right a:hover {
    text-decoration: underline;
  }
  
  .divider {
    width: 1px;
    height: 60px;
    background-color: #6c2c91;
  }
  
  .products-section {
    background-color: #fff;
    padding-top: 80px;
  }
  
  .products-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 30px 10px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    justify-content: center;
  }
  
  .product-card {
    flex: 0 0 auto;
    scroll-snap-align: start;
    width: 300px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
  }
  
  .product-card img {
    width: 100%;
    height: auto;
    border-bottom: 0;
  }
  
  .product-info {
    background-color: #693fbf;
    padding: 20px 10px;
  }
  
  .product-info h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
  }
  
  .view-all-btn {
    background-color: yellow;
    padding: 10px 20px;
    font-weight: bold;
    font-size: 16px;
    color: #6c2c91;
    text-decoration: none;
    border-radius: 40px;
    display: inline-block;
    transition: 0.3s ease;
  }
  
  .view-all-btn:hover {
    opacity: 0.9;
  }
  
  .carousel-btn {
    background: none;
    border: none;
    font-size: 40px;
    font-weight: bold;
    color: #6c2c91;
    cursor: pointer;
    padding: 0 10px;
  }
  
  .carousel-btn:focus {
    outline: none;
  }

  .services-section {
    padding: 80px 20px;
    background-color: #f9f9f9;
    text-align: center;
  }
  
  .services-heading h2 {
    font-size: 32px;
    color: #693fbf;
    max-width: 1000px;
    margin: 0 auto 50px;
    line-height: 1.5;
  }
  
  .services-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }
  
  .service-card {
    background-color: #fff;
    padding: 30px 20px;
    width: 220px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
  }
  
  .service-card:hover {
    transform: translateY(-5px);
  }
  
  .service-card img {
    height: 60px;
    margin-bottom: 20px;
  }
  
  .service-card h3 {
    color: #6c2c91;
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  .service-card p {
    font-size: 14px;
    color: #555;
    min-height: 60px;
  }
  
  .service-card a {
    display: inline-block;
    margin-top: 15px;
    font-size: 14px;
    color: #6c2c91;
    font-weight: bold;
    text-decoration: none;
  }

  .contact-section {
    padding: 80px 20px;
    background-color: #f8f9fa;
  }
  
  .contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
    justify-content: center;
  }
  
  .map-container {
    position: relative;
    width: 50%;
    aspect-ratio: 1 / 1;
    max-height: 450px;
    max-width: 450px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  
  .map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }
  
  
  .contact-info {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
  }
  
  .contact-info h2 {
    color: #235999;
    font-size: 26px;
    margin-bottom: 30px;
  }
  
  .contact-icon {
    width: 40px;
    margin-bottom: 20px;
  }
  
  .info-block {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
  }
  
  .info-icon {
    width: 24px;
    height: 24px;
    margin-top: 5px;
  }

  .main-footer {
    background: url('../images/footer-decoration.png');
    background-color: #694ca0;
    color: #fff;
    padding: 100px 40px;
    position: relative;
    background-size: cover;    
    background-position: bottom;
  }
  
  .footer-content {
    gap: 130px;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    max-width: 1300px;
    margin: 0 auto;
  }
  
  .footer-left, .footer-right {
    max-width: 400px;
  }
  
  .footer-logo {
    width: 200px;
    margin-bottom: 20px;
  }
  
  .main-footer h3 {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 500;
  }
  
  .main-footer p, 
  .main-footer a {
    font-size: 16px;
    line-height: 1.8;
    color: white;
    text-decoration: none;
  }
  
  .footer-right ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-right li {
    margin-bottom: 10px;
  }
  
  .footer-decoration {
    margin-top: 40px;
    text-align: right;
  }
  
  .footer-decoration img {
    max-width: 100%;
    height: auto;
  }

  .image-fade-section {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
  }
  
  .image-fade-section .fade-img {
    position: absolute;
    top: 60px;
    left: 20px;
    width: calc(100% - 40px);
    height: auto;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
    display: block;
  }
  
  .image-fade-section .fade-img.active {
    opacity: 1;
    z-index: 2;
  }
  
  @media (max-width: 768px) {
    .footer-content {
      flex-direction: column;
      gap: 40px;
    }
  
    .footer-decoration {
      text-align: center;
      margin-top: 30px;
    }

    .map-container {
      width: 100%;
    }

    .video-div span ,.video-div strong {
      font-size: 40px;
    }

    .video-div span  {
      font-size: 40px;
      top: calc(50% + 50px);
    }
  }
  
  @media (max-width: 768px) {
    .service-card {
      width: 90%;
    }
  
    .services-heading h2 {
      font-size: 24px;
    }
  }

  
  @media (max-width: 768px) {
  
    .divider {
      display: none;
    }
  
    .contact-left,
    .contact-right {
      text-align: center;
    }
  }
  
  
  @media (max-width: 600px) {
    nav {
      gap: 10px;
      flex-wrap: wrap;
    }
  
    nav img {
      order: -1;
      margin: 10px 0;
    }
  
    nav a {
      font-size: 15px;
    }

    header {
      background-color: white;
    }
  }

  @media (max-width: 1024px) {
    .video-div {
      height: 600px;
    }
  }
  
  @media (max-width: 768px) {
    .video-div {
      height: 400px;
    }
  }
  
  @media (max-width: 480px) {
    .video-div {
      height: 300px;
    }
  
    .section-title {
      font-size: 32px;
    }
  
    .section-paragraph {
      font-size: 14px;
      line-height: 1.6;
    }
  
    .contact-left,
    .contact-right {
      font-size: 14px;
    }
    
    .video-div span ,.video-div strong {
      font-size: 25px;
    }

    .video-div span  {
      top: calc(50% + 30px);
    }
  }
  
  @media (max-width: 480px) {
    .product-card {
      width: 250px;
    }
  
    .view-all-btn {
      font-size: 14px;
      padding: 8px 16px;
    }
  
    .product-info h3 {
      font-size: 16px;
    }
  
    .carousel-btn {
      display: none;
    }
  }
  