/* SECTION - 1 */
.section1 {
    width: 100%;
    height: 100vh;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.section1-container {
    position: relative;
    color: white;
    z-index: 1;
    padding: 2rem;
    max-width: 800px;
}

.section1-container h1 {
    font-size: 3.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
}

.section1-container p {
    font-size: 1.3rem;
    line-height: 1.6;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.4);
}

.enquire-btn {
    font-size: 1rem;
    color: white;
    background: linear-gradient(90deg, #4ebdff, #1e90ff);
    width: 12rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.5rem;
    font-weight: bold;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.enquire-btn:hover {
    background: linear-gradient(90deg, #1e90ff, #4ebdff);
    transform: scale(1.05);
    color: black;
}

.enquiry-form-container {
    margin-left: 30px;
    position: absolute;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .section1 {
        height: 75vh;
    }

    .section1-container {
        margin: 0rem 3rem;
    }

    .section1-container h1 {
        font-size: 2.5rem;
    }

    .section1-container p {
        font-size: 1.2rem;
    }
}

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

    .section1-container {
        margin: 0rem 2rem;
        padding: 0;
    }

    .section1-container h1 {
        font-size: 2rem;
    }

    .section1-container p {
        font-size: 1.1rem;
    }
}

@media (max-width: 425px) {
    .section1 {
        height: 60vh;
    }

    .section1-container {
        margin: 0rem 1.5rem;
        text-align: center;
    }

    .section1-container h1 {
        font-size: 1.8rem;
    }

    .section1-container p {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .enquire-btn {
        width: 10rem;
        height: 3rem;
    }
}
/* SECTION - 2 */
.section2 h2 {
    text-align: center;
    background-color: var(--color-darkblue);
    padding: 1.5rem;
    font-size: 2.5rem;
    color: var(--color-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section2-container {
    display: flex;
    flex-wrap: wrap;
    margin: 1rem;
    justify-content: center;
    max-width: 1200px;
}

.section2-container section {
    width: 100%;
    padding: 2rem;
    position: relative;
}

.section2-container section:nth-child(1) {
    width: 100%;
    text-align: center;
}

.section2-container section:nth-child(1) p {
    font-size: 1.2rem;
    color: var(--color-dark);
    background-color: var(--color-light);
    padding: 1.2rem;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.section2-container section:nth-child(2) {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    justify-content: center;
}

.section2-container section span {
    width: 100%;
    margin: 0 10px;
    position: relative;
    transition: transform 0.3s ease-in-out;
}

.section2-container section span:hover {
    transform: scale(1.05);
}

.section2-container section span img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.1);
}

.section2-container section span p {
    position: absolute;
    bottom: -4rem;
    color: var(--color-darkblue);
    width: 90%;
    background: var(--color-light);
    box-shadow: 5px 5px 0px 0px var(--color-darkblue);
    padding: 1.2rem;
    font-size: 1rem;
    text-align: center;
    left: 50%;
    transform: translate(-50%, 0);
    font-weight: 500;
    border-radius: 5px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .section2-container {
        margin: 0 2rem;
    }

    .section2-container section span {
        width: 100%;
    }

    .section2 h2 {
        font-size: 2rem;
        padding: 1rem;
    }
}

@media (max-width: 425px) {
    .section2 h2 {
        font-size: 1.75rem;
        padding: 0.75rem;
    }

    .section2-container {
        margin: 0 1rem;
    }

    .section2-container section span p {
        font-size: 0.9rem;
        bottom: -2rem;
    }
}

/******* BOX *******/
.box {
    margin: 10rem 2rem;
}
.box h2 {
    text-align: center;
    margin-bottom: 2rem;
    background-color: var(--color-darkblue);
    height: 4rem;
    align-content: center;
    color: white;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}



/******* SECTION - 3 *******/

.section3-heading {
    background-color: #FFFFFF;
    text-align: center;
    margin-top: 12rem;
    padding: 1rem;
    font-weight: 700;
    font-size: 2rem;
    text-transform: uppercase;
}

.section3 {
    background-color: #F0F0F0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 2rem;
    margin: 0 auto;
    box-sizing: border-box;
    gap: 5rem;
    max-width: 1200px;
    flex-wrap: wrap;
}

.card-item {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.card1,
.card2,
.card3,
.card4,
.card5,
.card6 {
    border-radius: 10px;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
    width: 350px;
    height: 200px;
    background-color: #ffffff;
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    text-align: center;
}

.card1:hover,
.card2:hover,
.card3:hover,
.card4:hover,
.card5:hover,
.card6:hover {
    transform: scale(1.05);
    color: #ffffff;
}

.card1::before,
.card2::before,
.card3::before,
.card4::before,
.card5::before,
.card6::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -15px;
    right: -15px;
    height: 230px;
    width: 25px;
    border-radius: 32px;
    transition: transform 0.25s ease-out;
}

.card1::before { background: #4c49ea; }
.card2::before { background: #e44002; }
.card3::before { background: #3ecd5e; }
.card4::before { background: #cd3e94; }
.card5::before { background: darkviolet; }
.card6::before { background: dodgerblue; }

.card1:hover::before,
.card2:hover::before,
.card3:hover::before,
.card4:hover::before,
.card5:hover::before,
.card6:hover::before {
    transform: scale(40);
}

.card1 p,
.card2 p,
.card3 p,
.card4 p,
.card5 p,
.card6 p {
    padding: 15px 0;
    font-size: 1rem;
    font-weight: 400;
}

@media (max-width: 1024px) {
    .section3 {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .section3 {
        flex-direction: column;
        gap: 2rem;
    }

    .card-item {
        gap: 2rem;
    }

    .card1, .card2, .card3, .card4, .card5, .card6 {
        width: 280px;
        height: 180px;
        padding: 15px;
    }
}

@media (max-width: 425px) {
    .section3-heading {
        font-size: 1.5rem;
    }

    .card1, .card2, .card3, .card4, .card5, .card6 {
        width: 100%;
        height: 170px;
        padding: 10px;
    }

    .card1 p,
    .card2 p,
    .card3 p,
    .card4 p,
    .card5 p,
    .card6 p {
        font-size: 0.9rem;
    }
}
/******* SECTION - 4 *******/

.section4 {
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 40px;
    width: 100%;
    margin-top: 2.5rem;
    transition: all 0.3s ease-in-out;
}

.section4 h2 {
    font-size: 2.2rem;
    background-color: #d8c3e3;
    padding: 0.5rem;
    margin-bottom: 2rem;
    text-align: center;
    border-radius: 8px;
    color: #4a3c6a;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 2rem;
    padding: 20px 0;
}

.grid > article {
    border: 1px solid #b89ac4;
    box-shadow: 4px 4px 10px rgba(187, 163, 206, 0.7);
    background-color: #fff;
    padding: 6% 4%;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.grid .text {
    padding: 15px 25px;
    color: #5a5c60;
    font-size: 1rem;
    line-height: 1.6;
}

h3 {
    color: #333;
    text-align: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

p {
    text-align: justify;
    font-weight: 500;
    font-size: 1rem;
}

article:hover {
    background-color: #4a3c6a;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 6px 6px 15px rgba(74, 60, 106, 0.5);
}

article:hover h3, 
article:hover p {
    color: #FFFFFF;
}

@media (max-width: 768px) {
    .section4 {
        padding: 30px;
    }
    .grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .section4 h2 {
        font-size: 2rem;
    }
}

@media (max-width: 425px) {
    .section4 {
        padding: 20px;
    }
    .grid {
        grid-template-columns: 1fr;
    }
    .section4 h2 {
        font-size: 1.8rem;
    }
}
