@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


* {
    margin: 0;
    padding: 0;
    font-family: "Poppins", serif;
    box-sizing: border-box;
    scroll-behavior: smooth;
    text-decoration: none;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.section-header h1 {
    display: block;
    font-size: 20px;
    text-align: center;
    color: #fdcf5a;
    margin-bottom: 20px;
}

.section-header p {
    color: black;
    margin-bottom: 40px;
    text-align: center;
    max-width: 700px;
}

:root {
    --site-max-width: 1400px;
}

.section {
padding-block: 5rem 1rem;
}

.subtitle,
.title {
    text-align: center;
}

.title {
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.subtitle {
    display: block;
    color: #fdcf5a;
    font-weight: 600;
    margin-bottom: .5rem;
}

.container {
    max-width: 1120px;
    margin: 1.5rem;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.main {
    overflow: hidden;
}

.button {
    color: black;
    background-color: #fdcf5a;
    padding: 15px 10px;
    border-radius: 10px;
}

header .navbar {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    padding: 10px;
    width: 100%;
    background-color: transparent;
    align-items: center;
    justify-content: space-between;
    z-index: 999;
    transition: background-color .4s;
}

.navbar .nav-logo img {
    width: 10vh;
    margin-left: 16vh;
}

.navbar .nav-menu {
    display: flex;
    gap: 10px;
}

.navbar .nav-menu .nav-link {
    padding: 0px 25px;
    color: #fdd570;
}

.pager {
    padding-top: 10vh;
    height: 100vh;
    background: #000000;
}

/**SLIDER**/
.slide1 {
    background-image: linear-gradient(rgb(0, 0, 0),rgba(9, 32, 50, 0.4))
    ,url(img/pexels-apasaric-3122779.jpg);
}

.slide2 {
    background-image: linear-gradient(rgb(0, 0, 0),rgba(9, 32, 50, 0.4))
    ,url(img/pexels-nishantaneja-9148611.jpg);
}

.slide3 {
    background-image: linear-gradient(rgb(0, 0, 0),rgba(9, 32, 50, 0.4))
    ,url(img/scroll1\ \(3\).jpg);
}

/* First button (gold background) */
.gold {
    display: inline-block;
    padding: 12px 24px;
    background-color: #fdd570;
    color: black; /* Text color */
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s ease-in-out;
}

/* Second button (white border, transparent background) */
.white {
    display: inline-block;
    padding: 12px 24px;
    background-color: transparent;
    color: white;
    font-weight: bold;
    text-decoration: none;
    border: 2px solid white;
    border-radius: 5px;
    transition: 0.3s ease-in-out;
}

/* Hover effect for both buttons */
.white:hover {
    background-color: #fdd570;
    color: black;
    border-color: #fdd570;
}

.gold:hover {
    opacity: 0.8;
}

.owl-prev,
.owl-next {
    position: absolute;
    top: 50%;
    width: 60px !important;
    height: 60px !important;
    display: grid;
    place-items: center;
    background-color: rgba(255, 255, 255, 0.2) !important;
    font-size: 12px;
    margin-top: -30px !important;
    color: whitesmoke !important;
    font-weight: 700;
    border-radius: 100% !important;
}

.owl-prev {
    left: 0;
}

.owl-next {
    right: 0;
}

.owl-next:hover,
.owl-prev:hover {
    background-color: #fdd570!important;
}

.navbar.scrolled {
    background-color: white;
    box-shadow: 0 4px 16px hsla(255, 90%, 8%, .1);
}

.navbar.scrolled .nav-link {
    color: black;
    transition: .5s ease;
}

.navbar.scrolled .nav-link:hover {
    color: #fdcf5a;
}

.navbar.scrolled .nav-logo img {
    background: black;
    padding: 2px 5px;
    border-radius: 5px;
}

.about_container {
    row-gap: 8rem;
    padding-left: 71vh;
}

.about_data {
    text-align: center;
} 

.about_des {
    margin-bottom: 2rem;
}

.about_list {
    text-align: initial;
    grid-template-columns: repeat(2, 130px);
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}
.about {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.about.show {
    opacity: 1;
    transform: translateY(0);
}

.about_img-1 {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.about.show .about_img-1 {
    opacity: 1;
    transform: scale(1);
}

.about_list_item {
    display: flex;
    column-gap: .5rem;
    color: black;
}

.about_list_item i {
    font-size: 1.25rem;
    color: #fdcf5a;
}

.about_images {
    position: relative;
    justify-content: center;
}

.about_img-1 {
    width: 250px;
    border: 5px solid #fdd570;
    position: absolute;
    top: -30rem;
    left: -23.7rem;     
}
.title1 {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.title1.show {
    opacity: 1;
    transform: translateY(0);
}

.services {
    width: 100%;
    padding: 100px 8% 20px;
}

.services_data {
    text-align: center;
}

.services_des {
    margin-bottom: 2rem;
}

.services .services-contents {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.services-contents .services_card {
    flex-basis: calc(calc(100% / 2) - 1%);
    padding: 25px 20px;
    margin: 20px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.services-contents .services_card:hover {
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
}

.services_card .services_icon {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: #056da8;
    outline: 1px solid #1a4863;

}

.services_card .services_icon i {
    font-size: 24px;
    color: white;
}

.services_card .service-des {
    margin-top: 25px;
}

.services_card .service-desc h2 {
    margin-bottom: 10px;
    color: #023350;
    font-size: 22px;
}

.services_card .service-desc p {
    line-height: 1.4;
    color: #023350; 
}

.services_card:nth-child(1) .services_icon {
    background-color: black;
    outline-color: white;
}

.services_card:nth-child(1) .services_icon i {
    color: white;
}

.services_card:nth-child(2) .services_icon {
    background-color: black;
    outline-color: #e8f9ef;
}

.services_card:nth-child(2) .services_icon i {
    color: white;
}

.services_card:nth-child(3) .services_icon {
    background-color: black;
    outline-color: #f1f0fe;
}

.service-box:nth-child(3) .services_icon i {
    color: white;
}

.services_card:nth-child(4) .services_icon {
    background-color: black;
    outline-color: #f1f0fe;
}


.service-box:nth-child(4) .services_icon i {
    color: white;
}

.project {
    width: 100%;
    padding: 100px 8% 20px;
    background: black;
}

.project .section-header {
    position: relative;
    display: flex;
    justify-content: space-between;
    padding-left: 30vh;
}

.project .course-contents {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.project .course-contents .course-card {
    flex-basis: calc(calc(100% / 3) - 2%);
    /* border: 1px solid #eee; */
    padding: 10px;
    background: white;
    border-radius: 5px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.project .course-contents .course-card:hover {
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
}

.course-contents .course-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 5px;
}

.course-contents .course-card .category {
    position: relative;
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}

.course-card .category img {
    position: absolute;
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
    right: 15px;
    top: -50%;
    /* outline: 1px solid #056da8; */
    outline-offset: 3px;
}

.course-card .category .subject {
    padding: 8px 10px;
    background-color: #f1f0fe;
    border-radius: 5px;
}

.course-card .course-title {
    font-size: 20px;
    color: #fdcf5a;
}

.course-card .course-desc {
    margin: 20px 0px;
    display: flex;
    justify-content: space-between;
}


.course-card .course-ratings {
    padding: 15px 0px 0px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #ccc;
}

.course-card .course-ratings span {
    color: black;
    font-size: 15px;
}

.course-card .course-ratings span b {
    font-size: 24px;
}

.course-card p {
    color: black;
}

.project .header-text p {
    color: white;   
}

.contact_container {
    display: flex;
    row-gap: 3rem;
    padding-block: 1.5rem 3rem;
    margin-left: 40vh;
}

.contact_img {
    width: 320px;
    justify-self: center;
}

.contact_data {
    grid-template-columns: 230px;
    justify-content: center;
    row-gap: 1.5rem;
}

.contact_card {
    background-color: #fafaff;
    border: 2px solid #ccc;
    padding: 1.5rem 2rem;
    text-align: center;
    transition: border-color .4s;
}

.contact_card:hover {
    border-color: #fdcf5a;
}

.contact_icon {
    width: 48px;
    height: 48px;
    background-color: black;
    color: white;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 2rem;
    margin: 0 auto 1.25rem;
}

.contact_title {
    margin-bottom: .5rem;
    
}

.contact_info {
    font-style: normal;
}

.contact_social {
    display: flex;
    justify-content: center;
    column-gap: 1rem;
}

.contact_social-link {
    font-size: 1.5rem;
    color: #fdcf5a;
    transition: transform .4s;
}

.contact_social-link:hover {
    transform:translateY(-.25rem)
}

.footer {
    background-color: black;
    color: white;
    padding-block: 3.5rem 2rem;
}

.footer_container {
    display: flex;
    row-gap: 4rem;
    justify-content: space-between;
    padding-bottom: 4rem;
    padding: 0 5vh;
    border-bottom: 1px solid #fdcf5a;
}

.footer_logo {
    display: inline-flex;
    align-items: center;
    column-gap: .25rem;
}

.footer_logo img {
    width: 50px;
}

.footer_logo span {
    color: #fdcf5a;
    font-size: 40px;
    font-weight: 500;
}

.footer_des {
    margin-block: 1rem;
    
}

.footer_email,
.footer_info {
    font-style: normal;
}

.footer_content {
    grid-template-columns: repeat(2, max-content);
    gap: 4rem 3rem;
}

.footer_title {
    color: white;
    margin-bottom: 1rem;
}.footer_links,
.footer_info {
    display: grid;
    row-gap: 0.5rem;
}

.footer_link {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* Space between the icon and text */
    color: #e8f9ef;
    transition: color 0.4s;
    text-decoration: none;
}

.footer_link:hover {
    color: #fdcf5a;
}

.footer_icon {
    font-size: 1rem;
    transition: transform 0.4s, color 0.4s;
    color: #e8f9ef;
}

.footer_link:hover .footer_icon {
    transform: rotate(-90deg);
    color: #fdcf5a;
}

.footer_socials {
    display: flex;
    column-gap: 1rem;
}

.footer_social-link {
    font-size: 1.5rem;
    color: #fdd570;
    transition: transform .4s;
}

.footer_social-link:hover {
    transform: translateY(-.25rem);
}

.footer_copy {
    display: block;
    text-align: center;
    font-size: 15px;
}












/* FOR THE ABOUT SIDE  */
.sectiona {
    width: 100%;
    background: #000000;
    height: 100vh;
}

.sectiona .contain,
.section2 .contain2 {
    width: 80%;
    display: block;
    margin: 0px auto;
    padding: 50px 0;
}

.contain .head,
.contain2 .head2 {
    width: 100%;
    text-align: center;
 margin-top: 25px;
}

.contain .head,
.contain2 .head2 {
    text-transform: uppercase;
    font-size: 35px;
    color: #fdcf5a;
}

.content,
.content2 {
    margin-top: 70px;
    float: left;
    width: 55%;
}

.image-sectiona,
.image-section2 {
    float: right;
    width: 40%;
}

.image-sectiona img,
.image-section2 img {
    width: 100%;
    height: auto;
    margin-top: 40px;
}

.content .article h3 {
    color: white;
    font-size: 17px;
}

.content .article p {
    margin-top: 20px;
    font-size: 16px;
    color: white;
    line-height: 1.5;
}

.sociali {
    width: 100%;
    clear: both;
    margin-top: 50px;
    text-align: center;
    display: inline-block;
}

.section2 {
    width: 100%;
    background: white;
    height: 100vh;
}

.content2 .article2 p {
    margin-top: 20px;
    font-size: 16px;
    color: black;
    line-height: 1.5;
}

/* BANNER X */
.bannerx {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(6, 8, 10, 0.4)), url(place1.jpg);
    background-size: cover;
    height: 60vh; /* Reduce height for a shorter banner */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Center-align content vertically and horizontally */
    text-align: center; /* Center-align text */
}

/* Image styling */
.bannerx img {
    width: 50vh; /* Adjust image size responsively */
}

/* Text styling */
.bannerx h1 {
    color: white;
    font-size: 24px; /* Adjust font size for readability */
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove padding */
}

.footer p {
    color: white;
    text-align: center;
}

.miles {
    background-image: linear-gradient(rgba(0, 0, 0, 0.811),rgba(255, 214, 103, 0.637))
    ,url(place2.jpg);
}



.miles .display-4,
.miles p {
    color: white;
    font-size: 22px;
}

.miles .right {
    display: flex;
    justify-content: space-between;
} 

.miles {
    box-shadow: 7px 7px 30px rgba(0, 0, 0);
}

.miles .display-4 {
    font-weight: 700;
}

.contact_container {
    display: flex;
    row-gap: 3rem;
    padding-block: 1.5rem 3rem;
    margin-left: 40vh;
}

.contact_img {
    width: 320px;
    justify-self: center;
}

.contact_data {
    grid-template-columns: 230px;
    justify-content: center;
    row-gap: 1.5rem;
}

.contact_card {
    background-color: #fafaff;
    border: 2px solid #ccc;
    padding: 1.5rem 2rem;
    text-align: center;
    transition: border-color .4s;
}

.contact_card:hover {
    border-color: #fdcf5a;
}

.contact_icon {
    width: 48px;
    height: 48px;
    background-color: black;
    color: white;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 2rem;
    margin: 0 auto 1.25rem;
}

.contact_title {
    margin-bottom: .5rem;
}

.contact_info {
    font-style: normal;
}

.contact_social {
    display: flex;
    justify-content: center;
    column-gap: 1rem;
}

.contact_social-link {
    font-size: 1.5rem;
    color: #fdcf5a;
    transition: transform .4s;
}

.contact_social-link:hover {
    transform:translateY(-.25rem)
}

.read {
    width: 100%;
    background-color: black;
}

.classes {
    padding: 80px 80px;
}

.classes .contain {
    background: black;
}



#contact-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#contact-details .details {
    width: 40%;
}

#contact-details .details span,
#form-details form span {
    font-size: 12px;
    font-family: sans-serif;
    color: white;
}

#contact-details .details h2,
#form-details form h2 {
    font-size: 20px;
    line-height: 35px;
    font-family: 'candal', serif;
    padding: 20px 0;
    color: white;
}

#contact-details .details h3 {
    font-size: 16px;
    padding-bottom: 15px;
    color: white;
}

#contact-details .details li {
    list-style: none;
    display: flex;
    padding: 10px 0;
    color: white;
}

#contact-details .details li i {
    font-size: 14px;
    padding-right: 22px;
    color: white;
}

#contact-details .details li p {
    margin: 0;
    font-size: 14px;
    color: white;
}

#contact-details .map {
    width: 55%;
    height: 400px;
}

#contact-details .map iframe{
    width: 100%;
    height: 100%;
}

#form-details {
    display: flex;
    justify-content: space-between;
    margin: 30px;
    padding: 80px;
    /* border: 1px solid #e1e1e1; */
}

#form-details form {
    width: 65%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#form-details form input,
#form-details form textarea {
    width: 100%;
    padding: 12px 15px;
    outline: none;
    margin-bottom: 20px;
    border: 1px solid #e1e1e1;
}

#form-details form button {
    background-color: #fdcf5a;
    color: black;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    padding: 10px 10px;
}

#form-details .people div {
    padding-bottom: 25px;
    display: flex;
    align-items: flex-start;
}

#form-details .people div img {
    width: 65px;
    height: 65px;
    object-fit: cover;
    margin-right: 15px;
}

#form-details .people div p {
    margin: 0;
    font-size: 13px;
    line-height: 25px;
    color: white;
}

#form-details .people div p span {
    display: block;
    font-size: 16px;
    font-weight: 600;
    font-family: sans-serif;
    color: white;
}

/* faq page  */


.body1 {
    width: 100%;
    height: auto;
    padding: 3%;
    background-color: black;
}


.header {
    
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5% 3%;
    border-radius: 30px;
    max-height: 380px;
    color: white;
}

.header-title {
    font-size: 48px;
    letter-spacing: 1.5;
}

.header-desc {
    font-size: 14px;
    letter-spacing: 1;
    text-align: center;
}

.search {
    width: 60%;
    height: 50px;
    background-color: white;
    margin-top: 5%;
    border-radius: 30px;
    display: flex;
    justify-content: space-between;
    padding: 5px;
}

.search input {
    width: 80%;
    height: 100%;
    padding: 1% 3%;
    background: transparent;
    border: none;
}

.search button {
    width: 20%;
    min-width: 100px;
    height: 100%;
    background-color: #ffc64b;
    color: black;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: .3s ease;
}

.search button:hover {
    background-color: black;
    color: white;
}

.faq {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 3%;
}

.faq-name {
    flex: 0.5;
    padding: 2% 2% 0 0;
}

.faq-header {
    padding: 5% 0 0 0;
    font-size: 40px;
    letter-spacing: 2;
    color: white;
}

.faq-img {
    width: 100%;
    max-width: 400px;
}

.faq-box {
    flex: 1;
    min-width: 320px;
    padding: 2% 0 4% 4%;
    border-left: 2px solid #ffc64b;
}

.wrapper {
    width: 100%;
    padding: 1.5rem;
    border-bottom: 1px solid white;
}

.faq-title {
    display: block;
    position: relative;
    width: 100%;
    letter-spacing: 1.2;
    font-size: 24px;
    font-weight: 600;
    color: #ffc64b;
}

.faq-title::after {
    width: 10px;
    height: 10px;
    content: "";
    float: right;
    border-style: solid;
    border-width: 2px 2px 0 0;
    transform: rotate(135deg);
    transform: 0.4s ease-in-out;
}

.faq-detail {
    line-height: 1.5;
    color: white;
    letter-spacing: 1;
    max-height: 0;
    overflow: hidden;
    transition: 0.3s ease-in-out;
    font-size: 14px;
}

.faq-trigger {
    display: none;
}

.faq-trigger:checked + .faq-title + .faq-detail {
    max-height: 300px;
}

.faq-trigger:checked + .faq-title::after {
    transform: rotate(45deg);
    transition: 0.2s ease-in-out;
} 


/* service page */
.borders-container {
    display: flex;
    justify-content: center;
    gap: 20px;
  
   
    margin: 20px;
}

.border-box {
    width: 350px;
    padding: 20px;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
  
}

.border-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.icon {
    font-size: 50px;
    color: black;
    margin-bottom: 15px;
}

.border-box h2 {
    font-size: 22px;
    color: #333;
    margin-bottom: 10px;
}

.border-box p {
    font-size: 16px;
    margin-bottom: 20px;
}

.border-box button {
    padding: 10px 20px;
    background-color: black;
    color: #fdcf5a;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.border-box button:hover {
    background-color: #fdcf5a;
    color: black;
}




.gallery-section {
    width: 100%;
    background-color: #fff;
    padding: 50px 0;
    text-align: center;
}

.gallery-section h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    opacity: 0; /* Initially hidden */
    transition: opacity 1s ease-in-out; /* Smooth fade-in effect */
}

        .gallery-container {
            width: 90px;
            margin: 0 600px;
            display: grid;
            grid-template-columns: repeat(2,1fr);
            grid-template-rows: auto;
            gap: 20px;
            justify-content: center;
            align-items: center;
        }
        .gallery-item {
            width: 300px;
            height: 200px;
            background-size: cover;
            background-position: center;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }

/* If you are using <img> tags inside .gallery-item */
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Keeps images from affecting container size */
    border-radius: 10px;
}

        /* testimonial */

        .testimonial-section {
            background-color: #fff;
            padding: 50px 0;
            text-align: center;
        }
        .testimonial-section h2 {
            font-size: 28px;
            color: #333;
            margin-bottom: 30px;
        }
        .testimonials-container {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
        }
        .testimonial-box {
            width: 300px;
            padding: 20px;
            background: #fff;
            border: 2px solid #ddd;
            border-radius: 15px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            text-align: center;
            transition: transform 0.3s;
        }
        .testimonial-box:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
        }
        .stars {
            color: gold;
            font-size: 20px;
            margin-bottom: 10px;
        }
        .stars span {
            margin-right: 5px;
        }
        .excellent {
            font-size: 16px;
            color: #333;
            margin-left: 5px;
        }
        .testimonial-box p {
            font-size: 16px;
            color: #666;
            margin: 15px 0;
        }
        .client-photo {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            margin: 10px auto;
            overflow: hidden;
            border: 2px solid #ddd;
        }
        .client-photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .client-name {
            font-size: 16px;
            color: #333;
            margin-top: 10px;
        }

    .page_service {
        font-size: 20px;
    }

    
.image-sectiona1{
    float: right;
    width: 30%;
}

.image-sectiona1 img
 {
    width: 100%;
    height: auto;
    margin-top: 40px;
}

.image-sectiona1 {
    float: right;
    width: 30%;
    opacity: 0; /* Initially hidden */
    transition: opacity 1s ease-in-out; /* Smooth fade-in effect */
}

.image-sectiona1 img {
    width: 100%;
    height: auto;
    margin-top: 40px;
}


/* media quire for footer */
@media (min-width: 321px) and (max-width: 540px) {
    .bannerx {
        height: 40vh; /* Reduce height for a compact look */
        padding: 20px; /* Add padding for spacing */
    }

    .bannerx img {
        width: 80%; /* Adjust image width for responsiveness */
        max-width: 250px; /* Limit max width for better scaling */
        padding-top: 50px;
    }

    .bannerx h1 {
        font-size: 18px; /* Reduce font size for readability */
        padding: 3px; /* Add spacing */
        padding-bottom: 100px;
    }
    .footer_container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        row-gap: 2rem;
        padding: 2rem 1rem;
    }

    .footer_logo {
        flex-direction: column;
        justify-content: center;
    }

    .footer_logo img {
        width: 40px;
    }

    .footer_logo span {
        font-size: 30px;
    }

    .footer_des {
        margin-bottom: 1rem;
        font-size: 14px;
    }

    .footer_email {
        font-size: 14px;
    }

    .footer_content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer_links {
        row-gap: 1rem;
        text-align: left;
    }

    .footer_link {
        font-size: 14px;
    }

    .footer_socials {
        justify-content: center;
    }

    .footer_social-link {
        font-size: 1.3rem;
    }

    .footer_copy {
        font-size: 13px;
        margin-top: 2rem;
    }

}

@media (min-width: 550px) and (max-width: 1025px) {
    .bannerx {
        height: 70vh; /* Increase height for a larger display */
        background-size: cover;
        background-position: center;
        padding: 30px; /* Add padding for spacing */
    }

    .bannerx img {
        width: 55vh; /* Increase image size */
        max-width: 90%; /* Ensure responsiveness */
    }

    .bannerx h1 {
        font-size: 28px; /* Increase font size for better visibility */
        width: 80%; /* Ensure text fits well */
        text-align: center;
        line-height: 1.6;
        margin-top: 20px; /* Add spacing between image and text */
    }
    .footer_container {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr; /* 3 columns for a more compact layout */
        row-gap: 2rem; /* Smaller gap between sections */
        padding: 0 2rem;
    }

    .footer_logo {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        column-gap: 0.5rem;
    }

    .footer_logo img {
        width: 45px;
    }

    .footer_logo span {
        font-size: 30px;
        font-weight: 500;
    }

    .footer_des {
        margin-block: 1rem;
        font-size: 0.9rem; /* Slightly smaller font size */
    }

    .footer_email {
        font-size: 0.9rem;
    }

    .footer_content {
        grid-template-columns: 1fr 1fr; /* Two columns for the company and the info sections */
        gap: 2rem 1rem;
    }

    .footer_links {
        display: grid;
        gap: 0.75rem; /* Slightly larger space between links */
    }

    .footer_link {
        font-size: 0.95rem; /* Slightly smaller font size for readability */
    }

    .footer_socials {
        display: flex;
        justify-content: flex-start;
        gap: 1rem;
    }

    .footer_social-link {
        font-size: 1.4rem; /* Slightly smaller icons */
    }

    .footer_copy {
        font-size: 14px; /* Smaller font for the copyright text */
    }
}



/* toggle button */
 /* General Navbar Styling */
 header .navbar {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    padding: 10px;
    width: 100%;
    background-color: transparent;
    align-items: center;
    justify-content: space-between;
    z-index: 999;
    transition: background-color .4s;
}

.navbar .nav-logo img {
    width: 10vh;
    margin-left: 16vh;
}

.navbar .nav-menu {
    list-style: none;
    display: flex;
    gap: 10px;
}

.navbar .nav-menu .nav-item .nav-link {
    padding: 0px 25px;
    color: #fdd570;
    text-decoration: none;
    font-size: 18px;
}

.pager {
    padding-top: 10vh;
    height: 100vh;
    background: #000000;
}

/* Toggle Button Styling */
.nav-toggle {
    display: none;
    cursor: pointer;
    background-color: #fdcf5a;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 20px;
    font-weight: bold;
}

@media (min-width: 321px) and (max-width: 1025px) {
            
    .navbar .nav-logo img {
        width: 10vh;
        margin-left: 5vh;
    }
    
                .nav-toggle {
                    display: block; /* Show toggle button */
                    margin-right: 20px;
                }
    
                .navbar {
                    flex-direction: row;
                    align-items: center;
                    justify-content: space-between;
                }
    
                .navbar .nav-menu {
                    display: flex;
                    flex-direction: column;
                    position: absolute;
                    top: -700px; /* Initially hidden above the screen */
                    left: 0;
                    width: 100%;
                    background-color: black;
                    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
                    transition: top 0.5s ease-in-out; /* Smooth drop-down effect */
                    padding: 10px 0;
                 
                    opacity: 0; /* Initially invisible */
                }
    
                .navbar .nav-menu.active {
                    top: 70px; /* Drops down from the top */
                    opacity: 1;
                }
    
                .navbar .nav-menu .nav-item {
                    text-align: center;
                    padding: 15px 0;
                }
            }


            @media (min-width: 321px) and (max-width: 540px) {
                       
                .navbar .nav-logo img {
                    width: 7vh;
                    margin-left: 4vh;
                }
            }
            
            @media (min-width: 550px) and (max-width: 1025px) {
                      
                .navbar .nav-logo img {
                    width: 10vh;
                    margin-left: 5vh;
                }
                
                            .nav-toggle {
                                display: block; /* Show toggle button */
                                margin-right: 20px;
                                font-size: 40px;
                                width: 40;
                            }
                
                            .navbar {
                                flex-direction: row;
                                align-items: center;
                                justify-content: space-between;
                            }
                
                            .navbar .nav-menu {
                                display: flex;
                                flex-direction: column;
                                position: absolute;
                                top: -700px; /* Initially hidden above the screen */
                                left: 0;
                                width: 100%;
                                background-color: black;
                                box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
                                transition: top 0.5s ease-in-out; /* Smooth drop-down effect */
                                padding: 10px 0;
                             
                                opacity: 0; /* Initially invisible */
                            }
                
                            .navbar .nav-menu.active {
                                top: 110px; /* Drops down from the top */
                                opacity: 1;
                                
                            }
                            .navbar .nav-menu .nav-item .nav-link {
                            font-size: 20px;
                        }
                            .navbar .nav-menu .nav-item {
                                text-align: center;
                                padding: 15px 0;
                            }
                        }
                        @media (min-width: 800px) and (max-width: 1025px) {
                            .navbar .nav-menu.active {
                                top: 120px; /* Drops down from the top */
                                opacity: 1;
                                
                            }
                        }
                        @media (min-width: 900px) and (max-width: 1025px) {
                            .navbar .nav-menu.active {
                                top: 135px; /* Drops down from the top */
                                opacity: 1;
                                
                            }
                        }                

                        @media (min-width: 321px) and (max-width: 540px) {
                            .sectiona, .section2 {
                                height: auto;
                                padding: 30px 0;
                            }
                        
                            .contain, .contain2 {
                                width: 90%;
                                display: flex;
                                flex-direction: column;
                                align-items: center;
                                text-align: center;
                            }
                            
.contain .head,
.contain2 .head2 {
    text-transform: uppercase;
    font-size: 15px;
    color: #fdcf5a;
}

                        
                            .content, .content2 {
                                width: 100%;
                                float: none;
                                margin-top: 20px;
                            }
                        
                            .image-sectiona, .image-section2 {
                                width: 100%;
                                float: none;
                                margin-top: 20px;
                            }
                        
                            .image-sectiona img, .image-section2 img {
                                width: 100%;
                                height: auto;
                            }
                        
                            .sociali {
                                margin-top: 30px;
                            }
                          
.image-sectiona1, .image-section2 {
    width: 100%;
    float: none;
    margin-top: 20px;
}

.image-sectiona1, .image-section2 img {
    width: 100%;
    height: auto;
}

                        }   


                   
                        @media only screen and (min-width: 1024px) and (max-height: 600px) {
                            .navbar .nav-menu.active {
                                top: 90px; /* Drops down from the top */
                                opacity: 1;
                                
                            }
      
                            .navbar .nav-logo img {
                                width: 15vh;
                                margin-left: 5vh;
                            }
                        }
             
                        
#preloader { 
    background: rgb(7, 9, 33) url(114\ CSS\ Loaders.gif) no-repeat center center;
    background-size: cover;
    height: 100vh;
    width: 100%;
    position: fixed;
    z-index: 100000;
}