@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;500;600;700;800&family=Tilt+Neon&display=swap");

/* SECTION - HOME */
body {
    background-color: var(--color-bg) !important;
}

.home {
    display: grid;
    grid-template-columns: 1fr;
    padding: 130px 80px;
    background-image: url(../../assets/pngtree.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.description {
    color: #fff;
    padding: 0 50px;
}

.description > h1 {
    font-family: "Tilt Neon", sans-serif;
    font-size: clamp(2.3rem, 4vw, 4rem);
    line-height: 1.1;
    margin-bottom: 30px;
}

.gradient-text {
    font-family: "Tilt Neon", sans-serif;
    background-image: linear-gradient(
            90deg,
            rgb(118, 167, 63) 0%,
            rgb(51, 143, 118) 40%,
            rgb(55, 141, 167) 50%,
            rgb(117, 152, 242) 70%,
            rgb(144, 118, 236) 100%
    );
    color: transparent;
    background-size: contain;
    background-clip: text;
    -webkit-background-clip: text;
}

.description > p {
    font-family: "Nunito", sans-serif;
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 30px;
}

.enquire-btn {
    font-size: 1rem;
    color: white;
    background-color: #4ebdff;
    width: 10rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    display: inline-block;
    margin-left: 2rem;
    margin-top: 1rem;
    cursor: default;
}

.enquire-btn:hover {
    background-color: #B7DAE0;
    color: black;
}

/******* SECTION - 1 *******/

.section1 h2 {
    text-align: center;
    font-size: 2.5rem;
    padding: 0.8rem;
    background-color: #FFFFFF;
    color: #6baff8;
    font-weight: 600;
}
.s1container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    justify-content: center;
  }
  
  .s1card {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .s1card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
  
  .s1card h3 {
    margin: 0 0 10px;
    font-size: 18px;
    color: #333;
  }
  
  .s1card p {
    margin: 0;
    color: #555;
    line-height: 1.6;
    font-size: 15px;
  }

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 1215px) {
    .description > p {
        font-size: 1rem;
    }
}

@media (max-width: 1015px) {
    .description > p {
        font-size: 1rem;
    }
}

@media (max-width: 815px) {
    .users-color-container {
        display: none;
    }
}

@media (max-width: 815px) {
    .description > p {
        font-size: 1rem;
    }
}

@media (max-width: 460px) {
    .home {
        gap: 0;
        padding: 30px 40px;
        margin-top: 5rem;
    }
}

/* -------------------HOME SECTION ENDS-------------------------*/

/* -----------------TRAINING SECTION STARTS---------------- */
.training-section-2 {
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr;
}

.training-section-2 p {
    font-size: 1.5rem;
    padding: 2rem 4rem;
    background-color: var(--color-light);
}

.title {
    font-size: 3rem;
}

.main-title {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    text-align: center;
    margin: 40px;
}

@media screen and(max-width: 650px) {
    .title {
        font-size: 2rem;
    }
}

/* -----------------Training section ends------------ */

/*--------------- feature css starts------------- */
.features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(5, 1fr);
    padding: 1rem;
    row-gap: 40px;
    column-gap: 20px;
}

.feature-description {
    padding: 2rem;
    text-align: center;
    border-radius: 10px;
    margin: 1rem;
    border: 1px solid var(--color-light);
    background: rgb(192 224 231);
    width: 100%;
    height: auto;
}

.feature-description h1 {
    font-size: clamp(1rem, 2vw, 2rem);
    text-transform: uppercase;
}

.feature-description p {
    font-size: 1rem;
    margin-top: 2rem;
    letter-spacing: 1px;
}

.feature-image {
    height: 220px;
    width: 100%;
}

@media screen and (max-width: 650px) {
    .features {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(10, 1fr);
    }
}

/*--------------- feature css ends------------- */
/* -----------ENROLLMENT CSS STARTS------------- */
.enrollment-detail {
    padding: 2rem;
    text-align: center;
    border-radius: 10px;
    margin: 1rem;
    width: 70%;
    border: 1px solid var(--color-light);
    background-color: aliceblue;
    color: #000;
    margin: 0 auto;
    margin-top: 3rem;
    margin-bottom: 10rem;
}

.enrollment-detail h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.enrollment-detail p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.enrollment-detail button {
    width: 10rem;
    padding: 10px;
    border: none;
    background-color: var(--color-light);
    border-radius: 5px;
    font-size: 1rem;
    color: #FFFFFF;
    cursor: pointer;
}

.enrollment-detail button:hover {
    background-color: var(--color-darkblue);
    color: #000000;
    font-weight: 500;
}


@media screen and (max-width: 650px) {
    .enrollment-detail {
        width: 90%;
    }
}

/* --------------ENROLLMENT CSS ENDS --------------- */


/* -------------------------------------------- */
.apply-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 12px;
    transition: background-color 0.3s ease;
}

.apply-button:hover {
    background-color: #0056b3;
    color: #fff;
    text-decoration: none;
}

.apply-now-section {
    background-color: #f9f9f9;
    padding: 50px;
    text-align: center;
    margin-top: 5rem;
    margin-bottom: 5rem;
}

.content {
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.content h2 {
    text-transform: uppercase;
    color: var(--color-bg);
}

.content p {
    font-size: 16px;
}
