

html{
    scroll-behavior: smooth;
    max-width: 100%;
    max-height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0px;
    color: rgb(17, 17, 19);
    background-color: #eaeded;
    max-width: 100%;
    max-height: 100%;
    overflow-x: hidden;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px;
}

header {
    background-color: #131921;
    margin: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.section-divider {
    border: none;
    height: 1px;
    background-color: #ffffff57;
    margin: 0;
}

.tagline {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #f6e28979;
    padding: 7px;
    border-radius: 40px;
    width: max-content;
    text-transform: uppercase;
    font-weight: 600;
    word-spacing: 2px;
    letter-spacing: 2px;
    font-size: 18px;
}

.tagline-2 {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #eddc7a58;
    padding: 7px;
    border-radius: 40px;
    width: max-content;
    text-transform: uppercase;
    font-weight: 600;
    word-spacing: 2px;
    letter-spacing: 1px;
    font-size: 12px;
}

.texts {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #131921a3;
}

.orange-dot {
    background-color: #FF9900;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin-left: 6px;
}

#explore-btn {
    background-color: #FF9900;
    color: #131921;
    text-decoration: none;
    border-radius: 50px;
    padding: 15px 25px;
    transition: background-color 0.1s ease color 0.1s ease;
}

#explore-btn:hover {
    background-color: #131921;
    color: #FF9900;
}

#find-btn {
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.309);
    text-decoration: none;
    color: black;
    border-radius: 50px;
    padding: 15px 25px;
    transition: background-color 0.1s ease color 0.1s ease;
}

#find-btn:hover {
    background-color: #131921;
    color: #FF9900;
    border: 1px solid transparent;
}

.box-icon1 {
    background-color: rgba(0, 170, 255, 0.497);
    padding: 10px;
    border-radius: 10px;
    max-width: fit-content;
}

.box-icon2 {
    background-color: rgba(114, 10, 179, 0.436);
    padding: 10px;
    border-radius: 10px;
    max-width: fit-content;
}

.box-icon3 {
    background-color: rgba(223, 77, 77, 0.572);
    padding: 10px;
    border-radius: 10px;
    max-width: fit-content;
}
.box-icon4 {
    background-color: rgba(0, 128, 0, 0.41);
    padding: 10px;
    border-radius: 10px;
    max-width: fit-content;
}
.box-icon5 {
    background-color: rgba(255, 166, 0, 0.47);
    padding: 10px;
    border-radius: 10px;
    max-width: fit-content;
}

/* ------------- Main2 CSS Sectionx------------- */

.main2 {
    max-width: 1200px;
    margin: 0px auto;
    padding: 100px 50px;
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.main2-bg {
    background-color: white;
    width: 100%;
}
.Boxes {
    display: flex;
    gap: 20px;
    flex: 2;
    flex-wrap: wrap;
}

.Box {
    background-color: #9ec9df28;
    border: 1px solid rgba(0, 0, 0, 0.086);
    padding: 32px 28px;
    flex: 1;
    max-width: 300px;
    min-height: 300px;
    border-radius: 25px;
    color: #1319218b;

    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.Box:hover{
    transform: translateY(-30px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.25);
}

.nmbrs {
    color: #FF9900;
    display: block;
    font-size: 14px;
    margin-bottom: 50px;
    
}

.info-text {
    flex: 1;
}

.box-title {
    font-weight: 600;
    font-size: 20px;
    text-transform: capitalize;
    display: block;
    margin-bottom: 12px;
    color: black;
}

/* Main3 CSS Section */

.main3-bg {
    background-color: #131921;
    width: 100%;
}

.main3 {
    max-width: 1200px;
    margin: 0px auto;
    padding: 100px 50px;
    gap: 40px;
    min-height: 100px;
}

.tagline-3 {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #ffffff12;
    color: white;
    padding: 7px;
    border-radius: 40px;
    width: max-content;
    text-transform: uppercase;
    font-weight: 600;
    word-spacing: 2px;
    letter-spacing: 2px;
    font-size: 12px;
}

.Boxes2 {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 2;
    flex-wrap: wrap;
}

.Box2 {
    background-color: #ffffff0d;
    border: 1px solid rgba(0, 0, 0, 0.086);
    padding: 32px 28px;
    flex: 1;
    max-width: 100%;
    min-height: max-content;
    border-radius: 25px;
    color: #f3f8ff4e;

    display: flex;
    flex-direction: column;
    gap: 8px;
    transform: translateY(0);
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.Box2:hover{
    transform: translateY(-8px);
    box-shadow: 0 1px 15px rgba(255, 255, 255, 0.673);
    background-color: #ffffff14;
}

.box-title2 {
    font-weight: 600;
    font-size: 20px;
    text-transform: capitalize;
    display: block;
    margin-bottom: 12px;
    color: white;
}

.view-courses-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    color: #FF9900;
    text-decoration: none;
    font-weight: 600;
    background: none;
    transition: color 0.3s ease;
    display: flex;
    width: max-content;
    margin-left: auto;
}

.view-courses-btn:hover {
    background: none;
    padding: 0;
    color: #ffffffdf;
}

.view-courses-btn .arrow {
    transition: transform 0.3s ease;
}

.view-courses-btn:hover .arrow {
    transform: translateX(4px);
}


/* Main4 CSS SECTION */

.main4-bg {
    background-color: #FF9900;
    width: 100%;
}

.main4 {
    max-width: 1200px;
    margin: 0px auto;
    padding: 35px 50px;
    gap: 40px;
    min-height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.Acc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 15px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    background-color: #131921;
    transition: all 0.5s ease;
    display: flex;
    max-width: fit-content;
    margin-left: auto;
    font-size: 12px;
    flex-shrink: 0;
}

.Acc-btn:hover {
    background-color: #fff;
    color: #FF9900;
    padding: 12px 15px;
}

@media (max-width: 768px) {
  /* stack the two-column sections vertically */
  .main2,
  .main4 {
    flex-direction: column;
    align-items: stretch;
  }

  /* let cards go full-width instead of capped at 300px */
  .Box,
  .Box2 {
    max-width: none;
  }

  /* shrink the giant hero heading */
  main h1 {
    font-size: 44px !important;   /* overrides the inline 80px */
  }

  /* reduce heavy section padding on mobile */
  .main2,
  .main3,
  .main4 {
    padding: 48px 24px;
  }

  main {
    padding: 24px;
  }

  /* main4: button drops below the text, aligned left */
  .main4 .Acc-btn {
    margin-left: 0;
    margin-top: 16px;
  }
}

#MidBtns {
  display: flex;
  gap: 16px;              /* space between the two buttons */
  flex-wrap: wrap;        /* they drop to a new line on small screens */
  align-items: center;
}

.bullet-points {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}