 body {
    margin: 0;
  
    overflow-x: hidden;
  }
  * {
  box-sizing: border-box;
}
  .slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 1; /* keep below overlay */
  }

  /* Full slider dark transparent overlay */
  .slider::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    pointer-events: none;
    z-index: 5;
  }

  .slide {
    height: 100vh;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 6s ease-in-out;
  }

  /* Slick fade effect */
  .slick-slide {
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }
  .slick-active {
    opacity: 1 !important;
  }

  /* Overlay text container */
  .overlay {
  position: absolute;
  top: 40%;
  left: 80px;
  transform: translateY(-50%);
  z-index: 10;
  color: white;
  text-align: left;
  max-width: 600px;
  pointer-events: none;
  user-select: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}


  /* Text styles */
    .overlay h5 {
    position: relative;
    font-weight: 400;
    font-size: 1.0rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding-bottom: 0.3rem;
  }

  .overlay h5::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #c19a6b;
    border-radius: 2px;
  }


  .overlay h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
  }

  .overlay .description p {
    font-size: 1.1rem;
    line-height: 1.4;
    margin: 0;
  }
  .highlight {
  color: #c19a6b; /* golden color */
 
  /* You can add more styles, e.g.: */
  
  letter-spacing: 2px;
}

#typewriter {
  border-right: 2px solid #c19a6b; /* golden blinking cursor */
  padding-right: 5px;
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
  vertical-align: bottom;
  animation: blinkCursor 0.7s step-end infinite;
    font-size: 38px;
}

@keyframes blinkCursor {
  from, to { border-color: transparent; }
  50% { border-color: #c19a6b; }
}

.overlay .play-button {
  pointer-events: auto;
  margin-top: 20px;
  background: rgba(193, 154, 107, 0.8);
  border: none;
  border-radius: 50%;
  width: 64px;
  height: 64px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  transition: background-color 0.3s ease;
}

/* Darken on hover */
.overlay .play-button:hover {
  background: rgba(193, 154, 107, 1);
}

/* Play icon SVG styling */
.overlay .play-button svg {
  pointer-events: none;
}

/* Ripple effect */
.overlay .play-button .ripple {
  position: absolute;
  border-radius: 50%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  animation: rippleEffect 3s infinite;
  top: 0;
  left: 0;
  pointer-events: none;
}



/* Ripple keyframes */
@keyframes rippleEffect {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}


.play-wrapper {
  display: flex;
  align-items: center;
  gap: 12px; /* space between button and text */
  margin-top: 20px; /* same as your play-button margin */
}

.watch-video {
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  cursor: pointer;
  pointer-events: auto;
  user-select: none;
  transition: color 0.3s ease;
  margin-top: 5%;
  
}

.watch-video:hover {
  color: #c19a6b; /* golden color on hover */
}





/* Modal background overlay */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 9999; /* on top */
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Modal content container */
.modal-content {
  position: relative;
  background-color: #000;
  padding: 10px;
  max-width: 800px;
  width: 90%;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

/* Close button */
.close-btn {
  position: absolute;
  top: 8px;
  right: 12px;
  color: white;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  transition: color 0.3s ease;
}
.close-btn:hover {
  color: #c19a6b; /* golden hover */
}

.modal video {
  width: 100%;
  border-radius: 5px;
  outline: none;
}



.info-section {
  background: #fff;
  padding: 40px 20px;

  
}

/* Make the whole row centered with even spacing */
.info-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* centers items horizontally */
  align-items: stretch; /* makes all items same height */
  gap: 5px; /* even space between items */
  max-width: 1200px; /* limit width for large screens */
  margin: 0 auto; /* center the row itself */
  padding: 0 15px; /* small side padding */
}

.info-item {
  flex: 1 1 220px;
  display: flex;

  gap: 10px;

  padding: 15px;
  border-radius: 6px;
 
 
  
}

.info-item i {
  font-size: 30px;
  color: #ff5722;
  margin-top: 4px;
}

.box {
  flex: 1 1 220px;
  padding: 10px;
  border-radius: 6px;
  color: #fff;
  position: relative;
  z-index: 2;            /* makes sure it appears above the video */
  margin-top: -80px;     /* adjust this value to shift up more or less */
   max-width: 220px; /* adjust as needed */
  width: 100%; /* makes it responsive */
  align-items: center; /* center icon/text horizontally */
  justify-content: center; /* center vertically */
  text-align: center; /* center text inside */
}

.quality {
  background-color: #0a2a43;
}

.project {
  background-color: #7ac7a5;
}

.big {
  font-size: 2rem;
  font-weight: bold;
}


.location-icon {
    font-size: 3rem; /* much more proportional than 9.5rem */
    margin-right: 12px;
    color: #e74c3c;
}

/* Bigger location text */
.info-text strong {
    font-size: 1.2rem;
}

.info-text ul {
    list-style: none; /* removes bullets */
    padding-left: 0;  /* removes indentation */
    margin: 5px 0 0;
    font-size: 1.05rem;
    line-height: 1.4;
    color: grey;
}

/* Shift Locations box slightly left */
.info-item:first-child {
    margin-left: -10px; /* adjust as needed */
}


.about-section {
  padding: 60px 0;
}

.about-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch; /* ensures both columns match in height */
  justify-content: center;
  gap: 50px;
  max-width: 1100px;
  margin: 0 auto;
}

.about-images {
  flex: 1;
  max-width: 500px;
  position: relative;
  display: flex;
  align-items: flex-start;
  padding-left: 40px; /* pushes big image left */
}

.about-images .img-back {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: translateX(-90px); /* small left shift */
  box-shadow: 0 8px 20px rgba(0,0,0,10);
}

.about-images .img-front {
  position: absolute;
  top: 20%;
  left: auto;
  right: 20px; /* pushes small image right */
  width: 70%;
  height: 60%;
  border: 8px solid #fff;

}

.about-content {
  flex: 1;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* spreads content evenly */
}

.section-subtitle {
  color: #2f665f;
  margin-bottom: 10px;
    display: inline-block;
  position: relative;
}



.section-subtitle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -14px; /* space between text & underline */
  width: 20%;
  height: 3px; /* thickness */
  background-color: #ff6600; /* underline color */
  border-radius: 2px; /* smooth edges */
}


.about-content h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.about-desc {
  margin-bottom: 20px;
}

.about-stats {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 20px;
}

.stat-card {
  background: #0b2d4d;
  color: #fff;
  padding: 20px;
  text-align: center;
}

.stat-card h3 {
  font-size: 2.5rem;
  margin-bottom: 5px;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-list li {
  margin-bottom: 10px;
}

.about-footer {
  display: flex;
  align-items: center;
 gap: 50px;
  flex-wrap: wrap;
}

.founder-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.founder-info img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.btn-primary {
  background: #7ac993;
  padding: 10px 20px;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}

.founder-details h4 {
  margin: 0; /* removes unwanted extra space */
  font-size: 1rem;
  font-weight: 600;
  color: #002B45; /* main heading color */
}

.founder-details p {
  margin: 2px 0 0; /* small top margin */
  font-size: 0.9rem;
  color: #777; /* grey color for designation */
}


.btn-primary:hover {
  background: #0056b3;
}






.services-section {
  position: relative;
  background-image: url('images/bg-converted-textile.webp');
  background-size: cover;
  background-position: center;
  padding: 80px 0;
}

.services-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(242, 246, 249, 0.96);
  z-index: 0;
}

.services-section .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center; /* center everything horizontally */
  text-align: center;  /* center text inside elements */
  gap: 40px;
}

/* Header Section */
/* Header Section - Two Column Layout */
.services-header {
    margin-top: -40px; /* moves the whole section up, adjust value */
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  width: 100%;
  max-width: 1100px; /* same width as grid */
  text-align: left; /* align text to left */
  gap: 40px;
   margin-bottom: 60px; /* adds extra gap before cards */
}


 
  

/* Services-specific tweak */
.services-section .section-subtitle::after {
  color: #2f665f;/* example: different underline color */
  width: 70%; /* example: slightly wider underline */
}

.services-header-left h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 16px 0 0 0;
}

.services-header-right p {
  color: #6c757d;
  margin-bottom: 20px;
}

.services-header-right .btn-primary {
  background: #2bb673;
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  font-weight: 500;
}


.services-header .section-desc {
  color: #6c757d;
  margin-bottom: 20px;
}


/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1100px; /* keeps grid centered and not too wide */
}

.service-card {
    min-height: 300px; /* adjust height as per need */
  position: relative;
  background: #fff;
  padding: 60px 20px 20px 20px; /* top padding increased */
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  text-align: left;
  overflow: hidden;
  transition: color 0.3s ease;
}


/* Hover background fill effect */
.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0%;
  background: #072f44; /* same blue */
  z-index: 0;
  transition: height 0.4s ease;
}


.service-card:hover::before {
  height: 100%;
}

/* Keep content above the blue fill */
.service-card * {
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

/* Change text and icon color on hover */
.service-card:hover h3,
.service-card:hover p,
.service-card:hover a,
.service-card:hover img {
  color: #fff;
  fill: #fff;
  filter: brightness(0) invert(1); /* makes icons white if they're SVG */
}



.service-card img {
  width: 200px;
  margin-bottom: 15px;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-card p {
  color: #6c757d;
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.service-card a {
  color: #2bb673;
  font-weight: 500;
  text-decoration: none;
}

.service-card.active {
  background: #072f44;
  color: white;
}

.service-card.active a {
  color: #2bb673;
}


.experience-section {
  width: 100%;
  margin: 0;
  padding: 0;
}

.experience-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  
}

/* Left Column */
.experience-left {
  background: url('images/bg_tex.jpg') center/cover no-repeat;
  position: relative;
  color: #fff;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.experience-left::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 47, 68, 0.8);
  z-index: 0;
}

.experience-left > * {
  position: relative;
  z-index: 1;
}

.experience-left h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.experience-left p {
  font-size: 1rem;
  margin-bottom: 25px;
  line-height: 1.6;
}

/* Progress Bar Container */
.skill-bar {
  margin: 20px 0;
  
}

.skill-bar span {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.bar {
  position: relative;
  width: 90%;
  height: 5px;
  background: rgba(255,255,255,1.0);
  border-radius: 6px;
  overflow: hidden;
  display: inline-block; /* keeps bar and star on same line */
  vertical-align: middle;
} 



.star {
     position: absolute;
  right: 5px;   /* push star outside the bar */
  margin-top:-22px;
  margin-right: 20px;
  width: 24px;
  height: 24px;
  
  background: gold;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 
                     68% 57%, 79% 91%, 50% 70%, 
                     21% 91%, 32% 57%, 2% 35%, 
                     39% 35%);
  opacity: 0;
  transform: scale(0.3);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.star.active {
  animation: bounceStar 0.6s ease forwards;
}

@keyframes bounceStar {
  0%   { transform: scale(0.3) translateY(-10px); opacity: 0; }
  50%  { transform: scale(1.5) translateY(0); opacity: 1; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}


.progress {
  height: 100%;
  width: 0%;
  background: #2bb673;
  transition: width 1s ease-out;
  position: relative;
}

/* Right Column */
.experience-right {
  position: relative;
  width: 100%;
  height: 100%;
}

.image-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Card overlaps image */
.experience-card {
  position: absolute;
  bottom: -60px;
  left: 70%;
  transform: translateX(-50%);
  width: 80%;
  background: #fff;
  padding: 25px;
  border-radius: 0;
  color: #072f44;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  text-align: center;
  max-width: 350px;
}

.experience-card h3 {
  margin-bottom: 10px;
  color: #2bb673;
}

.experience-card a {
  color: #2bb673;
  text-decoration: none;
  font-weight: 600;
}






.projects-section {
  padding: 60px 20px 40px; /* top 60px, bottom 40px */
/*  background: #f8f9fb;*/
  text-align: center;
}



.projects-section .section-subtitle::after {
  color: #2f665f;/* example: different underline color */
  width: 70%; /* example: slightly wider underline */
}


.projects-section .section-title {
  font-size: 2rem;
  color: #072f44;
  margin-bottom: 15px;
}

.projects-section .section-desc {
  max-width: 700px;
  margin: 0 auto 40px;
  color: #555;
  line-height: 1.6;
}

.projects-row {
  display: grid;
  gap: 20px;
  margin-bottom: 40px;
}

.projects-row.three-cards {
  grid-template-columns: repeat(3, 1fr);
}

.projects-row.four-cards {
  grid-template-columns: repeat(4, 1fr);
}

.project-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
   position: relative;
  
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-6px);
}

.project-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-card .pro-overlay {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  background: rgba(7,47,68,0.9);
  color: #fff;
  padding: 20px;
  text-align: left;
  transition: bottom 0.4s ease;
}

.project-card:hover .pro-overlay {
  bottom: 0;
}






.testimonial-section {
  position: relative;
  background: url('images/pattern-test.jpeg') center/cover no-repeat;
  padding: 40px 20px 80px; /* top 40px, right/left 20px, bottom 80px */
  color: #072f44;
  text-align: center;
}

.testimonial-overlay {
  position: absolute;
  top:0; left:0;
  width: 100%; height: 100%;
  background: rgba(255,255,255,0.9);
  z-index: 1;
}

.testimonial-content {
  position: relative;
  z-index: 2;
  max-width: 1300px;
  margin: 0 auto;
}

.quote-icon {
  font-size: 90px;
  color: #072f44;
  opacity: 0.6;
  margin-bottom: 20px;
}

.testimonial-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 50px;
}

.testimonial-slider {
  overflow: hidden;
  width: 100%;
}

.testimonial-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.testimonial-card {
  min-width: 100%;
  flex: 0 0 100%;
  box-sizing: border-box;
  background: #fff;
  border-radius: 10px;
  padding: 25px;
/*  box-shadow: 0 5px 15px rgba(0,0,0,0.1); */
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 50px;
}

.testimonial-person {
display: flex;
  flex-direction: column; /* Stack vertically */
  align-items: center;    /* Center horizontally */
  gap: 10px;              /* Space between image and text */
  text-align: center;   
}

.testimonial-person img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-person h4 {
  margin: 0;
  font-weight: 600;
}
.testimonial-person span {
  color: #888;           /* Light grey */
  font-size: 0.9rem;
}











/* CTA Section */
.cta-section {
  position: relative;
  background: url('images/sld_textile_3.webp') center/cover no-repeat;
  padding: 80px 20px;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 47, 68, 0.85); /* dark textured overlay */
  z-index: 1;
}

.cta-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  align-items: start;
}

.cta-left {
  display: flex;
  flex-direction: column;
  align-items: center;   /* horizontally center */
  justify-content: center; /* vertically center inside parent */
  gap: 30px;
  padding: 40px 20px;    /* horizontal padding gives margins from left/right edges */
  height: 100%;          /* make it fill the height of the CTA section */
  box-sizing: border-box;
}

.cta-left h3 {
  font-size: 2rem;
  color: #ffdd00;
  text-transform: uppercase;
  margin: 10px 0;
  letter-spacing: 1px;
  text-align: center;
}

.brand-logos-top,
.brand-logos-bottom {
  display: flex;
  gap: 25px;
  justify-content: center;   /* center logos horizontally */
  flex-wrap: wrap;
  max-width: 90%;            /* limits width, adds horizontal margins automatically */
}

.brand-logos-top img,
.brand-logos-bottom img {
  width: 100px;
  object-fit: contain;
  opacity: 0.8;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.brand-logos-top img:hover,
.brand-logos-bottom img:hover {
  transform: scale(1.1);
  opacity: 1;
}

/* Right Column - Form */
.cta-right {
  background: rgba(255,255,255,0.05); /* subtle transparent white */
  padding: 40px 30px;
  border-radius: 12px;
  backdrop-filter: blur(6px); /* glass effect */
}

.cta-right h3 {
  font-size: 2rem;
  color: #ffdd00;
  margin-bottom: 15px;
}

.cta-right p {
  margin-bottom: 25px;
  color: #ddd;
}

.cta-form input,
.cta-form textarea {
  width: 100%;
  padding: 14px 18px;
  margin-bottom: 15px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 1rem;
}

.cta-form input::placeholder,
.cta-form textarea::placeholder {
  color: #eee;
}

/* Select field */
.cta-form select {
  width: 100%;
  padding: 14px 18px;
  margin-bottom: 15px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  background-color: rgba(255,255,255,0.12); /* dark background */
  color: #fff;
  font-size: 1rem;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

/* Options (dropdown items) */
.cta-form select option {
  background-color: #0f2f4f;  /* dark navy */
  color: #ffffff;
  padding: 12px;
}

/* Hover / selected option (limited support but helpful) */
.cta-form select option:hover,
.cta-form select option:checked {
  background-color: #FBC707;
  color: #072f44;
}

/* Disabled placeholder option */
.cta-form select option[value=""] {
  color: #ffffff;
}

/* Focus state */
.cta-form select:focus {
  outline: none;
  border-color: #ffdd00;
  box-shadow: 0 0 0 2px rgba(255,221,0,0.25);
}


.cta-form button {
  width: 100%;
  padding: 14px;
  background: #ffdd00;
  color: #072f44;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.cta-form button:hover {
  background: #e6c800;
}
.logo-tasva {
  transform: scale(0.8);
}

.form-alert {
  padding: 12px 16px;
  margin-bottom: 15px;
  border-radius: 4px;
  font-size: 14px;
}

.form-alert.success {
  background: #e6f7ec;
  color: #1e7e34;
  border-left: 4px solid #28a745;
}

.form-alert.error {
  background: #fdecea;
  color: #a94442;
  border-left: 4px solid #dc3545;
}


.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  z-index: 1000;
  transition: transform 0.3s ease;
  text-decoration: none;
}


.whatsapp-float:hover {
  transform: scale(1.1);
}




/* Responsive */
@media (max-width: 992px) {
  .cta-container {
    grid-template-columns: 1fr;
  }
  .brand-logos {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 576px) {
  .brand-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .logo-tasva {
  transform: scale(1.0);
}
}









/* Responsive */
@media (max-width: 992px) {
  .projects-row.three-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .projects-row.four-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .projects-row.three-cards,
  .projects-row.four-cards {
    grid-template-columns: 1fr;
  }
}






@media (max-width: 768px) {
  /* Hide image and card */
  .experience-right,
  .experience-card {
    display: none;
  }

  /* Make container single-column */
  .experience-container {
    grid-template-columns: 1fr; /* collapse to one column */
  }

  /* Make left column full width */
  .experience-left {
    width: 100%;
    margin: 0 auto;
    padding: 20px;
  }

  /* Adjust bar + star spacing */
  .bar {
    margin-bottom: 25px;
    position: relative;
  }

  .star {
    margin-top: -42px;
    right: 8px;
    margin-right: 0;
  }
}





@media (max-width: 1024px) {}

@media (max-width: 768px) {


  .overlay h1 {
    font-size: 2rem;       /* smaller heading */
  }

  .overlay h5 {
    font-size: 1rem;       /* smaller subtitle */
  }

   .overlay .description p {
     font-size: 14px;
    line-height: 1.5;
    bottom: 8px;
    left: 8px;
    max-width: 90%;
  }
  #typewriter {
    font-size: 20px; /* adjust as needed */
  }
  
   .info-row {
    flex-direction: column;
   align-items: center;
   
  }
  
  
  /* Change order on small screens */
  .info-item:nth-of-type(1) { order: 3; } /* Location */
  .info-item:nth-of-type(2) { order: 4; } /* Email */
  .box.quality { order: 1; } /* Quality Product */
  .box.project { order: 2; } /* Project Overview */
  
  .info-row {
    flex-direction: column;
    align-items: center;
    gap: 20px; /* add uniform vertical gap between all children */
  }
  
 .info-item, .box {
    max-width: 320px; /* increase max width for better content fit */
    width: 100%;      /* make sure it doesn’t shrink too much */
    margin-top: 0;    /* reset margin-top if any */
  }

  .quality {margin-top:-100px;}
   .info-item:nth-of-type(2){margin-top:-100px}
  
  
  
  
  
  
  
   .services-header {
    grid-template-columns: 1fr; /* stack header left & right */
    text-align: center;
    gap: 20px;
  }

  .services-header-left h2 {
    font-size: 1.8rem;
  }

  .services-header-right p {
    font-size: 0.95rem;
     margin: 0 20px 20px 20px; /* add horizontal margin */
  }

  .services-header-right .btn-primary {
    padding: 8px 16px;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
  }

  .service-card {
    padding: 50px 15px 15px 15px; /* adjust padding for smaller screens */
    min-height: 280px;
  }

  .service-card img {
    width: 150px;
  }

  .service-card h3 {
    font-size: 1rem;
  }

  .service-card p {
    font-size: 0.9rem;
  }


}


/* Mobile fix */
@media (max-width: 768px) {
  .about-wrapper {
    flex-direction: column;
    gap: 30px;
    padding: 0 20px;
    margin-top: -200px;
  }

  .about-images {
    max-width: 90%;
    align-items: center;
    margin-left: 50px;;
  }

  .about-images .img-front {
    width: 60%;
    height: 70%;
    top:15%;
  }
  
  .about-footer {
 
 gap: 60px;
  
}

}


@media (max-width: 480px) {
  .overlay {
    left: 10px;
    max-width: 95vw;
  }

  .overlay h1 {
    font-size: 1.5rem;
  }

  .overlay h5 {
    font-size: 0.9rem;
  }

  .overlay .description p {
     font-size: 14px;
    line-height: 1.5;
    bottom: 8px;
    left: 8px;
    max-width: 90%;
  }
  #typewriter {
    font-size: 20px; /* adjust as needed */
  }
  
  
}


.brand-marquee {
  overflow: hidden;
  width: 100%;
  padding: 40px 0;
}

.brand-track {
  display: flex;
  gap: 80px;
  width: max-content;
  animation: scroll 55s linear infinite;
  will-change: transform;
}

.brand-track img {
  height: 140px;          /* BIG logos */
  width: auto;
  filter: drop-shadow(0 5px 10px rgba(0,0,0,.25));
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
