@font-face {
    font-family: 'Frunchy';
    src: url('fonts/Frunchy.otf') format('opentype');
    /* Add additional font formats if necessary */
}

html, body {
    overflow-x: hidden;
}


body {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #F5F5F5;
    text-align: center;
    font-size: 16px; /* Base font size for larger screens */
}

/* Responsive font sizes */
@media only screen and (max-width: 600px) {
    body {
        font-size: 14px; /* Adjust font size for mobile devices */
    }
}

header {
    background-color: #F5F5F5;
    color: rgb(40, 40, 40);
    text-align: center;
    padding: 20px 40px; /* Adjust the top and bottom padding */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-content {
    display: flex;
    align-items: center;
}

.header-logo {
    width: 50px;
    margin-top: 20px;
    padding-right: 5px;
}

header h1 {
    margin: 0;
    font-size: 40px;
    font-family: 'Frunchy', 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

header h1,
header p {
    margin: 5px 0;
}

#hero h1 {
    text-shadow: 0.5px 0.5px 1px rgba(0,0,0,0.25);
    letter-spacing: 1px;
}

#hero .hero-title {
    background: rgba(0,0,0,0.2); 
    padding: 10px;
  }

.bacp-logo {
    width: 75px;
    padding: 10px;
    margin-top: 30px;
}

.header-text {
    text-align: left;
    margin-left: 5px;
}

.burger-menu-btn {
    display: none;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-right: 20px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 16px;
}

section {
    margin-bottom: 40px;
    padding: 20px;
}

/* Apply more padding to sections for better spacing on small screens */
@media only screen and (max-width: 600px) {
    section {
        padding: 10px;
    }
}

#hero {
    height: 400px;
    background-image: url('images/Football Fans.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
}

.hero-title {
    padding-top: 320px;
    margin-right: 60%;
}

#about {
    padding-bottom: 80px;
}

.about {
    display: inline-block;
    padding: 1em;
    max-width: 30%;
}

.img {
    height: 250px;
    width: 250px;
    object-fit: cover;
    background-color: aqua;
    margin-right: auto;
    margin-left: auto;
}

#book-appointment {
    background: #4E6E8E;
    padding-left: 20px;
    padding-right: 20px;
}

#book-appointment h2 {
    color: #F5F5F5;
}

#book-appointment p {
    color: #F5F5F5;
    font-weight: 100;
}

#Testimonials {
    background: #4E6E8E;
}

#Testimonials h2 {
    color: #F5F5F5;
}

.testimonial-row {
    display: inline-block;
}

.row-two {
    margin-top: -40px;
}

.testimonial {
    display: inherit;
    padding: 1em;
    max-width: 45%;
}

.quote {
    padding: 1em;
    background-color: rgba(250, 235, 215, 0.5);
    border-radius: 5px;
}

.client-name {
    font-style: italic;
}

.contact {
    display: flex;
}

.contact-details {
    width: 50%;
    text-align: left;
    padding-left: 5%;
}

.contact-intro {
    padding: 0.25em;
}

.map-wrapper {
    width: 50%;
}

.map {
    margin-left: auto;
    margin-right: auto;
}

h2 {
    color: #333333;
    font-size: 22px;
    padding: 1rem;
}

h2.no-padding {
    padding: 0;
}

h3 {
    color: #333333;
    font-size: 18px;
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    margin-bottom: 10px;
}

button,
.button {
    margin: 1rem;
    border: solid 2px #333;
    padding: 0.8rem;
    background-color: #ffff;
    font-weight: 800;
    display: inline-block;
    text-decoration: none;
    color: #333;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

button:hover,
.button:hover {
    background-color: #4E6E8E;
    color: #fff;
    border-color: #4E6E8E;
}

button.hide-button {
    visibility: hidden;
}

address {
    font-style: normal;
    /* Prevent italic styling for <address> in some browsers */
    margin-bottom: 10px;
    /* Adjust the bottom margin as needed */
}

a {
    color: #4E6E8E;
    /* Set the text color to a specific color (e.g., a shade of blue) */
    text-decoration: none;
    /* Remove the underline */
    font-weight: bold;
    /* Optionally, make the text bold for emphasis */
}

a:hover {
    color: #4e81b4;
    /* Change the text color on hover for visual feedback */
}

td {
    vertical-align: top;
}

.second-column {
    padding-left: 10px;
}

footer {
    background-color: rgb(40 40 40);
    color: #fff;
    text-align: center;
    padding: 10px;
    bottom: 0;
    width: 100%;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #4E6E8E;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    border: none;
}

.scroll-to-top:hover {
    background-color: #3a5366;
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.scroll-to-top.visible {
    display: flex;
}

.close-menu-btn {
    display: none;
  }

/* Tablet Styles */
@media only screen and (max-width: 820px) {
    header {
        padding: 10px 20px; /* Adjust padding for mobile header */
    }

    .header-content {
        flex-direction: column;
        align-items: center;
    }

    .header-logo {
        width: 40px; /* Adjust logo size for mobile */
        margin: 10px 0;
        
    }

    header h1 {
        font-size: 28px; /* Adjust font size for mobile */
        margin: 0px 0; /* Adjust margin for mobile */
    }

    header p {
        margin: 0; /* Reset margin for mobile */
    }

    .bacp-logo {
        width: 30px; /* Adjust smaller BACP logo size for mobile */
        margin-top: 0px;
    }

    nav ul li {
        margin-right: 0;
        margin-bottom: 5px;
    }
    nav ul {
        display: none; /* Hide the regular list on mobile */
    }

    .burger-menu-btn {
        display: block;
        background: none;
        border: none;
        color: #333;
        font-size: 40px;
        cursor: pointer;
    }

    nav ul.show {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 60px; /* Adjust the top position as needed */
        left: 0;
        width: 100%;
        background-color: #F5F5F5;
        padding: 10px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    nav ul.show li {
        margin-bottom: 10px;
    }

    .close-menu-btn {
        color: #fff;
        background-color: #333;
        padding: 5px 10px;
        border-radius: 5px; 
      }

}

/* Mobile Styles */
@media only screen and (max-width: 768px) {
    header {
        padding: 10px 0px; /* Adjust padding for mobile header */
    }

    .header-content {
        flex-direction: column;
        align-items: center;
    }

    .header-logo {
        width: 40px; /* Adjust logo size for mobile */
        margin: 10px 0;
        
    }

    header h1 {
        font-size: 28px; /* Adjust font size for mobile */
        margin: 0px 0; /* Adjust margin for mobile */
    }

    header p {
        margin: 0; /* Reset margin for mobile */
    }

    .bacp-logo {
        width: 30px; /* Adjust smaller BACP logo size for mobile */
        margin-top: 0px;
    }

    nav ul li {
        margin-right: 0;
        margin-bottom: 5px;
    }
    nav ul {
        display: none; /* Hide the regular list on mobile */
    }

    .burger-menu-btn {
        display: block;
        background: none;
        border: none;
        color: #333;
        font-size: 40px;
        cursor: pointer;
    }

    nav .close-menu-btn {
        background: none;
        border: none;
        color: #333;
        font-size: 20px;
        cursor: pointer;
        position: absolute;
        top: 10px;
        right: 10px;
    }

    .close-menu-btn {
        color: #fff;
        background-color: #333;
        padding: 5px 10px;
        border-radius: 5px; 
      }

   /* Adjust the styles for the open menu */
nav ul.show {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px; /* Adjust the top position as needed */
    left: 0;
    width: 100%;
    background-color: #F5F5F5;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Update the styles to show the close button when the menu is open */
nav ul.show + .burger-menu-btn {
    display: none;
}

nav ul.show + .close-menu-btn {
    display: block;
}

nav.show .close-menu-btn {
    display: block;
  }


/* Optional: Add transition for smooth appearance */
nav button {
    transition: opacity 0.3s ease-in-out;
}

/* Optional: Adjust the close button styles */
nav .close-menu-btn {
    color: #fff;
    background-color: #333;
    padding: 5px 10px;
    border-radius: 5px;
}

    .hero-title {
      display: flex;
      flex-direction: column;
      gap: 10px;
      align-items: flex-start;
      padding: 20px;
      margin-right: 0;
    }

    .hero-title div {
      position: relative;
      width: 100%;
    }

    .contact {
        flex-direction: column;
      }
    
      .contact-details,
      .map-wrapper {
        width: 100%;
      }
    
      #about h2 {
        display: none;
      }
      #about {
        padding-bottom: 0px;
      }
      .about {
        display: block;
        width: 100%;
        max-width: 100%;
        padding: 0px;
        margin-bottom: 50px;
      }

      .about p {
        max-width: 100%; /* Prevent text from overflowing */
      }
      .img {
        width: 200px;
        height: 200px;
        display: block; 
        margin: 0 auto 20px;
      }
    
      h3 {
        font-size: 16px;
      }
      
      p {
        font-size: 14px;
      }

    }

 
