/* Base Setup */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

/* Hero Section - Desktop Default */
.hero {
  background: url("assets/Main-Banner-2.png") no-repeat center center;
  background-size: cover;
  position: relative;
  height: 80vh;
  width: 100vw;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding-left: 50px;
  color: white;
}
.h4{
    font-size: 20px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  padding: 0 20px;
  text-align: left;
}

.hero-subheading {
  font-size: 35px;
  margin-bottom: 30px;
  margin-right: 20px;
  text-align: left;
  word-wrap: break-word;
}

.hero-heading {
  font-size: 40px;
  font-weight: 700;
  color: #d4ac57;
  line-height: 1.3;
  margin-bottom: 40px;
  text-align: left;
  word-wrap: break-word;
}

.hero-logos {
  display: flex;
  gap: 30px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero-logo {
  display: flex;
  font-size: 15px;
  flex-direction: column;
  align-items: flex-start;
  text-align: flex-start;
}



.hero-logo span {
  /*font-size: 12px;*/
  color: white;
}

.hero-button {
  background-color: #d4ac57;
  color: #ffffff;
  padding: 12px 24px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 1px;
  transition: background 0.3s;
  display: inline-block;
  margin-top: 20px;
}

.hero-button:hover {
  background-color: #eab308;
}

/* Knowledge Partner Section */
.knowledge-partner-section {
  margin-top: 40px;
  padding: 0 10px;
  text-align: flex-start;
}

.knowledge-partner-title {
  font-weight: 600;
  color: #fff;
  font-size: 20px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  text-align: left; /* ✅ Force left alignment by default */
}


.knowledge-partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-start;
  align-items: center;
  /*max-width: 100%;*/
}

.knowledge-partner-logo {
  height: 40px;
  padding: 5px 10px;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  object-fit: contain;
  max-width: 140px;         /* ✅ Prevent oversized logos */
  width: auto;
  flex: 0 0 auto;            /* ✅ Prevent stretching */
}

.pipe-desktop {
  display: inline;
}

@media screen and (max-width: 768px) {
  .pipe-desktop {
    display: none;
  }
}


/* ---------------- Responsive Media Queries ---------------- */

@media (max-width: 1366px) {
  .knowledge-partner-logo {
    height: 40px;
    padding: 5px 8px;
    flex: 0 0 auto; /* Prevent logos from wrapping */
  }

  .knowledge-partner-logos {
    justify-content: flex-start;
    flex-wrap: nowrap;    /* Prevent wrapping */
    overflow-x: auto;     /* Allow horizontal scroll if needed */
  }

  .knowledge-partner-section {
    padding: 0px;
    margin-top: 40px;
  }

  .knowledge-partner-title {
    text-align: left;
  }
}


@media (min-width: 1200px) {
  .hero {
    height: 90vh;
    padding-left: 80px;
    justify-content: flex-start;
    align-items: center;
  }

  .hero-overlay {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .hero-heading {
    font-size: 48px;
    margin-bottom: 40px;
  }

  .hero-subheading {
    font-size: 32px;
    margin-bottom: 30px;
  }

  .hero-logos {
    gap: 40px;
    margin-bottom: 40px;
  }

  .knowledge-partner-section {
    margin-top: 60px;
  }
}



@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding-left: 0;
    padding: 40px 20px;
    height: auto;
    text-align: flex-start;
  }

  .hero-overlay {
    text-align: flex-start;
  }

  .hero-heading {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .hero-subheading {
    font-size: 20px;
    margin-bottom: 20px;
    margin-right: 0;
  }

  .hero-logos {
    justify-content: flex-start;
    gap: 20px;
  }

  .hero-logo img {
    height: 40px;
  }

  .hero-logo span {
    font-size: 18px;
  }

  .hero-button {
    padding: 10px 20px;
    font-size: 14px;
  }

  .knowledge-partner-title {
    font-size: 16px;
  }

  .knowledge-partner-logo {
    height: 40px;
    padding: 5px 10px;
  }
}
@media (max-width: 991px) {
  .hero {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding-left: 0;
    padding: 40px 20px;
    height: auto;
    text-align: flex-start;
  }

  .hero-overlay {
    text-align:flex-start;
  }

  .hero-heading {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .hero-subheading {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .hero-logos {
    justify-content: flex-start;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .knowledge-partner-section {
    text-align: center;
  }

  .knowledge-partner-title {
    text-align: flex-start; /* Only center title in mobile */
    font-size: 16px;
  }

  .knowledge-partner-logos {
    justify-content: center;
  }
}


  @media (max-width: 600px) {
  .hero {
    background: linear-gradient(180deg, #10175a 60%, #fff 100%);
    background-image: url('assets/Global-Skill-Olympiads-website-Mobile-version-4-2.png'); /* Replace with your image path */
    background-size: cover;
    background-position: center;
    padding: 24px 10px 0 10px;
    text-align: center;
    color: #fff;
    position: relative;
  }

  .hero-heading {
    font-size: 1rem;
    font-weight: 600;
    margin: 18px 0 10px 0;
    line-height: 1.3;
  }

  .hero-subheading {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: #ffffff;
  }
  
 
  .hero-logo h4 {
    font-size: 0.85rem;      /* Smaller text on mobile */
    text-align: left; 
    margin-top: 8px;/* Optional: center align text on mobile */
  }

  .hero-logo h4 .break-mobile {
    display: inline-block;
    width: 100%;             /* Forces line break after "Stem" */
    height: 0;
  }



 /* .hero-logos {*/
 /*   display: flex;*/
 /*   justify-content: flex-start;*/
 /*   gap: 10px;*/
 /*   margin: 18px 0;*/
 /* }*/

 /*.hero-logo {*/
 /*    justify-content: flex-start;*/
   /* align-items: flex-start !important;  If using flex, force left alignment */
 /*   text-align: left !important;*/
 /* }*/
 
 /* .hero-logo h4 .break-mobile {*/
 /*   display: inline;*/
 /* }*/
  /* Insert a line break after the span on mobile */
  
 

  .hero-button {
    display: inline-block;
    background: #ffb300;
    color: #1c1f5f;
    font-weight: 500;
    border-radius: 0px;
    padding: 4px 12px;
    margin: 16px 0 0 0;
    font-size: 1rem;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    text-decoration: none;
  }
}

@media (max-width: 600px) {
  .knowledge-partner-section {
    background: transparent;
    padding: 8px 0px;
    border-radius: 0px;
    margin-top: 25px;
    text-align: left;
  }

  .knowledge-partner-title,
  .knowledge-partner-title span {
    display: block;
    text-align: left;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 5px;
    font-size: 0.85rem;
  }

  .knowledge-partner-logos {
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: left;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0;
    margin: 0;
    width: 100%;
    max-width: 350px;
    flex-wrap: nowrap;
  }

  .knowledge-partner-logo {
    width: 60px;             /* Unified width */
    height: 30px;            /* Unified height */
    flex-shrink: 0;
    display: flex;           /* Center image inside */
    align-items: left;
    justify-content: left;
    background: #fff;
    border-radius: 6px;
    padding: 6px;
    object-fit: contain;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  }

  .knowledge-partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

  /*.knowledge-partner-logos {*/
  /*  display: flex;*/
  /*  flex-wrap: wrap;*/
  /*  justify-content: center;*/
  /*  gap: 10px;*/
  /*}*/

  /*.knowledge-partner-logo {*/
  /*  width: 70px;*/
  /*  height: auto;*/
  /*}*/

  /* GSO Logo */
/*  .gso-logo {*/
/*    position: absolute;*/
/*    top: 15px;*/
/*    left: 20px;*/
/*    width: 120px;*/
/*    height: auto;*/
/*  }*/

  /* Call Now Banner */
/*  .call-now-bar {*/
/*    background: #d2691e;*/
/*    color: white;*/
/*    text-align: center;*/
/*    font-size: 0.95rem;*/
/*    padding: 6px 10px;*/
/*    position: fixed;*/
/*    top: 0;*/
/*    width: 100%;*/
/*    z-index: 1000;*/
/*  }*/

  /* Hamburger icon (if you want) */
/*  .hamburger {*/
/*    position: absolute;*/
/*    top: 20px;*/
/*    right: 20px;*/
/*    font-size: 1.5rem;*/
/*    color: white;*/
/*  }*/
/*}*/


