/* Base Styles */
:root {
  --primary-color: rgb(252 90 19);
  --secondary-color: rgb(252 90 19);
  --text-color: #333;
  --light-gray: #f5f5f5;
  --border-radius: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Start Base Styles */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header Styles */
.main-header {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.logo img {
  width: 150px;
  height: auto;
}

.main-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s ease;
}

.header-actions {
  display: flex;
  gap: 1rem;
}

.login-btn,
.signup-btn {
  padding: 0.5rem 1.5rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 500;
}

.login-btn {
    background-color: rgb(252 90 19);
    color:#ffffff;
}


/* Hero Section */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Hero Section */
.hero {
  min-height: auto;
  display: flex;
  align-items: center;
  padding: 8rem 0;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: flex-start;
}

/* Left Column Styles */
.hero-content {
  position: relative;
}

.hero-title {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 3rem;
  font-weight: 800;
}

.hero-title div {
  margin-bottom: 0.5rem;
}

.text-accent {
  color: rgb(252 90 19);
}

.feature-tags {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.tag {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.tag div {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  line-height: 1.3;
  color: var(--text-color);
}

.hero-image-container {
  margin-top: -2rem;
  position: relative;
  z-index: 1;
}

.hero-image {
  max-width: 100%;
  height: auto;
}

.hero-image-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: -2rem;
}

.image-slider {
  position: relative;
  width: 100%;
}

.image-slider .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.image-slider .slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.image-slider img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 400px;
}

.listing {
  padding: 1rem;
  padding-left: 1rem;
  font-size: 16px;
  font-weight: 400;
  color: #000;
}
.listing li {
    margin-bottom: 10px; /* Adjust the value as needed */
  }

/* Set initial height for the slider to prevent layout shift */

/* Right Column - Sign Up Form */
.signup-card {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.signup-card h2 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-align: left;
  font-weight: 600;
  color: var(--text-color);
}
.signup-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-color);
}

.required {
  color: var(--primary-color);
  margin-left: 2px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="password"] {
  padding: 0.875rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 0.95rem;
  background: var(--input-background);
  transition: border-color 0.3s ease, box-shadow 0.3s ease; /* Added box-shadow transition */
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1); /* Default subtle shadow for visibility */
}

/* Box-shadow effect on focus */
.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="password"]:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(0, 102, 255, 0.4); /* Blue glow when focused */
}

.form-group.checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.checkbox input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 16px;
  height: 16px;
}

.checkbox-label {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #666;
}

.privacy-link {
  color: var(--primary-color);
  text-decoration: none;
}

.submit-btn {
  background: #e96e41;
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 0.5rem;
}

.submit-btn:hover {
  background: #e96e41;
}

.login-text {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #666;
}

.login-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
  }

  .feature-tags {
    justify-content: center;
  }

  .signup-card {
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 1rem;
  }

  .hero-title {
    font-size: 1.3rem;
  }

  .signup-card {
    padding: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Why NimbusPost? start here  */


.section-header {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: center;
}

.para {
  padding-top: 10px;
  margin-bottom: 50px;
  text-align: center;
}

.section {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap; /* Added for responsiveness */
}

.text-box {
  max-width: 800px;
  flex: 1 1 300px; /* Added for responsiveness */
}

.text-box div {
  margin-bottom: 20px;
  cursor: pointer;
  padding: 15px;
  border-radius: 10px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.text-box div.active {
  background-color: #3ba6e7;
  /* color: #ffffff; */
}
.listing div.active {
    background-color: #2d77d7;
    color: #fff; /* Change text color to white when active */
  }

.text-box div:hover {
    border-color: #2d77d7;
}

.image-container {
  position: relative;
  flex: 1 1 300px; /* Added for responsiveness */
}

.image-container img {
  max-width: 100%;
  border-radius: 10px;
  display: none;
}

.image-container img.active {
  display: block;
}

/* Media queries for smaller devices */
@media (max-width: 768px) {
  .section {
    flex-direction: column;
    align-items: center;
  }

  .text-box {
    max-width: 100%;
  }

  .text-box div {
    padding: 10px;
  }

  .image-container {
    width: 100%;
  }

  .section-header {
    font-size: 1.5rem;
  }

  .para {
    font-size: 1rem;
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .section-header {
    font-size: 1.2rem;
  }

  .para {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .text-box div {
    padding: 8px;
  }
}

@keyframes slideRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.image-container {
    position: relative;
    flex: 1 1 300px; 
    height: 380px; /* Fixed height for all images */
    overflow: hidden; /* Prevents any overflow if the image exceeds height */
}

.image-container img {
    max-width: 100%;
    height: 100%; /* Ensures the image fills the container height */
    object-fit: cover; /* Crops the image to maintain aspect ratio */
    border-radius: 10px;
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.image-container img.active {
    display: block;
}


/* Why NimbusPost? end here */
/* courier logo start here */

/* Keyframe animation for the sliding effect */
@keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-250px * 8)); /* Adjust for total number of slides */
    }
  }
  
  /* Slider Container */
  .slider {
    height: 120px; /* Adjusted height for uniform image sizing */
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 230px;
    max-width: 1200px;
    margin-bottom: 4rem;
  }
  
  /* Track that holds all the slides */
  .slider .slide-track {
    display: flex;
    animation: scroll 40s linear infinite;
    width: calc(250px * 16); /* Adjust the total width to match number of slides */
    box-shadow: 0px 0px 25px 0px rgba(239, 240, 242, 0.25);
    background: #fff;
    padding: 0 10px; /* Padding to give some space around slides */

  }
  
  /* Each slide container */
  .slider .slide {
    height: 100%; /* Ensuring slides take the full container height */
    width: 250px; /* Fixed width for each logo */
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 15px; /* Consistent margin between logos */
  }
  
  /* Styling for the images */
  .slider .slide img {
    width: 100%; /* Stretch the image to fill the slide container's width */
    height: 100%; /* Stretch the image to fill the slide container's height */
    object-fit: contain; /* Maintain the aspect ratio without distorting */
  }
  

/* courier logo end here */

/*  */

.section-header {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.section-header span {
  color: rgb(252 90 19);
}

.feature-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.feature-box {
  background: #fff;
  padding: 20px;
  border: 2px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.feature-box img {
  width: 50px;
  margin-bottom: 15px;
}

.feature-box h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.feature-box p {
  font-size: 1rem;
  color: #555;
}

@media (max-width: 768px) {
  .section-header {
    font-size: 2rem;
  }
}

/*  */

/* Why NimbusPost Section */
.why-nimbus {
  padding: 80px 0;
  background: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  padding: 2rem;
  text-align: center;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.feature-card h3 {
    margin-bottom: 10px; /* Adjust this value as needed */
  }
  
  .feature-card p {
    margin-top: 0; /* Optional, to remove default margin */
  }
.business-card {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 2rem;
  text-align: center;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.business-card h3 {
  margin-top:10px ;
  margin-bottom: 10px;
  text-align: start;
}
.business-card p {
  text-align: start;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}
.business-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin: auto;
}
/* Technology Section */
.technology {
  padding: 80px 0;
  background: var(--light-gray);
}

.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.headingtitle {
  padding-top: 5rem;
}

.tech-feature {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.tech-feature i {
  font-size: 2rem;
  color: var(--primary-color);
}

/* Business Benefits Section */
.benefits {
  padding: 80px 0;
  background: white;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.benefit-card {
  text-align: center;
  padding: 2rem;
  border-radius: var(--border-radius);
  background: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.benefit-card img {
  margin-bottom: 1.5rem;
}

/* Channel Integrations Section */

.channel-integrations {
  text-align: center;
  padding: 40px 20px;
  background-color: #f9f9f9;
  position: relative;
}

.section-header {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 15px;
}

.description {
  font-size: 1rem;
  color: #666;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
/* Partners Container */
.partners-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    position: relative;
    gap: 20px;
}

/* General Styling */

/* Container Styling */
.partners-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    position: relative;
    margin-top: 40px; /* Top margin to give some space */
}

/* Section Styling for Partners */
.partners {
    text-align: center;
    position: relative;
    flex: 1 1 280px; /* Flex for equal width */
    max-width: 400px; /* To limit the width */
    z-index: 5;
}

.partners h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #444;
}

/* Logos Styling with CSS Grid (3 Columns) */
.logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px;
    justify-items: center;
}

.logo-box {
    background-color: #fff;
    box-shadow: 0 12px 24px rgba(236, 61, 61, 0.2); /* Stronger shadow for focus */
    padding: 20px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px; /* Equal height for all boxes */
    width: 120px;  /* Equal width for all boxes */
    object-fit: contain;
}

.logo-box:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Enhanced Center Logo Styling */
.center-logo {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1 1 280px;
    max-width: 600px;
    padding: 40px; /* Add padding to center the logo */
    /* border-radius: 100%; */
    /* background-color: #fff; */

    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    z-index: 10; /* Bring the center logo to the front */
}

/* Center Logo Hover Effect */
.center-logo:hover {
    transform: scale(1.1); /* Slight zoom effect */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3); /* Focus effect */
}

.main-logo {
    padding: 20px;
    /* box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3); */
    /* background: #ffffff; */
    text-align: center;
    width: 230px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.main-logo img {
    max-width: 120px; /* Larger size for main logo */
    height: auto;
}

/* Circular Dotted Animation Effect */
.center-logo::before {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border: 3px dotted #e96e41;
    /* animation: rotateDots 8s linear infinite; */
    z-index: -1;
}

@keyframes rotateDots {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Visual Connector (Lines to connect the center logo) */
.center-logo::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    width: 50px;
    height: 2px;
    /* background-color: #8470fe; */
    transform: translateY(-50%);
}

.partners.integration-partners::before,
.partners.carrier-partners::before {
    content: "";
    position: absolute;
    top: 50%;
    width: 50px;
    height: 2px;
    background-color: #8470fe;
    transform: translateY(-50%);
}

.partners.integration-partners::before {
    left: -55px;
}

.partners.carrier-partners::before {
    right: -55px;
}

/* Adjustments for Mobile Devices */
@media (max-width: 768px) {
    .logos {
        grid-template-columns: repeat(2, 1fr); 
        gap: 15px;
    }

    .logo-box {
        height: 120px; /* Adjust height for mobile */
        width: 120px;  /* Adjust width for mobile */
    }

    .logo-box img {
        width: 80%;
        height: 80%;
    }

    .center-logo::before {
        width: 250px;
        height: 250px;
    }

    .center-logo::after {
        width: 30px;
    }

    .partners.integration-partners::before,
    .partners.carrier-partners::before {
        width: 30px;
    }
}

@media (max-width: 480px) {
    .logos {
        grid-template-columns: repeat(1, 1fr); 
        gap: 15px;
    }

    .logo-box {
        height: 100px; /* Further adjustment for smaller screens */
        width: 100px; 
    }

    .logo-box img {
        width: 60%;
        height: 60%;
    }
}



/* Responsive Design */
@media (max-width: 768px) {
  .partners-container {
    flex-direction: column;
    gap: 30px;
  }

  .logos img {
    width: 50px;
  }

  .center-logo img {
    width: 80px;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .main-nav,
  .header-actions {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .tech-grid {
    grid-template-columns: 1fr;
  }

  .tech-image {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.5rem;
  }

  .section-header {
    font-size: 1.5rem;
  }

  .feature-card,
  .benefit-card {
    padding: 1.5rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--text-color);
  margin: 5px 0;
  transition: 0.3s;
}
