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

body {
    font-family: 'Roboto', sans-serif;
    background-color: #ffffff;
    color: #333;
}


.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-slides {
    display: flex;
    margin-top: 100px;
    height: 100%;
    transition: transform 0.6s ease-in-out;
}

.hero-slides img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    flex-shrink: 0;
}


.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.45);
    padding: 40px 50px;
    border-radius: 12px;
    max-width: 900px;
}

.hero-overlay h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.hero-overlay p {
    font-size: 1.1rem;
    line-height: 1.6;
}


.hero-section1 {
    background-color: #f9f9f9;
    width: 100%;
    min-height: 300px;
    padding: 60px 20px;
    text-align: center;
    color: #1C2F69;
}

.hero-section1 h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.hero-section1 p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 10px;
    color: #666;
}


.equire {
    font-size: 15px;
    background-color: #000000;
    color: #ffffff;
    height: 50px;
    width: 200px;
    text-decoration: none;
    margin-top: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 6px;
    transition: 
        background-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.equire:hover {
    background-color: #1C2F69;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}


.hero-section2 {
    background-color: #1C2F69;
    width: 100%;
    min-height: 700px;
    padding: 80px 20px;
    text-align: center;
    color: #ffffff;
}

.hero-section2 h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.hero-section2 p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 10px;
}


.contact {
    font-size: 15px;
    background-color: #000000;
    color: #ffffff;
    height: 50px;
    width: 200px;
    text-decoration: none;
    margin-top: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 6px;
    transition: 
        background-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.contact:hover {
    background-color: #ffffff;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}


.hero-section3 {
    padding: 60px 30px;
    background-color: #ffffff;
    text-align: left;
}

.hero-section3 h1 {
    font-family: 'Roboto', sans-serif;
    font-size: 2.3rem;
    color:  #1C2F69;
    margin-bottom: 30px;
    letter-spacing: 1px;
}


.certification-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    
}

.certification-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: certScroll 10s linear infinite;
}

.certification-track a {
    width: auto;
    min-width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 15px;
    flex-shrink: 0;
    text-decoration: none;
}

.certification-track img {
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.certification-track a:hover img {
    transform: scale(1.05);
}


@keyframes certScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


/* video */

.video-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  border-radius: 2%;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  text-align: center;
}


.text-slider {
  position: absolute;
  width: 1000px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 3rem;
  font-weight: bold;
  text-align: center;
}


.slide {
  position: absolute;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.slide.active {
  opacity: 1;
  transform: translateY(0);
}


/* Media */

@media (max-width: 1024px) {
    .hero-slider {
        height: 80vh;
    }

    .hero-slides img {
        height: 80vh;
    }

    .hero-overlay {
        padding: 30px 35px;
        max-width: 700px;
    }

    .hero-overlay h1 {
        font-size: 2.3rem;
    }

    .hero-overlay p {
        font-size: 1rem;
    }

    .hero-section1 h1,
    .hero-section2 h1 {
        font-size: 2.3rem;
    }

    .hero-section3 {
        padding: 50px 25px;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 70vh;
    }

    .hero-slides {
        margin-top: 80px;
    }

    .hero-slides img {
        height: 70vh;
    }

    .hero-overlay {
        padding: 25px 20px;
        max-width: 90%;
    }

    .hero-overlay h1 {
        font-size: 1.9rem;
    }

    .hero-overlay p {
        font-size: 0.95rem;
    }

    .hero-section1,
    .hero-section2 {
        padding: 50px 15px;
    }

    .hero-section1 h1,
    .hero-section2 h1 {
        font-size: 2rem;
    }

    .hero-section1 p,
    .hero-section2 p {
        font-size: 1rem;
    }

    .equire,
    .contact {
        width: 180px;
        height: 48px;
        font-size: 14px;
    }

    .hero-section3 h1 {
        font-size: 2rem;
    }

    .certification-track img {
        max-height: 200px;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 60vh;
    }

    .hero-slides {
        margin-top: 70px;
    }

    .hero-slides img {
        height: 60vh;
    }

    .hero-overlay h1 {
        font-size: 1.6rem;
    }

    .hero-overlay p {
        font-size: 0.9rem;
    }

    .hero-section1 h1,
    .hero-section2 h1 {
        font-size: 1.7rem;
    }

    .hero-section3 {
        padding: 40px 20px;
    }

    .hero-section3 h1 {
        font-size: 1.8rem;
    }

    .certification-track img {
        max-height: 160px;
    }
}