/* ===  CONTENTS ===================================

GOOGLE FONTS
WHOLE PAGE STYLES 
BUTTONS
HEADER
DESKTOP NAV
HOMEPAGE HERO
NORMAL PAGE HERO 
FLEX CONTAINERS
SERVICES SECTION 
WHY CHOOSE US? SECTION 
LATEST WORK SECTION
REVIEWS SECTION
CTA SECTION
CONTACT FORM
FOOTER
JS CLASSES

=================================================== */


/* === GOOGLE FONTS =============================== */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;600&family=Oswald:wght@400;500;600;700&family=Poppins:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&display=swap');

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */button,hr,input{overflow:visible}progress,sub,sup{vertical-align:baseline}[type=checkbox],[type=radio],legend{box-sizing:border-box;padding:0}html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}details,main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:ButtonText dotted 1px}fieldset{padding:.35em .75em .625em}legend{color:inherit;display:table;max-width:100%;white-space:normal}textarea{overflow:auto}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}[hidden],template{display:none}

/* === WHOLE PAGE STYLES ========================= */    
:root {
    --header-height: 70px;
    --header-height-reduced: 60px;
    --accent-color-1: rgb(1, 24, 76);
    --accent-color-2: rgb(0, 183, 233);
    --accent-color-3: #fef200;
    --accent-color-4: rgb(196, 157, 114);
    --accent-color-1-dark: rgb(1,10,92);
    --gradient-1: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 10%, rgb(8, 18, 44) 100%);
    --gradient-2: linear-gradient(300deg, rgba(2, 53, 95, 0.7) 0%, rgba(6, 52, 78, 0.384) 100%);
    --gradient-3: linear-gradient(150deg, var(--accent-color-1) 0%, var(--accent-color-2) 100%);
    --gradient-4: linear-gradient(150deg, var(--accent-color-3) 0%, var(--accent-color-4) 100%);
    --gradient-6: linear-gradient(150deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 100%);
    --dark-grey: rgb(31, 31, 31);
    --medium-grey: #7f7f7f;
    --light-grey: #b9b9b9;
    --very-light-grey: #f5f5f5;
    --paragraph-text:  'Poppins', sans-serif;
    --header-text: 'Poppins', serif;
    --border-radius: 3px;
    --box-shadow: 0px 4px 16px 0px rgba(0,0,0,0.2);
}

* {
   /* border: 1px dashed grey; */
   box-sizing: border-box;
}

html {
    max-width: 100vw;
    scroll-behavior: smooth;
    font-family: var(--paragraph-text);
    font-size: 16px;
    background-color: white;
}

body {
    overflow-x: hidden;
    background-color: white;
}

h1, h2, h3 {
    color: var(--dark-grey);
    font-family: var(--header-text);
    font-weight: 600;
}

h2 {
    font-size: clamp(1.6rem, 8vw, 3rem);
    margin: 0;

}

h3 {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    font-family: var(--header-text);
    font-weight: 6300;
    padding: 10px 0;
    margin: 0;  
}

h4 {
    font-family: var(--paragraph-text);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent-color-2);
    padding: 0;
    margin: 0;  
}

p, ul {
    font-size: 1.2rem;
    line-height: 1.7rem;
    color: var(--dark-grey);
}

section, footer {
    padding: 100px 15%;
}

.normal-link {
    text-decoration: underline;
    text-decoration-color: var(--accent-color-3);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.2em;
    color: var(--dark-grey);
    font-weight: 600;
    transition:  0.3s;
}

.normal-link:hover {
    text-decoration-color: var(--accent-color-1);
}

.text-cols-1 {
    margin: 40px 0;
    padding: 1rem;
    columns: 1;
    column-gap: 40px;
    background: rgba(0,0,0,0.1);
    border-radius: var(--border-radius);
}

.text-cols-2 {
    margin: 40px 0;
    padding: 1rem;
    columns: 2 300px;
    column-gap: 40px;
    background: rgba(0,0,0,0.1);
    border-radius: var(--border-radius);
}

.text-cols-3 {
    margin: 40px 0;
    padding: 1rem;
    columns: 3 300px;
    column-gap: 40px;
    background: rgba(0,0,0,0.1);
    border-radius: var(--border-radius);
}

.text-cols p, .text-cols ul, .text-cols-3 ul {
    margin-top: 0;
}

.normal-list {
    color: var(--dark-grey);
    line-height: 1.4rem;
    padding-left: 2rem;
    list-style-type: square;
    list-style-position: outside;
}

.normal-list li {
    margin: 0;
    padding: 5px 0;
    line-height: 1.8rem;

    font-weight: 500;
}

.normal-list li::marker {
    color: var(--accent-color-1);
}

em {
    padding: 2em 0;
    font-size: 0.9rem;
    color: var(--medium-grey);
}

b {
    font-weight: 600;
}

figure {
    margin: 0;
    padding: 0;
}

figcaption {
    text-align: center;
    font-style: italic;
    color: var(--dark-grey);
}

.narrow-on-desktop {
    max-width: 700px;
    margin: 0 auto;
}

.img {
    font-style: italic;
}

.cropped-img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center;
    background-color: rgba(0,0,0,0.1);
    font-style: italic;
    border-radius: calc(var(--border-radius)*2);
    box-shadow: var(--box-shadow);
}

/* === BUTTONS =================================== */
button {
    padding: 0.6em 1em;
    margin: 4px 0;
    border-radius: var(--border-radius);
    font-family: var(--paragraph-text);
    font-size: 1.2rem;
    font-weight: 500;
    transition: 0.3s;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 0px 13px 18px -10px rgba(0,0,0,0.2);
}

.button-dark {
   margin: 10px 0;
   background-color: var(--accent-color-1);
   background-image: var(--gradient-3);
   border: 2px solid;
   border-image-source: var(--gradient-3);
   border-image-slice: 1;
   color: white;
   transition: filter 0.3s;
}

.button-dark:hover {
    filter: brightness(1.1);
}

.button-light {
    background-color: rgba(255, 255, 255, 0);
    border: 2px solid var(--accent-color-1);
    color: var(--accent-color-1);
}
 
.hero-button-container {
    padding: 0 0 0 0;
}

.hero-button-light {
    background-color: var(--accent-color-1);
    background-image: var(--gradient-3);
    border: 2px solid;
    border-image-source: var(--gradient-3);
    border-image-slice: 1;
    margin-right: 16px;
    color: white;
}

.hero-button-dark {
    background-color: rgba(0,0,0,0.1);
    backdrop-filter: blur(5px);
    border: 2px solid white;
    color: white;
    margin-right: 16px;
}

.hero-button-dark i {
    margin-right: 1em;
}

.hero-button-light:hover, .hero-button-dark:hover {
    filter: brightness(1.1);
    background-color: rgba(255,255,255,0.1);
}


/* === HEADER =================================== */
header {
    display: flex;
    width: 100%;
    height: var(--header-height);
    padding: 0 15%;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    z-index: 3;
    background-color: (255,255,255,0);
    transition: background-color 0.3s, border-bottom 0.3s;   
}

.logo {
    display: block;
    height: calc(var(--header-height)*0.8);
    transform-origin: top left;
    transition: filter 0.1s, transform 1s, transform-origin 1s, opacity 0.3s, box-shadow 0.3s;
}

.logo:hover {
   opacity: 0.7;
}

.white-logo {
    transform: scale(1.5);
    filter: invert(1) hue-rotate(180deg);
}

header nav {
  color: var(--dark-grey);
}

header nav > ul {
    display: flex;
    margin: 0;
    padding: 0;
    height: 100%;
    gap: 1em;
    transition: 0.3s;
}

header nav ul li {
    padding: 2px 0;
    list-style-type: none;
    position: relative;
}

header nav ul ul {
    width: auto;
    height: auto;
    margin-left: -1em;
    padding: 0;
    position: absolute;
    top: 100%;
    left: 0;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--border-radius);
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    backdrop-filter: blur(10px);
    transition: opacity 0.3s;
}


header nav ul ul li {
    display:  block;
    margin: 0.2em 1em;
}

header nav li:hover ul {
    opacity: 1;
    pointer-events: auto;
}

header nav ul ul li:first-child {
    /* display: none; */
}

header nav a {
    font-size: 1.1rem;
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,0);
    text-decoration-thickness: 0px;
    text-underline-offset: 0.4em;
    text-transform: uppercase;
    font-size: 1.1rem;
    font-weight: 500;
    color: white;
    transition: color 1s, text-decoration-color 0.3s;
}


header nav a:hover {
    text-decoration: underline 2px white;
}

header nav ul li:last-child a i {
    font-size: 0.9em;
    margin-right: 0.2em;
}

header nav .fa-phone {
    transform: scale(1.3);
}

.white-bg {
    background-color: white;
}

.dark-nav-text {
    color: var(--dark-grey);
}

.dark-nav-text:hover {
    text-decoration-color: var(--accent-color-1);
}

.header-shadow {
    box-shadow: 0px 1px 5px rgba(0,0,0,0.2);
}

.dropdown-shadow {
    box-shadow: 0px 13px 18px -10px rgba(0,0,0,0.2);
}

.hamburger {
    display: none;
    content: url(../media/svg/hamburger.svg);
    height: calc(var(--header-height)*0.5);
    filter: invert(1);
    opacity: 0.7;
    transition: filter 0.5s, transform 0.5s, opacity 0.3s;
    cursor: pointer;
}

.hamburger:hover {
    opacity: 0.7;
}

.hamburger-dark {
    filter: invert(0.4);
}

.hamburger-cross {
    content: url(../media/svg/cross.svg);
    transform: scaleX(-1);
    filter: invert(1);
}

.disable-scroll {
    height: 100dvw;
    max-height: 100dvw;
    overflow: hidden;
}


/* === HOMEPAGE HERO =================================== */
.hero {
    display: flex;
    min-height: 100vh;
    justify-content: center;
    align-items: center;
    background-color: var(--accent-color-1);
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    position: relative;
}

.hero .hero-text {
    max-width: 1000px;
    padding: 0;
    text-align: center;
    z-index: 2;
}

.hero-text h1 {
    margin: 0.5em 0 0 0;
    font-size: clamp(0.1rem, 9vw, 3rem);
    font-weight: 300;
    color: white;
    text-wrap: balance;
    /* text-shadow: 3px 3px rgba(0,0,0,0.5); */
}

.hero-text b {
    color: var(--accent-color-3);
}


.hero-text h2 {
    margin: 1em 0;
    font-family: var(--paragraph-text);
    font-size: 1.4rem;
    color: white;
    font-weight: 500;
    line-height: 1em;
    /* text-shadow: 3px 3px rgba(0,0,0,0.5); */
}

.hero-text p {
    margin: 0;
    color: white;
    font-size: 1.5rem;
}

.hero hr {
    display: block;
    max-width: 200px;
    margin: 1.5em auto;
    border-color: var(--accent-color-1);
}

.hero-accreditations {
    margin-top: 30px;
}

.hero-accreditations img {
    height: 50px;
    width: auto;
    margin-right: 30px;
}

.hero-logo {
    display: block;
    height: 200px;
    margin: 0 auto;
    padding-bottom: 60px;
    padding: 1em 2em;
}

.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: white;
    overflow: hidden;
}

.hero-bg-container .slide {
    background-position: 60% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
    scale: 1.2;
    transition: opacity 1s ease-in-out, scale 6s;
}

.hero-bg-container .slide.show {
    opacity: 1;
    scale: 1;
}

.accreditations-container {
    display: flex;
    width: 100%;
    justify-content: flex-end;
    gap: 2em;
    position: absolute;
    z-index: 2;
    bottom: 2em;
    left: 0;
    padding: 0 15%;
}

.accreditations-container img {
    height: 25vw;
    max-height: 150px;
}

/* === NORMAL PAGE HERO =================================== */
.page-hero {
    display: flex;
    height: 50vh;
    padding: 0;
    align-items: center;
    background-color: var(--accent-color-1);
    background-image: 
        var(--gradient-6),
        url('../media/home-hero-1.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.page-hero .hero-text {
    width: 100%;
    padding: 0 5%;
}

.page-hero-text {
    text-align: center;
}


.page-hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
    text-align: center;
    color:white;
    margin: 0;
    font-weight: 600;
}

.page-hero h2 {
    font-family: var(--paragraph-text);
    font-size: 1.4rem;
    font-weight: 400;
    text-align: center;
}

.page-hero p {
    color: white;
}


/* === INTRO SECTION =================================== */
.intro {
    background-color: white;
    z-index: 1;
}

.intro-2 {
    background-color: var(--very-light-grey);
}


.credentials {
    background-color: white;
}


/* === FLEX CONTAINERS =================================== */
.flex-container {
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: center;
  }
  
  .flex-item-left, .flex-item-right {
    width: 50%;
  }
  
  .flex-container img {
    width: 100%;
  }


/* === SERVICES SECTION =================================== */
.services {
    background-color: white;
    text-align: center;
  }

  .services p {
    width: 60%;
    margin: 0 auto;
    padding: 1em 0;
    text-align: center;
  }

.service-card-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 2em 0 4em 0;
    gap: 1vw;
    align-content: center;
}

.service-card {
    display: flex;
    width: 100%;
    padding: 0.5em;
    align-items: flex-end;
    justify-content: flex-start;
    aspect-ratio: 0.7;
    border-radius: calc(var(--border-radius)*1);
    background-color: rgba(0,0,0,0.1);
    background-position: center;
    background-size: cover;
    text-decoration: none;
    color: white;
    font-size: 1.6vw;
    font-weight: 500;
    font-family: var(--header-text);
    text-align: left;
    box-shadow: var(--box-shadow);
    border-bottom: 4px solid var(--accent-color-3);
    transition: 0.3s;
}

.service-card:nth-child(1) {
    background-image: var(--gradient-1), url('../media/service-1.jpg');
    translate: 0 40px;

}

.service-card:nth-child(2) {
    background-image: var(--gradient-1), url('../media/service-2.jpg');
}

.service-card:nth-child(3) {
    background-image: var(--gradient-1), url('../media/service-3.jpg');
    translate: 0 40px;
}

.service-card:nth-child(4) {
    background-image: var(--gradient-1), url('../media/service-4.jpg');

}

.service-card:nth-child(5) {
    background-image: var(--gradient-1), url('../media/service-5.jpg');
}

.service-card:nth-child(6) {
    background-image: var(--gradient-1), url('../media/service-6.jpg');
}

.service-card:hover {
    box-shadow: var(--box-shadow);
    filter: brightness(130%);
    scale: 1.03;
}

/* === WHY CHOOSE US? SECTION =================================== */
.why-choose-us {
    text-align: center;
    background-color: var(--accent-color-1);
    background-image: 
        var(--gradient-2),
        url("../media/hero-3.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

.why-choose-us h2, .why-choose-us h3, .why-choose-us p {
    color: white
}

.why-choose-us-container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

.why-choose-us-item {
    display: block;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
    align-self: flex-start;
    flex-basis: 33%;
    flex-grow: 0;
    min-width: 200px;
    text-align: center;
    color: white;
}

.why-choose-us-item img {
    display: block;
    height: 7vw;
    width: auto;
}

.why-choose-us-item p {
    display: block;
    font-size: 1.4rem; 
    font-weight: 500;
}

.icon {
    font-size: 4.5rem;
    color: var(--accent-color-3);
}

.tick {
    color: white;
    font-size: 35px;
    margin-left: 10px;
}


/* === QUOTE SECTION =================================== */
.quote {
    padding-top: 60px;
    padding-bottom: 60px;
    text-align: center;
    background-color: var(--accent-color-1);
    background: 
        var(--gradient-2),
        url("../media/hero-2.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

.quote p {
    width: 80%;
    margin: 0 auto;
    padding: 1em 0 0 0;
    font-family: var(--paragraph-text);
    font-size: 1.8rem; 
    font-style: italic;
    line-height: 2.4rem;
    color: white;   
}

.quote i {
    color: var(--accent-color-3);
    opacity: 0.7;
    text-align: center;
}

.quote .quote-name {
    display: block;
    margin-top: 0.5em;
    color: white;
    font-family: 'Caveat', cursive;
    font-size: 2rem;
    font-style: italic;
    text-align: right;
}

.quote .quote-title {
    display: block;
    text-align: right;
    color: white;
    font-size: 1.2rem;
}


/* === LATEST WORK SECTION =================================== */
.latest-work {
    background-color: var(--very-light-grey);
}


.latest-work-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1em;
}

.latest-work img {
    object-fit: cover;
    object-position: center;
    border-radius: var(--border-radius);
    aspect-ratio: 0.96;
    background-color: rgba(0,0,0,0.1);
    box-shadow: var(--box-shadow);
}

.latest-work-grid img:nth-child(1) {
    grid-column: 1/3;
    aspect-ratio: 2;
}

.latest-work-grid img:nth-child(4) {
    grid-column: 2/4;
    aspect-ratio: 2;
}



/* === REVIEWS SECTION =================================== */
.reviews {
    background-color: white;
    text-align: center;
}

.reviews h3 {
   color: #9e8d61;
}

.slideshow-container {
   max-width: 100%;
   position: relative;
   margin: 0 auto;
   padding: 0 0 30px 0;
   transition: 1s;
}
  
.prev-button, .next-button {
    width: auto;
    cursor: pointer;
    position: absolute;
    top: 50%;
    margin-top: -22px;
    padding: 16px;
    color: grey;
    font-weight: bold;
    font-size: 18px;
    transition: 0.3s ease;
    user-select: none;
}
  
.prev-button {
   left: 0;
   border-radius: 0 3px 3px 0;
}

.next-button {
  right: 0;
  border-radius: 3px 0 0 3px;
}
  
.prev-button:hover, .next-button:hover {
  background-color: rgba(0,0,0,0.2);
}
  
.review-text {
    width: 80%;
    margin: 0 auto;
    padding: 1em 5%;
    bottom: 8px;
    text-align: left;
    font-style: italic;
    font-size: 1.4rem;
    color: var(--dark-grey);
    text-align: center;
}
  
.review-name {
    padding: 0;
    margin: 0;
    font-family: Caveat, cursive;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--medium-grey);
    text-align: right;
}

.review-text i {
    color: black;
    opacity: 0.3;
}

.review-stars {
    color: var(--accent-color-3);
}

.review-source {
    height: 1.4rem;
    float: right;
}
 
.dots-container {
    text-align: center;
    padding: 10px 0 40px 0;
}

.dot { 
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #526b8d;;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}
  
.active, .dot:hover {
    background-color: var(--accent-color-2);
}
  
.fade {
   animation-name: fade;
   animation-duration: 1.5s;
}
  
@keyframes fade {
   from {opacity: 0}
   to {opacity: 1}
}

/* === ACCREDITATIONS SECTION =================================== */
.accreditations-section {
    padding-top: 40px;
    padding-bottom: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-items: center;
    background-color: var(--very-light-grey);
}

.accreditations-section img {
    height: 4vw;
    filter: grayscale(100%) brightness(0%) opacity(50%);
}



/* === CTA SECTION =================================== */
.CTA {
    padding-top: 70px;
    padding-bottom: 70px;
    text-align: center;
    background-color: var(--accent-color-1);
    background: 
        var(--gradient-2),
        url("../media/hero-4.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

.CTA h2 {
    font-size: clamp(1rem, 6vw, 2.5rem);
    color: white;
    padding-bottom: 20px;
}

.CTA h4 {
    color: white;
}

.CTA p {
    color: white;
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 1em;
}
/* === MAP =================================== */
.map {
    width: 100%;
    height: 400px;
    background-color: var(--very-light-grey);
    border: 0;
    transition: 0.5s;
}



/* === AREAS COVERED  =================================== */
.areas-covered {
    background-color: var(--very-light-grey);
}


/* === FOOTER =================================== */
footer {
    width: 100%;
    padding-bottom: 0;
    text-align: center;
    background-color: black;
    color: white;
    z-index: -1;
}

.footer-col-container {
    display: flex;
    margin:  0;
    padding-bottom: 50px;
    justify-content: space-between;
    align-items: first baseline;
    gap: 20px;
}

.footer-col {
    flex-basis: 100%;
}

.footer-col p {
    margin: 0.2em;
    font-size: 1.4rem;
    font-family: var(--paragraph-text);
    font-weight: 500;
}

footer p, #tel {
    color: white;;
    font-weight: 300;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.4em;
}

footer h3 {
    padding-top: 20px;
}

.footer-col i {
    display: block;
    font-size: 3rem;
    margin-bottom: 0.5em;
    color: var(--accent-color-3);
    transition: 0.3s;
}

.footer-col img {
    display: block;
    height: 25px;
    padding-bottom: 0.1em;
    margin: 0 auto;
}

.footer-col img:hover {
    opacity: 0.8;
}

a .footer-icon:hover {
    color: var(--accent-color-2);
}

.logo-mask {
    width: 15%;
    aspect-ratio: 3;
    display: inline-block;
    -webkit-mask-image: url("../media/logo/logo.png");
    mask-image: url("../media/logo/logo.png");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: 100%;
    mask-size: 100%;
}

.logo-mask-background {
    width: 100%;
    height: 100%;
    background-color: var(--medium-grey);
}


.socials {
    margin: 1em 0;
}

.socials p {
    padding: 0;
    padding-bottom: 0.3em;
}

.socials-container {
    display: flex;
    justify-content: center;
    gap: 2em;
    align-items: flex-start;
}

.social-icon {
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: opacity 0.3s;
}

.social-icon:hover {
    opacity: 1;
}

.social-icon img {
    height: 40px;
}

#instagram-icon {
    height: 30px;
}

.footer-accreditations {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 60px 0 10px 0;
}

.footer-accreditations img {
    display: inline-block;
    height: 70px;
    width: auto;
    filter: brightness(0.6);
}

.footer-bottom {
    display: flex;
    margin-top: 10px;
    padding: 1em 0; 
    flex-wrap: wrap;
    border-top: 1px solid white;
    justify-content: space-between;
    filter: grayscale(1) opacity(0.3);
}

.footer-bottom a {
    color: white;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.footer-copyright, .footer-built-by {
    display: inline-block;
    margin: 0rem;
    font-size: 0.8rem;
    text-align: left;
    line-height: 1em;
    color: white;
}

.footer-built-by {
    text-align: right;
}

.mobile-full-width {
    display: none;
    width: 100%;
}

/* === SCROLL ANIMATIONS =================================== */
@media (prefers-reduced-motion: no-preference) {
    /* FADE IN ------------------------------- */
    .fade-in {
        opacity: 0;
    }

    .fade-in-animation {
        animation: fade-in 1s ease forwards;
    }
    
    @keyframes fade-in {
        from {opacity: 0;}
        to {opacity: 1;}
    }

    /* SLIDE LEFT ----------------------------*/
    .slide-left {
        opacity: 0;
    }

    .slide-left-animation {
        animation: slide-left 1s ease forwards;
    }
    
    @keyframes slide-left {
        from {
            transform: translateX(-100%);
            opacity: 0;
        } to {
            transform: translateX(0);
            opacity: 1;
        }
    }

    /* SLIDE RIGHT ----------------------------*/
    .slide-right {
        opacity: 0;
    }    
    .slide-right-animation {
        animation: slide-right 1s ease forwards;
    }
    
    @keyframes slide-right {
        from {
            transform: translateX(100%);
            opacity: 0;
        } to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    /* SLIDE DOWN ----------------------------*/   
    .slide-down {
        opacity: 0;
    } 

    .slide-down-animation {
        animation: slide-down 1s ease forwards;
    }
    
    @keyframes slide-down {
        from {
            transform: translateY(-100%);
            opacity: 0;
        } to {
            transform: translateX(0);
            opacity: 1;
        }
    }

    /* SLIDE UP ----------------------------*/ 
    .slide-up {
        opacity: 0;
    }       

    .slide-up-animation {
        animation: slide-up 1s ease forwards;
    }
    
    @keyframes slide-up {
        from {
            transform: translateY(100%);
            opacity: 0;
        } to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    /* PULSE ----------------------------*/ 
    .pulse-animation {
        animation: pulse 0.7s ease forwards;
    }

    @keyframes pulse {
        0% {scale: 1}
        50% {scale: 1.1}
        100% {scale: 1}
    }

    /* ANIMATION DELAYS  ----------------------------*/  
    .delay-200ms{
        animation-delay: 200ms;
    }
    
    .delay-300ms{
        animation-delay: 300ms;
    }
    
    .delay-400ms{
        animation-delay: 400ms;
    }
    
    .delay-500ms{
        animation-delay: 500ms;
    }
    
    .delay-600ms{
        animation-delay: 600ms;
    }
    
    .delay-700ms{
        animation-delay: 700ms;
    }
    
    .delay-800ms{
        animation-delay: 800ms;
    }
    
    .delay-900ms{
        animation-delay: 900ms;
    }
    
    .delay-1000ms{
        animation-delay: 1000ms;
    }
}


.form {
    background-color: white;
    text-align: center;
}

.form p {
    text-align: left;
    margin-top: 50px;
}

.form-wrapper {
    padding: 50px 0;
}

.field-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 20px;
}

.form-element {
    display: flex;
    flex-basis: 100%;
    padding: 20px 0;
    font-size: 1.4rem;
}

.form-field {
    display: inline;
    width: 100%;
    border: none;
    border-bottom: 2px solid var(--light-grey);
    padding: 0 0 4px 0;
    overflow-x: hidden;
    color: var(--dark-grey);
    transition: 0.3s;
}

.form-field::placeholder {
    color: var(--medium-grey);
}

.form-field:focus {
    background-color: rgb(238, 238, 238);   
}

.form-icon {
    display: block;
    float: left; /* To equalize width */
    margin-right: 10px;
    color: var(--accent-color-1);
    width: 20px;
}

#message  {
    height: 36px;
}

#message:focus {
    height: 200px;
    overflow-y: auto;
}

.contacts-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2em;
}

.phone-container {

}

.contacts-container div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1em;
    background-color: var(--very-light-grey);
    border-radius: var(--border-radius);
}

.contacts-container div p {
    text-align: center;
    margin: 0;
}

.contacts-container div tel {
    font-size: 2rem;
    color: var(--accent-color-1);
    font-weight: 500;
}

.contacts-container div address {
    font-size: 1.7rem;
    color: var(--accent-color-1);
    font-weight: 500;
    font-style: normal;
}

@media (max-width: 900px) {
    .contacts-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {
    .form-element {
        font-size: 1.2rem;
    }

    .field-wrapper {
        gap: 0;
        padding: 0;
    }
}


.gallery-section p {
    width: 70%;
    margin: 0 auto;
    text-align: center;
  }
  
  .gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin: 4em 0;
    gap: 2vw;
    align-content: center;
  }
  
  .gallery-grid a {
    display: flex;
    width: 100%;
    padding: 1.5em;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    border-radius: calc(var(--border-radius)*2);
    background-color: rgba(0,0,0,0.1);
    background-position: center;
    background-size: cover;
    text-decoration: none;
    text-align: center;
    color: white;
    font-size: 1.6vw;
    font-weight: 300;
    transition: 0.3s;
  }
  
  .gallery-grid a:hover {
    transform: scale(1.02);
    filter: brightness(170%);
  }
  
  .gallery-section {
    background-color: white;
  }
  
  .gallery-section > p:nth-child(1) {
    margin-bottom: 3em;
  }
  
  .gallery-section:nth-child(even) {
    background-color: var(--very-light-grey);
  }
  
  .gallery {
    display: grid;
    grid-template-columns: auto auto auto auto auto;
    gap: 8px;
    padding-top: 16px;
    padding-bottom: 90px;
  }
  
  .gallery-item {
    background-color: var(--very-light-grey);
    border-radius: var(--border-radius);
    transition: 0.3s;
    aspect-ratio: 1;
  }
  
  .gallery-item img {
    display: block;
    width: 100%;
    border-radius: var(--border-radius);
  }
  
  .gallery-item:hover {
      transform: scale(1.01);
      filter: brightness(90%);
      overflow: hidden;
      box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  }
  
  .gallery-section a:has(button) {
    display: block;
    margin-bottom: 1em;
    text-align: center;
  }
  
  .fb-iframe {
  
    width: 1200px;
  
  }
  
  @media(max-width: 1000px) {
    .gallery-section p {
        width: 100%;
        text-align: left;
    }
  
    .gallery {
        grid-template-columns: auto auto auto;
    }
  }
  
  @media (max-width: 1000px) {
      .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
  
    .gallery-grid a {
        aspect-ratio: 2/1;
        font-size: 3vw;
    }
  }
  
  @media (max-width: 600px) {
    .gallery-grid {
      grid-template-columns: 1fr;
  }
  
  .gallery-grid a {
      font-size: 7vw;
  }
  }
  
  @media (max-width: 500px) {
    .gallery {
        /* grid-template-columns: auto auto; */
    }
  }


  
.review-section > p {
    width: 70%;
    text-align: center;
    margin: 0 auto;
    padding-bottom: 1em;
}

.review-grid {
    margin: 5em 0;
    columns: 450px;
    gap: 2em;
}


.review-card {
    width: 100%;
    position: relative;
    margin-bottom: 2em;
    padding: 2em;
    background-color: var(--very-light-grey);
    border-radius: calc(var(--border-radius));
    break-inside: avoid;
}

.review-card-text {
    margin-top: 0;
    font-size: 1.2rem;
}

.review-card-text i {
    color: var(--light-grey);
}

.review-card-text::before {
    content: url('../media/svg/quote-left-solid.svg');
    display: inline-block;
    width: 50px;
    height: 50px;
    margin-right: 0px;
    transform: translateY(8px);
}

.review-card-text::after {
    content: url('../media/svg/quote-right-solid.svg');
    display: inline-block;
    margin-left: 0px;
    margin-top: -10px;
    transform: translateY(8px);
}

.review-card-text::before, .review-card-text::after {
    display: inline-block;
    width: 30px;
    height: 30px;
    filter: invert(70%);
}

.review-bottom {
    align-content: center;;
}

.location {
    float: right;
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--medium-grey);  
}

.review-name {
    color: grey;
    display: inline;
    float: right;
}

.review-stars {
    display: inline;
    color: var(--accent-color-3);
}

.google-reviews {
    margin: 3rem 0;
    min-height: 500px;
}

@media (max-width: 1000px) {
    .review-grid {
        max-height: none;
        height: auto;
    }

    .review-card {
        width: 100%;
        padding: 5% 5%;
    }

    .review-section > p {
        width: 100%;
        text-align: left;
    }
}

@media (max-width: 650px) {
    .review-card-text {
        font-size: 1.1rem;
    }
    
    .review-name {
        font-size: 1.4rem;
    }
}



.intro .text-cols-3 {
    margin-top: 0.5em;
}


.normal-list li {
    color: var(--dark-grey);
}



.renewables-section a:has(button) {
    text-align: center;
    display: block;
    margin: 0 auto;
}

.renewables-section h2, .renewables-section > p {
    text-align: center;
}

.renewables-grid-container {
    margin: 3em 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2em;
    text-align: left;
}

.renewables-grid-container div {

    background-color: white;
    border-radius: var(--border-radius);
    padding: 1.5em;
    border-bottom: 5px solid var(--accent-color-1);
    box-shadow: var(--box-shadow);
}

.renewables-grid-container div h3 {
    margin: 0;
    padding: 0;
}



#gas-safe-colour {
    width: 100%;
    margin: 0 auto;
}

.latest-work {
    background-color: var(--very-light-grey);
}

.learn-more-links {
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: var(--accent-color-1);
    background-image: 
        var(--gradient-1),
        url("../media/hero-4.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

}

.learn-more-links h3 {
    text-align: center;
    margin-bottom: 1em;
    color: white;
}


.learn-more-links a {
    display: block;
    background-color: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    padding: 1em;
    font-size: 1.4rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

.learn-more-links a i {
    color: var(--accent-color-1);
    transform: scale(0.7);
}

.learn-more-links a:hover {
    background-color: rgba(255,255,255,0.2);
}


.grey-bg {
    background-color: var(--very-light-grey);
}

.reason-section {
    background-color: var(--accent-color-1);
    background-image: 
        var(--gradient-1),
        url("../media/hero-3.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;

}

.reason-section  h2{
    text-align: center;
    margin-bottom: 1em;
    color: white;
}

.reason-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    align-items: stretch;
    justify-content: center;
    gap: 1%;
}

.reason {
    background-color: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 1em;
    border-radius: calc(var(--border-radius)*2);
}

.reason h4 {
    text-align: center;
    filter: brightness(150%);
}

.reason i {
    display: block;
    font-size: 6rem;
    color: white;
    text-align: center;
    margin: 0.2em 0;
    opacity: 0.7;
}

.reason p {
    color: white;
}

.emergency-call-out {
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: var(--accent-color-1) important!;
    background-image: 
        var(--gradient-6),
        url('../media/hero-5.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    text-align: center;
}

.emergency-call-out h3, .emergency-call-out p {
    color: white;
}

.domestic-services {
    text-align: center;
}

.domestic-services ul {
    text-align: left;
}

.services-list {
    background-color: var(--accent-color-1) !important;
    background-image: var(--gradient-3);
    background-attachment: fixed;

}

.services-list h2 {
    text-align: center;
    color: white;
}

.services-list p {
    text-align: center;
    color: white;
}

.services-list li {
    color: white;
}

.services-list li::marker {
    color: var(--accent-color-3);
}

.services-list .normal-link {
    color: white;
    text-decoration-color: rgba(255,255,255,0.5);
}

.services-list .text-cols-3 {
    background-color: rgba(255,255,255,0.1);
}


@media (max-width: 1400px) {
    .reason-container {
        grid-template-columns: 1fr 1fr;
    }

    .reason h4 {
        font-size: 1.6rem;
    }

}

@media (max-width: 1200px) {
    .reason-container {
        grid-template-columns: 1fr 1fr;
    }
}


@media (max-width: 800px) {
    .intro p {
        width: 100%;
    }

    section:nth-child(odd) .flex-container {
        flex-direction: column-;
    }

    section:nth-child(even) .flex-container {
        flex-direction: column-reverse;
    }

    .renewables-grid-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {
    .reason-container {
        grid-template-columns: 1fr;
    }

    .emergency-call-out p{
        text-align: center;
    }

    .renewables-section h2, .renewables-section p {
        text-align: left;
    }

    .renewables-grid-container div {
        padding: 1.5em 1em;
    }
}



/* ======================================================= MEDIA QUERIES */
/* Breakpoints: 1200, 1000, 1000 landscape, 800, 650, 500 =================*/
@media (max-width: 1600px ) {
    html {
        font-size: 15px;
    }
}

@media (max-width: 1200px) {
    /* ============= WHOLE PAGE STYLES */
    html {
        font-size: 15px;
    }
    section, footer {
        padding: 100px 10%;
    }

    header, .hero-text {
        padding: 0 10%;
    }

    .service-card {
        font-size: 2.2vw;
    }

    /* ======================== FOOTER */
    footer {
        padding-bottom: 0;
    }

    .accreditations-container {
        padding: 0 10%;
    }
} 

@media (max-width: 1000px) {

    /* =========================== NAV */
    .hamburger {
        display: block;
    }

   header nav {
        position: absolute;
        top: 0;
        left: 0;
        display: flex;
        align-items: center;
        height: 100vh;
        width: 100%;
        padding-top: var(--header-height);
        background-color: var(--accent-color-1);
        background-image: var(--gradient-3);
        background-position: center;
        background-size: cover;
        text-align: center;
        transform: translateX(200vw);
        overflow-x: hidden;
        overflow-y: scroll;
        transition: 1s ease;
    }

    header nav ul {
        flex-direction: column;
        height: auto;
        width: 100%;
        gap: 1.5em;
    }

    header nav ul li {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    header nav a {
        font-size: 1.6rem;
        color: var(--very-light-grey);
    }

    header nav a:hover {
        text-decoration-color: var(--accent-color-1);
    }

    header nav ul ul {
        width: auto;
        height: auto;
        max-height: 0;
        margin: 0 0 0 -1em;
        padding: 0;
        position: static;
        overflow: hidden;
        opacity: 1;
        border: none;
        transition: 0.5s ease;
    }

    header nav ul ul li {
        margin: 1em;
    }

    header nav ul ul li:first-child {
        display: block;
    }

    header nav ul ul li a {
        font-size: 1.3rem;
    }

    li:has(ul) > a {
        margin: 0 0 0 0.5em;
        pointer-events: none;
    }

    li:has(ul) > a::after {
        display: inline-block;
        content: '>';
        font-family: 'Quicksand', sans-serif;
        font-weight: 700;
        font-size: 0.8em;
        transform: rotate(90deg) translate(0em,-0.3em) scaleX(0.7);
        color: var(--medium-grey);
    }

    .slide-nav {
        transform: translateX(0vw);
    }

    .dropdown-accordian {
        max-height: 300px;
        padding: 0.4em 0;
        overflow: visible;
        pointer-events: auto;
        background-color: rgba(110, 110, 110, 0.1);
    }

    .dark-nav-text {
        color: var(--very-light-grey);
    }

    .dark-nav-text:hover {
        text-decoration-color: var(--accent-color-1);
    }

    .dropdown-shadow {
        box-shadow: inset 0px 13px 18px -10px rgba(0,0,0,0.2);
    }


    /* ================ FLEX CONTAINER */

    .hero-text h2 {
        width: 100%;
    }

    .flex-container {
        flex-direction: column;
    }

    .latest-work .flex-container {
        flex-direction: column-reverse;
    }
  
    .flex-item-left, .flex-item-right {
        width: 100%;
    }

  
    .gallery-col {
        width: 100%;
    }

    .service-card-container {
        grid-template-columns: 1fr 1fr;
        gap: 3vw;
    }
    
    .service-card {
        aspect-ratio: 1.2;
        font-size: 3vw;
    }


    .quote p {
        width: 100%;
    }

    .accreditation-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 5%;
    }

    .accreditation-container {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        gap: 5vh;
    }
    
    .accreditation-img-container {
        width: 100%;
        text-align: center;
    }
    
    .accreditation-img-container img {
        height: 20vw;
    }
    
    /* ================= WHY CHOOSE US */
    .why-choose-us-item {
        display: block;
        width: 100%;
    }

    .icon {
        font-size: 70px;
    }

    /* ====================== REVIEWS */
    .review-text {
        padding: 1em 0%;
        font-size: 1.3rem;
        text-align: left;
    }

    /* ================= LATEST WORK */
    .latest-work-img-grid {
        text-align: center;
        padding-bottom: 0px;
     }

     /* ================= SERVICES */
    .services p {
        width: 100%;
    }


      /* ================= CONTACT FORM */
     .field-wrapper, .contact-elements-container {
        flex-direction: column;
    }


    /* ================= FOOTER */
 
    footer {
        text-align: center;
    }
    
    .footer-icon {
        margin: 25px  25px 0 25px;
    }

    .footer-col-container {
        flex-direction: column;
    }

    .footer-col {
        width: 100%;
    }

    .footer-bottom p {
        width: 100%;
        text-align: center;
        margin: 5px;
     }
    .footer-accreditations img {
        height: 7vw;
    }

    .accreditations-container {

    }

    .service-card:nth-child(1),
    .service-card:nth-child(3) {
        translate: 0;
    }
}

 @media (max-width: 1000px) and (orientation: landscape) {

}

@media (max-width: 800px) {
    section, footer {
        padding: 70px 10%;
    }

    .hero-logo {
        width: 70dvw;
        height: auto;
    }
   .why-choose-us-container {
        flex-direction: column;
   }

    .why-choose-us-item img {
        display: block;
        height: 100px;
        width: auto;
    }

   .icon {
        font-size: 5rem;
    }

    .map {
        height: auto;
        aspect-ratio: 1;
        filter: grayscale(0);
    }

    .logo-mask {
        width: 50%;
    }

    .footer-copyright, .footer-built-by {
        font-size: 0.8rem;
    }


}

@media (max-width: 650px) {
    /* ========== WHOLE PAGE STYLES */
    p, ul, button {
        font-size: 1.2rem;
    }

    section > p {
        text-align: left;
    }

    .why-choose-us p {
        text-align: center;
    }

    .hide-on-mobile {
        display: none;
    }

    .mobile-full-width {
        display: block;
    }

    /* ======================= HERO */
    .hero {
        height: 90vh;
    }

    .hero-button-container {
        text-align: center;
    }

    .accreditations-container {
        gap: 0;
        padding: 0 5%;
    }
    
    .accreditations-container img {
       height: 25vw;
       max-height: 10000px;
    }


    /* ==================== BUTTONS */
    button {
        width: 100%;
     
    }
    
    .hero-button-light, .hero-button-dark {
        margin: 0 0 16px 0;
    }

     /* ================= SERVICES */



    .CTA h2 {
      
    }

    .accreditations-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .accreditations-section img {
        height: 12vw;
    }
}  

@media (max-width: 600px) {
    :root {
        --header-height: 50px;
        --header-height-reduced: 50px;
    }


    .hero-accreditations {
        text-align: center;
    }

    .hero-accreditations img {
        height: 80px;
    }

    .hero-text h1 {
        text-align: center;
        text-wrap: auto;
    }

    .hero-text h2 {
        font-size: 5vw;
        text-align: center;
    }

    section, footer {
        padding: 70px 5%;
    }

    header, .hero-text {
        padding: 0 5%;
    }

    .intro p {
        text-align: left;
    }


    .service-card-container {
        grid-template-columns: 1fr;
    }

    .service-card {
        font-size: 6vw;
        aspect-ratio: 2;
    }

    .service-card:nth-child(1), .service-card:nth-child(4) {
        aspect-ratio: 2;
    }
    
    .quote p {
        font-size: 1.4rem;
        text-align: left;
    }

    footer {
        padding-bottom: 0;
    }

    .footer-copyright, .footer-built-by {
        line-height: 1.4em;
    }
}


