.contact-info {
  margin-top: 2rem;
  padding-top: 2rem;
  display: grid;
  gap: 1.5rem;
  direction: rtl;
}

.contact-info > div {
  padding: 1rem;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.contact-info p {
  margin: 0.5rem 0;
  line-height: 1.6;
}

.contact-details, .social {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .contact-info {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .contact-info {
    grid-template-columns: 1fr;
  }
}


    
#about .content-wrapper p {
text-align: justify;
} 


@media (min-width: 768px) {
    #about .content-wrapper p {
text-align: justify;
font-size: 1.5em;
} 


}


.retro-link {
      position: relative;
      display: inline-block;
      text-decoration: none;
      margin: 8px;
    }

    .retro-link__front {
      position: relative;
      display: inline-flex;
      justify-content: center;
      align-items: center;
      padding: 14px 28px;
      background-color: white;
      border: 2px solid #303030;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      font-size: 16px;
      font-weight: 500;
      color: #303030;
      text-align: center;
      direction: rtl;
      transition: transform 0.3s ease;
      z-index: 2;
    }

    .retro-link__back {
      content: "";
      position: absolute;
      top: 8px;
      left: 8px;
      width: 100%;
      height: 100%;
      background-color: #af965d;
      border: 2px solid #333;
      z-index: 1;
      transition: transform 0.3s ease;
    }

    .retro-link:hover .retro-link__front {
      transform: translate(4px, 4px);
    }

    .retro-link:hover .retro-link__back {
      transform: translate(-4px, -4px);
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
      .retro-link__front {
        font-size: 14px;
        padding: 12px 24px;
      }
    }

    @media (max-width: 480px) {
      .retro-link__front {
        font-size: 13px;
        padding: 10px 20px;
      }
    }


@media (max-width: 768px) {
    .company-logo {
        width: 35vw !important; /* Adjust this value as needed */
    }

    h1,h2,h3 {
        font-size: 1em;
    }


}

        a{
            color: gray;
            text-decoration: none;
        }
        
@media (max-width: 768px) {
    html, body {
        scroll-snap-type: y mandatory;
        overflow-y: scroll;
        height: 100%;
    }
    .section {
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }
}


@media (max-width: 768px) {
    .nav-dot {
        width: 12px;
        height: 12px;
    }
}


.about p {
    font-size: 1.5em;
    text-align: justify;
}

p,a{
    display: block;
}

        /* Add these styles to hide scrollbar while maintaining scroll functionality */
html {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

/* Hide scrollbar for Chrome, Safari and Opera */
html::-webkit-scrollbar {
    display: none;
}

/* For the body as well, to ensure complete coverage */
body {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

body::-webkit-scrollbar {
    display: none;
}

        p, img{
            margin: 0.5em;
        }

        .main-logo{
            width: 20em;
            max-width: 80vw;
        }

         * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: system-ui, -apple-system, sans-serif;
        }

        html {
            scroll-snap-type: y mandatory;
            scroll-behavior: smooth;
            overflow-y: scroll;
            height: 100%;
            font-size: 16px;
        }

        body {
            height: 100%;
            overflow-y: scroll;
            background: #ffffff;
            color: #000000;
        }

        .section {
            min-height: 100vh;
            width: 100%;
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            scroll-snap-align: start;
            scroll-snap-stop: always;
            padding: 2rem 1rem;
        }

        /* Fix z-index stacking - Ensure content is always above background */
        .lottie-background {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        .content-wrapper {
            position: relative;
            z-index: 2; /* Ensure content is above lottie background */
            max-width: min(1200px, 90vw);
            padding: clamp(1rem, 5vw, 2rem);
            text-align: center;
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
            width: 100%;
            border-radius: 8px;
        }

        /* Fix navigation colors */
        .nav-dots {
            position: fixed;
            right: min(40px, 5vw);
            top: 50%;
            transform: translateY(-50%);
            z-index: 1000;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .nav-dot-container {
            display: flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
        }

        /* Default state - all dots and titles are gray */
        .nav-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #af965d;
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            flex-shrink: 0;
        }

        .nav-dot-title {
            color: #af965d;
            font-size: clamp(0.75rem, 2vw, 14px);
            transition: all 0.3s ease;
            opacity: 1;
            margin: 0.7em;
            transform: translateX(10px);
            white-space: nowrap;
        }


        @media (max-width: 600px) {
    .nav-dot-title {
        display: none;
    }
}

        /* Active state - black for active dot and title */
        .nav-dot-container.active .nav-dot {
            background:  gray;
            transform: scale(1.5);
        }

        .nav-dot-container.active .nav-dot-title {
            color:  gray;
        }

        /* Rest of your existing styles */
        .visible .content-wrapper {
            opacity: 1;
            transform: translateY(0);
        }

        .hero-title {
            font-size: clamp(2rem, 8vw, 4rem);
            margin-bottom: clamp(1rem, 4vw, 2rem);
            font-weight: 200;
            line-height: 1.2;
        }

        .hero-subtitle {
            font-size: clamp(1rem, 3vw, 1.5rem);
            line-height: 1.6;
            max-width: min(800px, 90vw);
            margin: 0 auto;
            opacity: 0.8;
        }

        .companies-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: clamp(1rem, 4vw, 6rem);
            margin-top: clamp(2rem, 4vw, 4rem);
            align-items: center;
            justify-items: center;
        }

        .company-logo {
            width: min(200px, 100%);
            height: auto;
            opacity: 0.9;
            transition: opacity 0.3s ease;
        }

        .service-card {
            padding: clamp(1.5rem, 4vw, 3rem);
            max-width: min(600px, 90vw);
            margin: 0 auto;
            transform: scale(1);
        }

        .service-card h2 {
            font-size: clamp(1.8rem, 5vw, 3rem);
            margin-bottom: clamp(0.8rem, 2vw, 1.5rem);
            line-height: 1.2;
        }

        .service-card p {
            font-size: clamp(1rem, 3vw, 1.5rem);
            line-height: 1.8;
            opacity: 0.9;
        }

        @media (max-width: 768px) {
            .nav-dots {
                right: 10px;
            }
            
            .nav-dot-container:hover .nav-dot-title,
            .nav-dot-container.active .nav-dot-title {
                display: none;
            }

            .nav-dot {
                width: 6px;
                height: 6px;
            }

            .service-card {
                transform: scale(1) !important;
            }
        }

        @media (min-width: 769px) {
            .nav-dot-container:hover .nav-dot-title,
            .nav-dot-container.active .nav-dot-title {
                opacity: 1;
                transform: translateX(0);
            }
        }

        dotlottie-player {
            width: 100% !important;
            height: 100% !important;
            object-fit: cover;
            transform: scale(1.2);
        }

        @media (max-width: 768px) {
            dotlottie-player {
                transform: scale(1.5);
            }
        }



/* Adjust base section styles */
.section {
    position: relative;
    overflow: hidden;
}


/* Make content more readable */
.content-wrapper {
    position: relative;
    z-index: 3;
}



.full lottie-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.full dotlottie-player {
    position: absolute;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    scale: 2.5; /* Increased zoom to ensure coverage */
}

@media (max-width: 768px) {
    .full dotlottie-player {
        scale: 3.5; /* Even more zoom for mobile */
    }
}

/* Ensure proper snap-scrolling overall */
html, body {
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    height: 100%;
}

/* Each section should snap and occupy the full viewport */
.section {
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    /* Force each section to be exactly one viewport high */
    .section {
        height: 100vh;
    }
    /* Enlarge dots for better touch usability */
    .nav-dot {
        width: 16px;  /* Increased from 8px or 6px */
        height: 16px;
    }
    /* Hide navigation titles completely */
    .nav-dot-title {
        display: none;
    }
    /* Enable momentum scrolling on iOS */
    body {
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 768px) {
  /* Reduce line spacing and margins for headings */
  h1, h2, h3 {
    line-height: 1.1; /* Adjust as needed */
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    /* Optionally, you might also reduce the font-size if desired */
    /* font-size: clamp(1.5rem, 5vw, 2rem); */
  }
}

.section {
  height: calc(var(--vh, 1vh) * 100);
}




