* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}

button i {
    padding-top: 2rem;
    font-size: 55px;
}

img {
    width: 100%;
    overflow: hidden;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: #ECECEC;
}

.btn {
    font-size: 1.2rem;
    color: #0E0E0E;
    background: #FFC107;
    padding: 1rem 2.6rem;
    font-weight: 500;
    border-radius: 2rem;
    text-transform: uppercase;
    transition: all 300ms ease;
}

.btn:hover {
    background: #0E0E0E;
    color: #ECECEC;
    box-shadow: 0 4px 10px rgba(78, 77, 49, 0.3);
}

/* Main Navbar */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #000426;
    padding: 10px 65px;
}

.navbar button {
    display: none;
}

.navbar .logo {
    font-size: 24px;
    font-weight: bold;
}

.navbar ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.navbar ul li {
    margin-left: 45px;
    font-size: 20px;
}

.navbar ul li a {
    color: #ECECEC;
    text-decoration: none;
    transition: color 300ms ease, border-bottom 300ms ease;
    position: relative;
}

.navbar ul li a:hover {
    color: #FFC107;
}

.navbar ul li a::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: #FFC107;
    position: absolute;
    left: 0;
    bottom: -5px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.navbar ul li a:hover::after {
    transform: scaleX(1);
}

.navbar ul li a.active {
    color: #FFC107;
}

.navbar ul li a.active::after {
    display: none;
}

.arr-dw svg {
    height: 30px;
    width: 30px;
}

.arr-dw svg {
    animation: bounce 2s infinite; /* Apply bounce animation */
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0); /* Initial position */
    }
    40% {
        transform: translateY(10px); /* Downward movement */
    }
    60% {
        transform: translateY(5px); /* Slight upward rebound */
    }
}


/* Hero section styles */
.hero {
    background-image: url('../img/haj2.jpg'); /* Replace with your image URL */
    background-size:auto;
    background-position: center;
    height: 80vh;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(7, 5, 34, 0.615);
    align-items: center;
    padding: 0 65px;
}

.hero-overlay h1 {
    font-family: 'Roboto', sans-serif;
    font-size: 62px;
    margin-top: 19rem;
    margin-bottom: 0.5rem;
    line-height: 70px;
    color: #FFC107;
    max-width: 30rem;
}

.hero-overlay p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    max-width: 27rem;
    display: block;
    margin-bottom: 0.9rem;
}

.hero-overlay a {
    font-size: 1.2rem;
    color: #ECECEC;
    opacity: 0.9;
    text-decoration: underline;
    transition: 300ms ease;
}

.hero-overlay a:hover {
    color: #FFC107;
}

.quot-sc {
    font-family: 'Vollkorn', serif;
    font-size: 2rem;
    text-align: center;
    line-height: 2.4rem;
    background-color: #FFC107;
    color: #0E0E0E;
    padding: 2em 5em;
}

.arr-dw {
    text-align: center;
    margin-top: 2rem;
}


/* Testimonial section styles */
.testimonial {
    background-image: url('../img/tesm.jpg');
    background-size: cover;
    background-position: center;
    padding: 60px 65px;
    position: relative;
    height: 70vh;
}

.testimonial-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(7, 5, 34, 0.615);
    display: block;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.testimonial-overlay h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 2rem;
    font-weight: 300;
    color: #FFC107;
    margin: 4rem 0;
}

.str_hd {
    display: inline-block;
    border: 0.14rem  solid #FFC107;
    border-radius: 0.3rem;
    padding: 0.4rem 1rem;
    background-color: transparent;
}

.carousel {
    display: flex;
    justify-content: space-around;
    max-width: 70rem;
    margin: 0 auto;
}

.carousel-item {
    overflow: hidden;
    width: 360px;
    height: 300px;
    margin: 0 10px;
    background: #F9F9F9;
    color: #0E0E0E;
    display: block;
    align-items: center;
    padding: 20px 30px;
    border-radius: 0.3rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: 300ms ease;
}

.carousel-item:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.400);
    cursor: default;
}

.carousel-item img {
    width: 25%;
    margin-bottom: 1rem;
    object-fit: cover;
}

.carousel-item p {
    font-size: 1.1rem;
}


.carousel-item h3 {
    margin: 10px 0 0;
    color: #270970;
}

.spcst {
    height: 50vh;
    padding: 30px 65px;
    background: rgb(0,8,78);
    background: linear-gradient(0deg, rgba(0,8,78,1) 0%, rgba(0,2,70,1) 100%);
    z-index: -5;
}

.spcst h2, .spcst h3 {
    text-align: center;
}

.spcst h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 2.5rem;
    margin-top: 2rem;
}

.spcst h3 {
    font-family: "Dancing Script", cursive;
    font-size: 3rem;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    color: #FFC107;
    margin-top: -1rem;
}

.spcst img {
    position: absolute;
    width: 25%;
    z-index: 0;
}

.spc {
    margin: 0 18rem;
}

.spcst-cont {
    position: relative;
    background: #F9F9F9;
    color: #0E0E0E;
    display: block;
    text-align: center;
    padding: 3rem 3rem;
    border-radius: 0.3rem;
    margin-top: 2.4rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.115);
}

.spcst-cont p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
}

.about-sc {
    display: grid;
    grid-template-columns: 60% 40%;
    padding: 120px 65px;
    align-items: center;
    gap: 3rem;
    overflow: hidden;
    height: 105vh;
    background: #ECECEC;
    color: #0E0E0E;
    z-index: -2;
}

.abt-lft h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.abt-lft p {
    font-size: 1.3rem;
    width: 35rem;
    line-height: 1.9rem;
    margin-bottom: 3rem;
}

footer {
    margin-top: auto; 
    background-color: #000426; 
    color: #ECECEC; 
    padding: 20px 0;
    overflow: hidden;
}

.f-cont {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: space-around;
    justify-items: center;
    align-items: center;
    margin: 0 auto; 
    overflow: hidden;
}

.f-cont small {
    text-transform: uppercase;
}

.f-cont .logo {
    color: #FFC107;
}

.f-lft {
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
}

.f-rgh {
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
}

.f-lft a {
    margin-right: 2rem;
}

.f-lft-top, .f-lft-bottom {
    display: flex;
    gap: 1rem;
}

.f-mdl, .f-rgh {
    display: flex;
    align-items: center;
}

.f-lft a, .f-rgh a {
    color: #ECECEC; 
    transition: color 0.3s; 
}

.f-cont a:hover {
    color: #FFC107;
}

.social-icon {
    font-size: 1.2rem;
    text-align: center;
    justify-content: space-between;
    padding: 20px 5px;
}

small {
    margin-top: 1rem;
}

.f-lft-top_mbl {
    display: none;
}

@media only screen and (max-width : 1920px) {

    /* .mbl_mn__ {
        display: none;
    } */

    .hero-overlay h1 {
        margin-top: 17rem;
    }

    .testimonial {
        height: 70vh;
    }

    .about-sc {
        grid-template-columns: 55% 45%;
    }

    .quot-sc {
        padding: 1.3em 3em;
    }
}

@media only screen and (max-device-width : 1024px) {
    .dsk_mn_ {
        display: none;
    }

    .carousel {
        max-width: 55rem;
    }

    .spc {
        margin: 0 8rem;
    }

    .about-sc {
        height: 85vh;
    }
}

@media only screen and (max-device-width : 768px) {

    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #000426;
        padding: 5px 30px;
        margin: 0;
        margin: -0.6rem auto;
        position: relative;
        z-index: 1000;
    }
    
    .navbar button {
        display: block;
    }
    
    /* Initially hide the menu */
    .navbar ul {
        list-style: none;
        flex-direction: column;
        margin: 0;
        padding: 0;
        display: none;
        visibility: hidden;
        opacity: 0;
        height: 100vh; /* Full viewport height to prevent scrolling */
        width: 100vw; /* Full viewport width */
        background-color: #000426;
        position: fixed;
        top: 0;
        left: 0;
        justify-content: center;
        align-items: center;
    }
    
    .navbar.open ul {
        display: flex;
        visibility: visible;
        opacity: 1;
        animation: slideDown 0.5s ease forwards;
    }
    
    @keyframes slideDown {
        0% {
            transform: translateY(-20px);
            opacity: 0;
        }
        100% {
            transform: translateY(0);
            opacity: 1;
        }
    }
    
    /* Animate links one by one */
    .navbar ul li {
        margin-bottom: 20px;
        font-size: 20px;
        opacity: 0;
        transform: translateX(-30px);
        animation: fadeInLinks 0.4s ease forwards;
    }
    
    @keyframes fadeInLinks {
        0% {
            opacity: 0;
            transform: translateX(-30px);
        }
        100% {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    /* Set different delays for each link for a staggered effect */
    .navbar.open ul li:nth-child(1) {
        animation-delay: 0.2s;
    }
    
    .navbar.open ul li:nth-child(2) {
        animation-delay: 0.4s;
    }
    
    .navbar.open ul li:nth-child(3) {
        animation-delay: 0.6s;
    }
    
    .navbar.open ul li:nth-child(4) {
        animation-delay: 0.8s;
    }
    
    .navbar.open ul li:nth-child(5) {
        animation-delay: 1s;
    }
    
    .navbar ul li a {
        color: #ECECEC;
        text-decoration: none;
        transition: color 300ms ease, border-bottom 300ms ease;
        position: relative;
    }
    
    .navbar ul li a:hover {
        color: #FFC107;
    }
    
    .navbar ul li a::after {
        content: '';
        display: block;
        width: 100%;
        height: 2px;
        background-color: #FFC107;
        position: absolute;
        left: 0;
        bottom: -5px;
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }
    
    .navbar ul li a:hover::after {
        transform: scaleX(1);
    }
    
    .navbar ul li a.active {
        color: #FFC107;
    }
    
    .navbar ul li a.active::after {
        display: none;
    }
    
    .btn {
        font-size: 1.1rem;
        padding: 0.8rem 2.3rem;
    }

    .navbar button {
        display: block;
    }


    .menu-open i {
        font-size: 30px;
        padding-bottom: 0.7rem;

    }

    .logo svg {
        width: 60px;
        height: 60px;
        padding-top: 0.7rem;
    }

    .navbar ul {
        overflow: hidden;
        padding: 0;
    }
    
    .navbar ul li {
        text-transform: uppercase;
        padding: 0.4rem 0;
        font-size: 30px;
        margin: 0;
    }

    .navbar ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #000426;
        justify-content: center;
        align-items: center;
        padding: 0;
        margin: 0;
        z-index: 999;
        overflow: hidden;
    }

    .menu-open {
        display: block;
        font-size: 35px;
        color: #fff;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        margin: 0;
        overflow: hidden;
    }

    .menu-close {
        display: none;
        font-size: 20px;
        color: #fff;
        background: none;
        border: none;
        cursor: pointer;
    }

    /* Show menu when open button is clicked */
    .navbar.open ul {
        display: flex;
    }

    .navbar.open .menu-open {
        display: none;
    }

    /* Show the close button */
    .navbar.open .menu-close {
        display: inline-block;
    }
    
    .dsk_mn_ {
        display: none;
    }

    .hero-overlay h1 {
        margin-top: 15rem;
    }

    .testimonial {
        height: 155vh;
    }

    .carousel {
        display: inline-block;
        max-width: 40rem;
    }

    .carousel-item {
        margin-bottom: 2rem;
        padding: 20px 20px;
    }

    .spcst {
        height: 60vh;
        padding: 30px 50px;
    }

    .spc {
        margin: 0 2rem;
    }
    
    .quot-sc {
        padding: 1.3em 2em;
    }

    .about-sc {
        padding: 120px 50px;
        height: auto;
        margin-bottom: -4rem;
    }
    
    .about-sc {
        grid-template-columns: 1fr;
    }

    .abt-lft p {
        font-size: 1.2rem;
        width: auto;
    }
    
    footer {
        padding: 0 45px;
    }
}

@media only screen and (max-device-width : 600px) {

    .hero {
        background-image: url('../img/haj2.jpg'); /* Replace with your image URL */
        background-size: cover;
        background-position: center;
    }

    .hero-overlay {
        padding: 0 20px;
    }

    .hero-overlay h1 {
        font-size: 45px;
        margin-top: 17.5rem;
        margin-bottom: 0.5rem;
        line-height: 50px;
    }

    .hero-overlay p {
        font-size: 1.2rem;
        max-width: 30rem;
    }

    .quot-sc {
        padding: 3rem 2rem;
    }

    .quot-sc p {
        font-size: 1.4rem;
        line-height: 2rem;
    }

    .testimonial {
        height: 180vh;
    }

    .testimonial-overlay h2 {
        font-size: 1.6rem;
        font-weight: 400;
    }

    .testimonial-overlay {
        padding: 0 0.3rem;
    }

    .spcst {
        height: 60vh;
        padding: 30px 10px;
    }
    
    .spcst-cont {
        padding: 2rem;
    }

    .spcst-cont a {
        display: inline-block;
        margin-bottom: 0.1rem;
    }

    .spcst img {
        width: 50%;
    }

    .about-sc {
        padding: 180px 20px 100px 20px;
        height: auto;
    }

    .abt-lft h2 {
        font-size: 2.6rem;
    }

    .abt-lft  {
        font-size: 1.1rem;
    }
    
    .about-sc {
        padding: 180px 20px 100px 20px;
        height: auto;
    }

    footer {
        text-align: center;
        padding: 0 10px;
    }

    .f-cont {
        grid-template-columns: 1fr;
        margin-bottom: 1rem;
    }

    .f-lft {
        margin-top: 2rem;
    }

    .f-lft-top, .f-lft-bottom {
        display: none;
    }

    .f-lft-top_mbl {
        display: flex;
        text-align: center;
        justify-content: center;
        padding-left: 2.2rem;
    }

    .social-icon {
        padding: 20px 10px;
    }

    .f-rgh-bottom small {
        margin-top: 30rem;
    } 
}


@media only screen and (max-device-width : 400px) {

    .hero-overlay {
        padding: 0 30px;
    }

    .hero-overlay h1 {
        font-size: 35px;
        margin-top: 16rem;
        margin-bottom: 0.5rem;
        line-height: 40px;
    }

    .quot-sc {
        padding: 3rem 1rem;
    }

    .carousel-item {
        overflow: hidden;
        width: 320px;
        height: 290px;
        /* margin: 0 10px; */
    }

    .carousel-item p {
        font-size: 1rem;
    }
    
    .carousel-item h3 {
        font-size: 1.2rem;
    }
    
    .spcst {
        height: 95vh;
        padding: 30px 0;
        padding-top: 13rem;
    }

    .spcst h2 {
        font-size: 2rem;
    }

    .spcst h3 {
        font-size: 2.8rem;
        margin-top: -0.3rem;
    }

    .spcst-cont {
        padding: 2rem 1rem;
    }

    .spcst-cont p {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        width: auto;
    }

    .about-sc {
        padding: 105px 20px 100px 20px;
        height: auto;
    }

}
