/*******************************/
/********* General CSS *********/
/*******************************/
/* Custom scrollbar for Webkit browsers (Chrome, Safari) */
::-webkit-scrollbar {
    width: 15px;
}

::-webkit-scrollbar-track {
    background-color: rgb(48, 48, 48);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom,#1a3266, #00796b);
    border-radius: 10px;
    border: 3px solid rgb(48, 48, 48);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom,#1a3266, #00796b);
}


.insta-gradient {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
   background-clip: text;
  -webkit-text-fill-color: transparent;
}




.about-intro-section{
    margin-top: 10%;
}

html {
    overflow-x: hidden;
}

.textgradient {
  background: linear-gradient(to right, #00796b, #1a3266);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.dropdown-content a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    background-color: black;
    color: linear-gradient(181deg, #1a3266, #00796b);
    transition: all 0.5s ease;
}

/* Show the dropdown content on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Change background color of dropdown button on hover */
.dropdown:hover .dropbtn {
    outline: none;
    text-decoration: none;
    margin-bottom: 20px;
    color: linear-gradient(181deg, #1a3266, #00796b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dropdown {
    position: relative;
    color: linear-gradient(181deg, #e03b39, #284388);
}

/* Dropdown content */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: black;
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  color: linear-gradient(181deg, #e03b39, #284388);
  border-image: linear-gradient(181deg, #e03b39, #284388) 1;
  transition: all 0.5s ease;
  border: 2px solid transparent;
  text-align: center;
  height: 230px;
}

.dropdown:hover .dropdown-content {
  border-image: linear-gradient(181deg, #1a3266, #00796b) 1;
}

body {
    color: #797979;
    background: #000000;
    font-family: 'Lato', sans-serif;
    overflow-x: hidden;
    transition: .3s;
}

p {
    color: #ccc;
}
.navservice{
    font-size: 10px;
}

.navservice:hover,
a:active,
a:focus {
    outline: none;
    text-decoration: none;
    margin-bottom: 20px;
    background: linear-gradient(181deg, #1a3266, #00796b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn:focus,
.form-control:focus {
    box-shadow: none;
}

.container-fluid {
    max-width: 1366px;
}

.back-to-top {
    position: fixed;
    display: none;
    background: linear-gradient(181deg, #1a3266, #00796b);
    width: 44px;
    height: 44px;
    text-align: center;
    line-height: 1;
    font-size: 22px;
    right: 15px;
    bottom: 15px;
    transition: background 0.5s;
    z-index: 9999999;
}

.back-to-top i {
    outline: none;
    text-decoration: none;
    margin-bottom: 20px;
    background: white;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-top: 10px;
}

.back-to-top:hover {
    background: #092a49;
}

.back-to-top:hover i {
    color: #0796fe;
}

@media (min-width: 992px) {
    .mt-125 {
        margin-top: 125px;
    }
}

.quote-section-new p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: white;
}


/**********************************/
/*********** Nav Bar CSS **********/
/**********************************/

.navbar {
    position: relative;
    transition: .5s;
    z-index: 999;
}

.navbar.nav-sticky {
    position: fixed;
    top: 0;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .3);
    transition: .5s;
}

.navbar .navbar-brand {
    margin: 0;
    color: #ffffff;
    font-size: 24px;
    line-height: 0px;
    font-weight: 200;
    text-transform: uppercase;
}

.navbar .navbar-brand img {
    max-width: 100%;
    max-height: 40px;
}

.navbar-dark .navbar-nav .nav-link,
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    padding: 10px 10px 8px 10px;
    color: #ffffff;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    outline: none;
    text-decoration: none;
    margin-bottom: 20px;
    background: linear-gradient(181deg, #1a3266, #00796b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: none;
}

.navbar .dropdown-menu {
    margin-top: 0;
    border: 0;
    border-radius: 0;
    background: #f8f9fa;
}
.navbar-brand:hover{
    color: white;
}

@media (min-width: 992px) {
    .navbar {
        position: absolute;
        width: 100%;
        top: 35px;
        padding: 20px 60px;
        background: rgba(9, 42, 73, .2) !important;
        z-index: 1000;
    }

    .navbar.nav-sticky {
        padding: 10px 60px;
        background: #000000 !important;
        z-index: 1001;
    }
    
    .page .navbar {
        background: #000000 !important;
        position: relative;
        top: 0;
        padding: 15px;
    }

    .navbar a.nav-link {
        padding: 8px 15px;
        font-size: 14px;
        letter-spacing: 1px;
        text-transform: uppercase;
        display: inline-block;
    }
    
    .navbar-nav {
        display: flex !important;
        flex-direction: row !important;
    }
}

@media (max-width: 991.98px) {
    .navbar {
        padding: 15px;
        background: #092a49 !important;
        box-shadow: 0 2px 5px rgba(0, 0, 0, .3);
    }

    .page .navbar {
        background: #000000 !important;
    }

    .navbar-brand {
        font-size: 20px !important;
        line-height: normal !important;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .navbar-brand img {
        height: 35px !important;
        width: 35px !important;
        margin: 0 5px 0 0 !important;
    }

    .navbar-toggler {
        border-color: rgba(255, 255, 255, 0.5);
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg '%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    .navbar-collapse {
        background-color: #092a49;
        padding-bottom: 10px;
    }

    .page .navbar-collapse {
        background-color: #000000;
    }

    .navbar-nav {
        width: 100%;
        text-align: left;
        margin-top: 10px;
    }

    .navbar a.nav-link {
        padding: 12px 15px;
        font-size: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: background-color 0.3s ease;
    }

    .navbar a.nav-link:last-child {
        border-bottom: none;
    }

    .navbar a.nav-link:hover,
    .navbar a.nav-link.active {
        background-color: rgba(40, 67, 136, 0.2);
        color: #ffffff;
    }

    .navbar .nav-item.dropdown .nav-link {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar .dropdown-menu {
        background: #051d33;
        padding: 0;
        border-radius: 0;
        box-shadow: none;
        position: static;
        width: 100%;
    }

    .navbar .dropdown-item {
        color: #ffffff;
        padding: 10px 25px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        transition: background-color 0.3s ease;
    }

    .navbar .dropdown-item:last-child {
        border-bottom: none;
    }

    .navbar .dropdown-item:hover,
    .navbar .dropdown-item:focus {
        background-color: rgba(40, 67, 136, 0.3);
        color: #ffffff;
    }
}


.about-intro-section {
    padding: 60px 0;
    background: #000;
    color: #fff;
}

.about-intro-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(181deg, #1a3266, #00796b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-intro-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.call-button {
    background: linear-gradient(to right, #00796b, #1a3266);
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s, background-color 0.3s;
    display: inline-block;
    text-decoration: none;
}

.call-button:hover {
    transform: translateY(-3px);
    background: linear-gradient(to right,#1a3266, #00796b);
    color: #fff;
    text-decoration: none;
}

/* NEW CSS for background video hero section */
.hero-video-container {
    position: relative;
    width: 100%;
    height: 100vh; 
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000000;
}

.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: auto;
    z-index: 1;
    transform: translate(-50%, -50%);
    background-size: cover;
}

.hero-content-overlay {
    position: relative;
    z-index: 2;
    color: white;
    text-align: left;
    padding: 50px;
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: flex-start; 
    align-items: center;
    height: 100%;
}

.quote-section-new {
    max-width: 600px;
    color: white;
    text-align: left;
}

.quote-section-new h1{
    font-size: 40px;

}

#dynamicText {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

#dynamicSubText {
    font-size: 1.5rem;
    font-weight: 300;
    color: #ccc;
    margin-bottom: 20px;
    min-height: 45px;
}

.button-container-new {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.quote-btn-new {
    background: linear-gradient(to right, #00796b, #1a3266);
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease, padding 0.3s ease;
    width: auto;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
    color: aliceblue;
}

.quote-btn-new:hover ,.btn-energy-quote:hover{
    background: linear-gradient(to right,#1a3266, #00796b);
    color: white;
}

.quote-btn-new:focus {
    outline: none;
}

.view-quotes-link-new {
    margin-top: 20px;
    font-size: 1.1rem;
    color: #00bfae;
    text-decoration: none;
}

.view-quotes-link-new:hover {
    text-decoration: underline;
}


@media (max-width: 991.98px) {
    .hero-video-container {
        height: 100vh;
        padding: 40px 20px;
    }

    .background-video{
        display: none;
    }

    .hero-content-overlay {
        flex-direction: column;
        padding: 20px;
        text-align: center;
        justify-content: center;
    }

    .quote-section-new {
        max-width: 100%;
        text-align: center;
        margin-bottom: 30px;
    }

    #dynamicText {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .button-container-new {
        flex-direction: column;
        gap: 15px;
        margin-top: 15px;
        align-items: center;
    }

    .quote-btn-new {
        width: 100%;
        max-width: 300px;
        height: auto;
        padding: 12px 20px;
        font-size: 1.1rem;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        display: flex;
    }

    .quote-section-new h4{
        font-size: 1rem;
    }

    .quote-section-new p{
        font-size: 0.8rem;
    }
}

.section-header p {
    margin-bottom: 13px;
    position: relative;
    font-size: 20px;
}

.section-header h2 {
    margin: 0 0 0 40px;
    position: relative;
    font-weight: 200;
    background: linear-gradient(to right,#1a3266, #00796b);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-family: monospace;
    font-weight: 500;
    padding-bottom: 23px;
}

.section-header h2::after {
    content: "";
    position: absolute;
    width: 200px;
    height: 0;
    top: 23px;
    left: -40px;
    border-bottom: 30px solid;
    border-image: repeating-linear-gradient(60deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .05) 1.5%, rgba(0, 0, 0, .1) 1.5%, rgba(0, 0, 0, .1) 3%) 30;
}

.section-header h2:hover::after {
    border-image: repeating-linear-gradient(60deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .1) 1.5%, rgba(0, 0, 0, .05) 1.5%, rgba(0, 0, 0, .05) 3%) 30;
}

.section-header.text-center {
    text-align: center;
}

.section-header.text-center h2 {
    margin-left: 0;
}

.section-header.text-center h2::after {
    left: 50%;
    transform: translateX(-50%);
}

@media (max-width: 991.98px) {
    .section-header {
        text-align: center;
    }

    .section-header h2 {
        font-size: 45px;
        margin-left: 0;
    }

    .section-header h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 767.98px) {
    .section-header h2 {
        font-size: 40px;
    }
}

@media (max-width: 575.98px) {
    .section-header h2 {
        font-size: 35px;
    }
}



/*******************************/
/********* Contact CSS *********/
/*******************************/
.contact {
    position: relative;
    width: 100%;
    padding: 45px 0;
    background: #131313;
}

@media (min-width: 992px) {
    .contact {
        width: 93%;
        margin: 45px auto;
        border-radius: 11px;
    }
}

.contact .contact-info {
    position: relative;
    display: flex;
    align-items: center;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .1);
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 11px;
}

.contact .contact-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.contact .contact-icon {
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 6px;
    flex-shrink: 0;
}

.contact .contact-icon i {
    font-size: 18px;
    background: linear-gradient(to right, #1a3266, #00796b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;}

.contact .contact-text {
    position: relative;
    display: flex;
    flex-direction: column;
    padding-left: 15px;
}

.contact .contact-text h3 {
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.contact .contact-text p {
    margin: 0;
    font-size: 16px;
}

.contact .contact-form {
    position: relative;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, .1);
    margin-bottom: 30px;
    border-radius: 11px;
}

.contact .contact-form input,
.contact .contact-form textarea {
    padding: 15px;
    background: #000;
    border-radius: 6px;
    border: 1px solid #333;
    color: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.contact .contact-form input:focus,
.contact .contact-form textarea:focus {
    border-width: 1px;
    border-style: solid;
    border-image: linear-gradient(to right, #1a3266, #00796b);
    border-image-slice: 1;
    box-shadow: 0 0 10px rgba(0, 121, 107, 0.6);
    outline: none;
    background: #111;
}

.contact .contact-form .btn {
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #ffffff;
    background: linear-gradient(to right, #00796b, #1a3266);
    border: none;
    border-radius: 50px;
    transition: .3s;
    cursor: pointer;
    display: inline-block;
    width: auto;
}

.contact .contact-form .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.contact .help-block ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

@media (max-width: 767.98px) {
    .contact {
        width: 100%;
        margin-left: 0;
        padding: 30px 15px;
    }

    .contact .contact-info,
    .contact .contact-form {
        padding: 20px;
        margin-bottom: 20px;
    }

    .contact .contact-form .btn {
        width: 100%;
    }
}

/*******************************/
/********* Footer CSS **********/
/*******************************/
.footer {
    position: relative;
    margin-top: 45px;
    padding-top: 90px;
    background: #111;
}

.footer .footer-contact,
.footer .footer-link,
.footer .footer-newsletter {
    position: relative;
    margin-bottom: 45px;
    color: #ffffff;
}

.footer .footer-contact h2,
.footer .footer-link h2,
.footer .footer-newsletter h2 {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 10px;
    font-size: 22px;
    font-weight: 300;
    letter-spacing: 1px;
    color: #ffffff;
}

.footer .footer-contact h2::after,
.footer .footer-link h2::after,
.footer .footer-newsletter h2::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    bottom: 0;
    left: 0;
    background: #0796fe;
}

.footer .footer-link a {
    display: block;
    margin-bottom: 10px;
    color: #ffffff;
    transition: .3s;
}

.footer .footer-link a::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
    background: linear-gradient(to right, #00796b, #1a3266);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.footer .footer-link a:hover  {
    background: linear-gradient(to right,#1a3266, #00796b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    letter-spacing: 1px;
}

.footer .footer-contact p i {
    width: 25px;
}

.footer .footer-social {
    position: relative;
    margin-top: 20px;
}

.footer .footer-social a {
    display: inline-block;
}

.footer .footer-social a i {
    margin-right: 15px;
    font-size: 18px;
    color: #0796fe;
}

.footer .footer-social a:last-child i {
    margin: 0;
}

.footer .footer-social a:hover i {
    color: #999999;
}

.footer .footer-newsletter .form {
    position: relative;
    width: 100%;
}

.footer .footer-newsletter input {
    height: 60px;
    border: 2px solid #1d2434;
    border-radius: 0;
}

.footer .footer-newsletter .btn {
    position: absolute;
    top: 8px;
    right: 8px;
    height: 44px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #092a49;
    background: none;
    border-radius: 0;
    border: 2px solid #092a49;
    transition: .3s;
}

.footer .footer-newsletter .btn:hover {
    background: linear-gradient(to right,#1a3266, #00796b);
    transform: scale(1.05);
    color: white;
}

.footer .copyright {
    padding: 0 30px;
}

.footer .copyright .row {
    padding-top: 25px;
    padding-bottom: 25px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright p {
    margin: 0;
    color: #999999;
}

.footer .copyright .col-md-6:last-child p {
    text-align: right;
}
.footer .footer-title {
    font-size: 20px;
    font-weight: 600;
}

@media (max-width: 767.98px) {

    .footer .copyright p,
    .footer .copyright .col-md-6:last-child p {
        margin: 5px 0;
        text-align: center;
    }
}

/***************************************/
/********* Mouse Click Animation *******/
/***************************************/
.star-particle {
    position: fixed;
    z-index: 9999;
    font-size: 24px;
    color: #ffffff;
    pointer-events: none;
    animation: star-fly 1.5s ease-out forwards; 
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
}

@keyframes star-fly {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(0);
        opacity: 0;
    }
}


/* ===== MOBILE FIXES & IMPROVEMENTS ===== */

html, body {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

@media (max-width: 991.98px) {
  .header-container-new {
    flex-direction: column;
    padding: 20px 16px;
    margin-top: 30px;
    margin-bottom: 30px;
    align-items: center;
  }
  .image-section-new {
    order: -1;
    display: flex;
    justify-content: center;
  }
  .quote-image-new {
    max-width: 308px;
    width: 100%;
    height: 251px;
    object-fit: cover;
  }
}

@media (max-width: 575.98px) {
  .quote-image-new { max-width: 308px; width: 100%; }
  #dynamicText { font-size: 1.15rem; }
  #dynamicSubText { font-size: 0.95rem; }
  .quote-btn-new { font-size: 0.95rem; padding: 10px 14px; }
}

@media (max-width: 991.98px) {
  .navbar-collapse { background-color: #000000; padding-bottom: 12px; }
  .navbar-nav { display: flex; flex-direction: column; gap: 6px; }
  .navbar a.nav-link { padding: 12px 20px; font-size: 16px; }
  .navbar .nav-link { width: 100%; box-sizing: border-box; }
  .navbar .navbar-brand { display: flex; align-items: center; gap: 8px; }

  .navbar-collapse.collapse { display: none !important; }
  .navbar-collapse.collapse.show { display: block !important; }
}

@media (max-width: 767.98px) {
  .testimonial-ticker-wrapper {
    animation: scroll-left 30s linear infinite !important;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: fit-content;
  }
  .testimonial .testimonial-item {
    width: 250px !important;
    max-width: 250px;
    margin: 0 10px;
    display: flex;
    flex-shrink: 0;
  }

  
}

.partners-swiper .swiper-slide .partner-card {
  display:flex; flex-direction:column; align-items:center; justify-content:center; padding:12px;
}
.partners-swiper .partner-img img { max-width:100%; height: auto; object-fit: contain; }

@media (max-width: 575.98px) {
  .partners-swiper .swiper-slide { width: 220px !important; height: auto !important; }
}

.center-image { width: 120px; max-width: 30%; height: auto; }

@media (max-width: 991.98px) {
  .container, .container-fluid { padding-left: 12px; padding-right: 12px; }
  .service .service-item { padding: 18px; }
}

@media (min-width: 992px) and (max-width: 1366px) {
    .header-container-new {
        padding: 30px 40px;
        margin-top: 80px;
        margin-bottom: -100px;
    }
    
    .quote-image-new {
        height: 350px;
        margin-bottom: 40px;
    }
    
    .rotation-wrapper {
        width: 280px;
        height: 280px;
    }
    
    .rotating-circle {
        width: 130%;
        height: 130%;
    }
    
    .center-image {
        width: 120px;
        height: 60%;
    }
    
    .service .service-item {
        padding: 20px;
    }
    
    .service .service-item i {
        font-size: 60px;
    }
    
    .partners-swiper .swiper-slide {
        width: 250px;
        height: 180px;
    }
    
    .wheel-container {
        height: 280px;
    }
    
    .wheel {
        width: 180px;
        height: 120px;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .header-container-new {
        padding: 25px 30px;
        margin-top: 70px;
    }
    
    .quote-section-new {
        max-width: 500px;
    }
    
    #dynamicText {
        font-size: 1.8rem;
    }
    
    #dynamicSubText {
        font-size: 1.3rem;
    }
    
    .quote-btn-new {
        font-size: 1.1rem;
        padding: 12px 25px;
        height: 50px;
    }
    
    .quote-image-new {
        height: 300px;
    }
    
    .rotation-wrapper {
        width: 250px;
        height: 250px;
    }
    
    .center-image {
        width: 100px;
    }
}

@media (max-width: 768px) {
  .rotation-wrapper {
    width: 250px;
    height: 250px;
    margin-top: -80px;
    margin-bottom: 60px;
  }
  
  .about .row {
    margin-top: 180px;
  }
  
  .about .section-header {
    margin-bottom: 80px;
  }
  
  .about .about-text {
    text-align: center;
  }
  
  #about-btn {
    display: block;
    margin: 20px auto 0;
    width: 220px;
  }
  
  .quote-btn-new {
    width: 200px !important;
    max-width: 200px !important;
    font-size: 0.9rem !important;
    padding: 10px 16px !important;
  }
}

@media (max-width: 480px) {
  .rotation-wrapper {
    width: 200px;
    height: 200px;
    margin-top: -100px;
    margin-bottom: 80px;
  }
  
  .about .row {
    margin-top: 200px;
  }
  
  .about .section-header {
    margin-bottom: 100px;
  }
  
  .about .about-text {
    text-align: center;
  }
  
  #about-btn {
    display: block;
    margin: 20px auto 0;
    width: 220px;
  }
  
  .quote-btn-new {
    width: 180px !important;
    max-width: 180px !important;
    font-size: 0.85rem !important;
    padding: 8px 14px !important;
  }
}

.ready-to-save-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 80px;
    padding: 80px 60px;
    background-color: #000;
}

.ready-to-save-section .text-section {
    flex: 1;
    color: #fff;
    max-width: 600px;
}

.ready-to-save-section .text-section h1,
.ready-to-save-section .text-section h2,
.ready-to-save-section .text-section p {
    color: #fff;
}

.ready-to-save-section .image-section {
    flex: 1;
    display: flex;
    justify-content: center;
}

.ready-to-save-section .image-section img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 991.98px) {
    .ready-to-save-section {
        flex-direction: column;
        gap: 30px;
        padding: 40px 20px;
        text-align: center;
    }

    .ready-to-save-section .text-section {
        max-width: 100%;
    }
}


@media (max-width: 1300px) {

#dynamicText{
    font-size: 20px;
}
.quote-section-new p{
    font-size: 12px;
}
.quote-btn-new{
    font-size: 12px;
    padding:10px 12px;
}
.quote-image-new{
    margin-top: 2%;
}

.about-container h2{
    font-size: 30px;
}

.about-container p , .call-button{
    font-size: 12px;
}

.locations-we-serve h2{
    font-size: 30px;
}

.locations-we-serve p{
    font-size: 12px;
}

.locationweserveimg{
    height: 50%;
    width: 70%;
}

.locationweservename{
    font-size: 15px;
}

.service h2{
    font-size: 30px;
}

.service p{
    font-size: 12px;
}
.popup-source-details p{
    font-size: 12px;
}
.testimonial h2{
    font-size: 30px;
}

.testimonial p{
    font-size: 12px;
}

.testimonial-ticker-wrapper .testimonial-item p{
    font-size: 12px;
}

.service .row .service-item p{
    font-size: 12px;
}

.service .row .service-item h2{
    font-size: 30px;
}

.emergency-banner .emergency-content p , .emergency-banner .emergency-content ul li ,.emergency-banner .emergency-content .bottom-text , .emergency-banner .emergency-content  .emergency-btn{
    font-size: 12px ;
}
 .emergency-banner .emergency-content h2{
    font-size: 30px;
 }


 .new-section h2 ,.about-section .energysubhead{
    font-size: 30px;
 }
 .energy-title{
    font-size: 30px;
    margin-top: 2%;
 }

 .new-section p , .ready-to-save-section .content-right p{
    font-size: 12px;
 }

.another-section p ,.energy-para , .energy-benefits-list   li ,.energy-button-container .btn-energy-quote{
     font-size: 12px;
}

.about-section .container p ,.about-section .container .btn{
    font-size: 12px;
}

.services-section .fixheading  {
    font-size: 30px;
}

.services-section .service-card .fixheading {
    font-size: 20px;
}

.services-section .service-card p {
    font-size: 12px;
    padding-top: 20px;
}

.img-fluid{
    height: 30%;
}

}

@keyframes floatUpDn {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.another-section .img-fluid {
    animation: floatUpDn 3s ease-in-out infinite;
}


@media (min-width: 992px) and (max-width: 1200px) {
    .about-intro-section {
        margin-top: 10%;
    }
}


  /* =========================================
           TC SECTION
  ========================================= */
        
#tc-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: black;
    overflow: hidden;
    padding: 40px 0;
    position: relative;
    width: 100%;
    min-height: 100vh;
}

#tc-wrapper * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.tc-main-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    height: 600px;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.tc-carousel-section {
    flex: 1.5;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 100%;
}

.tc-carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tc-carousel-track {
    position: relative;
    width: 350px; 
    height: 250px; 
    transform-style: preserve-3d;
}

.tc-card {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(0, 0, -100px);
}

.tc-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tc-card.tc-center {
    opacity: 1;
    z-index: 10;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) scale(1.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.tc-card.tc-center img { filter: none; }

.tc-card.tc-up-1 {
    opacity: 0.6;
    z-index: 5;
    transform: translate3d(0, -160px, -100px) scale(0.9);
}
.tc-card.tc-up-1 img { filter: grayscale(100%); }

.tc-card.tc-down-1 {
    opacity: 0.6;
    z-index: 5;
    transform: translate3d(0, 160px, -100px) scale(0.9);
}
.tc-card.tc-down-1 img { filter: grayscale(100%); }

.tc-card.tc-up-2 {
    opacity: 0.3;
    z-index: 2;
    transform: translate3d(0, -290px, -200px) scale(0.8);
}
.tc-card.tc-up-2 img { filter: grayscale(100%); }

.tc-card.tc-down-2 {
    opacity: 0.3;
    z-index: 2;
    transform: translate3d(0, 290px, -200px) scale(0.8);
}
.tc-card.tc-down-2 img { filter: grayscale(100%); }

.tc-controls-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    z-index: 20;
}

.tc-nav-controls {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

.tc-btn {
    width: 50px;
    height: 50px;
    background: linear-gradient(to right,#1a3266, #00796b);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(43, 90, 158, 0.4);
    transition: transform 0.2s, background 0.2s;
    outline: none;
}

.tc-btn:hover {
    transform: scale(1.1);
    background: linear-gradient(to bottom,#1a3266, #00796b);
}

.tc-btn:active {
    transform: scale(0.95);
}

.tc-arrow-up {
    width: 0; 
    height: 0; 
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 12px solid white;
}

.tc-arrow-down {
    width: 0; 
    height: 0; 
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 12px solid white;
}

.tc-member-info {
    text-align: center;
    min-height: 80px;
}

.tc-member-name {
    background: linear-gradient(to right, #1a3266, #00796b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.tc-member-name::before,
.tc-member-name::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 60px;
    height: 2px;
    background: white;
}
.tc-member-name::before { left: -80px; }
.tc-member-name::after { right: -80px; }

.tc-member-role {
    color: #848696;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.tc-dots {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.tc-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: background 0.3s;
}

.tc-dot.tc-active {
    background: linear-gradient(to right, #1a3266, #00796b);
    transform: scale(1.2);
}

#tc-super-btn {
    position: fixed;
    right: 32px;
    bottom: 32px;
    z-index: 1000;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
#tc-super-btn img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 768px) {
    .tc-main-container {
        flex-direction: column;
        height: auto;
        gap: 40px;
    }
    
    .tc-carousel-track {
        width: 280px;
        height: 180px;
    }

    .tc-member-name { font-size: 1.5rem; }
    .tc-member-name::before, .tc-member-name::after { width: 40px; }
    .tc-member-name::before { left: -50px; }
    .tc-member-name::after { right: -50px; }

    .tc-card.tc-up-1 { transform: translate3d(0, -120px, -100px) scale(0.9); }
    .tc-card.tc-down-1 { transform: translate3d(0, 120px, -100px) scale(0.9); }
    .tc-card.tc-up-2 { transform: translate3d(0, -220px, -200px) scale(0.8); }
    .tc-card.tc-down-2 { transform: translate3d(0, 220px, -200px) scale(0.8); }
}


/* =========================================
   Holographic Cards & Modal
   ========================================= */

.holographic-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.holographic-card {
  width: 100%;
  max-width: 350px; 
  margin: 0 auto; 
  cursor: pointer;
  height: 200px;
  background: #111;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  transition: all 0.5s ease;
}

.holographic-card h2 {
  color: rgb(34, 177, 177);
  font-size: 1rem;
  position: relative;
  padding: 20px;
  text-align: center;
  z-index: 2;
}

.holographic-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(0deg, transparent, transparent 30%, rgba(0,255,255,0.3));
  transform: rotate(-45deg);
  transition: all 0.5s ease;
  opacity: 0;
  
  /* ADD THIS LINE */
  pointer-events: none; 
}

.holographic-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0,255,255,0.5);
}

.holographic-card:hover::before {
  opacity: 1;
  transform: rotate(-45deg) translateY(100%);
}


/* Modal Overlay */
.service-modal-overlay {
    display: none; 
    position: fixed;
    z-index: 10000; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); 
    backdrop-filter: blur(5px); 
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-modal-overlay.active {
    display: flex;
    opacity: 1;
}

/* Modal Box */
.service-modal-content {
    background-color: #111;
    width: 90%;
    max-width: 800px;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 0 30px rgba(0, 121, 107, 0.9);
    border: 1px solid #333;
    overflow: hidden;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.service-modal-overlay.active .service-modal-content {
    transform: scale(1);
}

/* Close Button */
.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #00796b;
}

/* Modal Layout */
.modal-body {
    display: flex;
    flex-direction: row;
    max-height: 80vh;
}

.modal-img-container {
    flex: 1;
    background: #000;
    overflow: hidden;
}

.modal-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Text Area */
.modal-text-container {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(145deg, #111, #0d0d0d);
}

.modal-text-container h2 {
    font-size: 28px;
    margin-bottom: 20px;
    background: linear-gradient(to right, #00796b, #1a3266);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text; 
    display: inline-block; 
}

.modal-text-container p {
    color: #ccc;
    font-size: 16px;
    line-height: 1.6;
}

/* The Button Inside Modal - FIXED */
.custom-modal-btn {
    display: inline-block; 
    text-decoration: none; 
    text-align: center;
    margin-top: 25px;
    background: linear-gradient(to right, #00796b, #1a3266);
    color: white !important; /* Force white text */
    padding: 12px 25px;
    font-size: 1.1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: auto; 
    max-width: 200px; 
}

.custom-modal-btn:hover {
    background: linear-gradient(to right, #1a3266, #00796b);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 121, 107, 0.4);
}

@media (max-width: 768px) {
    .modal-body {
        flex-direction: column;
        overflow-y: auto;
    }
    
    .modal-img-container {
        height: 200px;
        flex: none;
    }
    
    .modal-text-container {
        padding: 25px;
    }
    
    .service-modal-content {
        width: 95%;
    }
}



/*******************************/
/******* Testimonial CSS *******/
/*******************************/
.testimonial {
    position: relative;
    width: 100%;
    padding: 45px 0;
}

.testimonial-ticker-container {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    position: relative;
}

.testimonial-ticker-container::-webkit-scrollbar {
    display: none;
}

.testimonial-ticker-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}


.testimonial-ticker-wrapper {
    display: flex;
    width: fit-content;
    animation: scroll-left 40s linear infinite;
}

.testimonial-ticker-container:hover .testimonial-ticker-wrapper {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.testimonial .testimonial-item {
    padding: 12px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    width: 280px;
    margin: 0 12px;
    background: #111;
    border: 1px solid #111;
    border-radius: 10px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.testimonial .location-item {
    padding: 12px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    width: 280px;
    margin: 0 12px;
    background: #111;
    border: 1px solid #111;
    border-radius: 10px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    height: 50vh;
}

.testimonial .testimonial-item:hover , .service-card:hover {
    transform: translateY(-5px);
    border-width: 1px;
    border-style: solid;
    border-image: linear-gradient(to right, #1a3266, #00796b);
    border-image-slice: 1;
    box-shadow: 0 0 10px rgba(0, 121, 107, 0.6);
    outline: none;
    background: #111;
}

.testimonial .location-item:hover , .service-card:hover {
    transform: translateY(-5px);
    border-width: 1px;
    border-style: solid;
    border-image: linear-gradient(to right, #1a3266, #00796b);
    border-image-slice: 1;
    box-shadow: 0 0 10px rgba(0, 121, 107, 0.6);
    outline: none;
    background: #111;
}

.testimonial .testimonial-item img {
    width: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 1px solid white;
    height: 80px;

}

.testimonial .location-item img {
    width: 100%;
    border: 1px solid white;
    height: 90%;

}

.testimonial .testimonial-item p {
    margin-bottom: 15px;
    font-size: 15px;
    flex-grow: 1;
}

.testimonial .location-item p {
    font-size: 20px;
    flex-grow: 1;
    text-align: center;
}

.testimonial .testimonial-item .reviewer-name {
    color: #ffffff;
    font-size: 16px;
    font-weight: normal;
    letter-spacing: 1px;
    margin-bottom: 5px;
    margin-top: 0;
}

.testimonial .testimonial-item .reviewer-city {
    color: #e03b39;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 2px;
    margin: 0;
}

.testimonial .location-item .tst-des {
    text-align: center !important;
}


.btn-energy-quote {
    background: linear-gradient(to right, #00796b, #1a3266);
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease, padding 0.3s ease;
    width: 300px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
    color: aliceblue;
}