
* {
    box-sizing: border-box;
}

body {
    margin: 0;
}

/* HEADER AND NAV START*/

header {
    background-color: #24272B;
    padding: 20px 24px;
}

nav ul {
    font-family: 'Barlow', sans-serif;
    font-size: 16px;
    font-weight: 700;
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin: 0;
    padding: 0 40px;
}

nav a {
    text-decoration: none;
    color: #FFFFFF;
    letter-spacing: 0.1em;
}

nav a:hover {
    color: #276FBF;
}

#phone {
    font-family: 'Shrikhand', serif;
    font-size: 21px;
    margin-right: auto;
}

#phone a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 400;
    letter-spacing: normal;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

#phone svg {
    color: #E92D2B;              
}

#phone a:hover {
    color: #276FBF;
}

/* menu button: hidden on desktop */
.menu-item {
    display: none;
}

.menu-toggle {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(239, 241, 243, 0.35);
    border-radius: 6px;
    color: #FFFFFF;
    cursor: pointer;
    padding: 0;
}

.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open  { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

nav a:focus-visible,
.menu-toggle:focus-visible {
    outline: 3px solid #E92D2B;
    outline-offset: 2px;
}

/* PHONES AND SMALL TABLETS */
@media (max-width: 760px) {
    header {
        padding: 10px 16px;
    }

    nav ul {
        gap: 0;
        padding: 0;
    }

    /* show the menu button, on the same row as the phone number */
    .menu-item {
        display: block;
        order: 1;
    }

    /* hide the page links until the menu is opened */
    .nav-link {
        display: none;
        order: 2;
        flex-basis: 100%;
    }

    nav ul.open .nav-link {
        display: block;
    }

    nav ul.open #phone + .nav-link {
        margin-top: 10px;
        border-top: 1px solid rgba(239, 241, 243, 0.15);
    }

    .nav-link a {
        display: block;
        padding: 14px 4px;
        font-size: 17px;
    }
}
/* HEADER AND NAV END */

/* HERO START*/



.hero {
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 20px 24px 20px;
    text-align: center;

      
}

.hero img {
width: clamp(300px, 45vw, 680px);
height: auto;
  
}

.hero_text {
display: flex;
flex-direction: column;      /* stack h1, line and p vertically */
align-items: flex-start;     /* line them up on the left */
gap: 24px;                   /* even spacing between them */
font-family: 'Barlow', sans-serif;
color: #24272B;
  
}

.hero h1 {
font-size: 30px;
margin: 0;
font-family: 'Barlow', sans-serif;
color: #24272B;
}

.btn {
    display: inline-block;
    background: #E92D2B;
    color: #FFFFFF;
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 18px 40px;
    border-radius: 6px;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

/* mouse hover: slightly darker red */
.btn:hover {
    background: #C42220;
    color: #FFFFFF;
}

/* keyboard focus: visible outline for people tabbing through the page */
.btn:focus-visible {
    outline: 3px solid #1D2F6F;
    outline-offset: 3px;
}

/* pressed: tiny push-down effect */
.btn:active {
    transform: translateY(1px);
}

/* phones: full-width button that's easy to hit with a thumb */
@media (max-width: 600px) {
    .btn {
        display: block;
        text-align: center;
        padding: 16px 24px;
    }
}

/* HERO END*/


/* ABOUT START*/
.about_container {
    background: #EFF1F3;
   
    padding: 88px 24px;   


}

h2 {
     font-family: 'Shrikhand', serif;
     font-size: 46px;
     color: #1D2F6F;
     text-align: center;
    margin: 0 0 48px;  
   
}

h2::after {
    content: "";
    display: block;
    width: 64px;
    height: 5px;
    background: #E92D2B;
    margin: 14px auto 0;  /* 14px gap above, auto left/right centres it */
}

.about {
    color: #24272B;
    font-family: 'Barlow', sans-serif;
    font-weight: 400;
    width: 100%;
    max-width: 760px;        /* stops lines getting too long on wide screens */
    margin: 0 auto;          /* centres the box */
    box-sizing: border-box;
}

.about p {
     margin: 0 0 18px;
    font-size: 17px;
    line-height: 1.6;
}

.about a{ font-weight: 700;
    color: #E92D2B;
    text-decoration: none;
    white-space: nowrap;         /* keeps the phone number on one line */}

p span {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
}

/* phones: a bit less padding */
@media (max-width: 600px) {
    .about {
        padding: 56px 20px;
    }
    .about p span {
        font-size: 18px;
    }
}

/* slideshow */
.slideshow {
    position: relative;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}

.slides {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    border-radius: 10px;
    scrollbar-width: none;
}
.slides::-webkit-scrollbar { display: none; }

.slides img {
    flex: 0 0 100%;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    scroll-snap-align: start;
    display: block;
}

.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: rgba(36, 39, 43, 0.8);
    color: #FFFFFF;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slide-btn:hover { background: #24272B; }
.slide-btn:focus-visible { outline: 3px solid #E92D2B; outline-offset: 2px; }
.slide-btn.prev { left: 16px; }
.slide-btn.next { right: 16px; }

.slide-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}
.slide-dots button {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: #8A9099;
    cursor: pointer;
    transition: width 0.2s ease, background-color 0.2s ease;
}
.slide-dots button[aria-current="true"] {
    width: 28px;
    background: #E92D2B;
}

@media (max-width: 600px) {
    .slide-btn { width: 44px; height: 44px; }
    .slide-btn.prev { left: 10px; }
    .slide-btn.next { right: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    .slides { scroll-behavior: auto; }
}

/* Services Start */
.services_container {
    background: #FFFFFF;
   
    padding: 88px 24px;   
}

.services {
    width: 100%;
    max-width: 760px;        /* keeps everything in the section to a sensible width */
    margin: 0 auto;          /* centres it */
    box-sizing: border-box;
}



.services_intro {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0 0 22px;
      color: #24272B;
    font-family: 'Barlow', sans-serif;
}

/* SERVICE LIST */
.service-list {
    list-style: none;                 /* removes the default bullet points */
    margin: 0 0 40px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));   /* two columns */
    gap: 14px;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #EFF1F3;
    border-radius: 8px;
    padding: 16px 18px;
    font-family: 'Barlow', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #24272B;
}

.service-list .tick {
    flex-shrink: 0;                   /* stops the circle squashing on long text */
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #E92D2B;
    color: #FFFFFF;                   /* tick colour (the SVG uses currentColor) */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* phones: one column */
@media (max-width: 600px) {
    .service-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .service-list li {
        font-size: 17px;
        padding: 14px 16px;
    }
    .service-list .tick {
        width: 28px;
        height: 28px;
    }
}

  /* Video */

.video-box {
    width: 100%;
    aspect-ratio: 16 / 9;      /* keeps the widescreen shape at any width */
    border-radius: 10px;
    overflow: hidden;          /* rounds the video's corners too */
    background: #24272B;       /* charcoal shows while it loads */
}

.video-box iframe,
.video-box video {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

  /* Contact Container Start*/

  .contact_container {
    background-color: #EFF1F3 ;
    padding: 88px 24px;

  }

.oneliner {
    font-family: 'Barlow', sans-serif;
    font-size: 20px;
    line-height: 1.5;
    text-align: center;          /* centres the text */
    max-width: 640px;            /* keeps it to two neat lines on desktop */
    margin: 0 auto 32px;         /* centres the box, 32px gap above the form */
}

.oneliner a {
    font-weight: 700;
    color: #E92D2B;
    text-decoration: none;
    white-space: nowrap;         /* keeps the phone number on one line */
}

@media (max-width: 600px) {
    .oneliner {
        font-size: 18px;
    }
}

  .contact-form {
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
    box-sizing: border-box;
    background: #FFFFFF;
    border-radius: 10px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
    box-shadow: 0 1px 2px rgba(36, 39, 43, 0.08);
}

.contact-form .field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-form label {
    font-family: 'Barlow', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #24272B;
}

.contact-form input,
.contact-form textarea {
    font-family: 'Barlow', sans-serif;
    font-size: 17px;            /* 16px+ stops iPhones zooming in on tap */
    color: #24272B;
    background: #FFFFFF;
    border: 1px solid #8A9099;
    border-radius: 6px;
    padding: 12px 14px;
    width: 100%;
    box-sizing: border-box;
}

.contact-form input {
    height: 48px;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 3px solid #1D2F6F;
    outline-offset: 1px;
    border-color: #1D2F6F;
}

.contact-form .btn {
    align-self: flex-start;
    border: 0;
    cursor: pointer;
}

.hidden-field {
    display: none;
}

@media (max-width: 600px) {
    .contact-form {
        padding: 24px 20px;
    }
    .contact-form .btn {
        align-self: stretch;     /* full-width Send button on phones */
    }
}

.emaillocation{
    text-align: center;
      font-family: 'Barlow', sans-serif;

}

.email-link {
    display: inline-flex;          /* icon and text side by side */
    align-items: center;           /* lines the icon up with the text */
    gap: 8px;
    padding: 50px 0 0 4px;              /* bigger tap area on phones */
    font-family: 'Barlow', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #1D2F6F;                /* navy text */
    text-decoration: none;
    overflow-wrap: anywhere;       /* long address won't overflow on tiny screens */
}

.email-link svg {
    color: #E92D2B;                /* red envelope */
    flex-shrink: 0;                /* stops the icon squashing */
}

.email-link:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .email-link {
        font-size: 17px;
        padding: 10px 4px;
    }
}

/* buttons */

.profile-links {
    display: flex;
    flex-wrap: wrap;               /* drops to a second line if there's no room */
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.profile-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Barlow', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #24272B;
    text-decoration: none;
    background: #FFFFFF;
    border: 1px solid #8A9099;
    border-radius: 999px;          /* fully rounded pill shape */
    padding: 11px 18px;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.profile-link svg {
    flex-shrink: 0;
}

.profile-link:hover {
    border-color: #1D2F6F;
    color: #1D2F6F;
}

.profile-link:focus-visible {
    outline: 3px solid #1D2F6F;
    outline-offset: 2px;
}

/* phones: stacked, full width, easy to tap */
@media (max-width: 600px) {
    .profile-links {
        flex-direction: column;
        gap: 10px;
    }
    .profile-link {
        justify-content: center;
        padding: 12px 18px;
    }
}

/* footer*/

.footer_container {
    background: #24272B;           /* full-width background */
    padding: 22px 24px;
}

.footer {
    max-width: 1160px;             /* lines up with the rest of the site */
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px 24px;
    color: #EFF1F3;
    font-family: 'Barlow', sans-serif;
    font-size: 14px;
}

.footer p {
    margin: 0;
}

.footer a {
    color: #EFF1F3;
}

@media (max-width: 600px) {
    .footer {
        flex-direction: column;
        text-align: center;
    }
}


/* scroll to page section when nav is clicked */
html {
    scroll-behavior: smooth;
}


@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}