/* overall styles  */

* {
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: #fff;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

body {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    line-height: 1.15;
    font-size: 1em;
    color: #6d6d6d;
    scroll-behavior: smooth;
}

html, body {
	padding: 0px;
	margin: 0px;
}

p {
    margin: 0;
} 

small {
    font-weight: 300;
} 

main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    flex-grow: 1;
}

.band {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.contact-band {
    padding-top: 4.6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.section {
    padding: 0 1rem;
}

@media screen and (min-width: 680px) and (max-width: 1000px) {
    main {
        gap: 4.4rem;
    }

    .section {
        padding: 0 2rem;
    }
}

@media screen and (min-width: 1000px) {
    main {
        gap: 8rem;
    }

    .section {
        padding: 0 2rem;
    }
}

/* heading-styles  */

.h1 {
    font-size: 2.125em;
    margin: 0;
    color: #1c252c;
}

.h2 {
    font-size: 2.125em;
    margin: 0;
    color: #1c252c;
}

.h3 {
    font-size: 1.75em;
    margin: 0;
    color: #1c252c;    
}

.h4 {
    font-size: 1.8rem;
    margin: 0;
    color: #1c252c;    
}

@media screen and (min-width: 1000px) {
    .h1 {
        font-size: 2.8em;
        margin: 0;
        color: #1c252c;
        line-height: 1;
    }
    
    .h2 {
        font-size: 2.125em;
        margin: 0;
        color: #1c252c;
    }
    
    .h3 {
        font-size: 1.75em;
        margin: 0;
        color: #1c252c;    
    }    
}

@media screen and (min-width: 1200px) {
    .h1 {
        font-size: 3.375em;
        margin: 0;
        color: #1c252c;
        line-height: 1;
    }
    
    .h2 {
        font-size: 2.125em;
        margin: 0;
        color: #1c252c;
    }
    
    .h3 {
        font-size: 1.75em;
        margin: 0;
        color: #1c252c;    
    }    
}

/* hero section styles */

.hero-section {
    display: flex; 
    flex-direction: column;
    gap: 1rem;
    padding: 4.6rem 0 0 0;
}

.hero-media {
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 6/4; 
    width: 100%;  
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0 1rem;
}

@media screen and (min-width: 680px) and (max-width: 1000px) {
    .hero-content {
        padding: 0 2rem;
    }
}

@media screen and (min-width: 1000px) {
    .hero-section {
        flex-direction: row-reverse;
        align-items: center;
        justify-content: space-between;
        height: 100vh;
        max-width: 75rem;
        padding: 0 2rem;
        gap: 2rem;
    }
    
    .hero-media {
        flex: 50%;  
        border-radius: 1rem;
    }
    
    .hero-content {
        flex: 50%;
        gap: 1rem;
        padding: 0;
    }
}

/* two cards section styles */

.two-cards-section {
    display: flex; 
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.two-cards-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 100%;
}

.two-cards-media {
    display: flex;
    justify-content: center;
    align-items: center; 
    aspect-ratio: 6/4; 
    overflow: hidden;
    background-color: grey;
    flex: 100%;
    border-radius: 1rem; 
    overflow: hidden;
}

.two-cards-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media screen and (min-width: 680px) {
    .two-cards-section { 
        flex-direction: row;
        align-items: start;
        justify-content: space-between;
        width: 100%;
        max-width: 75rem;
    }   
}

/* four cards section styles  */

.four-cards-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.four-cards-two-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.four-cards-card {
    display: flex;
    flex-direction: column;
    flex: 100%; 
    gap: 1rem;        
}

@media screen and (min-width: 680px) and (max-width: 1000px) {
    .four-cards-two-cards {
        display: flex;
        flex-direction: row;
        align-items: start;
        justify-content: space-between;
        gap: 1rem;
    }  
}

@media screen and (min-width: 1000px) {
    .four-cards-two-cards {
        display: flex;
        flex-direction: row;
        align-items: start;
        justify-content: space-between;
        gap: 1rem;
    }

    .four-cards-section { 
        flex-direction: row;
        align-items: start;
        justify-content: space-between;
        width: 100%;
        max-width: 75rem;
    }   
}

/* contact section styles  */

.contact-section {
    padding: 2rem 1rem;     
}

.contact-form {
    background-color: #fff;
    display: flex; 
    flex-direction: column;
    gap: 2rem; 
    padding: 2rem;
    border-radius: 1rem;
    width: 100%; 
    max-width: 45rem;  
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media screen and (min-width: 680px) and (max-width: 1000px) {
    .contact-section {
        padding: 2.2rem 2rem;     
    }    
}

@media screen and (min-width: 1000px) {
    .contact-section {
        padding: 4.4rem 2rem;     
    }    
}

.form-a {
    color:#6d6d6d;
    font-weight: 400;
    text-decoration: underline;  
}

.form-a:hover {
    color: #1c252c;
}

.contact-form-input-holder {
    position: relative;
    border: 2px solid #6d6d6d;
    border-radius: 1rem;
    padding: 1rem;
    width: 100%
}

.contact-form-input {
    height: 1.8rem;
    border: none;
    font-size: 1.2rem;
    color: #6d6d6d;
    width: 100%
}

.contact-form-input:focus {
    outline: none;
}

.contact-form-textarea-holder {
    position: relative;
    border: 2px solid #6d6d6d;
    border-radius: 1rem;
    padding: 1rem;
    width: 100%
}

.contact-form-textarea {
    height: 10rem;
    border: none;
    font-size: 1.2rem;
    color: #6d6d6d;
    width: 100%   
}

.contact-form-textarea:focus {
    outline: none;
}

.contact-form-input:focus ~ .contact-form-input-floating-label,
.contact-form-input:not(:focus):valid ~ .contact-form-input-floating-label,
.contact-form-textarea:focus ~ .contact-form-textarea-floating-label,
.contact-form-textarea:not(:focus):valid ~ .contact-form-textarea-floating-label {  
    top: 0.6rem;
    font-size: 0.8rem;
    opacity: 1;
}

.contact-form-input-floating-label {
    position: absolute;
    transform: translateY(-50%);
    top: 50%;
    left: 1.1rem;
    pointer-events: none;
    transition: 0.2s ease all;
    font-size: 1.2rem;
}

.contact-form-textarea-floating-label {
    position: absolute;
    transform: translateY(-50%);
    top: 1.8rem;
    left: 1.1rem;
    pointer-events: none;
    transition: 0.2s ease all;
    font-size: 1.2rem;
}

/* three cards section styles */

.three-cards-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.three-cards-content {
    text-align: center;
    max-width: 30rem;
}

.three-cards-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.three-cards-icon {
    font-size: 2.4em;
    color: #FFA800;
}

@media screen and (min-width: 1000px) {
    .three-cards-section {
        flex-direction: row;
        align-content: start;
        gap: 1rem;
        width: 100%;
        max-width: 75rem;
    }    
}

/* footer styles */

footer {
    background-color: #202525;
    padding-top: 2rem;
    padding-bottom: 1rem;
    color: #fff;
    width: 100%;
}

.footer-section {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 2rem;   
    width: 100%; 
}

.footer-icon {
    margin-right: 0.6rem;   
}

.footer-a, .footer-social-a {
    color: #fff;
}

.footer-a:hover, .footer-social-a:hover {
    color: #6d6d6d;
}

.footer-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}



@media screen and (min-width: 680px) and (max-width: 1000px) {
    footer {
        padding-top: 2.2rem;
    }

    .footer-section {
        flex-direction: row;
        justify-content: space-between;
        gap: 2rem;
        width: 100%;
    }   
}

@media screen and (min-width: 1000px) {
    footer {
        padding-top: 2.2rem;
    }

    .footer-section {
        flex-direction: row;
        justify-content: space-between;
        gap: 2rem;
        width: 100%;
        max-width: 75rem;
    }    
}


/* misc styles */

.testimonial-card {
    border-radius: 1rem;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    padding: 1rem;
}

.icon-card {
    padding: 1.6rem;
    border-radius: 1rem;  
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    background-color: #fff;
}

.five-stars {
    display: flex;
    flex-direction: row;
}

.star-icon {
    font-size: 1.6rem;
    color: yellow;
}

.vh-100 {
    height: auto;
}

.picture {
    width: 100%;
    height: auto;
}

.grey-background {
    background-color: #f9f9f9; 
}

@media screen and (min-width: 1000px) {
    .vh-100 {
        height: 100vh;
    }
    
}



