* {
  padding: 0;
  box-sizing: border-box;
}

body {
  line-height: 1.6;
  color: #333;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: white;
  padding: 15px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo i {
  color: #e91e63;
  font-size: 24px;
}

.logo span {
  font-size: 20px;
  font-weight: bold;
  color: #1a1a2e;
}

.header-info {
  display: flex;
  gap: 30px;
  font-size: 14px;
}

.header-info div i {
  color: #e91e63;
  margin-right: 5px;
}

nav {
  /* background: linear-gradient(135deg, #e91e63, #c2185b); */
  background-color: #de3232;
  padding: 12px 0;
  border-radius: 5px;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
}

nav a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23333" width="1200" height="600"/></svg>');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 100px 0;
  position: relative;
}

.hero-content {
  max-width: 1200px;
}

.hero-content span {
  color: #e91e63;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-content h1 {
  font-size: 48px;
  margin: 20px 0;
  line-height: 1.2;
}

.hero-content p {
  font-size: 16px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.btn-group {
  display: flex;
  gap: 15px;
}

.btn {
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
}

.thebtn {
  padding: 14px 18px;
  border-radius: 5px;
  color: white;
  background-color: #e91e63;
  border: none;
}

.btn-primary {
  background: #e91e63;
  color: white;
}

.btn-secondary {
  background: white;
  color: #333;
}

.hero-features {
  display: flex;
  /* gap: 40px; */
  margin-top: 60px;
}

.feature-box {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 5px;
  backdrop-filter: blur(10px);
  width: 11rem;
  /* width: 400px; */
  /* height: 5rem; */
  /* margin-right: 20px; */
}

.feature-box h3 {
  font-size: 16px;
  margin-bottom: 5px;
}

.feature-box p {
  font-size: 14px;
  opacity: 0.8;
}

.third-feature-box {
  background: rgba(255, 255, 255);
  padding: 20px;
  border-radius: 5px;
  backdrop-filter: blur(10px);
  width: 23rem;
  /* height: 5rem; */
}

.third-feature-box input {
  padding: 15px;
  width: 70%;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin: 12px 10px 15px 0;
}

/* Quote Form */
.quote-form {
  background: white;
  padding: 30px;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
}

.quote-form h3 {
  margin-bottom: 20px;
  color: #333;
}

.quote-form input,
.quote-form select {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

/* About Section */
.about {
  padding: 80px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-left: 1rem;
}

.about-content span {
  color: #e91e63;
  font-size: 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.about-content h2 {
  font-size: 42px;
  margin: 20px 0;
  line-height: 1.2;
  color: #1a1a2e;
}

.about-content p {
  margin-bottom: 30px;
  color: #666;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 30px;
}

.stat-box {
  display: flex;
  align-items: center;
  gap: 15px;
}

.stat-box i {
  font-size: 40px;
  color: #e91e63;
}

.stat-box div h3 {
  font-size: 32px;
  color: #e91e63;
}

.stat-box div p {
  font-size: 14px;
  color: #666;
}

.about-image {
  position: relative;
}

.delivery-person {
  width: 100%;
  height: 400px;
  background: #f5f5f5;
  border-radius: 10px;
}

.core-values {
  background: #e91e63;
  color: white;
  padding: 30px;
  border-radius: 10px;
  margin-top: 30px;
  width: 400px;
}

.core-values h3 {
  margin-bottom: 15px;
}

.core-values ul {
  list-style: none;
}

.core-values li {
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
}

.core-values li:before {
  content: "✓";
  position: absolute;
  left: 0;
}

.control-section h2 {
  font-size: 36px;
  margin-bottom: 30px;
}

/* Services */
.services {
  padding: 80px 0;
  background: #f9f9f9;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header span {
  color: #e91e63;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-header h2 {
  font-size: 36px;
  margin-top: 10px;
  color: #1a1a2e;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.service-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.service-card i {
  font-size: 40px;
  color: white;
  /* color: #1a1a2e; */
  background: #e91e63;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #1a1a2e;
}

.service-card p {
  color: #666;
  font-size: 14px;
  margin-bottom: 15px;
}

.service-card a {
  color: #e91e63;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
}

/* Company Section */
.company {
  padding: 80px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.company-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.company-img {
  width: 100%;
  height: 200px;
  background: #f5f5f5;
  border-radius: 10px;
}

.company-img:first-child {
  grid-column: 1 / 2;
}

/* Partners */
.partners {
  background: #f9f9f9;
  padding: 40px 0;
}

.partners-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.partner-logo {
  height: 50px;
  opacity: 0.6;
  filter: grayscale(100%);
}

/* Safety Section */
.safety {
  padding: 80px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-left: 20px;
}

.progress-bars {
  margin-top: 30px;
}

.progress-item {
  margin-bottom: 25px;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.progress-bar {
  height: 8px;
  background: #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: #e91e63;
  border-radius: 10px;
}

.safety-image {
  /* width: 100%; */
  width: 450px;
  height: 400px;
  background: #e91e63;
  border-radius: 10px;
}

/* Testimonials */
.testimonials {
  padding: 80px 0;
  background: #f9f9f9;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.testimonial-card {
  background: #e91e63;
  color: white;
  padding: 40px;
  border-radius: 10px;
  margin-right: 2rem;
}

.testimonial-card2,
.testimonial-card3 {
  display: none;
}

/* New: Navigation Dots styling */
.slider-dots {
  display: none;
  text-align: center;
  padding-top: 20px;
}

.dot {
  height: 10px;
  width: 10px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.6s ease;
}

.dot.active {
  background-color: #e91e63;
}

.testimonial-card p {
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
}

.author-img img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
}

.author-info h4 {
  margin-bottom: 5px;
}

.author-info p {
  font-size: 12px;
  opacity: 0.9;
}

/* Blog */
.blog {
  padding: 80px 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.blog-image {
  width: 100%;
  height: 200px;
  background: #f5f5f5;
}

.blog-image img {
  width: 100%;
  height: 200px;
  background: #f5f5f5;
}

.blog-content {
  padding: 25px;
}

.blog-meta {
  display: flex;
  gap: 15px;
  font-size: 12px;
  color: #999;
  margin-bottom: 15px;
}

.blog-content h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #1a1a2e;
}

.blog-content p {
  color: #666;
  font-size: 14px;
  margin-bottom: 20px;
}

/* Newsletter */
.newsletter {
  background: #1a1a2e;
  color: white;
  padding: 60px 0;
}

.newsletter-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.newsletter-content h2 {
  font-size: 32px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  width: 300px;
}

/* Footer */
footer {
  background: #0d0d1e;
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  margin-bottom: 20px;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 10px;
}

.footer-section a {
  color: #999;
  text-decoration: none;
  font-size: 14px;
}

.footer-section a:hover {
  color: #e91e63;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  width: 35px;
  height: 35px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #999;
  font-size: 14px;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
  background: #de3232;
  border-radius: 5px;
  border: none;
  z-index: 1000;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 3px;
}

/* Active hamburger animation */
.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-nav-header {
  display: none;
}

.count {
  font-size: 32px;
}

/* Base message style */
.message {
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 14px;
  /* color: #007bff; */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  animation: fadeIn 0.3s ease;
}

.message.success {
  background-color: #28a745; /* Green */
}

.message.warning {
  background-color: #ffc107; /* Yellow/Orange */
  color: #333;
}

.message.error {
  background-color: #dc3545; /* Red */
}

/* Close button */
.close-btn {
  background: none;
  border: none;
  font-size: 18px;
  color: inherit;
  cursor: pointer;
  margin-left: 10px;
}

/* Simple fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* new from claude */
.testimonial-images-slider {
  position: relative;
}

.images-track {
  display: block;
}

.images-track .testimonial-box:not(:first-child) {
  display: none; /* Hide other images on desktop */
}

.slider-wrapper {
  display: block;
}

@media (min-width: 1024px) {
  .testimonial-box {
    width: 400px;
    height: 300px;
    background: #e91e63;
    border-radius: 10px;
    margin-left: 2rem;
  }
}

/* RESPONSIVENESS STARTS FROM BENEATH */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 32px;
  }

  .about,
  .company,
  .safety,
  .testimonials {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .quote-form {
    position: static;
    transform: none;
    margin-top: 30px;
    width: 100%;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  /* just added */
  .mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
  }

  .testimonial-box {
    margin-left: 2rem;
    /* width: 300px; */
    width: 100%;
    height: 300px;
    background: #e91e63;
    border-radius: 10px;
  }
}

/* Add these responsive styles to your existing CSS */

/* Tablets and smaller desktops (max-width: 1024px) */
@media (max-width: 1024px) {
  .container {
    max-width: 100%;
    padding: 0 15px;
  }

  .header-info {
    gap: 15px;
    font-size: 12px;
  }

  nav ul {
    gap: 15px;
  }

  nav a {
    font-size: 13px;
  }

  .hero-content h1 {
    font-size: 38px;
  }

  .hero-features {
    flex-wrap: wrap;
    gap: 20px;
  }

  .feature-box {
    width: calc(50% - 10px);
  }

  .third-feature-box {
    width: 100%;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .about,
  .company,
  .safety,
  .testimonials {
    gap: 40px;
    margin-left: 0;
    padding: 60px 20px;
  }

  .core-values {
    width: 100%;
  }

  .company-img {
    width: 100%;
  }

  .safety-image {
    width: 100%;
  }

  .testimonial-box {
    /* width: 100%; */
    margin-left: 0;
  }

  .testimonial-card {
    margin-right: 0;
  }
}

/* Mobile devices (max-width: 768px) */
@media (max-width: 768px) {
  .message {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .header-top {
    display: none;
    /* flex-direction: column;
    gap: 15px; */
  }

  .header-info {
    display: none;
    /* flex-direction: column;
    gap: 10px; */
  }

  /* just added */
  header .container {
    position: relative;
  }

  /* just added */
  .mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
  }

  .hamburger {
    display: flex;
    order: 2; /* Places it on the right */
    /* margin: 0 auto; */
    margin: 0; /*new*/
  }

  nav {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    margin-top: 10px;
    /* just added */
    background: transparent; /* Remove red background */
    border-radius: 0;
  }

  nav.active {
    max-height: 500px;
    transition: max-height 0.5s ease-in;
    /* just added */
    background: #de3232; /* Only show red when active */
    border-radius: 5px;
  }

  .home-link {
    order: 1; /* Places it on the left */
    color: #de3232;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0;
  }

  nav ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  nav ul li:last-child {
    border-bottom: none;
  }

  /* nav ul li:first-child {
    display: none; 
  } */

  nav a {
    display: block;
    padding: 15px 20px;
    font-size: 14px;
    transition: background 0.3s;
  }

  nav a:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  .hero {
    padding: 60px 0;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 14px;
  }

  .btn-group {
    flex-direction: column;
  }

  .btn {
    width: 50%;
    text-align: center;
  }

  .hero-features {
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
  }

  .feature-box {
    width: 100%;
  }

  .third-feature-box {
    width: 100%;
  }

  .third-feature-box input {
    width: 100%;
    margin: 12px 0 15px 0;
  }

  .about,
  .company,
  .safety,
  .testimonials {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 15px;
    margin-left: 0;
  }

  .testimonial-box {
    margin-left: 2rem;
    /* width: 300px; */
    width: 100%;
    height: 300px;
    background: #e91e63;
    border-radius: 10px;
  }

  .testimonial-content-area {
    /* Remove default margin on the card side, as it's now full width */
    margin-right: 0;
  }

  /* Slider Container (The view-port for the slider) */
  .testimonial-slider-container {
    overflow: hidden; /* Hide cards outside the view */
    margin-right: 0 auto;
    width: 100%;
    padding: 0 1rem;
    max-width: 720px;
    /* position: relative; */
  }

  /* Slider Wrapper (The horizontal track of cards) */
  .slider-wrapper {
    display: flex; /*Key for horizontal layout */
    overflow-x: scroll; /*Allows user to manually slide/swipe*/
    scroll-snap-type: x mandatory; /*Ensures it snaps to each card*/
    -webkit-overflow-scrolling: touch; /*Improved scrolling on iOS */
    scroll-behavior: smooth;
    /* gap: 1rem; */
    gap: 0; /*new*/
    box-sizing: border-box;
    padding-bottom: 10px;
  }

  /* Navigation Dots visible on mobile */
  .slider-dots {
    display: block;
  }

  /* JUST ADDED ENDS HERE */

  .about-content h2,
  .section-header h2,
  .company-content h2 {
    font-size: 28px;
  }

  .about-stats {
    flex-direction: column;
    gap: 20px;
  }

  .delivery-person {
    height: 300px;
  }

  .delivery-person img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .core-values {
    width: 100%;
    padding: 20px;
  }

  .control-section h2 {
    font-size: 28px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .company-images {
    grid-template-columns: 1fr;
  }

  .company-img {
    width: 100%;
    height: 250px;
  }

  .company-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .partners-grid {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .partners-grid img {
    width: 200px;
    height: auto;
  }

  .safety-image {
    width: 100%;
    height: 300px;
  }

  .safety-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* just added by gpt */
  .testimonial-card,
  .testimonial-card2,
  .testimonial-card3 {
    display: block;
    flex: 0 0 100%;
    width: 100%;
    box-sizing: border-box;
    scroll-snap-align: start;
    background: #e91e63;
    color: white;
    padding: 40px;
    border-radius: 10px;
    margin-right: 2rem;
  }

  .slider-wrapper::-webkit-scrollbar {
    display: none; /* hide scrollbar for cleaner look */
  }

  /* ends here */

  .testimonial-box {
    height: 250px;
    margin-left: 0;
  }

  .testimonial-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .testimonials-slider {
    padding: 0 20px;
  }

  .testimonial-card {
    padding: 25px;
    margin-right: 1rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .newsletter-content h2 {
    font-size: 24px;
  }

  .newsletter-form {
    flex-direction: column;
    width: 100%;
  }

  .newsletter-form input {
    width: 100%;
  }

  .newsletter-form button {
    width: 100%;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .quote-form {
    position: static;
    transform: none;
    margin-top: 30px;
    width: 100%;
  }
}

/* Small mobile devices (max-width: 480px) */
@media (max-width: 480px) {
  .logo img {
    width: 50px !important;
    /* border-radius: 5px; */
    border-radius: 50%;
  }

  .hero-content h1 {
    font-size: 24px;
  }

  .hero-content span {
    font-size: 11px;
  }

  .about-content h2,
  .section-header h2,
  .company-content h2 {
    font-size: 24px;
  }

  .stat-box i {
    font-size: 30px;
  }

  .stat-box div h3 {
    font-size: 24px;
  }

  .control-section h2 {
    font-size: 22px;
  }

  .service-card {
    padding: 20px;
  }

  .blog-content h3 {
    font-size: 18px;
  }

  .testimonial-card p {
    font-size: 14px;
  }

  .newsletter-content h2 {
    font-size: 20px;
  }
}

/* Additional fixes for images */
img {
  max-width: 100%;
  height: auto;
}

.logo img {
  /* border-radius: 5px; */
  border-radius: 50%;
}

.delivery-person,
.company-img,
.safety-image,
.testimonial-box,
.blog-image {
  overflow: hidden;
}

.delivery-person img,
.company-img img,
.safety-image img,
.testimonial-box img,
.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .company-img {
    margin-left: 15px;
  }
}
