/* ==============================
   HVAC MODIFIED STYLESHEET
   ============================== */

@import url('https://fonts.googleapis.com/css2?family=Aldrich&family=Dosis:wght@300;400;500;600;700;800&family=Barlow+Condensed:wght@400;500;600;700;800&display=swap');

:root {
    --red: #c20000;
    --red-dark: #9a0000;
    --red-light: #e84040;
    --navy: #1a3154;
    --navy-light: #243f68;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --gray: #677284;
    --light-gray: #e9ecef;
    --text: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Dosis", sans-serif;
    color: var(--text);
    overflow-x: hidden;
}

img { max-width: 100%; }
a { text-decoration: none; transition: all 0.3s ease; }

h1, h2, h3, h4, h5, h6 {
    font-family: "Aldrich", sans-serif;
    font-weight: 400;
}

/* ==============================
   PRELOADER
   ============================== */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.5s;
}
.preloader-icon {
    width: 70px;
    height: 70px;
    background: var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 1.2s ease infinite;
}
.preloader-icon i {
    font-size: 30px;
    color: #fff;
    animation: spin 2s linear infinite;
}
.preloader p {
    margin-top: 16px;
    font-family: "Aldrich", sans-serif;
    color: var(--red);
    letter-spacing: 2px;
    font-size: 14px;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); box-shadow: 0 0 0 12px rgba(194,0,0,0.15); }
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==============================
   TOP BAR
   ============================== */
.topbar {
    background: var(--navy);
    padding: 8px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.85);
}
.topbar a { color: rgba(255,255,255,0.9); }
.topbar a:hover { color: var(--red-light); }
.topbar span i { color: var(--red-light); }

/* ==============================
   HEADER / NAVBAR
   ============================== */
.site-header {
    background: var(--white);
    padding: 14px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 999;
    transition: all 0.3s ease;
}
.site-header.scrolled {
    padding: 8px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.brand-icon {
    font-size: 28px;
    color: var(--red);
    display: inline-block;
}
.brand-name {
    font-family: "Aldrich", sans-serif;
    font-size: 22px;
    color: var(--red);
    letter-spacing: 1px;
}

.nav-link {
    font-family: "Dosis", sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: var(--navy) !important;
    padding: 6px 16px !important;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}
.nav-link:hover { color: var(--red) !important; }

.btn-call {
    background: var(--red);
    color: #fff !important;
    padding: 8px 22px;
    border-radius: 4px;
    font-family: "Dosis", sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    transition: background 0.3s;
}
.btn-call:hover { background: var(--red-dark); color: #fff !important; }

/* Custom toggler */
.custom-toggler {
    border: none;
    background: none;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}
.custom-toggler span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--navy);
    transition: all 0.3s;
}
.navbar-toggler:focus { box-shadow: none; }

/* ==============================
   BUTTONS
   ============================== */
.btn-primary-hvac {
    display: inline-flex;
    align-items: center;
    background: var(--red);
    color: #fff;
    padding: 12px 28px;
    border-radius: 4px;
    font-family: "Dosis", sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: background 0.3s, transform 0.2s;
    text-decoration: none;
}
.btn-primary-hvac:hover {
    background: var(--red-dark);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-hvac {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: var(--white);
    padding: 11px 28px;
    border-radius: 4px;
    border: 2px solid rgba(255,255,255,0.6);
    font-family: "Dosis", sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    text-decoration: none;
}
.btn-outline-hvac:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-color: #fff;
}

.btn-light-hvac {
    display: inline-flex;
    align-items: center;
    background: #fff;
    color: var(--red);
    padding: 12px 28px;
    border-radius: 4px;
    font-family: "Dosis", sans-serif;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s;
    text-decoration: none;
}
.btn-light-hvac:hover {
    background: var(--red);
    color: #fff;
}

/* ==============================
   SECTION COMMON
   ============================== */
.section-tag {
    display: inline-block;
    background: rgba(194,0,0,0.1);
    color: var(--red);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.section-tag.light {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.section-title {
    font-family: "Aldrich", sans-serif;
    font-size: 36px;
    color: var(--navy);
    line-height: 1.2;
}
.section-desc {
    color: var(--gray);
    font-size: 16px;
    max-width: 560px;
    margin: 10px auto 0;
}

/* ==============================
   HERO SECTION
   ============================== */
.hero-section {
    display: flex;
    min-height: 90vh;
    overflow: hidden;
    margin-top: 0;
}

.hero-left {
    flex: 0 0 50%;
    background: var(--navy);
    display: flex;
    align-items: center;
    padding: 80px 60px 80px 80px;
    position: relative;
    overflow: hidden;
}

.hero-left::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: rgba(194,0,0,0.08);
    border-radius: 50%;
}
.hero-left::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(194,0,0,0.2);
    color: #ff6b6b;
    border: 1px solid rgba(194,0,0,0.4);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.hero-title {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 56px;
    font-weight: 800;
    color: var(--red);
    line-height: 1;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 42px;
    font-weight: 600;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 18px;
}
.hero-subtitle span { color: var(--red-light); }

.hero-desc {
    color: rgba(255,255,255,0.75);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 400px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.stat-item {
    display: flex;
    flex-direction: column;
}
.stat-num {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--red-light);
    line-height: 1;
}
.stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.5px;
    margin-top: 2px;
}
.stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.15);
}

.hero-right {
    flex: 0 0 50%;
    position: relative;
    overflow: hidden;
}
.hero-image-wrap {
    width: 100%;
    height: 100%;
    position: relative;
}
.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-badge-float {
    position: absolute;
    bottom: 40px;
    left: -20px;
    background: var(--red);
    color: #fff;
    padding: 14px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 30px rgba(194,0,0,0.4);
    animation: floatBadge 3s ease-in-out infinite;
}
.hero-badge-float i { font-size: 22px; color: #ffd700; }
.hero-badge-float strong { display: block; font-size: 15px; font-weight: 700; }
.hero-badge-float span { display: block; font-size: 12px; opacity: 0.85; }

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@media (max-width: 991px) {
    .hero-section { flex-direction: column; }
    .hero-left { flex: none; padding: 60px 30px; }
    .hero-right { flex: none; min-height: 300px; }
    .hero-badge-float { left: 20px; bottom: 20px; }
}

/* ==============================
   FEATURES STRIP
   ============================== */
.features-strip {
    padding: 0;
    overflow: hidden;
}

.feature-card {
    overflow: hidden;
}

.feature-img-wrap {
    position: relative;
    overflow: hidden;
    height: 280px;
}
.feature-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.feature-card:hover .feature-img-wrap img {
    transform: scale(1.07);
}

.feature-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,49,84,0.92) 0%, rgba(26,49,84,0.3) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    transition: background 0.3s;
}
.feature-overlay h4 {
    font-family: "Aldrich", sans-serif;
    color: #fff;
    font-size: 18px;
    margin-bottom: 6px;
}
.feature-overlay p {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    line-height: 1.5;
}

/* ==============================
   ABOUT SECTION
   ============================== */
.about-section {
    display: flex;
    min-height: 600px;
    overflow: hidden;
}

.about-img-col {
    flex: 0 0 45%;
    position: relative;
    overflow: hidden;
}
.about-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.about-exp-badge {
    position: absolute;
    bottom: 40px;
    right: -20px;
    background: var(--red);
    color: #fff;
    padding: 20px 28px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(194,0,0,0.4);
}
.exp-num {
    display: block;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
}
.exp-label {
    display: block;
    font-size: 13px;
    opacity: 0.9;
    margin-top: 4px;
    letter-spacing: 0.5px;
}

.about-content-col {
    flex: 0 0 55%;
    background: var(--off-white);
    display: flex;
    align-items: center;
}
.about-inner {
    padding: 70px 60px;
}

.about-title {
    font-family: "Aldrich", sans-serif;
    font-size: 32px;
    color: var(--navy);
    line-height: 1.3;
    margin-bottom: 20px;
}

.about-inner p {
    color: var(--gray);
    font-size: 15px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.about-feat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
}
.about-feat-item i {
    color: var(--red);
    font-size: 16px;
    flex-shrink: 0;
}

@media (max-width: 991px) {
    .about-section { flex-direction: column; }
    .about-img-col { flex: none; min-height: 350px; }
    .about-content-col { flex: none; }
    .about-inner { padding: 40px 30px; }
    .about-exp-badge { right: 20px; bottom: 20px; }
    .about-features { grid-template-columns: 1fr; }
}

/* ==============================
   SERVICES SECTION
   ============================== */
.services-section {
    padding: 90px 0;
    background: var(--white);
}
.services-section .section-header {
    margin-bottom: 10px;
}
.services-section .section-title {
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    padding: 32px 28px;
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--red);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: bottom;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border-color: transparent;
}
.service-card:hover::before {
    transform: scaleY(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(194,0,0,0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: background 0.3s;
}
.service-icon i {
    font-size: 26px;
    color: var(--red);
}
.service-card:hover .service-icon {
    background: var(--red);
}
.service-card:hover .service-icon i {
    color: #fff;
}

.service-card h4 {
    font-family: "Aldrich", sans-serif;
    font-size: 18px;
    color: var(--navy);
    margin-bottom: 12px;
    line-height: 1.3;
}
.service-card p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--light-gray);
    color: var(--gray);
    font-size: 12px;
    transition: all 0.3s;
}
.service-card:hover .service-arrow {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

/* ==============================
   COUNTER SECTION
   ============================== */
.counter-section {
    position: relative;
    padding: 90px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.counter-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26,49,84,0.88);
}
.counter-section .container { position: relative; z-index: 2; }

.counter-heading {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin: 10px 0 16px;
}
.counter-desc {
    color: rgba(255,255,255,0.75);
    font-size: 15px;
    line-height: 1.7;
}

.counter-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    padding: 28px 24px;
    text-align: center;
    transition: all 0.3s;
}
.counter-card:hover {
    background: rgba(194,0,0,0.25);
    border-color: rgba(194,0,0,0.5);
    transform: translateY(-4px);
}
.counter-icon { margin-bottom: 12px; }
.counter-icon i {
    font-size: 36px;
    color: rgba(255,255,255,0.8);
}
.counter-card:hover .counter-icon i { color: #fff; }

.counter-num {
    display: block;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 44px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 6px;
}
.counter-card p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin: 0;
}

/* ==============================
   CONTACT SECTION
   ============================== */
.contact-section {
    padding: 90px 0;
    background: var(--off-white);
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.contact-info-icon {
    width: 44px;
    height: 44px;
    background: var(--red);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-info-icon i { color: #fff; font-size: 16px; }
.contact-info-item strong {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--navy);
    margin-bottom: 2px;
}
.contact-info-item span {
    display: block;
    color: var(--gray);
    font-size: 14px;
}
.contact-info-item a { color: var(--gray); }
.contact-info-item a:hover { color: var(--red); }

.contact-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.contact-action-card {
    background: #fff;
    border: 1px solid var(--light-gray);
    border-radius: 10px;
    padding: 24px;
    transition: all 0.3s;
}
.contact-action-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    border-color: transparent;
}
.contact-action-card.accent {
    background: var(--red);
    border-color: var(--red);
}
.contact-action-card.accent h5,
.contact-action-card.accent p { color: rgba(255,255,255,0.9); }
.contact-action-card.accent .cac-icon { background: rgba(255,255,255,0.2); }
.contact-action-card.accent .cac-icon i { color: #fff; }
.contact-action-card.accent .cac-link { color: rgba(255,255,255,0.9); }

.contact-action-card.emergency {
    background: var(--navy);
    border-color: var(--navy);
}
.contact-action-card.emergency h5,
.contact-action-card.emergency p { color: rgba(255,255,255,0.85); }
.contact-action-card.emergency .cac-icon { background: rgba(194,0,0,0.3); }
.contact-action-card.emergency .cac-icon i { color: #ff6b6b; }
.contact-action-card.emergency .cac-link { color: rgba(255,255,255,0.85); }

.cac-icon {
    width: 46px;
    height: 46px;
    background: rgba(194,0,0,0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.cac-icon i { font-size: 18px; color: var(--red); }

.contact-action-card h5 {
    font-family: "Aldrich", sans-serif;
    font-size: 16px;
    color: var(--navy);
    margin-bottom: 8px;
}
.contact-action-card p {
    color: var(--gray);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 14px;
}
.cac-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--red);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.cac-link:hover { color: var(--red-dark); }

/* ==============================
   FOOTER
   ============================== */
.site-footer {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 0;
}
.footer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(14,28,50,0.96);
}
.site-footer .container { position: relative; z-index: 2; }

.footer-top { padding: 70px 0 50px; }

.footer-brand {
    display: flex;
    align-items: center;
    font-family: "Aldrich", sans-serif;
    font-size: 24px;
    color: #fff;
}
.footer-brand i { color: var(--red-light); font-size: 28px; }
.footer-desc {
    color: rgba(255,255,255,0.65);
    font-size: 14px;
    line-height: 1.8;
}

.footer-heading {
    font-family: "Aldrich", sans-serif;
    font-size: 16px;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--red);
    display: inline-block;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: rgba(255,255,255,0.65);
    font-size: 14px;
    transition: color 0.3s, padding-left 0.3s;
    display: flex;
    align-items: center;
}
.footer-links a::before {
    content: '›';
    margin-right: 6px;
    color: var(--red-light);
}
.footer-links a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255,255,255,0.65);
    font-size: 14px;
    margin-bottom: 12px;
}
.footer-contact li i { color: var(--red-light); margin-top: 2px; flex-shrink: 0; }
.footer-contact a { color: rgba(255,255,255,0.65); }
.footer-contact a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
}
.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    margin: 0;
}

/* ==============================
   BACK TO TOP
   ============================== */
.back-to-top-btn {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 42px;
    height: 42px;
    background: var(--red);
    color: #fff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    z-index: 99;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s;
    pointer-events: none;
}
.back-to-top-btn.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}
.back-to-top-btn:hover {
    background: var(--red-dark);
    color: #fff;
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 767px) {
    .hero-title { font-size: 40px; }
    .hero-subtitle { font-size: 30px; }
    .section-title { font-size: 28px; }
    .about-inner { padding: 30px 20px; }
    .contact-cards-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 14px; }
    .hero-left { padding: 50px 20px; }
    .counter-heading { font-size: 32px; }
    .footer-top { padding: 50px 0 30px; }
}

@media (min-width: 768px) and (max-width: 991px) {
    .hero-title { font-size: 46px; }
    .about-inner { padding: 50px 40px; }
}
