/* Global Styles */
:root {
    --primary-color: #2A9D8F;
    --secondary-color: #264653;
    --accent-color: #E9C46A;
    --light-color: #F5F5F5;
    --dark-color: #52597b;
    --gray-color: #E5E5E5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
  background: var(--secondary-color);
}
body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #eaeaea;
    -webkit-font-smoothing: antialiased;
    font-size: 22px;
    line-height: 1.4;
}

body.no-scroll {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    /* font-family: 'Oswald', sans-serif; */
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 {
    font-size: 4.5rem;
    line-height: 1;
    letter-spacing: 2px;
}

h2 {
    font-size: 26px;
    margin-bottom: 4rem;
    font-weight: 400;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.8rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

ul {
    list-style: none;
}

.btn {
    display: flex;
    align-items: stretch;
    padding: 0;
    background-color: transparent;
    color: #4b4b4b;
    border-radius: 50px;
    font-weight: 300;
    font-size: 1rem;
    /* text-transform: lowercase; */
    transition: all 0.3s ease;
    border: none;
    overflow: hidden;
}

.btn span {
    padding: .6rem 3.3rem .5rem 3rem;
    background-color: #9ec1a9;
    border-radius: 50px 0 0 50px;
    transition: all 0.3s ease;
}

  .btn i {
      margin-left: 2px;
      font-size: 1.2rem;
      line-height: 1;
      background-color: #9ec1a9;
    /* border-left: 1px solid rgba(0, 0, 0, 0.1); */
    padding: 0.8rem .7rem .7rem;
    /* height: 100%; */
    display: flex;
    align-items: center;
    border-radius: 0 50px 50px 0;
    transition: all 0.3s ease;
    font-weight: 300; /* Force normal font weight */
    color: #4b4b4b;
    width: auto;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn:hover span,
.btn:hover i {
    background-color: rgba(141, 198, 171, 1);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #191919;
    color: #191919;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.btn-secondary:hover {
    background-color: #191919;
    color: #eaeaea;
}

section {
    padding: 5rem 5.45vw;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* z-index: 101; */
    padding-left: 5.45vw;
    padding-right: 5.45vw;
}

.logo img {
    height: 130px;
    display: block;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 2.5rem;
}

.nav-links li:first-child {
    margin-left: 0;
}

.nav-links a {
    color: white;
    font-weight: 300;
    font-size: 1.6rem;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.nav-links a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Mobile Navigation */
.hamburger {
    display: none;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    z-index: 1000;
    position: fixed;
    top: 40px;
    right: 25px;
}

.hamburger-line {
    display: block;
    width: 30px;
    height: 3px;
    margin: 6px auto;
    background-color: white;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 1px 3px rgba( 0, 0, 0, .45);
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: rgba(75, 75, 75, .92);
    z-index: 100;
    overflow: hidden;
    transition: height 0.4s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mobile-nav-overlay.active {
    height: 100%;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.mobile-nav-overlay.active .mobile-nav-links {
    opacity: 1;
    /* display: flex; */
}

.mobile-nav-links li {
    margin: 1.5rem 0;
}

.mobile-nav-links a {
    color: white;
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
    text-decoration: none;
}

.mobile-nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #9ec1a9;
    transition: width 0.3s ease;
}

.mobile-nav-links a:hover::after {
    width: 100%;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
header {
    min-height: 700px;
    height: 52.8vw;
    background-image: url('images/masthead.jpg');
    background-size: 120% auto;
    background-position: top left;
    color: white;
    position: relative;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    box-sizing: border-box;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: .2;
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 1;
    padding-left: 5.45vw;
    margin-left: 0;
    box-sizing: border-box;
}

.hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: none;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: rgba(82, 89, 123, 0.4) 4px 4px 0px;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 4rem;
    text-shadow: rgba(82, 89, 123, 0.5) 2px 2px 2px;
    line-height: 1.5;
}

/* About Section */
.about-section {
    /* background-color: #fff; */
    padding-bottom: 0;
}

.about-section h3 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Services Section */
.services-section {
    /* background-color: var(--gray-color); */
}

.services-grid {
    display: flex;
    column-gap: 4rem;
}
.first-service-card {width: 35%;}

.first-service-card h2 {
  margin-bottom: 6rem;
  margin-top: 2rem;
}
.the-rest-of-the-cards {
  display: flex;
  flex-wrap: wrap;
  column-gap: 4rem;
  row-gap: 2rem;
  justify-content: flex-start;
  width: 65%;
}

.the-rest-of-the-cards .service-card {
  width: calc( 50% - 2rem);
}
.service-card {
    background-color: #9ec1a9;
    padding: 2rem;
    border-radius: 36px;
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    /* transform: translateY(-10px); */
}

.service-card img {
    height: 120px;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.4rem;
    color: #fff;
    font-weight: 400;
    margin-bottom: 0;
}

/* Network Section */
.network-section {
    color: #fff;
    position: relative;
    overflow: hidden;
    z-index: 1;
    padding-top: 4rem;
    padding-bottom: 4rem;
    min-height: 52.25vw;
    display: flex;
    width: 100%;
    box-sizing: border-box;
    background: #0b2232;
}

.network-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    z-index: -2;
    opacity: 0; /* Start hidden, JS will handle fading */
    transition: opacity .8s ease; /* 0.8 second fade transition */
}

.network-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.95);
    width: 100%;
}

.network-content h2 {
    /* text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.95); */
    margin-bottom: 0;
    font-size: 1.5rem;
    width: 420px;
    max-width: 100%;
}

.network-content ul {
    font-size: 1.5rem;
}

.network-content li {
    margin-top: 0.55rem;
    /* text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.95); */
}

/* Values Section */
.values-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: center;
}

.values-content h2 {
    color: var(--secondary-color);
    line-height: 1.3;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
}

.values-content h2 br {
  /* display: none; */
}

.values-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    padding-right: 20px;
}

.values-list i {
    color: rgb(158 193 169);
    margin-right: 1.5rem;
    margin-top: 0.3rem;
}

.values-image img {
    width: 100%;
    border-radius: 90px;
    display: block;
}

/* FAQ Section */
.faq-section {
    /* background-color: var(--gray-color); */
}

.faq-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.faq-section h2 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.faq-container {
    /* max-width: 800px; */
    margin: 0 auto;
}

.faq-item {
    /* background-color: white; */
    border-radius: 5px;
    /* margin-bottom: 1rem; */
    overflow: hidden;
    border-top: 1px solid #79726f;
}

.faq-item:first-child {
  border-top: none;
}

.faq-question {
    padding: 2rem 1.5rem 2rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    /* border-bottom: 1px solid #79726f; */
}

.faq-question h3 {
    margin-bottom: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
}

.faq-plus {
    font-size: 4.5rem;
    color: rgb(158 193 169);
    line-height: .8;
    transition: transform .5s ease, color .5s ease;
}

.faq-answer {
    padding: 0 1.5rem 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

.faq-answer p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    display: block;
}

.faq-item.active .faq-answer {
    /* padding: 0 1.5rem 0 3rem; */
    max-height: 150px;
    /* border-bottom: 1px solid #79726f; */
}

.faq-item.active .faq-plus {
    transform: rotate(315deg);
    color: rgb(82 89 123);
}

.faq-question:hover .faq-plus {
  color: rgb(82 89 123);
}

/* Contact Section */
.contact-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 8rem;
}

.contact-left {
    width: 50%;
    text-align: left;
    padding-right: 2rem;
}

.design-label {
    color: #52c8e5;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.contact-left h2 {
    color: var(--secondary-color);
    font-size: 3rem;
    line-height: 1.4;
    font-weight: 400;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.contact-right {
    width: 50%;
    padding-top: 1rem;
}

#jotform-container {
    width: 100%;
    min-height: 500px;
}

#JotFormIFrame-251804698102053 {
    width: 100%;
    min-height: 539px;
    border: none;
}

.contact-item {
    display: flex;
    align-items: center;
    width: 460px;
    max-width: 100%;
    margin: 1.2rem auto 0;
}

.contact-item:first-child {
  margin-top: 0;
}

.contact-item i {
    color: #eaeaea;
    font-size: 1.3rem;
    margin-right: 1rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #52597b;
    border-radius: 50%;
}

.contact-item i.fa-phone-alt {
  transform: rotate(100deg);
}

.contact-item p {
    font-size: 1.3rem;
    margin-bottom: 0;
    color: var(--secondary-color);
}

/* Footer */
footer {
    background-color: rgb(75, 75, 75);
    color: white;
    text-align: center;
    padding: 2.8rem 1.5rem;
}

footer p {
  margin-bottom: 0;
}

/* Bottom Contact Section */
.bottom-contact {
    background-color: #eaeaea;
    padding: 5rem 5.45vw;
    text-align: center;
}

.bottom-contact h2 {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 3rem;
    font-weight: 700;
}

.bottom-contact-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    gap: 2rem;
}

.bottom-contact .contact-item {
    margin: 0 1rem;
    justify-content: center;
}

.bottom-contact .btn {
    margin: 0 auto;
    display: inline-flex;
}

/* Responsive Design */
@media screen and (max-width: 1000px) {
    .network-content ul {
  font-size: 1.2rem;
  padding-top: 2.5rem;
}
.faq-item.active .faq-answer {
    max-height: 160px;
}
.network-content h2 {
  font-size: 1.3rem;
}
    .contact-left h2 {
  font-size: 2.2rem;
}
}
@media screen and (max-width: 900px) {
    header {
        background-size: auto 120%;
        background-position: top center;
    }
    .logo img {
        height: 105px;
    }
    section {
    padding: 3.5rem 25px;
}

nav {
    padding: 1rem 25px;
}

.hero-content {
    padding-left: 25px;
}

h2 {
    margin-bottom: 3rem;
}
    .faq-item.active .faq-answer {max-height: 190px;}
    .faq-answer p {
  /* font-size: 18px; */
}
    .services-grid {
        flex-direction: column;
      }
      
      .first-service-card {
        width: 100%;
        margin-bottom: 2rem;
      }
      
      .the-rest-of-the-cards {
        width: 100%;
        gap: 2rem;
      }
      
      .the-rest-of-the-cards .service-card {
        width: calc( 50% - 1rem);
      }

.first-service-card h2 {
  margin-bottom: 3rem;
}

.service-card img {
  height: 100px;
}
    .network-section:before {
  content: '';
  position: absolute;
  display: block;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  z-index: -1;
  background: rgba(0,0,0,.35);
}
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 2rem;
    }

.faq-section h2 {
    font-size: 2.6rem;
}

    section {
        padding: 3rem 5%;
    }

    .logo img {
        height: 100px;
    }
    nav {
        padding: 1rem 5%;
    }

    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: block;
    }

    header {
        min-height: auto;
        height: auto;
        padding: 120px 0 80px;
    }

    .hero-content {
        padding-left: 5%;
        padding-right: 5%;
    }

.hero-content h1, .hero-content p {
    text-shadow: rgba(82, 89, 123, 0.4) 4px 4px 0px, rgba(0, 0, 0, 0.8) 2px 2px 20px, rgba(0, 0, 0, 0.4) 2px 2px 20px;
}

header::before {
    opacity: .4;
}

.hero-content p {
    text-shadow: rgba(82, 89, 123, 0.4) 4px 4px 0px, rgba(0, 0, 0, 0.8) 1px 1px 20px, rgba(0, 0, 0, 0.8) 2px 2px 20px, rgba(0, 0, 0, 0.8) 1px 1px 20px;
    line-height: 1.65;
}
    
    nav {
        padding-left: 5%;
        padding-right: 5%;
    }
.faq-item.active .faq-answer {max-height:250px;}

.faq-answer p {}
    .values-section {
        grid-template-columns: 1fr;
    }

.values-image {
  margin-top: 2rem;
}

    .contact-section {
        padding: 2rem 5% 3rem;
        flex-direction: column;
    }
    
    .contact-left, .contact-right {
        width: 100%;
        padding-right: 0;
    }

.contact-left {
  text-align: center;
}

.contact-left h2 {
  margin: 0 auto 2rem;
}

.contact-left .btn {justify-content: center;}
    
    .contact-right {
        padding-top: 3rem;
    }
    .faq-header {
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}
    .faq-question {
  padding: 1rem 1rem 1rem 0;
}
    .faq-question h3 {
  font-size: 1.5rem;
}
}

@media screen and (max-width: 500px) {
    h1 {
        font-size: 2.4rem;
    }

.about-section h3, .values-content h2 {
    font-size: 1.8rem;
}
.faq-item.active .faq-answer {max-height:320px;padding: 0 .8rem;}
.faq-question h3 {
    font-size: 1.3rem;
}
header::before {
    opacity: .45;
}
.faq-plus {
    font-size: 3rem;
}

p, .values-list li {
    font-size: 20px;
}

.faq-answer p {
  font-size: 18px;
}


    h2 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 1rem;
        font-weight: 500;
        text-shadow: rgba(82, 89, 123, 0.4) 4px 4px 0px, rgba(0, 0, 0, 0.8) 1px 1px 20px, rgba(0, 0, 0, 0.8) 2px 2px 20px, rgba(0, 0, 0, 0.8) 1px 1px 20px, rgba(0, 0, 0, 0.8) 1px 1px 20px, rgba(0, 0, 0, 0.9) 1px 1px 20px;
    }

    .btn {
        /* padding: 0.7rem 1.5rem; */
        font-size: 0.9rem;
    }
    .the-rest-of-the-cards .service-card {
        width: 100%;
      }

.service-card img {
  height: 80px;
}
} 

@media screen and (max-width: 250px) {
    
  .faq-item.active .faq-answer {
  max-height: 420px;
}
}