* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
html {
    scroll-behavior: smooth;
}


/* Menu Bar */

header {
    background-color: #2c2b2d;
    position: sticky;
    top: 0;
    z-index: 250;
}
li {
    list-style: none;
}
a {
  color: white;
  text-decoration: none;  
}
.navbar {
    min-height: 70px;
    display: flex;
    justify-content:end;
    align-items: center;
    padding: 0 30px;
}
.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}
.nav-link {
    transition: 0.7s ease;
}
.nav-link:hover {
  color: #d9d9d9;  
}
.hamburger {
    display: none;
    cursor: pointer;
}
.bar {
    display: block;
    width: 25px;
    height: 3px;    
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: white;
}

@media(max-width: 768px) {
    .hamburger {
        display: block;
    }
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    .nav-menu {
       position: fixed; 
       left: -100%;
       top: 70px;
       gap: 0;
       flex-direction: column;
       background-color:#2c2b2d;
       width: 100%;
       text-align: center;
       transition: 0.3s;
    }
    .nav-item {
        margin: 16px 0;
    }
    .nav-menu.active {
        left: 0;
    }
}




/* Cover */

.main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 100vw;
    min-height: 100vh;
    background-image: url("images/EagleCover.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
}
.branding {
    margin-top: 3rem;
}
.branding img {
   border-radius: 22px;
   box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
}
.main h1 {
    position: relative;
    font-size: 2rem;
    font-weight: 600;
    margin: 5rem 0.5rem 0;
    text-shadow: 1px 2px 6px #2c2b2d;
    text-align: center;
    max-width: 1000px; 
    color: rgb(255, 255, 255);
}
.telephone {
    background-color:#d9d9d9; 
    margin: 3rem 0.7rem 2rem;
    padding: 0.5rem 2rem;
    color: #2c2b2d;
    font-size: 1rem;
    font-weight: 100;
    text-align: center;
    transition: color 0.2s ease-in;
    transition: 0.5s ease-in;
    border-radius: 12px;
}

/* Services */


.subh {
    text-align: center;
    max-width: 1000px;
    margin: 5rem auto 2rem;
    color: #2c2b2d;
}
.subh h3 {
    margin-top: 1rem;
    font-size: 1.1rem;
    padding: 12px;
    font-weight: 600;
    color: #2c2b2d;
}


.homeservices {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items:flex-start;
    max-width: 1000px;
    margin: 2.5rem auto 0;
    color: #2c2b2d;
}
.servicesoverview {
 border: 1px solid #2c2b2d;
 margin: 15px;
 padding: 15px;
 background-color: rgb(255, 255, 255);
 box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
 width: 300px; 
 height: 380px;
 color: #2c2b2d;
}
.homeservices img {
    height: 50px;
    width: auto;
    margin-top: 1rem;
}
.homeservices h2 {
    margin-top: 0.1rem;
    font-size: 1.2rem;
    padding: 12px;   
}

.homeservices p {
    margin-top: 0.1rem;
    font-size: 1.1rem;
    padding: 12px;
    font-weight: 400;   
}

.otherservs {
    max-width: 1000px;
    margin: 2rem auto 0;
    text-align: center;
    line-height: 2.5rem;
}
.otherservs h2 {
    margin-top: 1rem;
    font-size: 1.6rem;
    padding: 12px; 
    color: #2c2b2d;
}
.otherservs h3 {
    margin-top: 0.5rem;
    font-size: 1.1rem;
    padding: 12px;
    font-weight: 600; 
    color: #2c2b2d; 
}
.otherservs a {
    color: #2c2b2d;
    font-style: italic;
    font-weight: 100;
}

/* About Us */

.about {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    color: #2c2b2d;
}

.about h2 {
    margin-top: 5rem;
    font-size: 1.6rem;
    padding: 12px;   
}
.about hr {
    height: 2px;
    border-width: 0;
    width: 200px;
    background-color: #2c2b2d;
}
.about h3 {
    margin-top: 1rem;
    font-size: 1.1rem;
    padding: 12px;
    font-weight: 600;   
}
.about p {
    margin-top: 1rem;
    font-size: 1rem;
    padding: 12px;
    font-weight: 400;
}
.consultation {
    text-align: center;
    padding: 12px;
    font-weight: 600;
    height: auto;
}
.consultation p {
    margin: 5rem 0 2rem;
    font-size: 1.3rem;
    font-weight: 400;
    color: #2c2b2d;
}
.contactus {
    margin-top: 3rem;
    margin-bottom: 3rem;
    background-color: #2c2b2d;
    padding: 8px 12px;
    border: none;
    color: rgb(255, 255, 255);
    border-radius: 10px;
    font-size: 1rem;
    transition: color 0.2s ease-in;
}
.contactus:hover {
    color:#d9d9d9;
    cursor: pointer;
}


/*slide*/


.banner {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    max-height: 425px;
}
.slider {
    max-width: 800px;
    margin: 5rem 1rem 0;
}
#slideImg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoom 3s linear infinite;
}
@keyframes zoom {
    0%{
        transform: scale(1.05);
    }
    15%{
        transform: scale(1);
    }
    85%{
        transform: scale(1);
    }
    100%{
        transform: scale(1.05);
    }
}

/*Contact us */

.estimatescover {
    background-image: url("images/EagleCover.jpg");
    background-size: cover;
    background-position: center;
    height: 250px;
    width: auto;
    margin-top: 5rem;
}

.estimates {
    margin: 1rem auto;
    max-width: 1000px;
    text-align: center;
    padding: 12px;
    font-weight: 600;
    height: auto;
    color:#2c2b2d;
}
.estimates h3 {
    margin-top: 1rem;
    font-size: 1.5rem;
    padding: 12px;
    font-weight: 600;
}
.estimates p {
    margin-top: 1rem;
    font-size: 1rem;
    padding: 12px;
    font-weight: 400;
}
.contactus {
    margin: 3rem 1.5rem;
    background-color: #2c2b2d;
    padding: 8px 12px;
    border: none;
    color: rgb(255, 255, 255);
    border-radius: 10px;
    font-size: 1rem;
    transition: color 0.2s ease-in;
}
.contactus:hover {
    color:#d9d9d9;
    cursor: pointer;
}

/*Forma general */


.formageneral {
    max-width: 720px;
    margin: 3rem auto 3rem;
    text-align: center;
}
h1 {
    font-size: 1.5rem;
    color: #2d2b2c;
    font-weight: 600;
    padding-bottom: 20px;
}
p {
    color: #2d2b2c;
}

.forma {
   max-width: 1000px; 
   margin: 0 auto;
   padding: 5%;
}
form {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
    padding: 20px 0;
}
input, textarea, label {
    display: block;
    margin: 0 auto;
    width: 100%;
    color: #2c2b2d;
}
input, textarea {
    background-color: transparent;
    border: 0;
    border-bottom: 2px solid #828282;
}
input[type=submit] {
    background-color: #2c2b2d;
    padding: 15px 0;
    color: rgb(255, 255, 255);
    font-size: 18px;
    border-bottom: none;
    margin-top: 30px;
    cursor: pointer;
    transition: all .3s ease;
}
input[type=submit]:hover {
    background: #2c2b2d;
    color: #d9d9d9;
}
input, textarea {
    color: #2c2b2d;
    font-size: 18px;
    padding: 10px;
}
input:focus, textarea:focus {
    outline: 1px solid #2c2b2d;
}



/* Footer */

footer {
    background-color: #2c2b2d;
    position: relative;
    bottom: 0;
    min-height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 24px;
    text-align: center;
    color: rgb(255, 255, 255);
    font-size: 0.6rem;
    font-weight: normal;
    letter-spacing: inherit;
}
@media(max-width: 600px) {
    .main h1 {
        position: relative;
        font-size: 1.62rem;
        margin: 4rem 0.5rem 0;
    }
    .telephone {
        background-color:#d9d9d9; 
        margin: 1.5rem 2rem 2rem;
        font-size: 0.8rem;
    }
}