/* ================= RESET ================= */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* ================= LAYOUT ================= */
.about-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;
}

/* ================= HAMBURGER ================= */
.hamburger {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

/* ================= 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;

    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: 5.5rem;
    padding: 7px 5rem 0;
}

.link a {
    text-decoration: none;
    font-size: 1.042rem; 
    color: rgb(2, 23, 48);
    transition: 0.3s ease;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.9px;
}

.link a:hover,
.link a:focus {
    border: none;
    border-radius: 7px;
    background-color: #0a89f1;
    color: #fff;
    padding: 3.5px;
    font-size: 1.05rem;
} 

/* ================= programs.. bar ================= */
.programs-bar {
        background-color: #eeeeee;
    width: 100%;
    height: 40px;
}

/* ================= programs-droplink ================= */
.programs-droplink {
    display: flex;
    padding: 7px 0px 0px 1.3rem;
    gap: 0.5rem;
}

/* ================= programs-droplink a ================= */
.programs-droplink a {
    text-decoration: none;
    font-size: 1.02rem;
    color: rgb(2, 23, 48);
    transition: all 0.3s ease;
     font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
     
}

/* ================= home a ================= */
#home a{
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(2, 23, 48, 0.5);
}

#home a:hover,
#home a:focus {
    border: none;
    border-radius: 7px;
    background-color: #0a89f1;
    color: #fff;
    padding: 5px;
    font-size: 1.05rem;
    text-decoration: none;
}

/* ================= programs a ================= */
#Programs a {
    text-decoration: none;
}

/* ================= image1 content program  ================= */
.image1-content-program {
    position: relative;
}


/* ================= image 1 program ================= */
.image1-program {
         width: 100%;
    max-width: 1200px;
    height: 500px;
    overflow: hidden;
}

#img1-program {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ================= Programs-header ================= */
#Programs-header {
  font-size: 2rem;
  text-align: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* ================= paragraph-box-programs ================= */
 .paragraph-box-programs {
        max-width: 480px;
        background-color: #0a89f1;
        display: flex;
        color: #fff;
       margin: auto;
       justify-content: center;
       align-items: center;
    }

/* ================= paragraph-programs ================= */
#paragraph-programs {
    padding-top: 1rem;
    text-align: center;
    padding-bottom: 1rem;
}

/* ================= ourcourses-box ================= */
.ourcourses-box {
        background-color: #d1d5db;
    width: 100%;
    height: 60px; 
    align-items: center;
    justify-content: center;
    display: flex;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* ================= our-courses ================= */
#our-courses {
         font-size: 1.5rem;
         font-weight: normal;
}

/* ================= programs-courses ================= */
.programs-courses {
          display: flex;
          flex-direction: column;
          align-items: center;
          background-color: #eeeeee;;
          padding: 3rem 0;
          gap: 4rem;
}

/* ================= program1 ================= */
.program1 {
    display: flex;
    flex-direction: column;
    align-items: center;   
}

/* ================= Workshop-img ================= */
#Workshop-img {
     width: 600px;
    height: 400px;
    object-fit: contain;
    display: block;
}

/* ================= program1-paragraph ================= */
#program1-paragraph {
       word-spacing: 0.1rem;
       padding-top: 1rem;
       color: blue;
       font-weight: normal;
       font-size: 1.2rem;
       text-align: center;
       font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

/* ================= workshop ================= */
#workshop {
    display: block;
    margin: 1.5rem auto;   
    padding: 0.7rem 1rem;
    width: 340px;          
    max-width: 90%;        
    font-size: 1rem;
    border-radius: 6px;
    border: 1px solid #ccc;
    cursor: pointer;
}


/* ================= program2 ================= */
.program2 {
    display: flex;
    flex-direction: column;
    align-items: center;   
}

/* ================= shortcourses-img ================= */
#shortcourses-img {
     width: 600px;
    height: 400px;
    object-fit: contain;
    display: block;
}

/* ================= program2-paragraph ================= */
#program2-paragraph {
       word-spacing: 0.1rem;
       padding-top: 1rem;
       color: blue;
       font-weight: normal;
       font-size: 1.2rem;
       text-align: center;
       font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

/* ================= shortcourses ================= */
#shortcourses {
    display: block;
    margin: 1.5rem auto;   
    padding: 0.7rem 1rem;
    width: 340px;          
    max-width: 90%;        
    font-size: 1rem;
    border-radius: 6px;
    border: 1px solid #ccc;
    cursor: pointer;
}

/* ================= program3 ================= */
.program1 {
    display: flex;
    flex-direction: column;
    align-items: center;   
}

/* ================= CERTIFICATION-COURSES-img ================= */
#CERTIFICATION-COURSES-img {
     width: 600px;
    height: 400px;
    object-fit: contain;
    display: block;
}

/* ================= program3-paragraph ================= */
#program3-paragraph {
       word-spacing: 0.1rem;
       padding-top: 1rem;
       color: blue;
       font-weight: normal;
       font-size: 1.2rem;
       text-align: center;
       font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

/* ================= CERTIFICATION-COURSES ================= */
#CERTIFICATION-COURSES {
    display: block;
    margin: 1.5rem auto;   
    padding: 0.7rem 1rem;
    width: 340px;          
    max-width: 90%;        
    font-size: 1rem;
    border-radius: 6px;
    border: 1px solid #ccc;
    cursor: pointer;
}

/* ================= footer ================= */
.footer {
    width: 100%;
    max-width: 1000px;
    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;
       padding-bottom: 2rem;
}

/* ================= popular links ================= */
#Popular-links {
        font-weight: normal;
       font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
       padding-left: 1.5rem;
       padding-bottom: 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;
            transition: color 0.3s ease;
}

.footer-links a:hover  {
           color: #000;
}

/* ================= Reach Out header ================= */
#Reach-Out {
             font-weight: normal;
       font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
       padding: 1.5rem 1.5rem;
}

/* ================= Reach Out mail ================= */
.mail {
    display: flex;
    font-size: 1.05rem;
    align-items: center;
    gap: 0.5rem; 
    color: #fff;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    padding-left: 1.5rem;
    margin-top: 0.5rem; 
}

/* ================= Reach Out telephone ================= */
#telephone {
     display: flex;
    align-items: center;
    gap: 0.5rem; 
    color: #fff;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    padding-left: 1.2rem;
    margin-top: 1rem; 
}

/* ================= phone ================= */
.phone-circle {
             width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer hr {
    border: none;           
    height: 1px;               
    background-color: rgba(255, 255, 255, 0.4);
}

/* ================= copy ================= */
#copy {
    padding-top: 2rem;
    text-align: center;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

/* ================= RESPONSIVE RULES ================= */
/* 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;
    }

     /* footer */
    .footer {
           height: 760px;
    }

     /* hr */
     hr {
        display: none;
    }

         /* footer paragraph */
     #footer-paragraph {
        margin-right: 1rem;
        line-height: 1.5rem;
        word-spacing: 0.1rem;
     }
}

/* ================= (DESKTOP ONLY) ================= */
@media (min-width: 768px) {

   /* programs-droplink */
.programs-droplink {
    display: flex;
    padding: 7px 5rem 0;
    gap: 0.5rem;
}
   
     /* footer */
    .footer {
     height: 620px;
    }
 
    /* footer top */
    .footer-top {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        padding: 8.5rem 3rem 2rem;
        gap: 4rem;
    }

    /* footer left */
    .footer-left {
        max-width: 55%;
    }

    /* reach out */
    .reach-out {
        max-width: 40%;
    }

    /* footer paragraph */
    #footer-paragraph {
        padding-top: 1rem;
        width: 500px;
        line-height: 1.5rem;
        word-spacing: 0.1rem;
    }
}

/* ================= PROGRAMS HEADER FOR DESKTOP/TABLET ================= */
@media (min-width: 501px) {
    #Programs-header {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: #fff;
        font-size: 4rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.15em;
        z-index: 2;
        text-align: center;
        text-shadow:
            0 4px 10px rgba(0, 0, 0, 0.6),
            0 0 25px rgba(0, 0, 0, 0.3);
    }

    /* Paragraph on image */
    .paragraph-box-programs {
        position: absolute;
        top: 70%;
        left: 5%;
        max-width: 480px;
        background-color: rgba(0, 0, 0, 0.85);
        padding: 1rem 1.3rem;
        color: #fff;
    }

    /* ourcourses-box */
    .ourcourses-box {
        background-color: #d1d5db;
    width: 100%;
    height: 60px;
}
}


/* ================= FADE-UP ANIMATION ================= */
.fade-up {
    opacity: 0;             
    transform: translateY(50px); 
    transition: all 0.8s ease-out; 
}

.fade-up.show {
    opacity: 1;               
    transform: translateY(0); 
}

/* ================= FADE-LEFT ANIMATION ================= */
.fade-left {
    opacity: 0;              
    transform: translateX(-50px); 
    transition: all 0.8s ease-out; 
}

.fade-left.show {
    opacity: 1;            
    transform: translateX(0); 
}


