:root {
    --primary: #007bff;
    --secondary: #004494;
    --accent: #ff9800;
    --highlight-bg: #eef7ff;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --border-radius: 8px;
    --success-green: #28a745;
    --error-red: #dc3545;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--secondary);
}

.btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    margin-left: 10px;
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-block {
    width: 100%;
    display: block;
}

/* Typography */
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.section-desc {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--text-light);
}

/* Content Blocks for SEO Text */
.content-block {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: left;
    background: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    border-left: 5px solid var(--primary);
}

.content-block h3 {
    color: var(--secondary);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.content-block p {
    margin-bottom: 15px;
    text-align: justify;
}

/* Header & Logo */
.header {
    background: var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    height: 60px;
    width: auto;
    display: block;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 20px;
    font-weight: 500;
}

.btn-nav {
    background: var(--accent);
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero */
.hero {
    background: linear-gradient(to right, #e3f2fd, #ffffff);
    padding: 60px 0;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--secondary);
    line-height: 1.2;
}

.hero-text .tagline {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.hero-text .sub-tagline {
    font-size: 1rem;
    margin-bottom: 25px;
    color: var(--text-light);
}

.hero-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Services Grid */
.services,
.hvac-details,
.process,
.pricing,
.testimonials,
.faq {
    padding: 60px 0;
    border-top: 1px solid #eee;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* Service Cards */
.service-card {
    padding: 30px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    border: 1px solid #eee;
    position: relative;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.service-card h3 {
    margin-bottom: 10px;
    color: var(--secondary);
}

.service-card p {
    font-size: 0.95rem;
    margin-bottom: 15px;
    flex-grow: 1;
}

/* Highlighted Cards (HVAC/VRF) */
.highlight-card {
    background: var(--white);
    border: 2px solid var(--primary);
    overflow: hidden;
}

.badge-expert {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--accent);
    color: white;
    padding: 5px 10px;
    font-size: 0.75rem;
    font-weight: bold;
    border-bottom-left-radius: 8px;
}

.service-bullets {
    margin: 10px 0 20px 0;
    padding-left: 20px;
    text-align: left;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.service-bullets li {
    list-style: disc;
    margin-bottom: 5px;
}

.text-link {
    color: var(--primary);
    font-weight: bold;
    margin-top: auto;
    display: inline-block;
}

/* HVAC Details Section */
.hvac-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.hvac-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #eee;
    text-align: center;
}

.hvac-item h4 {
    margin: 10px 0;
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.tech-note {
    background: #e8f5e9;
    border-left: 5px solid #4caf50;
    padding: 15px;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* VRF Process Steps */
.process-steps {
    display: flex;
    justify-content: space-between;
    text-align: center;
    flex-wrap: wrap;
    gap: 15px;
}

.step {
    flex: 1;
    min-width: 140px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: bold;
    font-size: 1.1rem;
}

.step h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.step p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Pricing */
.pricing-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.pricing-col {
    flex: 1;
    min-width: 300px;
}

.commercial-pricing {
    background: #f0f8ff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #b3d7ff;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.pricing-table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.pricing-table td:last-child {
    font-weight: bold;
    text-align: right;
}

.small-text {
    font-size: 0.8rem;
    margin-top: 10px;
    color: #777;
    font-style: italic;
}

/* Contact Form */
.contact-wrapper {
    max-width: 650px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 0.9rem;
}

.required {
    color: var(--error-red);
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea,
.form-group input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.checkbox-group input {
    width: auto;
    transform: scale(1.2);
}

.checkbox-group label {
    margin: 0;
}

/* Success / Error Messages */
.form-message {
    margin-top: 15px;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* FAQ & Footer */
.faq-grid {
    display: grid;
    gap: 20px;
}

.faq-item h4 {
    color: var(--secondary);
    margin-bottom: 5px;
}

.footer {
    background: #222;
    color: #fff;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    margin-right: 15px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 0.85rem;
    color: #aaa;
}

/* Floating Buttons */
.floating-actions {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.float-btn:hover {
    transform: scale(1.1);
}

.whatsapp {
    background: #25d366;
}

.phone {
    background: #007bff;
    display: none;
}

/* Mobile */
@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
        text-align: center;
        padding: 20px 0;
    }

    .nav.active {
        display: block;
    }

    color: #777;
    font-style: italic;
}

/* Contact Form */
.contact-wrapper {
    max-width: 650px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 0.9rem;
}

.required {
    color: var(--error-red);
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea,
.form-group input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.checkbox-group input {
    width: auto;
    transform: scale(1.2);
}

.checkbox-group label {
    margin: 0;
}

/* Success / Error Messages */
.form-message {
    margin-top: 15px;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* FAQ & Footer */
.faq-grid {
    display: grid;
    gap: 20px;
}

.faq-item h4 {
    color: var(--secondary);
    margin-bottom: 5px;
}

.footer {
    background: #222;
    color: #fff;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    margin-right: 15px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 0.85rem;
    color: #aaa;
}

/* Floating Buttons */
.floating-actions {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.float-btn:hover {
    transform: scale(1.1);
}

.whatsapp {
    background: #25d366;
}

.phone {
    background: #007bff;
    display: none;
}

/* Mobile */
@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
        text-align: center;
        padding: 20px 0;
    }

    .nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .float-btn.phone {
        display: flex;
    }
}

/* --- ANIMATIONS --- */
/* Base class for elements to be animated */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

/* State when element is visible */
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for grid items */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* Specific Animations */
.fade-in {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.fade-in.visible {
    opacity: 1;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-up {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s ease-out;
}

.scale-up.visible {
    opacity: 1;
    transform: scale(1);
}

/* Premium Hover Effects */
.service-card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn:active {
    transform: scale(0.98);
}