/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* General Section Styles */
section {
    padding: 20px 15px;
    width: 100%; /* Make section fill the viewport width */
    box-sizing: border-box; /* Include padding in width calculation */
}
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    box-sizing: border-box; /* Include padding and border in size calculation */
}

ul, li {
    list-style: none;
}

ul a {
    text-decoration: none;
    color: inherit;
}

/* Base Styling (Mobile-First Approach) */
body {
    font-family: Arial, sans-serif;
    scroll-behavior: smooth;
    line-height: 1.5rem;
    color: #333;
    background-color: #FFFFFF;
}
.section{
    background-color: #FFFFFF;
}
header {
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column; /* Stacks children vertically */
    align-items: center; /* Centers children horizontally */
    max-width: 100%;
}

.border {
    background-color:#FFFFFF;
    width: 100%; /* Ensures the nav links take full width */
}
.nhslogo img{
    display: flex;
    width: 100px;
    height: auto;
}

.logo-section{
    display: flex;
    justify-content: center; /* Centers the logos horizontally */
    align-items: center; /* Aligns the logos vertically */
    gap: 20px; /* Adds spacing between the logos */
    padding: 10px; /* Optional: Adds padding around the container */
    width: 90%;
    }

/* Styling for the first logo */
.logo-container img {
    
    height: 133px; /* Adjust height */
    width: auto; /* Maintain aspect ratio */
    max-width: 100%; /* Ensures responsiveness */
    margin-right: 20px;
}

/* Styling for the second logo (NHS) */
.nhslogo img {
    display: flex;
    height: 120px; /* Adjust height */
    width: auto; /* Maintain aspect ratio */
    max-width: 100%; /* Ensures responsiveness */
    padding-top: 10px;
   
}
nav {
    background-color: #FFFFFF; /* White background */
    color: white;
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    justify-content: center;/* Center-align content horizontally */
    padding: 10px 20px;
    width: 100%;
    gap: 20px; /* Add space between stacked elements */
    
}
.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px; /* Adds space between buttons and nav */
}

.contact-buttons a {
    display: inline-block;
    padding: 8px 15px;
    color: white;
    background-color: #005bb5;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.contact-buttons a:hover {
    background-color: #004040; /* Darker teal */
}

.contact-buttons a i {
    margin-right: 5px;
}

.nav-links {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 10px ;
    justify-content: center;
    gap: 50px; /* Space between navigation links */
}

.nav-links li {
    color: #333;
    width: auto; /* Adjust width for better alignment */
    font-size: 2.1rem;
}

.nav-links a {
    color: black;
    text-decoration: none;
    font-size: 1.50rem;
    padding: 300px 5px;
    font-family: 'Times New Roman', Times, serif;
    
}

.hamburger {
    display: none; /* Keep hidden unless needed for mobile view */
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: black; /* Changed to black for visibility */
    margin: 6px 0;
    transition: 0.4s;
}
/* Contact Buttons */
.contact-buttons {
    display: flex;
    gap: 30px;
    padding: 0 50px;
}

.contact-buttons a {
    display: inline-block;
    padding: 8px 15px;
    color: white;
    background-color:#005bb5;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    transition: background-color 0.3s ease;

}

.contact-buttons a:hover {
    background-color: #004040; /* Darker teal */
}

.contact-buttons a i {
    margin-right: 5px;
}

/* Hero Section */
#hero {
    background-color: #FFFFFF;
    padding: 50px 20px;
    border-bottom: 1px solid #ddd;
}

.hero-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.slideshow {
    flex: 1;
    position: relative;
    width: 100%;
    min-height: 300px;
    background: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: slideAnimation 25s infinite;
}

.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 8s; }
.slide:nth-child(3) { animation-delay: 16s; }

@keyframes slideAnimation {
    0%, 100% { opacity: 0; }
    20%, 80% { opacity: 1; }
}

.welcome-message {
    flex: 1;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}



.welcome-message p {
    font-size: 1.58rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 2.7rem;
}

.cta-button {
    display: inline-block;
    background-color: #0073e6;
    color: white;
    padding: 12px 25px;
    font-size: 1.58rem;
    border-radius: 30px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: #005bb5;
    transform: translateY(-2px);
}






/* Testimonials Section */
#testimonials {
    min-width: 250px;
    flex-shrink: 0;
    background-color: #ffffff;
    padding: 16px;
    text-align: center;
    scroll-snap-align: start;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;

}
#testimonials h2, h3{
    text-align: center;
    padding: 20px 20px;
    font-size: 1.58rem;
    line-height: 2.25rem;
}
.testimonialSlider {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    scroll-snap-type: x mandatory;
    padding: 10px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .testimonialSlider::-webkit-scrollbar {
    display: none;
  }
  
  .testimonial-card {
    flex-shrink: 0;
    min-width: 25%;
    max-width: 30%;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    scroll-snap-align: start;
    text-align: left;
  }
  
  .testimonial-card h3 {
    font-size: 1.2rem;
    color: #005EB8;
    margin-bottom: 10px;
  }
  
  .testimonial-card p {
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
  }
  
  .testimonial-card .author {
    font-weight: bold;
    margin-top: 10px;
  }
  
  .review-icon img {
    width: 100px;
    height: auto;
    margin-top: 10px;
    display: flex;
    justify-self:  center;
  }
  


/* Services Section */
/* Scrollable Services on Mobile */
.services-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding: 10px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex-wrap: nowrap;
  }
  
  .services-grid::-webkit-scrollbar {
    display: none;
  }
  
  /* 2x2 grid sets using nth-child */
  .service-item {
    flex: 0 0 48%;
    background-color: #f0f0f0;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    padding: 20px;
    scroll-snap-align: start;
    box-sizing: border-box;
    text-align: left;
  }
  
  
#services::after {
    background-color: #f9f9f9; /* Light background */
    padding: 50px 20px;
    text-align: center;
}

.container-services::after{
    max-width: 1200px; /* Limit width for readability */
    margin: 0 auto;
    float: left;
    clear: both;
}

.container-services h2 {
    font-size: 2.5rem;
    color: #231f20;
    margin-bottom: 20px;
    text-align: center;
}

.container-services .intro-text {
    font-size: 1.58rem;
    color:#231f20;
    margin-bottom: 40px;
    line-height: 2.7rem;
}

/* Services Grid Layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive columns */
    gap: 20px; /* Space between grid items */
}

/* Service Item Styling */
.service-item {
    background-color: white; /* White background for contrast */
    border: 1px solid #ddd; /* Light border */
    border-radius: 10px; /* Rounded corners */
    padding: 20px;
    text-align: center; /* Center-align content */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
}

.service-item:hover {
    transform: translateY(-5px); /* Slight lift on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Stronger shadow on hover */
}

.service-item img {
    width: 100%; /* Make image responsive */
    height: auto;
    border-radius: 10px; /* Rounded corners for images */
    margin-bottom: 15px;
}

.service-item h3 {
    font-size: 1.5rem;
    color: #0073e6; /* Accent color for titles */
    margin-bottom: 10px;
}

.service-item p {
    font-size: 1.58rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 2.7rem;
}

.service-button {
    display: inline-block;
    background-color: #0073e6;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.service-button:hover {
    background-color: #86929f; /* Darker blue on hover */
}

/* About Us Section */
#about {
    max-width: max-content;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 40px 30px;
    
}

.container-about {
    max-width:fit-content; /* Limit width */
    margin: 0 auto; /* Center the content */
    padding: 20px;
}

.container-about h2{
    font-size: 2.5rem; /* Section title */
    color: #333; /* Dark text */
    margin-bottom: 20px; /* Space below the title */
}

.about-intro, p, p1{
    font-size: 1.58rem; /* Slightly larger text */
    color: #555; /* Muted text color */
    margin-bottom: 50px;
    line-height: 2.7rem; /* Better readability */
    text-align: start;

}

.about-email {
    font-size: 1.58rem;
    color: #333;
    text-align: left;
    margin-bottom: 5px;
    display: flex;
    flex-direction: column;
    align-items: left;
    gap: 1px;
   
}



.about-email .email-button {
    display: inline-block;
    background-color: #0073e6;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    padding: 10px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.address-container p{
    color: #231f20;
    text-align: left;
    padding-bottom: 20px;
    font-size: 1.58rem;
}
.about-email .email-button:hover {
    background-color: #005bb5;
    transform: translateY(-2px);
}

.about-email .email-button:active {
    transform: translateY(1px);
}


.about-content {
    display: flex; /* Flex layout for content */
    flex-wrap: wrap; /* Wrap content on smaller screens */
    gap: 10px; /* Space between items */
    justify-content: left; /* Center align content */
}

/* Opening Hours Section */
.about-hours {
    flex: 1 1 300px; /* Responsive width */
    background-color: white;
    border: 1px solid #ddd; /* Light border */
    border-radius: 10px; /* Rounded corners */
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    text-align: left; /* Align text to the left */
}
.about-hours h3, p{
    font-size: 2rem;
    color:#231f20; /* Accent color */
    margin-bottom: 5px;
    text-align: left;
    padding: 10px 20px ;
}

.about-hours ul {
    list-style: none; /* Remove default bullet points */
    padding: 0;
}

.about-hours ul li {
    font-size: 1.58rem;
    color: #555; /* Muted text color */
    margin-bottom: 10px;
    line-height: 2.7rem;
    padding: 0px 20px ;
}

.about-hours ul li strong {
    color: #333; /* Darker text for emphasis */
}
.team {
    padding: 40px 20px;
    background-color: #f9f9f9;
}
.team h1 {
    font-size: 2.5rem;
    display: flex;
    justify-content: center;
    color: #333; /* Dark text */
    margin-bottom: 20px; /* Space below the title */
    

}
/* Our Team Section */
.about-team {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding: 20px;
    scroll-snap-type: x mandatory;

    -ms-overflow-style: none;  /* IE/Edge */
    scrollbar-width: none;     /* Firefox */
}
.about-team::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}


.id-photo {
    min-width: 250px;
    flex-shrink: 0;
    scroll-snap-align: start;
    background-color: #fff;
    padding: 16px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
}


.id-photo:hover {
    transform: translateY(-4px); /* subtle lift on hover */
}

.id-photo img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 12px;
}

.id-photo h1 {
    font-size: 1.3rem;
    color: #005EB8;
    margin-bottom: 6px;
}

.id-photo h2{
    font-size: 1.1rem;
    color: #231f20;
    margin-bottom: 4px;
}
.id-photo { 
    font-size: 1.1rem;
    color: #231f20;
}
.id-photo a {
    display: inline-block;
    margin-top: 10px;
    font-size: 1rem;
    color: #005EB8;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.id-photo a:hover {
    color: #003A6B;
}


    
    


.about-team h3 {
    font-size: 1.5rem;
    color: #0073e6; /* Accent color */
    margin-bottom: 15px;
}

.about-team img {
    max-width: 100%; /* Responsive image */
    height: auto; /* Maintain aspect ratio */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}


/* Map Section */
.about-map {
    margin-top: 40px; /* Add spacing above the map */
    text-align: center; /* Center-align the map heading */
}

.about-map h3 {
    font-size: 1.58rem; /* Heading size */
    color: #231f20; /* Accent color */
    margin-bottom: 20px; /* Spacing below heading */
}

.about-map iframe {
    border-radius: 10px; /* Optional: Rounded corners for the map */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Add a shadow */
    width: 80%;
}
#Registration{
    margin-top: 20px;
    background-color: #FFFFFF;
}
.container-reg h2{
    font-size: 1.58rem;
    text-align: center;
}
#Registration p{
    font-size: 1.58rem;
    text-align: center;
    color: #231f20;
}
.reg-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #005EB8; /* Blue background */
    color: #ffffff; /* White text */
    border-radius: 10px; /* Rounded corners */
    font-size: 1.58rem; /* Adjust font size */
    font-weight: bold; /* Make text bold */
    text-decoration: none; /* Remove underline */
    padding: 18px 42px; /* Add space inside the button */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth hover effects */
    cursor: pointer; /* Pointer cursor on hover */
    margin: 10px auto; /* Center horizontally if parent container allows */
    width: 50%;
    
}

  /* Hover effect */
.reg-btn:hover {
    background-color: #005f8c; /* Darker blue on hover */
    transform: translateY(-2px); /* Slight lift effect */
}
  /* Active effect */
.reg-btn:active {
    background-color: #004970; /* Even darker blue on click */
    transform: translateY(0); /* Reset lift effect */
}

/* Inquiry Section */
#inquiry {
    background: linear-gradient(to bottom, #EFF8F7, #f9f9f9);
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container-inquiry {
    max-width: 900px;
    width: 100%;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 40px 30px;
}

.inquiry-header {
    text-align: center;
    margin-bottom: 30px;
}

.inquiry-header h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 10px;
}

.inquiry-description {
    font-size: 1.58rem;
    color:#231f20;
    line-height: 2.7;
    text-align: start;
}

.contact-container {
    margin: 0 auto;
    width: 100%;
}

.contact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.form-group {
    flex: 1 1 calc(50% - 20px); /* Two columns on larger screens */
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 1.58rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 15px;
    font-size: 1.2rem;
    color: #333;
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #0073e6;
    box-shadow: 0 0 5px rgba(0, 115, 230, 0.3);
    outline: none;
    font-size: 1.2rem;
}

.form-footer {
    flex: 1 1 100%; /* Full width for the submit button */
    text-align: center;
}
.gdpr-agreement{
    font-size: 1.2rem;
}

.submit-button {
    display: inline-block;
    background-color: #0073e6;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.submit-button:hover {
    background-color: #005bb5;
    transform: translateY(-2px);
}

.submit-button:active {
    transform: translateY(1px);
}
/* proce list page */
#price{
    display: flex;
    text-align: center;
}
#price h2{
font-size: 2.1rem;
padding:20px 10px ;
}
.container-intoprice{
    position: relative ;
    padding: 10 20px ;
    border-radius: 10px ;
    background-color: #fff;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}
.price-list{
    text-align:start;
    padding: 10px 10px;
    line-height: 2.7;
    font-size: 1.58rem;
}
.price-list li{
    padding: 10px 10px;
}
.price-list h3{
    padding: 10px 10px;
    text-align: start;
    font-size: 1.72rem;
}
.tips-container li {
    list-style-type:none;
}
.tips-container {
    text-align: center;
}
.prices-intro, h2{
    color: #231f20;
    line-height: 2.7rem;
    text-align: start;
    font-size: 1.58rem;
    padding: 10px 10px;}

.Education-intro p, h2{
    text-align: left;
    font-size: 1.58rem;
    padding: 10px 10px;
    line-height: 2.7;
    color: #231f20;

}
.tips-container li{
    text-align: left;
    font-size: 1.58rem;
    padding: 10px 10px;
    line-height: 2.7;
    color: #231f20;
    
  

}

.email-button{
    background-color: #004970;
    border-radius: 10px;
    color: white;

}
#cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #E8EDEE; /* Darker background for a modern look */
    color: #231f20; /* Softer white text for readability */
    padding: 20px 10px; /* More balanced padding */
    text-align: center;
    font-family: 'Roboto', Arial, sans-serif; /* Clean modern font */
    font-size: 16px; /* Slightly larger text for better readability */
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3); /* Stronger shadow for depth */
    z-index: 1000; /* Ensure it stays above other elements */
}

#cookie-bar button {
    margin: 0 8px; /* Balanced spacing between buttons */
    padding: 12px 24px; /* Larger button padding for a professional feel */
    border: none; /* Remove default borders */
    border-radius: 25px; /* Pill-shaped buttons for a modern look */
    cursor: pointer; /* Pointer on hover */
    font-size: 15px; /* Larger text for better usability */
    font-weight: bold; /* Bold text for emphasis */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth interaction effects */
}

/* Accept button */
#accept-btn {
    background-color: #005EB8; /* Professional green */
    color: white;
}
#accept-btn:hover {
    background-color: #005EB8; /* Darker green on hover */
    transform: scale(1.05); /* Slight enlargement */
}

/* Decline button */
#decline-btn {
    background-color: #005EB8; /* Professional red */
    color: white;
}
#decline-btn:hover {
    background-color: #005EB8; /* Darker red on hover */
    transform: scale(1.05); /* Slight enlargement */
}


/* Footer */
.footer{
    text-align: center;
    background-color: #333;
    color: white;
    padding: 20px;
    margin-top: 20px;
}

.footer ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding-bottom: 10px;
}

.footer ul a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
}
.copyright, p{
    text-align: center;
    font-size: 0.9rem;
    color: white;
    line-height: 1.58rem;
}
.footer-bottom {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  .footer-bottom a {
    color: #ffffff;
    text-decoration: underline;
    font-weight: bold;
    font-style: italic;
  }

.terms-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: #FFFFFF; /* White box for text content */
    border: 1px solid #ddd; /* Subtle border for definition */
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
}

.terms-container h1 {
    color: #004040; /* Theme teal color for headings */
    font-size: 28px;
    margin-bottom: 10px;
}

.terms-container h2 {
    color: #005bb5; /* Slightly lighter teal for subheadings */
    font-size: 22px;
    margin-top: 20px;
}

.terms-container p {
    margin-bottom: 15px;
    text-align: justify; /* Improves readability for longer text */
}

.terms-container ul {
    margin: 15px 0;
    padding-left: 20px;
    list-style-type: disc; /* Bullets for lists */
}

.terms-container ul li {
    margin-bottom: 10px;
}

/* Links */
.terms-container a {
    color: #005bb5;
    text-decoration: none;
    font-weight: bold;
}

.terms-container a:hover {
    text-decoration: underline;
}
.main-content{
    width: 100%;
}
.bio-profile {
    padding: 40px 20px;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.bio-card {
    max-width: 900px;
    width: 100%;
    background-color: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.bio-card img {
    width: 300px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.bio-info h1 {
    font-size: 2rem;
    color: #005EB8;
    margin-bottom: 0px;
    line-height: 1.8rem;
}

.bio-info h2 {
    font-size: 1.3rem;
    color: #231f20;
    margin-bottom: 0px;
    text-align: center;
}

.bio-info p {
    font-size: 1.2rem;
    color: #333;
    line-height: 1.8rem;
    margin-bottom: 0px;
}

.bio-info strong {
    color: #005EB8;
}
#team h1 {
    text-align: center;
    display: flex;
    justify-content: center;
    
}
.team-photo-section {
    background-color: #ffffff;
    padding: 40px 20px;
    text-align: center;
}

.team-photo-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #f9f9f9;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.team-photo {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.team-photo-container h2 {
    font-size: 2rem;
    color: #005EB8;
    margin-bottom: 10px;
    text-align: center;
}

.team-photo-container p {
    font-size: 1.2rem;
    color: #333;
    line-height: 1.8rem;
    text-align: center;
}
.scrollable-bio {
    max-height: 60vh; /* scales with screen height */
    overflow-y: auto;
    padding-right: 10px;
    margin-top: 10px;
    scroll-behavior: smooth;
}


.scrollable-bio::-webkit-scrollbar {
    width: 10px;
}

.scrollable-bio::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 10px;
}


/* Mobile styles */
/* Responsive Adjustments for Small Screens (375px and below) */
@media (min-width: 340px) and (max-width: 400px) {
  
      
      

    .about-team::-webkit-scrollbar {
        display: none;
    }
    .about-team {
        -ms-overflow-style: none;  /* IE & Edge */
        scrollbar-width: none;     /* Firefox */
        max-width: 100%;
    }
    .id-photo{
        width:25%;
        height: auto;
    }
    .id-photo p  { 
        font-size: 1.1rem;
        color: #231f20;
    }
    

    section {
        padding: 20px 10px;
        width:375px;
    }

    .logo-section {
        flex-direction: column;
        align-items: start;
        gap: 10px;
        text-align: left;
    }

    .logo-container img {
        max-width: 80%;
        height: auto;
       
    }

    .nhslogo img {
        display: none;
    }

    .contact-buttons {
        flex-direction: i; /* Align buttons in a row */
        justify-content: center; /* Center align the buttons */
        align-items: center;
        gap: 10px; /* Reduce spacing between buttons */
        margin: 5px 0; /* Slightly reduce top and bottom margin */
        flex-wrap: nowrap; /* Prevent wrapping */
    }

    .contact-buttons a {
        font-size: 0.9rem; /* Smaller font size for buttons */
        padding: 4px 8px; /* Smaller padding for compact size */
        text-align: center;
    }

    /* Hamburger Menu */
    .hamburger {
        display: block; /* Ensure the hamburger menu is visible */
        position: absolute; /* Position relative to the viewport */
        top: 10px; /* Adjust vertical position */
        right: 15px; /* Adjust horizontal position */
        padding: 8px; /* Add padding for better spacing */
        z-index: 4000; /* Ensure it stays above other elements */
        cursor: pointer; /* Pointer cursor on hover */
    }

    .hamburger span {
        display: block;
        width: 20px; /* Slightly smaller width for smaller screens */
        height: 2px; /* Slimmer bars for compact appearance */
        background-color: #333; /* Dark color for contrast */
        margin: 4px 0; /* Reduce spacing between bars */
        transition: 0.3s ease;
        z-index: 1000;
    }

    /* Active Hamburger Animation */
    .hamburger.active span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    /* Navigation Links for Mobile */
    .nav-links {
        display: none;
        flex-direction: column;
        background-color: #ffffff;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        padding: 20px;
        border-top: 1px solid #ddd;
    }

    .nav-links.active {
        display: table-column;
        gap: 10px;
        text-align: center;
    }

    .nav-links a {
        font-size: 0.9rem;
        padding: 10px 0;
        text-align: center;
    }
    header {
        position: relative;
        z-index: 10;
        max-width: 100%;
    }
    #hero {
        flex-direction: column; /* Stack hero content vertically */
        padding: 20px 10px; /* Reduce padding */
    
        
    }

    .hero-container {
        flex-direction: column; /* Stack items vertically */
    }

    .slideshow {
        order: 1; /* Ensure slideshow is on top */
        min-height: 200px; /* Reduce height for smaller screens */
        width: 100%; /* Ensure full width */
        position: relative;
        z-index: 1;
    }

    .welcome-message {
        order: 2; /* Ensure welcome message is below the slideshow */
        padding: 10px;
        font-size: 0.4rem; /* Adjust font size for smaller screens */
        line-height: 0.5;
    }
    .welcome-message p {
        text-align: center;
        font-size: 1.1rem;
        line-height: 1.7rem
    }

    .nhslogo2 {
        max-width: 100%; /* Ensure the logo is responsive */
        height: auto; /* Maintain the aspect ratio */
        padding-bottom: 20px;
    }
    .nhslogo2 img{
        width: 75px;
        height: 75px;
    }
    .cta-button {
        font-size: 1rem;
        padding: 20px 15px; /* Maintain button prominence on small screens */
    }

    #services {
        padding: 10px 10px;
        background-color: #FFFFFF;
    }

    .intro-text1 {
        font-size: 1rem; /* Slightly smaller font size */
        color: #231f20;
        line-height: 1.5rem; /* Adjusted line height for compactness */
        text-align: center;
        margin-bottom: 10px; /* Add spacing below intro text */
    }



    .service-item h3 {
        font-size: 1rem; /* Smaller font size for compactness */
        line-height: 1.2rem; /* Adjusted line height */
        margin-bottom: 5px; /* Add spacing below the title */
    }

    .container-services h2 {
        font-size: 1.2rem; /* Adjusted heading size */
        line-height: 1.5rem; /* Adjusted line height */
        text-align: center;
        margin-bottom: 10px; /* Add spacing below the heading */
    }

    .service-item p {
        font-size: 0.9rem; /* Smaller paragraph font size */
        line-height: 1.4rem; /* Adjusted line height */
    }
    .services-grid {
        display: flex;
        overflow-x: scroll !important;     /* Force scroll */
        overflow-y: hidden;                /* Only scroll horizontally */
        flex-wrap: nowrap;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding: 10px 0;
      }
      
      /* FOR CHROME, SAFARI */
      .services-grid::-webkit-scrollbar {
        height: 12px;                      /* Height of the scrollbar */
      }
      
      .services-grid::-webkit-scrollbar-thumb {
        background-color: #999;
        border-radius: 6px;
      }
      
      .services-grid::-webkit-scrollbar-track {
        background: #e0e0e0;
      }
      
      /* FOR FIREFOX */
      .services-grid {
        scrollbar-color: #999 #e0e0e0;
        scrollbar-width: thin;
      }
      
    footer {
        font-size: 0.85rem; /* Reduce footer font size */
        padding: 15px 10px; /* Compact padding */
    }

    .footer ul {
        flex-direction: column; /* Stack footer links vertically */
        gap: 5px; /* Adjust spacing between links */
    }
    #testimonials {
        padding: 10px 10px; /* Adjust padding for smaller screens */
    }
    

    .testimonialSlider {
        display: grid; /* Switch to a grid layout */
        grid-template-columns: repeat(2, 1fr); /* Create 2 columns of equal width */
        gap: 10px; /* Space between cards */
        padding: 0 10px; /* Adjust padding */
    }

    .testimonial-card {
        flex: none; /* Disable flexbox-specific styles */
        max-width: 100%; /* Ensure cards fit within the grid */
        padding: 10px; /* Adjust padding for compact layout */
        text-align: center; /* Center-align content */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Add subtle shadow */
        border-radius: 8px; /* Add rounded corners */
    }

    .testimonial-card h3 {
        font-size: 0.8rem;
        line-height: 1rem; /* Slightly smaller title size */
        text-align: center;
    }

    .testimonial-card p {
        font-size: 0.7rem;
        line-height: 1rem; /* Adjust paragraph size for compactness */
    }

    .review-icon img {
        width: 80px; /* Smaller review star size */
        margin: 10px auto; /* Center the image */
    }
    #about {
        padding: 20px 5px;
    }
    .about-box {
        padding: 15px; /* Reduced padding for smaller screens */
        font-size: 1rem; /* Adjusted font size for better fit */
        text-align: left; /* Align text to the left for better readability */
    }

    .about-box h2 {
        font-size: 1.5rem; /* Smaller heading size */
        margin-bottom: 8px; /* Adjust spacing below the heading */
    }

    .about-box p {
        font-size: 1.1rem; /* Smaller paragraph text */
        line-height: 2.5rem; /* Adjust line spacing */
        text-align: center;

    }
    .container-about h2 {
        font-size: 1.3rem;
        text-align: center;
    }

    .about-intro {
        font-size: 0.1rem;
        line-height: 1rem;
        text-align: left;
        padding: 0 10px;
    }

    .about-hours,
    .about-team {
        padding: 10px;
    }

    .about-hours h3,
    .about-team h3 {
        font-size: 1.3rem;
        text-align: center;
    }

    .about-hours ul li {
        font-size: 1.1rem;
        line-height: 1.4rem;
        padding-left: 20px;
        text-align: center;
    }

    .about-email {
        gap: 5px;
    }

    .about-email .email-text {
        font-size: 1.1rem;
    }

    .about-email .email-button {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
    .address-container p {
        color: #231f20;
        text-align: center;
        padding-bottom: 0px; /* Reduced padding for smaller screens */
        font-size: 1.1rem; /* Adjusted font size for better fit */
    }
    #registration {
        padding: 15px 10px; /* Add padding for spacing */
        background-color: #FFFFFF;
    }

    .container-reg {
        text-align: center; /* Center-align all content */
        padding: 10px; /* Add padding inside the container */
        margin: 0 auto; /* Center the container */
    }

    #registration h2 {
        font-size: 1.2rem; /* Adjust heading size */
        margin-bottom: 10px; /* Add spacing below the heading */
        color: #005EB8; /* Optional: Add a theme color */
        text-align: center;
    }

    #registration p {
        font-size: 1rem; /* Adjust font size for compactness */
        line-height: 1.5rem; /* Adjust line height for readability */
        color: #231f20;
        margin-bottom: 15px; /* Add spacing below the paragraph */
    }

    .reg-btn {
        font-size: 0.8rem;
        padding: 8px 12px;
        background-color: #005EB8;
        color: #ffffff;
        border-radius: 5px;
        margin: 10px auto 0;
        display: block;
        text-align: center;
        transition: background-color 0.3s ease, transform 0.2s ease;
    }

    /* Hover effect */
    .reg-btn:hover {
        background-color: #004970; /* Darker blue on hover */
        transform: translateY(-2px); /* Slight lift effect */
    }

    /* Active effect */
    .reg-btn:active {
        background-color: #003A6B; /* Even darker blue on click */
        transform: translateY(0); /* Reset lift effect */
    }
    .about-map {
        width: 100%;
        height: auto;
    }
    #inquiry {
        padding: 10px 5px;
        background-color: #FFFFFF;
    }

    .container-inquiry {
        max-width: 90%;
        padding: 10px 5px;
        margin: 0 auto;
        text-align: center;
        border: 1px solid #ddd;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .inquiry-header h2 {
        font-size: 1.3rem;
        margin-bottom: 8px;
        color: #005EB8;
    }

    .inquiry-description {
        font-size: 0.9rem;
        line-height: 1.4rem;
        margin-bottom: 10px;
        color: #231f20;
    }

    .contact-container {
        margin: 10px 0; /* Add spacing around the contact container */
    }

    .form-group {
        text-align: center; /* Center-align content inside the form group */
        margin: 0 auto; /* Ensure the group is centered */
    }

    .form-group p {
        font-size: 0.85rem; /* Adjust text size */
        line-height: 1.4rem; /* Improve readability */
        margin-bottom: 10px; /* Add spacing below the paragraph */
        color: #231f20;
    }

    .submit-button {
        font-size: 0.8rem;
        padding: 8px 12px;
        background-color: #005EB8;
        color: #ffffff;
        border-radius: 5px;
        margin: 10px auto 0;
        display: block;
        text-align: center;
        transition: background-color 0.3s ease, transform 0.2s ease;
    }

    .submit-button:hover {
        background-color: #004970;
        transform: translateY(0px);
    }

    .submit-button:active {
        background-color: #003A6B;
        transform: translateY(0);
    }


    .footer ul {
        display: flex; /* Use flexbox for horizontal alignment */
        flex-direction: row; /* Align items in a single row */
        justify-content: space-evenly; /* Spread items evenly across the space */
        align-items: center; /* Align vertically */
        list-style: none; /* Remove bullet points */
        padding: 0; /* Remove default padding */
        margin: 0 auto; /* Center the list */
        gap: 5px; /* Minimal spacing between items */
        flex-wrap: wrap; /* Allow wrapping if needed */
    }

    .footer ul li a {
        text-decoration: none; /* Remove underline */
        font-size: 0.8rem; /* Adjust font size for compact layout */
        color: white; /* Text color */
        padding: 3px 5px; /* Smaller padding for a compact look */
        transition: color 0.3s ease;
    }

    .footer ul li a:hover {
        color: #004970; /* Slight color change on hover */
    }


    #cookie-bar {
        padding: 10px; /* Reduce padding */
        font-size: 0.85rem; /* Adjust font size */
        max-width: 100%;
    }

    #cookie-bar button {
        padding: 8px 15px; /* Smaller buttons */
        font-size: 0.85rem; /* Adjust font size */
    }

    .copyright, .footer p {
        font-size: 0.75rem; /* Smaller font for text */
    }

    #price{
        display: flex;
        text-align: center;
        width: 100%;
    }
    #price h2{
    font-size: 1.5rem;
    padding:20px 10px ;
    }
    .container-intoprice{
        position: relative ;
        padding: 10 20px ;
        border-radius: 10px ;
        background-color: #fff;
        box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
        width: 100%;
    }
    .price-list{
        text-align:start;
        padding: 10px 10px;
        line-height: 2.7;
        font-size: 1rem;
    }
    .price-list li{
        padding: 10px 10px;
    }
    .price-list h3{
        padding: 10px 10px;
        text-align: start;
        font-size: 1.1rem;
    }
    .tips-container li {
        list-style-type:none;
    }
    .tips-container {
        text-align: center;
    }
    .prices-intro, h2{
        color: #231f20;
        line-height: 2.7rem;
        text-align: start;
        font-size: 1rem;
        padding: 10px 10px;}
    
    .Education-intro p, h2{
        text-align: center;
        font-size: 1rem;
        padding: 10px 10px;
       
        color: #231f20;
    
    }
    .tips-container li{
        text-align: left;
        font-size: 0.8rem;
        line-height: 1.2rem;
        color: #231f20;
        padding: 10px 10px;
        
    }

}


@media (min-width: 400px) and (max-width: 540px) {

    .about-map {
        width: 100%;
        height: auto;
    }
        .scrollable-bio {
            max-height: 50vh;
            padding-right: 5px;
            font-size: 1rem;
        }
      
        .bio-info p {
            font-size: 1rem;
            line-height: 1.6rem;
        }
        .id-photo{
            width:25%;
            height: auto;
        }
      
      
    .about-team::-webkit-scrollbar {
        display: none;
    }
    .about-team {
        -ms-overflow-style: none;  /* IE & Edge */
        scrollbar-width: none;     /* Firefox */
    }
    .id-photo p  { 
        font-size: 1.1rem;
        color: #231f20;
    }
    
    
    .main-content {
        max-width: 100%;
        margin: 0 auto; /* Center align */
        display: flex;
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center horizontally */
        justify-content: center; /* Center vertically if necessary */
    }

    section {
        padding: 20px 15px;
        max-width: 100%;
        margin: 0 auto; /* Center the section */
        box-sizing: border-box; /* Include padding in the total width */
    }

    .logo-section {
        flex-direction: column;
        align-items: start;
        gap: 10px;
        text-align: left;
    }

    .logo-container img {
        max-width: 80%;
        height: auto;
    }

    .nhslogo img {
        display: none;
    }
   
    .contact-buttons {
        flex-direction: row; /* Align buttons in a row */
        justify-content: center; /* Center align the buttons */
        align-items: center;
        gap: 3px; /* Reduce spacing between buttons */
        margin: 5px 0; /* Slightly reduce top and bottom margin */
        flex-wrap: nowrap; /* Prevent wrapping */
    }

    .contact-buttons a {
        font-size: 1.1rem; /* Smaller font size for buttons */
        padding: 4px 8px; /* Smaller padding for compact size */
        text-align: center;
    }

    /* Hamburger Menu */
    .hamburger {
        display: block; /* Ensure the hamburger menu is visible */
        position: absolute; /* Position relative to the viewport */
        top: 10px; /* Adjust vertical position */
        right: 15px; /* Adjust horizontal position */
        padding: 8px; /* Add padding for better spacing */
        z-index: 44000; /* Ensure it stays above other elements */
        cursor: pointer; /* Pointer cursor on hover */
    }

    .hamburger span {
        display: block;
        width: 20px; /* Slightly smaller width for smaller screens */
        height: 2px; /* Slimmer bars for compact appearance */
        background-color: #333; /* Dark color for contrast */
        margin: 4px 0; /* Reduce spacing between bars */
        transition: 0.3s ease;
        z-index: 1000;
    }

    /* Active Hamburger Animation */
    .hamburger.active span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    /* Navigation Links for Mobile */
    .nav-links {
        display: none;
        flex-direction: column;
        background-color: #ffffff;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        padding: 20px;
        border-top: 1px solid #ddd;
    }

    .nav-links.active {
        display: table-column;
        gap: 10px;
        text-align: center;
    }

    .nav-links a {
        font-size: 0.9rem;
        padding: 10px 0;
        text-align: center;
    }
    header {
        position: relative;
        z-index: 10;
    }
    #hero {
        flex-direction: column; /* Stack hero content vertically */
        padding: 20px 10px; /* Reduce padding */
    
        
    }

    .hero-container {
        flex-direction: column; /* Stack items vertically */
    }

    .slideshow {
        order: 1; /* Ensure slideshow is on top */
        min-height: 200px; /* Reduce height for smaller screens */
        width: 100%; /* Ensure full width */
        position: relative;
        z-index: 1;
    }

    .welcome-message {
        order: 2; /* Ensure welcome message is below the slideshow */
        padding: 10px;
        font-size: 0.4rem; /* Adjust font size for smaller screens */
        line-height: 0.5;
    }
    .welcome-message p {
        text-align: center;
        font-size: 1.1rem;
        line-height: 1.7rem
    }
    .nhslogo2 {
        max-width: 100%; /* Ensure the logo is responsive */
        height: auto; /* Maintain the aspect ratio */
        padding-bottom: 20px;
    }
    .nhslogo2 img{
        width: 75px;
        height: 75px;
    }

    .cta-button {
        font-size: 1rem;
        padding: 20px 15px; /* Maintain button prominence on small screens */
    }

    #services {
        padding: 10px 10px;
        background-color: #FFFFFF;
    }

    .intro-text1 {
        font-size: 1rem; /* Slightly smaller font size */
        color: #231f20;
        line-height: 1.5rem; /* Adjusted line height for compactness */
        text-align: center;
        margin-bottom: 10px; /* Add spacing below intro text */
    }

    .services-grid {
        display: grid; /* Use grid layout */
        grid-template-columns: repeat(2, 1fr); /* Create 3 equal columns */
        gap: 10px; /* Space between grid items */
    }

    .service-item {
        padding: 8px; /* Reduced padding for compact layout */
        background-color: #f9f9f9; /* Optional: Add background color */
        border: 1px solid #ddd; /* Optional: Add light border */
        border-radius: 8px; /* Optional: Add rounded corners */
        text-align: center; /* Center-align content */
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional: Add subtle shadow */
    }

    .service-item h3 {
        font-size: 1rem; /* Smaller font size for compactness */
        line-height: 1.2rem; /* Adjusted line height */
        margin-bottom: 5px; /* Add spacing below the title */
    }

    .container-services h2 {
        font-size: 1.2rem; /* Adjusted heading size */
        line-height: 1.5rem; /* Adjusted line height */
        text-align: center;
        margin-bottom: 10px; /* Add spacing below the heading */
    }

    .service-item p {
        font-size: 0.9rem; /* Smaller paragraph font size */
        line-height: 1.4rem; /* Adjusted line height */
    }

    footer {
        font-size: 0.9rem;
        padding: 20px 15px;
        text-align: center;
    }


    .footer ul {
        flex-direction: column; /* Stack footer links vertically */
        gap: 5px; /* Adjust spacing between links */
    }
    #testimonials {
        padding: 10px 10px; /* Adjust padding for smaller screens */
    }

    .testimonialSlider {
        display: grid; /* Switch to a grid layout */
        grid-template-columns: repeat(2, 1fr); /* Create 2 columns of equal width */
        gap: 10px; /* Space between cards */
        padding: 0 10px; /* Adjust padding */
    }

    .testimonial-card {
        flex: none; /* Disable flexbox-specific styles */
        max-width: 100%; /* Ensure cards fit within the grid */
        padding: 10px; /* Adjust padding for compact layout */
        text-align: center; /* Center-align content */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Add subtle shadow */
        border-radius: 8px; /* Add rounded corners */
    }

    .testimonial-card h3 {
        font-size: 0.8rem;
        line-height: 1rem; /* Slightly smaller title size */
        text-align: center;
    }

    .testimonial-card p {
        font-size: 0.7rem;
        line-height: 1rem; /* Adjust paragraph size for compactness */
    }

    .review-icon img {
        width: 80px; /* Smaller review star size */
        margin: 10px auto; /* Center the image */
    }
    #about {
        padding: 20px 5px;
    }
    .about-box {
        padding: 15px; /* Reduced padding for smaller screens */
        font-size: 1rem; /* Adjusted font size for better fit */
        text-align: left; /* Align text to the left for better readability */
    }

    .about-box h2 {
        font-size: 1.5rem; /* Smaller heading size */
        margin-bottom: 8px; /* Adjust spacing below the heading */
    }

    .about-box p {
        font-size: 1.1rem; /* Smaller paragraph text */
        line-height: 2.5rem; /* Adjust line spacing */
        text-align: center;

    }
    .container-about h2 {
        font-size: 1.3rem;
        text-align: center;
    }

    .about-intro {
        font-size: 0.1rem;
        line-height: 1rem;
        text-align: left;
        padding: 0 10px;
    }

    .about-hours,
    .about-team {
        padding: 10px;
    }

    .about-hours h3,
    .about-team h3 {
        font-size: 1.3rem;
        text-align: center;
    }

    .about-hours ul li {
        font-size: 1.1rem;
        line-height: 1.4rem;
        padding-left: 20px;
        text-align: center;
    }

    .about-email {
        gap: 5px;
    }

    .about-email .email-text {
        font-size: 1.1rem;
    }

    .about-email .email-button {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
    .address-container p {
        color: #231f20;
        text-align: center;
        padding-bottom: 0px; /* Reduced padding for smaller screens */
        font-size: 1.1rem; /* Adjusted font size for better fit */
    }
    #registration {
        padding: 15px 10px; /* Add padding for spacing */
        background-color: #FFFFFF;
        
    }

    .container-reg {
        text-align: center; /* Center-align all content */
        padding: 10px; /* Add padding inside the container */
        margin: 0 auto; /* Center the container */
        color: #231f20;
    }

    #registration h2 {
        font-size: 1.2rem; /* Adjust heading size */
        margin-bottom: 10px; /* Add spacing below the heading */
        color: #005EB8; /* Optional: Add a theme color */
        text-align: center;
    }

    #registration p {
        font-size: 1rem; /* Adjust font size for compactness */
        line-height: 1.5rem; /* Adjust line height for readability */
        color: #231f20;
        margin-bottom: 15px; /* Add spacing below the paragraph */
        text-align: center;
    }

    .reg-btn {
        font-size: 0.8rem;
        padding: 8px 12px;
        background-color: #005EB8;
        color: #ffffff;
        border-radius: 5px;
        margin: 10px auto 0;
        display: block;
        text-align: center;
        transition: background-color 0.3s ease, transform 0.2s ease;
    }
    /* Hover effect */
    .reg-btn:hover {
        background-color: #004970; /* Darker blue on hover */
        transform: translateY(-2px); /* Slight lift effect */
    }

    /* Active effect */
    .reg-btn:active {
        background-color: #003A6B; /* Even darker blue on click */
        transform: translateY(0); /* Reset lift effect */
    }
    .form-group {
        text-align: center; /* Center-align content inside the form group */
        margin: 0 auto; /* Ensure the group is centered */
    }

    .form-group p {
        font-size: 0.85rem; /* Adjust text size */
        line-height: 1.4rem; /* Improve readability */
        margin-bottom: 10px; /* Add spacing below the paragraph */
        color: #231f20;
    }
    #inquiry {
        padding: 10px 5px;
        background-color: #FFFFFF;
    }

    .container-inquiry {
        max-width: 90%;
        padding: 10px 5px;
        margin: 0 auto;
        text-align: center;
        border: 1px solid #ddd;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .inquiry-header h2 {
        font-size: 1.3rem;
        margin-bottom: 8px;
        color: #005EB8;
    }

    .inquiry-description {
        font-size: 1.2rem;
        line-height: 1.4rem;
        margin-bottom: 10px;
        color: #231f20;
    }

    .contact-container, p {
        margin: 10px 0; /* Add spacing around the contact container */
        font-size: 1.5rem;
    }

    .form-group {
        text-align: center; /* Center-align content inside the form group */
        margin: 0 auto; /* Ensure the group is centered */
    }

    .form-group p {
        font-size: 0.85rem; /* Adjust text size */
        line-height: 1.4rem; /* Improve readability */
        margin-bottom: 10px; /* Add spacing below the paragraph */
        color: #231f20;
    }

    .submit-button {
        font-size: 0.8rem;
        padding: 8px 12px;
        background-color: #005EB8;
        color: #ffffff;
        border-radius: 5px;
        margin: 10px auto 0;
        display: block;
        text-align: center;
        transition: background-color 0.3s ease, transform 0.2s ease;
    }

    .submit-button:hover {
        background-color: #004970;
        transform: translateY(0px);
    }

    .submit-button:active {
        background-color: #003A6B;
        transform: translateY(0);
    }


    .footer ul {
        display: flex; /* Use flexbox for horizontal alignment */
        flex-direction: row; /* Align items in a single row */
        justify-content: space-evenly; /* Spread items evenly across the space */
        align-items: center; /* Align vertically */
        list-style: none; /* Remove bullet points */
        padding: 0; /* Remove default padding */
        margin: 0 auto; /* Center the list */
        gap: 5px; /* Minimal spacing between items */
        flex-wrap: wrap; /* Allow wrapping if needed */
    }

    .footer ul li a {
        text-decoration: none; /* Remove underline */
        font-size: 0.8rem; /* Adjust font size for compact layout */
        color: white; /* Text color */
        padding: 3px 5px; /* Smaller padding for a compact look */
        transition: color 0.3s ease;
    }

    .footer ul li a:hover {
        color: #004970; /* Slight color change on hover */
    }


    #cookie-bar {
        padding: 10px; /* Reduce padding */
        font-size: 0.85rem; /* Adjust font size */
        max-width: 100%;
    }

    #cookie-bar button {
        padding: 8px 15px; /* Smaller buttons */
        font-size: 0.85rem; /* Adjust font size */
    }

    .copyright, .footer p {
        font-size: 0.75rem; /* Smaller font for text */
    }
    #price{
        display: flex;
        text-align: center;
        width: 100%;
    }
    #price h2{
    font-size: 1.5rem;
    padding:20px 10px ;
    }
    .container-intoprice{
        position: relative ;
        padding: 10 20px ;
        border-radius: 10px ;
        background-color: #fff;
        box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
        width: 100%;
    }
    .price-list{
        text-align:start;
        padding: 10px 10px;
        line-height: 2.7;
        font-size: 1rem;
    }
    .price-list li{
        padding: 10px 10px;
    }
    .price-list h3{
        padding: 10px 10px;
        text-align: start;
        font-size: 1.1rem;
    }
    .tips-container li {
        list-style-type:none;
    }
    .tips-container {
        text-align: center;
    }
    .prices-intro, h2{
        color: #231f20;
        line-height: 2.7rem;
        text-align: start;
        font-size: 1rem;
        padding: 10px 10px;}
    
    .Education-intro p, h2{
        text-align: center;
        font-size: 1rem;
        padding: 10px 10px;
        color: #231f20;
    
    }
    .tips-container li{
        text-align: left;
        font-size: 0.8rem;
        line-height: 1.2rem;
        color: #231f20;
        padding: 10px 10px;
        
    }  
}


@media (min-width: 540px) and (max-width: 2844px) {
    nav {
        background-color: #FFFFFF; /* White background */
        color: white;
        display: flex;
        flex-direction: column; /* Stack elements vertically */
        justify-content: center;/* Center-align content horizontally */
        padding: 10px 20px;
        width: 100%;
        gap: 20px; /* Add space between stacked elements */
        
    }
    .about-map {
        width: 100%;
        height: auto;
    }
    .id-photo{
        width:35%;
        height: auto;
    }

    #hero {
        flex-direction: column; /* Stack hero content vertically */
        padding: 20px 10px; /* Reduce padding */
    }

    .hero-container {
        flex-direction: column; /* Stack items vertically */
       
    }

    .slideshow {
        order: 1; /* Ensure slideshow is on top */
        min-height: 400px; /* Reduce height for smaller screens */
        width: 80%; /* Ensure full width */
        position: relative;
        z-index: 1;

    }

    .welcome-message {
        order: 2; /* Ensure welcome message is below the slideshow */
        padding: 10px;
        font-size: 0.4rem; /* Adjust font size for smaller screens */
        line-height: 0.5;
    }
    .welcome-message p {
        text-align: center;
        font-size: 1.1rem;
        line-height: 1.7rem
    }
    .nhslogo2 {
        display: none;
    }


    .cta-button {
        font-size: 1rem;
        padding: 20px 15px; /* Maintain button prominence on small screens */
    }
    .nhslogo2 {
        display: none;
    }

.about-team img {
    width: 400px;
    height: auto;
    padding-left: 10px;
}
.about-team::-webkit-scrollbar {
    display:flex; /* Show scrollbar */
    width: 10px; /* Set width of the scrollbar */
    height: 10px; /* Set height of the scrollbar */
    background-color: #a6a2a2; /* Background color of the scrollbar */
    border-radius: 10px; /* Rounded corners for the scrollbar */
}
.about-team {
    -ms-overflow-style: none;  /* IE & Edge */
    scrollbar-width:thin;     /* Firefox */
}

    
.container-reg {
    text-align: center; /* Center-align all content */
    padding: 10px; /* Add padding inside the container */
    margin: 0 auto; /* Center the container */
    color: #231f20;
}
.container-reg h2, p{
    text-align: center; /* Center-align all content */
    padding: 10px; /* Add padding inside the container */
    margin: 0 auto; /* Center the container */
    color: #231f20;
    font-size: 1.3rem;
}
.intro-text1  {
font-size: 1.5rem;
padding-bottom: 50px;}


#registration {
    padding: 15px 10px; /* Add padding for spacing */
    background-color: #FFFFFF;
}

.container-reg {
    text-align: center; /* Center-align all content */
    padding: 10px; /* Add padding inside the container */
    margin: 0 auto; /* Center the container */
    color: #231f20;
}

#registration h2 {
    font-size: 1.7rem; /* Adjust heading size */
    margin-bottom: 10px; /* Add spacing below the heading */
    color: #005EB8; /* Optional: Add a theme color */
    text-align: center;
}

#registration p {
    font-size: 1.5rem; /* Adjust font size for compactness */
    line-height: 1.5rem; /* Adjust line height for readability */
    color: #231f20;
    margin-bottom: 15px; /* Add spacing below the paragraph */
    text-align: center;
    padding-bottom: 50px;
}

.reg-btn {
    font-size: 1.2rem;
    padding: 10x 14px;
    background-color: #005EB8;
    color: #ffffff;
    border-radius: 5px;
    margin: 10px auto 0;
    display: block;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.submit-button {
    font-size: 1.3rem;
    padding: 10px 14px;
    background-color: #005EB8;
    color: #ffffff;
    border-radius: 5px;
    margin: 10px auto 0;
    display: block;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-decoration: none;
    
}

.submit-button:hover {
    background-color: #004970;
    transform: translateY(0px);
}

.submit-button:active {
    background-color: #003A6B;
    transform: translateY(0);
}
.form-group {
    text-align: center; /* Center-align content inside the form group */
    margin: 0 auto; /* Ensure the group is centered */
}

.form-group p {
    font-size: 1.5rem; /* Adjust text size */
    line-height: 1.85rem; /* Improve readability */
    margin-bottom: 10px; /* Add spacing below the paragraph */
    color: #231f20;
}
.footer ul {
    display: flexbox; /* Use flexbox for horizontal alignment */
    flex-direction: row; /* Align items in a single row */
    justify-content: space-evenly; /* Spread items evenly across the space */
    align-items: center; /* Align vertically */
    list-style: none; /* Remove bullet points */
    padding: 0; /* Remove default padding */
    margin: 0 auto; /* Center the list */
    gap: 5px; /* Minimal spacing between items */
    flex-wrap: wrap; /* Allow wrapping if needed */
    width: 700px;
}

.footer ul li a {
    text-decoration: none; /* Remove underline */
    font-size: 1.2rem; /* Adjust font size for compact layout */
    color: white; /* Text color */
    padding: 3px 5px; /* Smaller padding for a compact look */
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: #004970; /* Slight color change on hover */
}


#cookie-bar {
    padding: 10px; /* Reduce padding */
    font-size: 0.85rem; /* Adjust font size */
    max-width: 100%;
}

#cookie-bar button {
    padding: 8px 15px; /* Smaller buttons */
    font-size: 0.85rem; /* Adjust font size */
}

.copyright, .footer p {
    font-size: 1.1rem; /* Smaller font for text */
    color: #FFFFFF;
}
.address-container p{
    padding:20px;

}
}