.trusted-partner-section {
  position: relative;
  width: 100%;
  min-height: 500px; /* ensures section has height even before text loads */
  background: url("../assets/home-section-bg.png") no-repeat center center;
  background-color: black;
  background-size: cover; /* cover entire section */
  background-attachment: scroll; /* change to fixed for parallax */
  overflow: hidden;
  border-bottom-left-radius: 30px; /* adjust as needed */
  border-bottom-right-radius: 30px; /* adjust as needed */
}

.trusted-partner-container {
  position: relative;
  text-align: center;
  padding-top: 10%;
}

.trusted-text {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  color: #fff;
  margin-bottom: 10%;
}

.trusted-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.trusted-desc {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  color: #fff;
  margin-top: 30px;
}

.trusted-wave {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  z-index: 2;
  position: relative;
}


/* Why Choose Section - Fully Responsive */
.home-container {
  margin: 0 auto;
  background: #fafafa;
  border-radius: 15px;
  overflow: hidden;
  padding: 20px clamp(1rem, 8vw, 6.25rem);
  margin-top: 30px;
  /* max-width: 1400px; */
}

.home-header {
  text-align: center;
  padding: clamp(2rem, 6vw, 3.75rem) clamp(1rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 2.5rem);
  color: white;
}

.home-subtitle {
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  font-weight: 600;
  margin-bottom: 20px;
}

.home-description {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  line-height: 1.6;
  max-width: 1200px;
  margin: 0 auto;
  opacity: 0.95;
}

.home-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  padding: clamp(2rem, 6vw, 3.75rem) clamp(1rem, 4vw, 2.5rem);
  align-items: center;
}

.home-image-section {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  height: clamp(300px, 50vw, 600px);
  min-height: 300px;
}

.home-professional-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.1) contrast(1.1);
}

.home-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 3vw, 1.5625rem);
  height: clamp(300px, 50vw, 600px);
  min-height: 300px;
}

.home-feature-card {
  background: white;
  border-radius: 15px;
  padding: clamp(1.25rem, 3vw, 1.875rem) clamp(1rem, 2.5vw, 1.5625rem);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
}

.home-feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
}

.home-feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

.home-card-title {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 800 !important;
  color: #ec2b38;
  margin-bottom: 15px;
  line-height: 1.3;
}

.home-card-description {
  color: #000000;
  line-height: 1.6;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  flex-grow: 1;
}

.home-cta-section {
  text-align: center;
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 2.5rem);
}

.home-cta-button {
  background: #ec2b38;
  color: white;
  padding: clamp(0.875rem, 2.5vw, 1.125rem) clamp(1.5rem, 4vw, 2.8125rem);
  border: none;
  border-radius: 50px;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 1px;
  box-shadow: 0 8px 25px rgba(229, 62, 62, 0.3);
  min-width: 200px;
}

.home-cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(229, 62, 62, 0.4);
}


@media (max-width: 480px) {
  .home-cta-button {
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
  }
}


/* Tablet Responsiveness (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .trusted-partner-container {
    padding: 8% 1.5rem 0;
  }
  
  .home-container {
    padding: 20px clamp(2rem, 6vw, 4rem);
  }
  
  .home-content {
    gap: 2rem;
  }
  
  .home-cards-grid {
    height: clamp(400px, 45vw, 500px);
  }
  
  .home-image-section {
    height: clamp(400px, 45vw, 500px);
  }
}

/* Mobile Responsiveness (max-width: 768px) */
@media (max-width: 768px) {
  .trusted-partner-section {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    min-height: 400px;
  }
  
  .trusted-partner-container {
    padding: 8% 1rem 0;
  }
  
  .trusted-text {
    margin-bottom: 8%;
    padding: 0 0.5rem;
  }
  
  .home-container {
    margin-top: 20px;
    border-radius: 10px;
    padding: 15px 1rem;
  }
  
  .home-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1rem;
  }
  
  .home-cards-grid {
    grid-template-columns: 1fr;
    height: auto;
    gap: 1.5rem;
  }
  
  .home-feature-card {
    padding: 1.5rem 1.25rem;
    min-height: 140px;
  }
  
  .home-image-section {
    height: 300px;
    order: -1; /* Image appears first on mobile */
  }
  
  .home-header {
    padding: 2rem 1rem 1.5rem;
  }
  
  .home-cta-section {
    padding: 2rem 1rem 1.5rem;
  }
}

/* Small Mobile Responsiveness (max-width: 480px) */
@media (max-width: 480px) {
  .trusted-partner-section {
    min-height: 350px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
  }
  
  .trusted-partner-container {
    padding: 6% 0.75rem 0;
  }
  
  .trusted-text {
    margin-bottom: 6%;
    padding: 0 0.25rem;
  }
  
  .home-container {
    padding: 10px 0.75rem;
    border-radius: 8px;
  }
  
  .home-content {
    padding: 1.5rem 0.5rem;
    gap: 1.5rem;
  }
  
  .home-cards-grid {
    gap: 1.25rem;
  }
  
  .home-feature-card {
    padding: 1.25rem 1rem;
    border-radius: 12px;
    min-height: 120px;
  }
  
  .home-image-section {
    height: 250px;
    border-radius: 12px;
  }
  
  .home-header {
    padding: 1.5rem 0.5rem 1rem;
  }
  
  .home-cta-section {
    padding: 1.5rem 0.5rem 1rem;
  }
  
  .home-cta-button {
    padding: 0.75rem 1.5rem;
    min-width: auto; /* remove fixed min-width */
  width: auto;
  max-width: 100%; /* so it won’t overflow screen */
      white-space: nowrap;

  }
}

/* Extra Small Mobile (max-width: 360px) */
@media (max-width: 360px) {
  .trusted-partner-section {
    min-height: 320px;
  }
  
  .home-container {
    padding: 8px 0.5rem;
  }
  
  .home-content {
    padding: 1rem 0.25rem;
    gap: 1.25rem;
  }
  
  .home-feature-card {
    padding: 1rem 0.875rem;
    min-height: 110px;
  }
  
  .home-image-section {
    height: 220px;
  }
  
  .home-cta-button {
    padding: 0.625rem 1.25rem;
    min-width: 160px;
  }
}

/* Large Desktop (min-width: 1400px) */
@media (min-width: 1400px) {
  .home-container {
    /* max-width: 1600px; */
  }
  
  .home-content {
    gap: 3rem;
    padding: 4rem 3rem;
  }
  
  .home-cards-grid {
    height: 650px;
    gap: 2rem;
  }
  
  .home-image-section {
    height: 650px;
  }
  
  .home-feature-card {
    padding: 2rem 1.75rem;
  }
}

/* Ultra-wide screens (min-width: 1920px) */
@media (min-width: 1920px) {
  .home-container {
    max-width: 1800px;
  }
  
  .trusted-text {
    max-width: 1000px;
  }
}

/* Landscape mobile orientation */
@media (max-width: 768px) and (orientation: landscape) {
  .trusted-partner-section {
    min-height: 300px;
  }
  
  .trusted-partner-container {
    padding: 4% 1rem 0;
  }
  
  .trusted-text {
    margin-bottom: 4%;
  }
  
  .home-image-section {
    height: 280px;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .home-feature-card {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  }
  
  .home-image-section {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .home-feature-card {
    transition: none;
  }
  
  .home-cta-button {
    transition: none;
  }
  
  .home-feature-card:hover,
  .home-cta-button:hover {
    transform: none;
  }
}

/* home data centre section */

.home-data-centre-section {
  min-height: 100vh;
  position: relative;
 background: url("../assets/home-white-wave.png") no-repeat center center;
  background-color: #DCDCDC;
  background-size: cover; /* cover entire section */
  background-attachment: scroll; /* change to fixed for parallax */
  overflow: hidden;
  border-radius: 15px;
  overflow: hidden;
  padding: 100px;
  margin-top: 30px;
}


.home-hero-overlay-left {
   position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                to bottom right,
                rgba(0, 0, 0, 0.5) 0%,
                rgba(0, 0, 0, 0) 60%
            );
            display: flex;
            align-items: center;
            justify-content: flex-start; /* Aligned to the left */
            padding: 100px;
            border-radius: 15px;
}


/* home connectivity section */

.home-connectivity-section {
  min-height: 100vh;
  position: relative;
 background: url("../assets/black-wave-bg.png") no-repeat center center;
  background-color: #000000;
  background-size: cover; /* cover entire section */
  background-attachment: scroll; /* change to fixed for parallax */
  overflow: hidden;
  border-radius: 15px;
  overflow: hidden;
  padding: 100px;
  margin-top: 30px;
}



.home-connectivity-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.home-section-header {
  text-align: center;
  margin-bottom: 60px;
}

.home-section-subtitle {
  color: #e53e3e;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.home-section-title {
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.2;
}

.home-section-description-light {
  color: #cccccc;
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  margin-top: 50px;
}

.home-section-description-dark {
  color: #000000;
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  margin-top: 50px;
}

.home-solutions-grid {
  display: grid;
  gap: 30px;
  margin-bottom: 60px;
}

.home-hero-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  height: auto;
  margin-bottom: 30px;
}

.home-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
}

.home-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom right, /* fades from top-left to bottom-right */
    rgba(0, 0, 0, 0.5) 0%,  /* dark in one corner */
    rgba(0, 0, 0, 0) 60%    /* fades to transparent */
  );
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 40px;
  border-radius: 15px; /* optional if you want rounded corners */
}


.home-hero-text {
  color: white;
  font-size: 1.8rem;
  font-weight: 200;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.274);
}

.home-solution-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.home-solution-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  /* border: 1px solid rgba(255, 255, 255, 0.2); */
}

.home-solution-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.home-card-image-container {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.home-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* .home-solution-card:hover .home-card-image {
  transform: scale(1.05);
} */

.home-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(229, 62, 62, 0) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}

.home-card-content {
  padding: 25px;
  background: white;
}


.home-card-text {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

.home-cta-container {
  text-align: center;
  margin-top: 60px;
}

.home-explore-button {
  background: #EC2B38;
  color: white;
  padding: 18px 40px;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 8px 25px rgba(229, 62, 62, 0.4);
}

.home-explore-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(229, 62, 62, 0.5);
}

@media (max-width: 768px) {
  .home-solution-cards {
    grid-template-columns: 1fr;
  }

  .home-section-title {
    font-size: 2rem;
  }

  .home-hero-card {
    height: 300px;
  }

  .home-hero-text {
    font-size: 1.4rem;
  }

  .home-connectivity-section, .home-data-centre-section {
    padding: 20px;
  }
}


.home-connectivity-section,
.home-data-centre-section{position:relative;padding:15px; padding-bottom: 30px; padding-top: 30px;}