body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    
}

:root{
    --main-color:#2288ff ;
    --seond-color: #192f6a;
    --text-color: #314862;
    --bg-color: #fff; 

    /* box shadow */
    --boxshadow:2px 2px 18px rgb(14 52 54 /15%);
}

/* 1170 px */

html {
  scroll-behavior: smooth; /* Smooth scrolling for all anchor links */
}
/* Hide Google Translate toolbar */

/* Fixed Navbar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    padding: 30px 50px; /* Adjust left and right padding as needed */
    position: fixed; /* Fixes the navbar to the top */
    top: 0;
    width: 100%; /* Ensures the navbar spans the full width */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Adds shadow for better separation */
    z-index: 1000; /* Ensures the navbar stays above other content */
    box-sizing: border-box; /* Includes padding and border in the element's total width and height */
}

.logo img {
    height: 170px;
    width: auto;
}

.nav-links ,.navlinks {
    list-style: none;
    display: flex;
    padding-left: 0;
    margin: 0; /* Remove any default margin */
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    overflow: hidden;
    max-height: none;
    opacity: 1;
    flex-direction: row;
    width: auto;
    background-color: white;
}
.nav-links .nav-link.active  {
    color: #0693e3; /* Change to your preferred color */
    font-weight: bold; /* Optional: Make the active link bold */
}

.nav-links.nav-active {
    max-height: 300px; /* Adjust based on the number of links */
    opacity: 1;
    background-color: #ffffff;
    
}
.nav-links li {
    margin: 0 10px;
    text-align: center;
}

.nav-links a {
    color: rgba(0,0,0,0.5);
    text-decoration: none;
    font-size: 18px;
    padding: 10px;
    transition: background-color 0.3s, color 0.3s;
}

/* ---------- dropdown menu ------------- */
 
/* Dropdown container */
.dropdown {
    display: inline-block;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    background-color: #f1f1f1;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* ----------- en dropdown -------------- */


.nav-links a:hover {
    color: #0693e3;
}
.burger {
    display: none;
    cursor: pointer;
    z-index: 10;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: black;
    margin: 5px;
    transition: all 0.3s ease;
}

.burger.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger.toggle .line2 {
    opacity: 0;
}

.burger.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}
/* Hero section styles */
.hero {
    position: relative;
    margin-top: 100px; /* Add margin to account for the fixed navbar height */
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    background-color: rgba(51, 51, 51, 0.5); /* Semi-transparent background color */
    background-image: url('img/Bild\ 1.jpeg.jpg');
    background-size: cover;
    background-position: center 50px; /* Push image down */
    background-repeat: no-repeat;
    background-blend-mode: multiply; /* Blend the background color with the image */
    padding: 0 20px;
    box-sizing: border-box;
}
/* Hero content styling */
.hero {
    margin-top: 100px; /* Add margin to account for the fixed navbar height */
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    background-color: rgba(51, 51, 51, 0.5); /* Semi-transparent background color */
    background-image: url('img/Bild\ 1.jpeg.jpg');
    background-size: cover;
    background-position: 1px 50px; /* Push image down */
    background-repeat: no-repeat;
 
}
/* Hero content styling */
.hero-content {
    position: relative;
    width: 40%; /* Set width to 60% of the hero section */
    max-width: 800px; /* Set a maximum width to prevent it from becoming too wide */
    padding: 0 20px;
    display: flex;
    flex-direction: column; /* Stack children vertically */
    align-items: center; 
    gap: 0;
}
.hero h1 {
    font-size: 50px; /* Adjust as needed */
    margin-bottom: 5px; /* Remove default margin */
    width: auto;
}
.typing-container {
    font-size: 50px;
    white-space: nowrap;
    overflow: hidden;
    color: #0693e3; /* Text color */
    height: 50px; /* Height for the container */
    display: flex;
    align-items: center; 
    border-right: 2px solid #0693e3; /* Blinking cursor */
    animation: blink-caret 0.7s step-end infinite; /* Blinking caret effect */
    line-height: 50px;
}


/* Blinking cursor effect */
@keyframes blink-caret {
    from, to {
        background-color: transparent;
    }
    50% {
       
    }
}
/* Text select simulation */
.selected-text {
    background-color: #333; /* Background color when "selected" */
    color: #0693e3; /* Text color change when "selected" */
    display: inline; /* Ensure the background color fits the text width */  
}

/* Info Section Styles */
.info-section {
    padding: 70px 120px;
    background-color: #f9f9f9;
    box-sizing: border-box;
}
.info-heading{
    text-align:center;
    font-size: 35px;
}
.info-paragraph{
    padding-left: 120px;
    padding-right: 100px;
    text-align: center;
}

/* Centered Title and Description */
.services-info {
    max-width: 1200px; /* Match the width of the navbar */
    margin: 0 auto; /* Center align */
    text-align: center; /* Center align text */
    padding: 0 20px; /* Padding for spacing */
    box-sizing: border-box;
}

.services-title {
    font-size: 36px; /* Title font size */
    color: #333; /* Title color */
    margin-bottom: 20px; /* Space below the title */
}

.services-description {
    font-size: 18px; /* Description font size */
    color: #666; /* Description color */
    line-height: 1.6; /* Line height for readability */
    margin-bottom: 20px; /* Space below the description */
}

/* Services Container Styles */
.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    background-color: transparent;
    box-sizing: border-box;
}

.service-item {
    flex: 1 1 300px;
    max-width: 300px;
    text-align: center;
   /*  background-color: #f4f4f4; */
    padding: 20px;
    border-radius: 8px;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/
}
.service-item svg{
    width: 50px;
}
.service-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

.service-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.service-description {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}
.cta-container {
    text-align: center; /* Center align the button */
    padding: 20px;
    background-color: #f9f9f9; /* Background color for the CTA section */
}

.cta-button {
    display: inline-block;
    background-color: #0693e3; /* Background color */
    color: #fff; /* Text color */
    font-size: 18px; /* Font size */
    padding: 15px 35px; /* Padding for the button */
    border-radius: none; /* Rounded corners */
    text-decoration: none; /* Remove underline from link */
    transition: background-color 0.3s; /* Smooth transition on hover */
}

.cta-button:hover {
    box-shadow: 8px 8px #000;
}

/* Partners Section Styles */
.partners-section {
    padding: 70px 120px; /* Padding for top/bottom and left/right */
    text-align: center; /* Center align text */
    background-color: #f9f9f9; /* Light background color for contrast */
}

.partners-container {
    display: block; /* Use grid layout */
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Responsive columns */
    gap: 25px; /* Space between images (adjust as needed) */
    justify-content: center; /* Center align grid items */
    padding-left: 10%;
    padding-right: 10%;
}

.partner-logo {
    max-width: 10%; /* Ensure logos are responsive */
    height: auto; /* Maintain aspect ratio */
    border: none; /* Optional border around logos */
    border-radius: none; /* Optional rounded corners */
    padding: 10px; /* Optional padding inside the border */
    background-color: none; /* Background color inside the border */
}

/* History Section Styles */
.history-section {
    position: relative;
    height: 80vh; /* Full viewport height */
    background-color:rgba(51, 51, 51, 0.5);
    background-image: url('img/Bild\ 2.jpg'); /* Replace with your background image */
    background-size: cover; /* Ensure the image covers the section */
    background-position: right center; /* Focus on the right side where the person is */
    background-repeat: no-repeat; /* Prevent repeating */
    /* display: flex; */
    align-items: center; /* Center content vertically */
    justify-content: center; /* Center content horizontally */
    /* padding: 10px; for smaller screens */
    box-sizing: border-box;
}
.history-sect{
    background-color: #0000005d;
    /* display: flex; */
    align-content: center;
    /* align-items: center; */
     /* Center content vertically */
    /* justify-content: center; */
     /* Center content horizontally */
    /* padding: 20px; Padding for smaller screens */
    box-sizing: border-box;
    /* padding: 20px; */
    height: 80vh; /* Full viewport height */
    width: 100%;
}

.history-content {
    display: flex;
    align-items: center; /* Align items in the center vertically */
    justify-content: center; /* Center items horizontally */
    max-width: 1200px; /* Maximum width of the content */
    width: 100%; /* Full width of the section */
    text-align: center; /* Center align text */
    
    padding: 40px; /* Padding around the content */
   
    z-index: 1; /* Ensure content is above background image */
    margin-left: 15%; /* Push the content to the left by adjusting the right margin */
}
.text-container {
    max-width: 600px; /* Maximum width of the text container */
}

.history-heading {
    font-size: 36px; /* Heading font size */
    color:  #057fc6; /* Heading color */
    background-color: white;
    margin-bottom: 20px; /* Space below the heading */
}

.history-paragraph {
    font-size: 22px; /* Paragraph font size */
    color: #ffffff; /* Paragraph color */
    line-height: 1.6; /* Line height for readability */
    margin-bottom: 20px; /* Space below the paragraph */
}

.history-button {
    display: inline-block;
    background-color: #0693e3; /* Background color for the button */
    color: #fff; /* Text color for the button */
    font-size: 18px; /* Font size for the button */
    
    padding: 15px 35px; /* Padding inside the button */
    border-radius: 5px; /* Rounded corners for the button */
    text-decoration: none; /* Remove underline */
    transition: background-color 0.3s, box-shadow 0.3s; /* Smooth transition */
}

.history-button:hover {
    box-shadow: 8px 8px #000;
}
.modal {
    display: none; 
    position: fixed; 
    z-index: 10000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0, 0, 0, 0.4); 
    animation: fadeIn 0.5s; /* Fade-in effect */
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* Adjusted for more top margin */
    padding: 20px;
    border: 1px solid #888;
    width: 90%; /* Responsive width */
    max-width: 800px; /* Increased max width for larger modal */
    transition: all 0.3s ease; 
    border-radius: 8px; /* Optional: rounded corners */
    transform: translateY(-30px); /* Initial position for transition */
    transition: transform 0.5s ease; /* Smooth transition */
    
}
.input-container {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping of items */
    justify-content: space-between; /* Space items evenly */
    margin-bottom: 20px; /* Spacing below the input fields */
}

.input-group {
    width: 48%; /* Each input group takes up about half the width */
    box-sizing: border-box; /* Ensure padding and border are included in width */
}

.modal.show .modal-content {
    transform: translateY(0); /* Slide into view */
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content label {
    display: block;
    margin: 10px 0 5px;
}

.modal-content input, textarea {
    width: 100%; /* Full width for input and textarea */
    margin-bottom: 10px; /* Space below each input */
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.button-container {
    display: flex;
    justify-content: center; 
    margin-top: 20px; 
}

.btn-hist {
    padding: 10px 20px;
    background-color: #007bff; 
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.btn-hist:hover {
    background-color: #0056b3; 
}
.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
/* Counter Section Styles */
.counter-section {
    padding: 70px 20px;
    background-color: #f4f4f4;
    text-align: center;
}

.counter-content {
    max-width: 1200px;
    margin: 0 auto;
}

.counter-title {
    font-size: 36px;
    margin-bottom: 20px;
}

.counter-description {
    font-size: 18px;
    margin-bottom: 30px;
    color: #666;
}

.counters-container {
    display: flex;
    justify-content: center; /* Center align the counters */
    flex-wrap: wrap;
    gap: 10px; /* Small gap between counter items */
    margin-bottom: 30px;
}

.counter-item {
    flex: 1 1 200px; /* Flex-grow and flex-shrink values adjusted */
    max-width: 230px; /* Adjusted max-width for better alignment */
    padding: 15px; /* Reduced padding for more compact look */
    
    display: flex; /* Added to align contents */
    flex-direction: column;
    align-items: center; /* Center align items vertically */
    text-align: center; /* Ensure text is centered */
}

.counter-number {
    font-size: 48px;
    color: #333;
    margin-bottom: 10px;
    white-space: nowrap; /* Prevent line break */
    overflow: hidden; /* Ensure no overflow */
    text-overflow: ellipsis; /* Ellipsis if text is too long */
}

.counter-name {
    font-size: 16px;
    color: #666;
}

.counter-button {
    display: inline-block;
    background-color: #0693e3;
    color: #fff;
    font-size: 18px;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.counter-button:hover {
    box-shadow: 8px 8px #000;
}


.heading{
    text-align: center;
    margin: 2rem;
}
.heading span{
    font-weight: 500;
    color: var(--main-color);
}
.heading h2{
    font-size: 1.9rem;
    color: var(--main-color);
}
.heading p{
    font-size: 0.938rem;
}
.properties{
    background: var(--bg-color);
    margin-top: 300px;
    border-radius:2rem ;
    padding-bottom: 20px;
    scroll-behavior: smooth;
    scroll-padding-top: 3rem;
    list-style: none;
}
.properties-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(600px, auto));
    /* grid-template-columns: repeat(3,1fr); */
    gap: 3rem;
    padding: 10px 50px;
}
.properties-container .box{
    background: #fbfbfb;
    padding: 10px;
    border-radius: 1rem;
    box-shadow: var(--boxshadow);
}
.properties-container .box:hover{
    transform: translateY(-10px);
    transition: 0.5s;
}
.properties-container .box img{
    border-radius: 1rem;
    height: 350px;
    width: 100%;
    object-fit: cover;
    object-position: center;
}
.properties-container .box h3{
    font-size: 1rem;
    font-weight: 600;
    float: right;
    color: green;
    font-size: 18px;
    font-weight: bold;
}
.properties-container .box .content{
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: auto;
    margin-top: 2rem;
}
.properties-container .box .content .text h3{
    font-weight: 500;
    color: black;
}
.properties-container .box .content .text p{
    font-size: 0.8rem;
}
.properties-container .box .content .icon{
    display: flex;
    align-items: center;
    column-gap: 1.5rem;
}
.properties-container .box .content .icon .bx{
    display: flex;
    align-items: center;
    font-size: 20px;
}
.properties-container .box .content .icon span{
    font-size: 12px;
    font-weight: 500;
    margin-left: 4px;
}


.testimonial-section {
    padding: 70px 20px;
    /* background: url('img/back3.jpg') no-repeat center center; /* Background image */
    background-size: cover; /* Ensure the image covers the section */
    padding: 0 20px;
    background-color: rgba(0, 150, 136, 0.8);
    background-blend-mode: multiply; /* Blend mode to darken background */
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden; /* Hide overflow for slider */
}

.testimonial-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    position: relative;
}

.testimonial-title {
    font-size: 36px;
    margin-bottom: 20px;
}

.testimonial-name {
    font-size: 24px;
    margin-bottom: 10px;
    color: #fff; /* Gold color */
}

.rating {
    margin-bottom: 20px;
}

.rating i {
    color: #FFD54F; /* Gold color for stars */
    font-size: 24px;
}

.testimonial-line {
    border: 0;
    border-top: 2px solid #333; /* Gold line */
    margin: 20px auto;
    width: 50%;
}

.testimonial-description {
    font-size: 18px;
    margin-bottom: 30px;
}

.testimonial-number {
    display: block;
    margin: 20px auto;
    font-size: 18px;
    color: #fff; /* Gold color */
}

.testimonial-button {
    display: inline-block;
    background-color: #0693e3;
    color: #fff;
    font-size: 18px;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.testimonial-button:hover {
    box-shadow: 8px 8px #000;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10; /* Ensure slider buttons are on top */
}

.slider-button {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.slider-button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

/* Ensure only one slide is shown at a time */
.testimonial-slide {
    display: none; /* Hide slides by default */
}

/* Show the current slide */
.testimonial-slide.active {
    display: block;
}

/* contact section */
.contact-section {
    padding: 70px 20px;
    background: #f9f9f9;
    text-align: center;
}

.contact-section h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 50%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.form-group textarea {
    resize: vertical;
    height: 100px;
}

.btn {
    width: 50%;
    padding: 10px;
    background-color: #0693e3;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

.btn:hover {
    background-color: #0056b3;
}

#formMessage {
    margin-top: 20px;
    font-size: 14px;
    color: #d9534f;
    text-align: center;
}

/* footer page */
.footer-section {
    padding: 70px 20px;
    background-color: #333;
    text-align: center;
    border-bottom: 1px #0693e3;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-logo img {
    max-width: 150px;
    margin-bottom: 20px;
}

.footer-description {
    letter-spacing: 1.2px;
    line-height: 25px;
    font-size: 18px;
    margin-bottom: 30px;
    color: #ffffff;
}

.footer-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.footer-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 18px;
    color: #fff;
}

.footer-item i {
    font-size: 24px;
    margin-right: 10px;
    color: #0693e3;
}

.footer-text {
    font-size: 18px;
    display: inline-block; /* Ensure text aligns with icons */
}

.social-media {
    display: flex;
    justify-content: center;
    gap: 40px; /* Small gap between social icons */
}

.social-icon {
    font-size: 24px;
    color: #ffffff;
    transition: color 0.3s;
}

.social-icon:hover {
    color: #0693e3; /* Color change on hover */
}
.Erreur{
    position: relative;
    height: 100vh; /* Full viewport height */
    background-color:rgba(51, 51, 51, 0.5);
    padding: 20PX;
    margin-top: 100px;
   background-color: whitesmoke;
    display: flex;
    align-items: center; /* Center content vertically */
    justify-content: space-between; /* Center content horizontally */
    /* padding: 10px; for smaller screens */
    box-sizing: border-box;
}

.Erreur .text-containers{
    background-image: url('img/Erreur.jpeg'); /* Replace with your background image */
    background-size: cover; /* Ensure the image covers the section */
    background-position: right center; /* Focus on the right side where the person is */
    background-repeat: no-repeat; /* Prevent repeating */
    height: 70%;
    width: 70%;
}

/* responsive part */
@media (max-width: 1200px) {
    .hero {
        background-position: center center; /* Center the image for medium screens */
    }
    .hero h1 {
        font-size: 5vw; /* Adjust font size for medium screens */
    }

    .typing-container {
        font-size: 2vw; /* Adjust font size for medium screens */
    }
    .info-section {
        padding: 50px 60px; /* Adjust padding for tablets */
    }

    .info-heading {
        font-size: 30px; /* Smaller font size for headings */
    }

    .info-paragraph {
        font-size: 16px; /* Slightly smaller text */
    }
    .partners-section {
        padding: 50px 60px; /* Adjust padding for tablets */
    }

    .partners-container {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); /* Smaller minimum size for logos */
        gap: 20px; /* Reduced gap for smaller screens */
    }
    .history-section {
        height: 100%;
        background-position: center right; /* Focus on right side */
    }
    .history-sect{
        height: 100%;
    }

    .history-content {
        padding: 30px; /* Reduce padding on medium screens */
        margin-right: 15%; /* Adjust margin for medium screens */
    }
    
    .counter-title {
        font-size: 32px;
    }

    .counter-description {
        font-size: 16px;
    }
}
@media screen and (min-width:960px) {
    .history-section {
        height: 150%;
        background-position: center right; /* Focus on right side */
    }
    .history-sect{
        height: 150%;
    }

    .history-content {
        padding: 30px; /* Reduce padding on medium screens */
        margin-right: 15%; /* Adjust margin for medium screens */
    }
   
}

@media Screen and (max-width: 846px) {
    .logo {
        margin-right: 20px; /* Add space between the logo and the burger menu */
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 70px; /* Adjust top position to fit below the navbar */
        left: 0;
        background-color: white; /* Ensure background color on mobile */
    }

    .nav-links.nav-active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .burger {
        display: block;
        margin-left: 0; /* Remove margin-left for burger on small screens */
    }

    .logo img {
        height: 80px;
    }
    .counter-title {
        font-size: 28px;
    }

    .counter-description {
        font-size: 14px;
    }

    .counter-item {
        flex: 1 1 150px; /* Reduce size for smaller screens */
        max-width: 180px; /* Adjust max-width for better fit */
    }

    .counter-number {
        font-size: 40px; /* Adjust font size for smaller screens */
    }

    .counter-name {
        font-size: 14px;
    }
    
}

@media Screen and (max-width: 768px) {
    nav {
        padding: 40px 30px; /* Adjust padding for smaller screens */
        flex-direction: row; /* Ensure elements are in a row */
        justify-content: space-between; /* Space out the logo and burger menu */
        align-items: center; /* Vertically center items */
    }

    .logo {
        margin-right: 20px; /* Add space between the logo and the burger menu */
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 70px; /* Adjust top position to fit below the navbar */
        left: 0;
        background-color: white; /* Ensure background color on mobile */
    }

    .nav-links.nav-active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .burger {
        display: block;
        margin-left: 0; /* Remove margin-left for burger on small screens */
    }

    .logo img {
        height: 80px;
    }
    .hero {
        height: 60vh; /* Adjust height for smaller screens */
        background-position: top center; /* Adjust position for smaller screens */
    }

    .hero h1 {
        font-size: 6vw; /* Adjust font size for smaller screens */
    }

    .typing-container {
        font-size: 2.5vw; /* Adjust font size for smaller screens */
    }
    .info-section {
        padding: 40px 20px; /* Adjust padding for smaller tablets */
    }

    .info-heading {
        font-size: 25px; /* Smaller font size for headings */
    }

    .info-paragraph {
        font-size: 14px; /* Smaller text for readability */
    }

    .services-container {
        flex-direction: column; /* Stack service items vertically */
        align-items: center; /* Center align items */
    }

    .service-item {
        max-width: 100%; /* Allow items to take full width */
    }

    .cta-button {
        font-size: 16px; /* Adjust font size for smaller screens */
        padding: 10px 25px; /* Adjust padding for smaller screens */
    }
    .partners-section {
        padding: 40px 20px; /* Adjust padding for smaller tablets */
    }

    .partners-container {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); /* Even smaller logos for smaller screens */
        gap: 15px; /* Reduced gap for smaller screens */
    }

    .partner-logo {
        padding: 5px; /* Reduce padding around logos */
    }
    .history-section {
        background-position: center center; /* Center the image */
        background-size: cover; /* Ensure the image covers the section */
    }

    .history-content {
        padding: 20px; /* Reduce padding on smaller screens */
        margin-right: 10%; /* Adjust margin for smaller screens */
    }
    .history-heading {
        font-size: 28px; /* Reduce heading font size */
    }

    .history-paragraph {
        font-size: 16px; /* Reduce paragraph font size */
    }

    .history-button {
        font-size: 16px; /* Reduce button font size */
        padding: 12px 25px; /* Adjust padding */
    }
    .counter-title {
        font-size: 24px;
    }

    .counter-description {
        font-size: 12px;
    }

    .counter-item {
        flex: 1 1 100%; /* Full width for small screens */
        max-width: 100%; /* Ensure full width */
        padding: 10px; /* Adjust padding */
    }

    .counter-number {
        font-size: 32px; /* Adjust font size */
    }

    .counter-name {
        font-size: 12px;
    }

    .counter-button {
        font-size: 16px; /* Adjust font size */
        padding: 10px 20px; /* Adjust padding */
    }
    .testimonial-title {
        font-size: 28px;
    }

    .testimonial-name {
        font-size: 20px;
    }

    .testimonial-description {
        font-size: 16px;
    }

    .testimonial-number {
        font-size: 16px;
    }

    .testimonial-button {
        font-size: 16px;
        padding: 10px 20px;
    }
    .footer-description {
        font-size: 16px;
    }

    .footer-item {
        font-size: 16px;
    }

    .footer-item i {
        font-size: 20px;
    }

    .social-icon {
        font-size: 20px;
    }
}
@media (min-width: 600px) {
    .form-group input,
    .form-group textarea,
    .btn {
        width: 50%;
    }
}
@media screen and (max-width: 480px) {
    .logo img {
        height: 70px;
    }
    .hero {
        height: 50vh; /* Further adjust height for very small screens */
        padding: 0 10px; /* Reduce padding for smaller screens */
        background-position: top left; /* Adjust position for very small screens */
    }

    .hero h1 {
        font-size: 7vw; /* Adjust font size for very small screens */
        width: auto;
    }
    .typing-container {
        font-size: 3vw; /* Adjust font size for very small screens */
        height: 30px; /* Adjust height for smaller screens */
    }
    .info-heading {
        font-size: 20px; /* Further reduce font size */
    }

    .info-paragraph {
        padding-left: 0px;
        padding-right: 0px;
        font-size: 12px; /* Adjust text size */
    }

    .cta-button {
        font-size: 14px; /* Adjust font size */
        padding: 8px 20px; /* Adjust padding */
    }
    .partners-section {
        padding: 30px 10px; /* Adjust padding for mobile devices */
    }

    .partners-container {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); /* Very small logos for mobile screens */
        gap: 10px; /* Further reduced gap */
    }

    .partner-logo {
        padding: 3px; /* Further reduced padding around logos */
    }
    .history-heading {
        font-size: 24px; /* Further reduce heading font size */
        margin-top: 50px;
    }

    .history-paragraph {
        font-size: 14px; /* Further reduce paragraph font size */
    }

    .history-button {
        font-size: 14px; /* Further reduce button font size */
        padding: 10px 20px; /* Adjust padding */
        margin-bottom: 50px;
    }
    .counter-title {
        font-size: 20px;
    }

    .counter-description {
        font-size: 10px;
    }

    .counter-number {
        font-size: 28px; /* Adjust font size */
    }

    .counter-name {
        font-size: 10px;
    }

    .counter-button {
        font-size: 14px; /* Adjust font size */
        padding: 8px 16px; /* Adjust padding */
    }
}