/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Get Fonts */

@font-face {
    font-family: 'Glancyr Thin';
    font-weight: 100;
    src: url("../fonts/Glancyr-Thin.otf") format("opentype");
}

@font-face {
    font-family: 'General Sans';
    font-weight: 400;
    src: url("../fonts/GeneralSans-Regular.otf") format("opentype");
}

@font-face {
    font-family: 'General Sans';
    font-weight: 500;
    src: url("../fonts/GeneralSans-Medium.otf") format("opentype");
}

@font-face {
    font-family: 'General Sans';
    font-weight: 600;
    src: url("../fonts/GeneralSans-Semibold.otf") format("opentype");
}

@font-face {
    font-family: 'Grifter';
    font-weight: 600;
    src: url("../fonts/grifterbold.otf") format("opentype");
}

/* Styles */
body {
    font-family: 'General Sans', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    font-size: 1.2rem;
    color: #1A1C1D;
    background-image: url("../images/topo-light.png");
    background-size: cover;
    background-attachment: fixed;
    background-position: left;
    background-repeat: no-repeat;
    font-weight: 500;
}

/* Header and navigation */
header {
    background-color: #1A1C1D;
    color: #D6D3C1;
    padding: .8rem 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    font-family: 'General Sans', Helvetica, Arial, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo img {
    height: 46px;
    padding: 0;
    margin: 4px 0 0 0;
}

.nav-menu {
    display: flex;
}

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

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: #D6D3C1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ea9323;
}

/* Hamburger menu styles */
.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #d5d3c1;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Main content */
main {
    padding-top: 80px;
}

section {
    padding: 4rem 2rem;
    margin: 0 auto;
}

h1, h2, h3 {
    margin-bottom: 4rem;
    color: #D6D3C1;
}

h2 {
    font-family: Grifter, Helvetica, Arial, sans-serif;
    letter-spacing: .1rem;
    font-size: 3rem;
    text-align: center;
    line-height: 3.3rem;
}

h4 {
    font-family: 'General Sans', Helvetica, Arial, sans-serif;
    font-weight: 500;
    letter-spacing: .05rem;
    font-size: 1.7rem;
    text-align: center;
    color: #676B73;
    margin-bottom: 4rem;
}

/* Parallax sections */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    padding: 6rem 2rem;
}

#home {
    height: 56.25vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: -5px;
}

#home h1 {
    font-family: Grifter, Helvetica, Arial, sans-serif;
    letter-spacing: .1rem;
    font-size: 5.5rem;
    line-height: 4.8rem;
    margin-bottom: 2rem;
}

#home p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    font-size: 1.1rem;
    border: solid #d5d3c1 2px;
    letter-spacing: .5px;
    color: #d5d3c1;
    padding: 1rem 1.5rem;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, border 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: #da6927;
    border: solid #da6927 2px;
    transform: translateY(-5px);
}

.chevron {
    width: 3rem;
    position: fixed;
    bottom: 15%;
    left: 50%;
    transform: translate(-50%);
    fill: #d5d3c1;
}

@-webkit-keyframes blink {
    0% {
        opacity:1;
        bottom:15%;
    }
    50% {
        opacity:0;
        bottom:17%;
    }
    100% {
        opacity:1;
        bottom:15%;
    }
}
@-moz-keyframes blink {
    0% {
        opacity:1;
        bottom:15%;
    }
    50% {
        opacity:0;
        bottom:17%;
    }
    100% {
        opacity:1;
        bottom:15%;
    }
}
.chevron {
-webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    -ms-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
    
    -webkit-animation-direction: normal;
    -webkit-animation-duration: 2s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-name: blink;
    -webkit-animation-timing-function: ease-in-out;
    
-moz-animation-direction: normal;
    -moz-animation-duration: 2s;
    -moz-animation-iteration-count: infinite;
    -moz-animation-name: blink;
    -moz-animation-timing-function: ease-in-out;    
}



/* Benefits section */

#benefits {
    background-color: #1A1C1D;
    padding-top: 5rem;
    padding-bottom: 7rem;
    margin-top: -6px;
}

.benefit-grid {
    display: grid;
    margin-top: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit {
    text-align: center;
    padding: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit:hover {
    transform: translateY(-5px);
}

.benefit img {
    width: 100%;
    max-width: 150px;
    margin-bottom: 1rem;
}

.benefit p {
    color: #D6D3C1;
    font-size: 1.5rem;
}

/* Gas Producers section */
#gas-producers {
    width: 100%;
}

#gas-producers h2 {
    color: #333;
}

#gas-producers h3 {
    font-size: 2.5rem;
    color: #DA6927;
    text-align: left;
    margin-top: -1rem;
    font-weight: 600;
    line-height: 3.3rem;
}

#gas-producers p {
    text-align: left;
    margin-bottom: 2rem ;
    font-weight: 500;
    line-height: 2.5rem;
    color: #333;
}

#gas-producers li {
    text-align: left;
    font-size: 1.5rem;
    margin-bottom: 1.5rem ;
    font-weight: 500;
    color: #af7c37;
    list-style: none;
}

#gas-producers i {
    margin-right: 1rem;
    color: #ae7c36;
}

.gas-producers-flex {
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    gap: 2rem;
}

.gas-producers-img {
    text-align: left;
    margin-bottom: 1rem;
    flex: 30%;
}

.gas-producers-img img {
    width: 100%;
    max-width: 600px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.gas-producers-text {
    width: 100%;
    flex: 60%;
}

.gas-producers-text ul {
    list-style-position: outside;
}

/* Services section */
#services {
    background-image: url("../images/container-well.jpg");
    background-size: cover;
    width: 100%;
    height: 80vh;
    min-height: 100%;
    padding: 10rem;
    overflow: visible;
    position: relative;
    z-index: 2;
}

.services-content {
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center;
    top: 500px;
    background-color: #111;
    max-width: 1000px;
    padding: 2rem 2rem 2rem 5rem;
    z-index: 3;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.services-content ol {
    text-align: left;
    color: #DA6927;
    font-size: 2.1rem;
    line-height: 2.5rem;
    font-family: Grifter, Helvetica, Arial, sans-serif;
}

.services-content span {
    color: #80868E;
    font-weight: 400;
    font-size: 1.1rem;
    font-family: 'General Sans', Helvetica, Arial, sans-serif;
}

/* Testimonials section */
#testimonials {
    padding-top: 10rem;
    margin-top: 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background-color: #edece8;
    padding: 2rem;
    border-radius: 2px;
    text-align: left;
    transition: transform 0.3s ease;
}

.testimonial p {
    color: #1A1C1D;
}

.testimonial:hover {
    transform: scale(1.05);
}

.testimonial img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.rating {
    color: #FFD700;
    margin-top: 1rem;
}

/* Contact form */
#contact {
    background-image: url("../images/topo-light.png");
    background-size: cover;
    padding-top: 10rem;
}

#contact h2 {
    color: #333;
}

#contact-form {
    display: grid;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    font-family: 'General Sans', Helvetica, Arial, sans-serif;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'General Sans', Helvetica, Arial, sans-serif
    font-size: 1rem;
}

#contact-form textarea {
    height: 8rem;
}

#contact-form button {
    display: inline-block;
    background-color: rgba(0,0,0,0);
    font-size: 1.1rem;
    border: solid #1a1c1d 2px;
    letter-spacing: .5px;
    color: #1a1c1d;
    padding: 1.2rem 1.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s ease, border 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

#contact-form button:hover {
    background-color: #da6927;
    border: solid #da6927 2px;
    transform: translateY(-5px);
    color: #d5d3c1;
}

/* Team section */
#team {
    background-color: #1A1C1D;
}

#team h2 {
    margin-top: 4rem;
}

#team h3 {
    margin-bottom: 1rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.team-member {
    background-color: #242728;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-member img {
    width: 129px;
    height: 150px;
    object-fit: cover;
    margin-bottom: 1rem;
}

.team-member h3 {
    color: #80868E;
    font-weight: 600;
}

.team-member p {
    font-family: 'Glancyr Thin', Helvetica, Arial, sans-serif;
    font-weight: 100;
    text-transform: uppercase;
    color: #676B73;
    font-size: .9rem;
    letter-spacing: .1rem;
}

/* Footer */
footer {
    background-image: url("../images/topo-dark.png");
    background-size: cover;
    color: #D6D3C1;
    padding: 2rem;
    font-size: 1rem;
    font-weight: 400;
}

footer h3 {
    color: #D6D3C1;
    font-weight: 600;
}

.contact-info i {
    color: #D6D3C1;
    display: inline-block;
    float: left;
    margin: .3rem 1rem 0 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 0 auto;
}

.contact-info,
.social-links,
.legal-links {
    flex: 1;
    min-width: 200px;
}

.social-links a {
    color: #D6D3C1;
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

.social-links a:hover, 
.legal-links a:hover, 
.contact-info a:hover {
    color: #ea9323;
}

.legal-links a, .contact-info a {
    color: #D6D3C1;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.copyright {
    text-align: center;
    margin-top: 2rem;
    font-size: .8rem;
    color: #D6D3C1;
}

/* Animations and transitions */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

.nav-menu, .hamburger-menu {
    transition: all 0.3s ease;
}

.image.fill {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.image.fill img {
    height: 100vh;
    right: 0;
    position: relative;
    top: 0;
}

.heading {
    position: relative;
    top:0;
    right:0;
    z-index:1;
}

.videobg {
    width: 99.5vw;
    margin: 0 0 0 -8px;
    padding: 0;
}

.footer-content h3 {
        margin: 3rem 0 1rem 0;
    }

#legal {
    color: #aeada7;
    width: 100%;
    background-color: #1A1C1D;
    padding: 6rem 10rem;
}

#legal h1 {
    font-family: Grifter, Helvetica, Arial, sans-serif;
    letter-spacing: .1rem;
    font-size: 3rem;
    text-align: center;
    color: #45464d;
}

#legal h3 {
    font-weight: 600;
    margin-bottom: 1rem;
}

#legal p {
    font-weight: 400;
    font-size: 1rem;
    margin-bottom: 2rem;
}

#legal ul {
    margin: 0 0 2rem 1rem;
}

#legal li {
    list-style: disc;
    font-weight: 400;
    font-size: 1rem;
    padding-left: 1rem;

}

/* Responsive design */
@media screen and (max-width: 800px) {
    body:before {
      content: "";
      display: block;
      position: fixed;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      z-index: -10;
      background: url("../images/topo-light-mobile.png") no-repeat center center;
      -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;
    }

    .hamburger-menu {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #1a1a1a;
        padding: 1rem;
    }

    .nav-menu.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 1rem 0;
    }

    section {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }

    section.visible {
        opacity: 1;
        transform: translateY(0);
    }

    #home {
        height: 80vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: #1a1c1d;
    }

    .image.fill {
        overflow: hidden;
    }

    .videobg {
        margin: 0;
        width: 280vw;
        position: relative;
        left: -137vw;
    }

    #home h1 {
        font-size: 3rem;
        line-height: 3.2rem;
    }

    #home h4 {
        color: #d5d3c1;
    }

    #home p {
        font-size: 1.2rem;
    }

    .heading {
    position: absolute;
    top: 14vw;
    }

    #home h4 {
        font-size: 1.3rem;
        padding: 0 1rem 2rem 1rem;
        margin-bottom: 1rem;
    }

    #gas-producers {
        padding-bottom: 0;
    }

    .gas-producers-flex {
        flex-wrap: wrap;
    }

    .gas-producers-img, .gas-producers-text {
        flex: 100%;
    }

    #gas-producers h3 {
        font-size: 2rem;
        line-height: 2.7rem;
        margin-bottom: 2rem;
    }

    #gas-producers p {
        font-size: 1.3rem;
    }

    #services {
        background-size: contain;
        height: 100%;
        padding: 20rem 0 10rem;
    }

    #services h2 {
        margin: 0;
    }

    .services-content {
        top: 22.3rem;
        font-size: 1.3rem;        
    }

    .services-content span {
        font-size: 1.3rem;        
    }

    #contact-prequal {
        display: block;
        padding-top: 8rem;
    }

    #contact {
        padding-top: 34rem;
        background-size: 180%;
        background-position: center;
    }

    .footer-content {
        flex-direction: column;
    }
}