/* ================= RESET ================= */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* ================= LAYOUT ================= */
.main-page {
    width: 100%;
    max-width: 1200px;
    height: 2000px;
    margin: 0 auto;
    overflow: scroll;
    box-shadow: 0px 2px 8px rgba(0,0,0,0.05);
    background-color: #f5f4ea;
}

.top-bar {
    width: 100%;
    max-width: 1200px;
    background-color: #0a89f1;
    padding: 1.5rem 5rem 1.5rem 1rem;
    color: #fff;
    height: 6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-right {
    display: flex;
    align-items: center;
}

/* ================= DESKTOP ACTIONS ================= */
.desktop-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* ================= CAB BUTTON ================= */
#CAB {
    height: 50px;
    width: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(
        90deg,
        #0a89f1 0%,
        #0a89f1 10%,
        #2e65dd 45%,
        #2e65dd 100%
    );
    border-radius: 5px;
    font-size: large;
    transition: all 0.3s ease;
}

#CAB:hover,
#CAB:focus {
    outline: 2px solid #ffd400;
}

/* ================= ROCKET BUTTON ================= */
.rocket-box {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #2e65dd;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rocket-box:hover {
    transform: scale(1.1);
}

/* white background when clicked */
.rocket-box.active-border {
    background-color: #ffffff;
}

/* rocket stays red when active */
.rocket-box.active-border img {
    filter: brightness(0) saturate(100%) invert(20%) sepia(90%) saturate(7000%) hue-rotate(0deg);
}

#rocket {
    width: 30px;
}

/* ================= HAMBURGER ================= */
.hamburger {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding-right: 1rem;
}

/* ================= MOBILE SLIDE MENU ================= */
.mobile-menu {
    position: absolute;
    top: 0;
    right: 0;

    width: 30%;
    min-width: 260px;
    height: 100%;

    background-color: #2e65dd;
    padding: 2rem 1.5rem;

    display: none;
    flex-direction: column;
    gap: 1rem;

    /* hidden by default */
    transform: translateX(100%);
    transition: transform 0.35s ease-in-out;

    z-index: 1000;
}

/* slide in */
.mobile-menu.active {
    transform: translateX(0);
    display: flex;
}

/* menu links */
.mobile-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
}

.mobile-menu a:hover,
.mobile-menu a:focus {
    text-decoration: underline;
    text-decoration-color: #fff;
    text-underline-offset: 3.5px;
    color: #000;
}

/* close button */
.close-menu {
    align-self: flex-end;
    font-size: 1.8rem;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    margin-bottom: 1rem;
    padding-right: 5rem;
}

/* ================= LINK BAR ================= */
.link-box {
    background-color: #fff;
    width: 100%;
    height: 35px;
}

.link {
    display: flex;
    gap: 5rem;
    padding: 7px 5rem 0;
}

.link a {
    text-decoration: none;
    font-size: 1.02rem;
    color: rgb(2, 23, 48);
    transition: all 0.3s ease;
}

.link a:hover,
.link a:focus {
   text-decoration: underline;
   text-decoration-color: #000;
   text-underline-offset: 3.5px;
    transform: scale(0.9);
} 

/* ================= company name ================= */
.Mentorship-programme {
    width: 420px;
    height: 50px;
    background-color: black;
    border: none;

}

#Mentorship {
    font-family: 'Nunito', sans-serif;
  font-weight: 700;
  color: white;
  justify-content: center;
  padding-top: 0.7rem;
  padding-left: 0.4rem;
  display: flex;
}

/* ================= paragraph ================= */
#paragraph {
    padding-top: 1rem;
    padding-left: 2rem;
}
 /* ================= image1 content  ================= */
.image1-content {
    position: relative;
}


/* ================= image 1 ================= */
.image1 {
         width: 100%;
    max-width: 1200px;
    height: 400px;
    overflow: hidden;
}

#img1 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    padding-bottom: 1.5rem;
}
 
/* ================= GETIIN ================= */
#getiin {
      color: #2e65dd;
}

/* ================= fig1-3 ================= */
.fig1-3 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: -1.2rem;
}

/* ================= Why-choose-us ================= */
#Why-choose-us {
    text-align: center;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: normal;
    font-size: 1.5rem;
    padding-top: 1rem;   
}

/* ================= fig1 ================= */
#fig1-img1 {
    width: 310px;
    height: 300px;
    object-fit: contain;
}

#caption-1 {
    text-align: center;
    font-weight: normal;
    font-size: large;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
        margin-top: -2rem;  
    margin-bottom: 0;
}

#img-paragraph {
    padding-top: 0.5rem;
    word-spacing: 1.4px;
    width: 290px;
    text-align: center;
    padding-bottom: 0.8rem;
}

/* ================= fig2 ================= */
#fig2-img2 {
    width: 310px;
    height: 300px;
    object-fit: contain;
}

#caption-2 {
      text-align: center;
    font-weight: normal;
    font-size: large;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin-top: -2rem;
        margin-bottom: 0;  
}

#img-paragraph2 {
        padding-top: 0.5rem;
    word-spacing: 1.4px;
    width: 290px;
    text-align: center;
    padding-bottom: 0.8rem;
}

/* ================= fig3 ================= */
#fig3-img3 {
     width: 310px;
    height: 300px;
    object-fit: contain;
}

#caption-3 {
        text-align: center;
    font-weight: normal;
    font-size: large;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin-top: -2rem;
        margin-bottom: 0;
}

#img-paragraph3 {
    word-spacing: 1.4px;
    width: 290px;
    text-align: center;
     padding-top: 0.5rem;
     padding-bottom: 0.8rem;
}

/* ================= fig1,2,3-content ================= */
.fig1-content,
.fig2-content,
.fig3-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    width: 320px;
}

/* ================= learn-more ================= */
.learn-more {
    margin-top: auto;
    height: 30px;
    width: 150px;
    display: flex;
    align-items: center;      
    justify-content: center; 
    color: #fff;
    background-color: rgb(224, 36, 36);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: normal;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-decoration: none;
}

.learn-more:hover,
.learn-more:focus {
    color: #000;
}

/* ================= event heading ================= */
#events {
    padding-top: 3.5rem;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: normal;
    font-size: 1.5rem; 
}

/* ================= event imagecontent ================= */
.event-imagecontent {
    display: block;
    justify-content: center; 
    align-items: center;    
}

/* ================= events-paragraph ================= */
#events-paragraph {
     padding-top: 1rem;
     color: rgba(0, 0, 0, 0.7);
}

/* ================= event-1 ================= */
.event-1 {
    display: flex;
    justify-content: center;
}

#CAB-conferences {
             width: 300px;
    height: 300px;
    object-fit: contain;
    display: block;
}

#conferences-caption {
    font-weight: normal;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin-top: -3.5rem;  
    
}

#event1-paragraph {
    word-spacing: 1.4px;
    width: 300px;
    text-align: center;
    padding-top: 0.5rem;
    line-height: 1.4rem;
        font-size: 0.95rem;     
}   

/* ================= event-2 ================= */
.event-2 {
    display: flex;
    justify-content: center;
}

#Mentor-image {
             width: 300px;
    height: 300px;
    object-fit: contain;
    display: block;
}

#Mentor-Mentee {
    font-weight: normal;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin-top: -2rem;  
    
}

#event2-paragraph {
      word-spacing: 1.4px;
    width: 300px;
    text-align: center;
    padding-top: 0.5rem;
    line-height: 1.4rem;
        font-size: 0.95rem;  
}

/* ================= event-3 ================= */
.event-3 {
    display: flex;
    justify-content: center;
}

#Publicity-image {
             width: 300px;
    height: 300px;
    object-fit: contain;
    display: block;
}

#Media-Engagement {
    font-weight: normal;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin-top: -2rem;  
    
}

#event3-paragraph {
     word-spacing: 1.4px;
    width: 300px;
    text-align: center;
    padding-top: 0.5rem;
    line-height: 1.4rem;
        font-size: 0.95rem; 
}

/* ================= see-more ================= */
.see-more-box {
    display: flex;
    justify-content: flex-end; 
    padding-right: 8rem;   
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

#see-more {
    text-decoration: none;
    height: 30px;
    width: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
     color: #fff;
    background-color:  rgb(224, 36, 36);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: normal;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#see-more:hover,
#see-more:focus {
    color: #000;
    transform: scale(1.02);
}

 /* ================= About-CAB  ================= */
.About-CAB {
    display: flex;   
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem 4rem;
    max-width: 1000px;
    background-color: #0a89f1;
    height: 250px;
      margin: 0 auto;
}

/* ================= AboutCAB-image ================= */
#AboutCAB-img {
    height: 100%;
    width: auto;
     max-height: 250px; 
    object-fit: contain;
     display: block;
}


/* ================= aboutCAB-header ================= */
#aboutCAB-header {
    color: aqua;
    font-size: 1.8rem;
    margin-bottom: 0.8rem;

}

/* ================= aboutCAB-paragraph ================= */
.About-CAB p {
    line-height: 1.6;
    max-width: 500px;
    margin-bottom: 1.5rem;
    color: #000;
}

#discover-cab {
    color: #000;
    background-color: aqua;
    height: 30px;
    width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: normal;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-decoration: none;
}

#discover-cab:hover,
#discover-cab:focus {
 background-color: #fff;
}

/* ================= Socials ================= */
#socials-header {
      padding-top: 3rem; 
      padding-bottom: 1rem;
}

.socials {
    display: flex;
    gap: 1rem;
    padding-bottom: 2rem;
    align-items: center;
}

/* ================= footer ================= */
.footer {
    width: 100%;
    max-width: 1000px;
    height: 500px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    box-shadow: 0px 2px 8px rgba(0,0,0,0.05);
    background-color: #0a89f1;
    color: #fff;

}

/* ================= footer paragraph ================= */
#footer-paragraph {
       font-weight: normal;
       font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
       padding-top: 9rem;
       padding-left: 1.5rem;
}

/* ================= popular links ================= */
#Popular-links {
        font-weight: normal;
       font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
       padding: 1.5rem 1.5rem;
}

/* ================= footer links ================= */
.footer-links a {
           text-decoration: none;
           display: block;
           color: #fff;
           margin-bottom: 0.6rem;
            font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
            padding-left: 1.5rem;
           
}

/* ================= RESPONSIVE RULES ================= */

/* Desktop & Tablet */
@media (min-width: 768px) {

    /* Mentorship title on image */
    .Mentorship-programme {
        position: absolute;
        top: 30%;
        left: 5%;
        background-color: #fff;
        padding: 0.7rem 1.2rem;
        width: auto;
        height: auto;
    }

    #Mentorship {
        padding: 0;
        font-size: 1.8rem;
        text-align: left;
        color: #000;
    }

    /* Paragraph on image */
    .paragraph-box {
        position: absolute;
        top: 48%;
        left: 5%;
        max-width: 480px;
        background-color: rgba(0, 0, 0, 0.85);
        padding: 1rem 1.3rem;
    }

      /* event header */
    #events {
    padding-left: 5.5rem;
    }

    /* event paragraph */
    #events-paragraph {
     padding-left: 5.5rem;
    }

    #paragraph {
        color: #fff;
        padding: 0;
        font-size: 1rem;
        line-height: 1.5;
    }

  /* socials-content */
    .socials-content {
    padding-left: 6rem;
}
}


/* Tablet & Mobile */
@media (max-width: 1024px) {

    /* hide desktop-only items */
    .desktop-actions {
        display: none;
    }

    /* show hamburger */
    .hamburger {
        display: block;
    }

    /* hide link bar */
    .link-box {
        display: none;
    }

    /* why choose us */
    #Why-choose-us {
        padding-top: 1rem;
    }

    /* fig1-3 */
    .fig1-3 {
        margin-top: -1.5rem;
        gap: 1rem;
    }

     /* About-CAB */ 
    .About-CAB {
        flex-direction: column;      
        height: auto;                 
        padding: 2rem 2rem;
        justify-content: center;
        align-items: center;
    }

    /* AboutCAB-img */ 
    #AboutCAB-img {
        width: 100%;
        max-width: 420px;
        height: auto;
      display: block;
    }

     /* aboutCAB-header */     
    #aboutCAB-header {
        font-size: 2rem;
        margin-bottom: 1rem;
        padding-left: 1.3rem;
    }

    /* About-CAB p */  
    .About-CAB p {
        max-width: 400px;
        margin-bottom: 1.5rem;
        line-height: 1.6;
        padding-left: 1.3rem;
    }

    /* discover-cab */  
    #discover-cab {
        margin-left: 1.4rem;
        width: 70%;       
        height: 45px;   
        font-size: 1.2rem;  
        font-weight: normal;
        font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    }

     /* social content */
    .socials-content {
        padding-left: 2rem;
    }
}
    

/* ================= (MOBILE ONLY) ================= */
@media (max-width: 767px) {
    #events,
    #events-paragraph {
        padding-left: 3rem;
    }
}
