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

body {
    font-family: Arial, sans-serif;
    background-color: white;
    scroll-behavior: smooth;
}

button {
    cursor: pointer;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: rgb(0, 139, 139, 0.2);
    color: black;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
}

.navbar .logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.navbar .logo img {
    max-width: 80px;
    /* Adjust as needed */
    height: auto;
    display: block;
}

.navbar .menu {
    display: flex;
    gap: 0.3rem;
}

.navbar .menu a {
    color: black;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: 0.3s;
}

.navbar .menu a:hover {
    background-color: darkcyan;
    color: white;
    border-radius: 5px;
}

.socials a:hover span {
    color: white;
}

.navbar .menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    position: relative;
    z-index: 10;
    width: 24px;
    height: 24px;
}

.navbar .menu-toggle span {
    display: block;
    background-color: black;
    height: 3px;
    width: 100%;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.navbar .menu-toggle span:nth-child(1) {
    top: 6px;
}

.navbar .menu-toggle span:nth-child(2) {
    top: 12px;
}

.navbar .menu-toggle span:nth-child(3) {
    top: 18px;
}

.navbar .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 12px;
}

.navbar .menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.navbar .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 12px;
}

.socials span {
    font-size: 18px;
}

.socials a {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
}

.socials .fa-facebook, .ct-icons .fa-facebook {
    color: #1877F2;
    transition: .3s;
}

.socials .fa-facebook:hover, .ct-icons .fa-facebook:hover {
    color: #005acf;
}

.socials .fa-whatsapp, .ct-icons .fa-whatsapp {
    color: #25D366;
    transition: .3s;
}

.socials .fa-whatsapp:hover, .ct-icons .fa-whatsapp:hover {
    color: #198842;
}

.ct-icons .fa-instagram {
    color:  #E1306C;
    transition: .3s;
}

.ct-icons .fa-instagram:hover  {
    color:  #851d40;
}

@media (max-width: 845px) {
    .navbar .menu {
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color: white;
        height: 100vh;
        top: 20px;
        left: 0;
        width: 100%;
        padding: 1rem 0;
        opacity: 0;
        transform: translateY(-20px);
        transition: opacity 0.5s ease, transform 0.5s ease;
        z-index: 2;
    }

    .navbar .menu.active {
        opacity: 1;
        position: fixed;
        display: flex;
    }

    .navbar .menu-toggle.active {
        position: fixed;
        top: auto;
        right: 15px;
    }

    .navbar .menu a {
        font-size: 16px;
    }

    .navbar .menu-toggle {
        display: block;
    }

    .socials {
        display: flex;
        flex-direction: column;
    }
}

@media (min-width: 846px) {
    .menu-toggle {
        display: flex;
        flex-direction: column;
    }

    .socials {
        display: none;
    }

    .navbar {
        padding: 1rem 2rem 1rem 2rem;
    }

    .navbar .menu a {
        padding: 0.5rem;
    }

    .navbar .logo img {
        max-width: 90px;
    }
}

/*Slide Images CSS*/
.slideshow-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-top: 3px;
    background-size: contain;
}

.slide {
    display: none;
    width: 100%;
}

.slide img {
    width: 100%;
    height: 350px;
    filter: blur(2px);
}

.active {
    display: block;
}

.dots {
    text-align: center;
    position: absolute;
    bottom: 10px;
    width: 100%;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: white;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s;
    cursor: pointer;
}

.dot.active {
    background-color: green;
}

.slide p {
    position: absolute;
    background-color: rgb(255, 255, 255, 0.4);
    top: 50%;
    font-size: 37px;
    right: 50%;
    transform: translate(50%, -50%);
    opacity: 0;
    text-align: center;
    text-transform: capitalize;
    padding: 0 20px;
    font-family: 'ABeeZee', Helvetica, Arial, Lucida, sans-serif;
    width: 100%;
    line-height: 50px;
    font-weight: 900;
}

.slide span {
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 27px;
    margin-bottom: 16px;
}

.slide button {
    background: linear-gradient(45deg, #ff5722, #ff9800);
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


.slideone {
    animation: fadeIn 1.5s forwards;
}

.slidetwo {
    animation: fadeIntwo 1.5s forwards;
    color: white;
}


@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translate(50%, -80%);
    }

    100% {
        opacity: 1;
        transform: translate(50%, -50%);
    }
}

@keyframes fadeIntwo {
    0% {
        opacity: 0;
        transform: translate(50%, 50%);
    }

    100% {
        opacity: 1;
        transform: translate(50%, -50%);
    }
}

@media (max-width: 746px) {
    .slide p {
        font-size: 20px;
        line-height: 30px;
    }
}


/*CT-intro CSS*/
.ct-intro {
    text-align: center;
    margin-top: 34px;
    padding: 15px 30px;
}

.ct-intro-details {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    gap: 22px;
}

.ct-intro-head h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #222;
    text-transform: uppercase;
    padding-top: 25px;
    padding-left: 25px;
    padding-right: 25px;
    padding-bottom: 44px;
}

.ct-intro-img,
.intro-description {
    width: 100%;
}

.intro-description p {
    font-weight: lighter;
    font-size: 14px;
    padding: 0px;
    margin: 10px;
    font-family: 'Poppins', sans-serif;
}

.intro-description h2 {
    text-transform: capitalize;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
}

.ct-intro-img img {
    width: 100%;
    max-width: 450px;
}

.target {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    padding: 20px;
    gap: 20px;
    flex-wrap: wrap;
}

.target-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgb(238, 227, 118);
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 25px;
    flex: 1 1 calc(33.333% - 40px);
    margin: 10px;
    min-width: 250px;
    width: 100%;
    height: 250px;
    text-align: center;
    cursor: pointer;
    transition: .3s;
}

.target-box:hover {
    transform: scale(1.1, 1.1);
    background-color: rgb(238, 227, 118, 0.5);
}

.target-box:hover i {
    color: black;
}

.target-box i {
    color: darkgoldenrod;
}

.target-box h2 {
    padding: 15px 10px;
    color: #515151;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 18px;
    font-family: 'ABeeZee', Helvetica, Arial, Lucida, sans-serif;
}

.target-box p {
    color: black;
}

.icon {
    font-size: 48px;
}

@media (max-width: 768px) {
    .ct-intro-details {
        flex-direction: column;
        gap: 32px;
        line-height: 25px;
    }

    .ct-intro {
        padding: 15px 4px;
    }

    .ct-intro-head h1 {
        font-size: 32px;
    }
}

/*Individual Training CSS*/

.individual-training {
    background-color: #d9f7ed;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: space-between;
    padding: 10px;
    flex-wrap: wrap;
    gap: 20px;
}

.individual-training-img img {
    width: 100%;
    max-width: 350px;
}

.individual-training-description,
.individual-training-img {
    flex-basis: 45%;
    flex-grow: 1;
    width: 100%;
    margin: 10px;
}

.individual-training-description p {
    font-style: italic;
    font-size: 18px;
    letter-spacing: 1px;
    text-align: left;
    font-family: 'Monserrat', sans-serif;
    font-weight: bold;
    text-transform: capitalize;
}

.explore {
    text-align: left;
    margin-top: 25px;
}

.explore button {
    cursor: pointer;
    width: 200px;
    height: 45px;
    border-radius: 7px;
    outline: none;
    border: none;
    font-weight: bold;
    background-color: rgb(238, 227, 118);
    font-family: 'Montserrat';
    color: black;
    font-size: 16px;
    text-transform: uppercase;
    transition: .3s;
}

.explore button:hover {
    transform: scaleX(1.1);
}

.explore span {
    display: none;
}

.explore button:hover>.explore span {
    display: block;
}

.ct-review {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    padding: 80px 10px;
    gap: 33px;
    background-color: #f0f0f0;
}

.review {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px 5px;
}

.review .cert {
    font-size: 25px;
}

.review span {
    font-family: 'Roboto Mono', monospace;
    font-weight: bold;
    font-size: 35px;
}

.review p {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
}

.review img {
    padding: 10px 0;
    filter: blur(1px);
}

.review .flex-learning {
    font-size: 18px;
    padding: 5px;
    text-transform: uppercase;
}

.review .session {
    padding: 5px;
    font-size: 17px;
    text-transform: capitalize;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .explore {
        text-align: center;
    }

    .individual-training-description p {
        text-align: center;
        font-size: 16px;
    }
}

/*Our Courses List CSS*/
.our-courses {
    margin: 90px 20px;
}

.our-courses-head h1 {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 20px 0px;
    font-family: 'Montserrat', sans-serif;
}

.courses-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 25px;
}

.certificate-courses,
.diploma-courses,
.professional-courses {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgb(128, 128, 0, 0.2);
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.5);
    border-radius: 25px;
    padding: 16px 0px 0px 7px;
    width: 100%;
    max-width: 380px;
}

.courses-list h1 {
    font-size: 18px;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
    font-family: 'ABeeZee', Helvetica, Arial, Lucida, sans-serif;
}

.courses-list ul {
    color: black;
    min-width: 300px;
    list-style: disc;
    padding: 10px 15px;
}

.courses-list li {
    line-height: 40px;
    text-transform: capitalize;
    font-weight: bold;
}

.courses-button button {
    background-color: rgb(0, 0, 0, 0.8);
    color: white;
    text-transform: uppercase;
    padding: 15px;
    border: none;
    outline: none;
}

.courses-button {
    text-align: center;
    margin-bottom: 10px;
}


/*Footer CSS*/
.ct {
    background-color: black;
    color: #fff;
    padding: 20px 0;
}

.ct-footer {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px 10px;
}

.ct-section {
    flex: 1 1 300px;
    margin: 10px;
}

.ct-section h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #ffc979;
}

.ct-icons span {
    font-size: 30px;
}

.ct-section p, .ct-section i {
    padding: 6px 0;
}

.ct-section p,
.ct-section a, .ct-section address {
    font-size: 16px;
    color: #ccc;
    text-decoration: none;
}

.ct-section a:hover {
    color: #fff;
}

.ct-icons {
    margin-top: 10px;
}

.ct-icons a {
    display: inline-block;
    margin-right: 10px;
    color: #ccc;
    font-size: 18px;
}

.ct-icons a:hover {
    color: #ff9800;
}

.ct-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #aaa;
    border-top: 1px solid #444;
    padding-top: 10px;
}