@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
body {
      margin: 0;
       font-family: "Roboto", sans-serif;
      background-color: #f1f4f9;
    }

    .main-container {
      display: flex;
      flex-wrap: wrap;
     /* min-height: 100vh;*/
    }
	.hero-container {
      display: flex;
      flex-wrap: wrap;
      background: #333333;
      background: linear-gradient(90deg, rgba(51, 51, 51, 1) 54%, rgba(233, 33, 43, 1) 54%);
    }

    .curve-div{margin-bottom: -2px;}


    .left-section {
      color: #fff;
      padding:40px 0 0;
      flex: 1 1 50%;
      display: flex;
      flex-direction: column;
      justify-content: start;
      max-width: 650px;
    }

    .left-section h1 {
      font-size: 48px;
      font-weight: 800;
      color: #e42222;
    }

    .left-section p {
    	font-size: 18px;
    	margin-bottom: 20px;
    	background: #1010105c;
		padding:10px;
}

    .btn-red-outline {
      background-color: #e42222;
      color: #fff;
      border: none;
      border-radius: 30px;
      font-weight: bold;
      padding: 12px 32px;
      font-size: 18px;
      transition: all 0.3s ease;margin-right: auto;
      border: 2px solid #fff;
    }

    .btn-red-outline:hover {
      background-color: #fff;
      color: #e42222;
    }

    .right-section {
      color: white;
      flex: 1 1 50%;
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: start;
    }

    .call-now-btn {     
      background-color: white;
      color: #e42222;
      border: none;
      padding: 12px 24px;
      border-radius: 30px;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 16px;
      margin-left: auto;
    }


    .form-control {
      border-radius: 10px;
      font-size: 16px;
      min-height: 52px;
    }

    .form-control:focus {
      box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.3);
      border-color: #fff;
    }

    .form-area button {
      background-color: white;
      color: #e42222;
      border-radius: 30px;
      font-weight: bold;
      padding: 10px 32px;
      border: none;
    }

    .fade-in {
      animation: fadeInUp 1s ease-out;
    }

    @keyframes fadeInUp {
      0% {
        opacity: 0;
        transform: translateY(20px);
      }
      100% {
        opacity: 1;
        transform: translateY(0);
      }
    }


.after-hero {
    max-width: 900px;
    margin: auto;
    text-align: center;
    padding-bottom: 3rem;
}
.after-hero h4 {
    font-size: 18px;font-weight: bold;
}

/*About*/

.about-section {
      padding: 100px 20px;
      background-color: #fff;
      
    }
img.dottImage {
    margin-left: -22px;
    position: relative;
    top: -20px;
}
    .image-wrapper {
      position: relative;
      width: 100%;
      max-width: 590px;
      padding: 0;
    }

    .image-wrapper .img-main {
      position: relative;
      z-index: 3;
      width: 100%;
      display: block;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    .image-wrapper::before {
      content: "";
      position: absolute;
      top: -20px;
      left: -20px;
      width: 40%;
      height: 90%;
      background-color: #2f2f2f;
      z-index: 1;
    }

    .image-wrapper::after {
      content: "";
      position: absolute;
      bottom: -20px;
      right: -20px;
      width: 92px;
      height: 166px;
      background-color: #e41e26;
      z-index: 2;
    }

    .about-title {
      font-weight: 700;
      font-size: 2.5rem;
      margin-bottom: 10px;
    }
.about-section p{font-size: 20px;line-height: 1.3;font-family: "Nunito Sans", sans-serif;padding-top: 1rem;}

    .about-title::after {
      content: '';
      display: block;
      width: 50px;
      height: 4px;
      background-color: #e41e26;
      margin-top: 5px;
      border-radius: 2px;
    }

    .get-quote-btn {
      background-color: #e41e26;
      color: #fff;
      font-weight: bold;
      padding: 12px 40px;
      border-radius: 50px;
      border: none;
      margin-top: 20px;
      transition: 0.3s;
      text-decoration: none;
    }

    .get-quote-btn:hover {
      background-color: #b9001a;
    }

    .get-quote-btn.invert{
      border: 2px solid #fff;
      background:#e41e26; 
    }

/**/
.our-services{padding: 80px 0 60px;}
.our-services h2{
font-size: 56px;font-weight: bolder;color: #fff;
}
.section3 {   
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}
.section3 .row1 {
    background: var(--white, #ffffff);
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: stretch;
    justify-content: flex-start;
    flex-shrink: 0;
    width: 100%;max-width: 1440px;
    position: relative;
}
.section-text2 {
    background: #e9212b;
    padding: 80px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
    justify-content: flex-start;
    flex: 1;
    position: relative;
}
.picture {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    flex: 1;
    position: relative;
    object-fit: cover;
}
.top2 {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    justify-content: flex-start;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
}
.row2 {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: flex-start;
    justify-content: flex-start;
    flex-shrink: 0;
    width: 100%;
    max-width: 1440px;
    position: relative;
}
.rgs{position: relative;}
.rgs img{width: 100%;}
.arrow-bg {
    position: absolute;
}
.content-rgs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    color: #fff;
}
.content-rgs h2{font-size: 4rem;}

.get_a_quote{
      display: flex;
      flex-wrap: wrap;
      background: #333333;
      background: linear-gradient(90deg,  #e9212b 45%, #F1F5F9 45%);
      padding:0 0 50px;
}
.get-quote-container h2,.our-work h2{font-size: 56px;font-weight: bolder;color: #0F172A;}
.get-quote-container h5,.our-work h5{font-size: 40px;line-height: 1.3;font-family: "Nunito Sans", sans-serif;padding-top: 1rem;}

.relative {
    position: relative;
}
.our-work{padding: 60px 0;background: #fff;}


.frame-190 {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    justify-content: flex-start;
    width: auto;
    position: absolute;
    left: 136px;
    top: 166px;
}
.frame-188 {
    background: #ffffff;
    padding: 20px 30px 20px 30px;
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0px 20px 41px 0px rgba(0, 0, 0, 0.1);
}
.frame-189 {
    border-radius: 50px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.8);
    border-width: 1px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    position: relative;
}
.send-us-a-text {
    color: #000000;
    text-align: left;
    font-size: 24px;
    line-height: 140%;
    font-weight: 400;
    position: relative;
}

.frame-1902 {
    background: #ffffff;
    padding: 20px 30px 20px 30px;
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0px 20px 41px 0px rgba(0, 0, 0, 0.1);
}

.col6 {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    width: 636px;
    position: relative;
}

.col7 {
    padding: 80px 0px 0px 0px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-end;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}
.col8 {
    padding: 32px 0px 0px 0px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    justify-content: flex-start;
    flex-shrink: 0;
    position: relative;
}
.col9 {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    justify-content: flex-start;
    flex-shrink: 0;
    position: relative;
}
.col10 {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}
.pictureItem {
    border-radius: 5px;
    display: flex;
    flex-direction: row;
    gap: 0px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    box-shadow: var(--shadow-dark-m-box-shadow, 0px 0px 4px 0px rgba(0, 0, 0, 0.07), 0px 4px 6px -1px rgba(0, 0, 0, 0.1));
    object-fit: cover;
}

.review-arrow{
background: #fff;
}
.review-section {
      background-color: #1d2939;
      padding: 60px 20px;
      position: relative;
      overflow: hidden;
    }

    .review-section::before {
      content: "";
      position: absolute;
      top: 0;
      left: -50%;
      width: 200%;
      height: 100px;
      background-color: #1d2939;
      transform: rotate(-3deg);
      z-index: 1;
    }

    .review-container {
      position: relative;
      max-width: 1200px;
      margin: auto;
      z-index: 2;
    }

    .review-title {
      color: white;
      font-size: 56px;
      font-weight: bolder;
      text-align: center;
      margin-bottom: 30px;
    }
 

    .scroll-wrapper {
      position: relative;
    }

    .scroll-container {
      display: flex;
      gap: 20px;
      overflow-x: auto;
      padding-bottom: 10px;
      scroll-behavior: smooth;
      cursor: grab;
      scroll-snap-type: x mandatory;
    }

    .scroll-container::-webkit-scrollbar {
      display: none;
    }

    .review-card {
      flex: 0 0 320px;
      background-color: white;
      border-radius: 10px;
      padding: 30px;
      scroll-snap-align: start;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

    .review-card h5 {
      font-weight: 700;
      margin-bottom: 5px;
      font-size: 18px;
    }

    .review-card small {
      color: #888;
      margin-bottom: 15px;
      display: block;
    }

    .review-card p {
      font-size: 15px;
      color: #333;
    }

    .nav-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: white;
      border-radius: 50%;
      width: 40px;
      height: 40px;
      text-align: center;
      line-height: 40px;
      font-size: 18px;
      cursor: pointer;
      color: #1d2939;
      box-shadow: 0 0 5px rgba(0,0,0,0.3);
      z-index: 3;
    }

    .nav-arrow.left {
      left: -20px;
    }

    .nav-arrow.right {
      right: -20px;
    }

    @media (max-width: 768px) {
      .nav-arrow {
        display: none;
      }

      .scroll-container {
        padding: 0;
      }
    }

.faq-section {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      background: linear-gradient(-15deg, #45505f 60%, #e3242b 40%);
      padding: 60px 30px;
      color: white;
    }

    .faq-image {
      flex: 1 1 400px;
      max-width: 500px;
      padding: 10px;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .faq-image img {
      width: 100%;
      border-radius: 20px;
      border: 5px solid white;
    }

    .faq-content {
      flex: 1 1 500px;
      padding: 10px 40px;
    }

    .faq-title {
      font-size: 56px;
      font-weight: bolder;
      margin-bottom: 30px;
    }

    .accordion-item {
      background-color: #4a5568;
      margin-bottom: 10px;
      border-radius: 8px;
      padding: 20px;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .accordion-item.active {
      background-color: #3b4655;
    }

    .accordion-question {
      font-weight: bold;
      position: relative;
      padding-right: 25px;
      font-size: 18px;
    }

    .accordion-toggle {
      position: absolute;
      right: 0;
      top: 0;
      font-size: 20px;
      line-height: 1;
    }

    .accordion-answer {
      margin-top: 10px;
      display: none;
      color: #ddd;
      font-size: 16px;
    }

    .accordion-item.active .accordion-answer {
      display: block;
    }

    @media (max-width: 768px) {
      .faq-section {
        flex-direction: column;
        text-align: center;
      }

      .faq-content {
        padding: 20px;
      }
    }



   .footer {
      background-color: #1d2939;
      color: #fff;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 40px;
      flex-wrap: wrap;
    }

    .footer-left {
      font-size: 14px;
      margin: 0 auto;
    }

    .footer-right {
      display: flex;
      align-items: center;
      gap: 25px;
      flex-wrap: wrap;
    }

    .footer-link {
      color: #ccc;
      text-decoration: none;
      font-size: 14px;
      transition: color 0.3s ease;
    }

    .footer-link:hover {
      color: #fff;
    }

    .footer-icon {
      display: flex;
      align-items: center;
      gap: 8px;
      color: #ccc;
      font-size: 14px;
    }

    .footer-icon i {
      font-size: 16px;
    }

    @media (max-width: 600px) {
      .footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
      }

      .footer-right {
        justify-content: center;
      }
    }
/*-----Gravity Form Style-----*/
#gform_fields_1 {
    row-gap: 16px;
}
#input_1_1, #input_1_3, #input_1_5, #input_1_6 {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
    border: var(--bs-border-width) solid var(--bs-border-color);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    border-radius: 10px;
    font-size: 16px;
    min-height: 52px;
}
#gform_submit_button_1 {
    background-color: white;
    color: #e42222;
    border-radius: 30px;
    font-weight: bold;
    padding: 10px 32px;
    border: none;
}
#gform_1_validation_container {
    display: none;
}
.validation_message {
    color: #ffffff !important;
    font-weight: 600 !important;
}
a {
    text-decoration: none;
}

.hero-container {
    background: url(https://midtennasphalt.com/wp-content/themes/absolute_asphalt/assets/images/hero.jpg) left top no-repeat #e9212b;background-size: contain;
}
.hero-container .container { z-index: 1;}
.hero-container .curve-div { z-index: 1;}

@media screen and (max-width: 768px) {
  .hero-container {background-size: 920px;}  
  .hero-container:after{display:none}
}