:root {
    --primary: #FF7E5F;
    --primary-light: #FEB47B;
    --secondary: #1A1A2E;
    --accent: #00D2FF;
    --accent-light: #92FE9D;
    --text-dark: #2D3436;
    --text-light: #636E72;
    --white: #FFFFFF;
    --bg-light: #F8F9FA;
    --gradient-hero: linear-gradient(135deg, #FF7E5F 0%, #FEB47B 100%);
    --gradient-accent: linear-gradient(135deg, #00D2FF 0%, #3A7BD5 100%);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

h1,
h2,
h3,
h4,
.logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
    padding: 20px 0;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    color: var(--secondary);
}

.logo-text .highlight {
    color: var(--primary);
    position: relative;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.cta-button-small {
    background: var(--gradient-hero);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
}

.cta-button-small:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    background: url('https://images.unsplash.com/photo-1541443131876-44b03de101c5?q=80&w=2000&auto=format&fit=crop') center/cover no-repeat;
    color: var(--white);
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(26, 26, 46, 0.85) 0%, rgba(26, 26, 46, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 40px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: #FF7E5F;
    color: white;
    border-radius: 2px;
    font-family: 'Gochi Hand', cursive;
    font-size: 1.1rem;
    transform: rotate(-2deg);
    margin-bottom: 20px;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.gradient-text {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 35px;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.cta-button {
    background: var(--gradient-hero);
    color: var(--white);
    text-decoration: none;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.phone-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
}

.phone-link i {
    color: var(--primary);
    margin-right: 8px;
}

.hero-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-light);
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.8;
}

/* Sections Global */
section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
}

.subtitle {
    display: block;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

h2 {
    font-size: 2.5rem;
    color: var(--secondary);
}

/* Services */
.services {
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 126, 95, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: 12px;
    margin-bottom: 25px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* Technology Section */
.tech-section {
    background: var(--white);
}

.tech-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.comparison-cards {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.comp-card {
    flex: 1;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.comp-card.hot {
    background: #FFF5F1;
    border: 1px solid #FFBEA3;
}

.comp-card.cool {
    background: #F0FBFF;
    border: 1px solid #BEE9FF;
}

.comp-header {
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: var(--text-light);
}

.temp-display {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.hot .temp-display {
    color: #FF4D4D;
}

.cool .temp-display {
    color: #00A3FF;
}

.heat-ripple {
    height: 4px;
    background: linear-gradient(90deg, #FF4D4D, transparent);
    width: 100%;
    margin: 10px 0;
    position: relative;
    animation: pulse-red 2s infinite;
}

.cool-pulse {
    height: 4px;
    background: linear-gradient(90deg, #00A3FF, transparent);
    width: 100%;
    margin: 10px 0;
    position: relative;
    animation: pulse-blue 2s infinite;
}

.house-visual {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.roof-shield {
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.2) 0%, transparent 70%);
    z-index: 2;
    pointer-events: none;
    animation: shield-glow 4s infinite alternate;
}

/* About Section */
.about-flex {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gradient-hero);
    color: var(--white);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transform: rotate(3deg);
}

.experience-badge .years {
    display: block;
    font-family: 'Gochi Hand', cursive;
    font-size: 2.5rem;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.feature-list {
    list-style: none;
    margin: 30px 0;
}

.feature-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-weight: 600;
}

.feature-list i {
    color: #4CAF50;
    margin-right: 12px;
}

/* Testimonials */
.testimonials {
    background: var(--bg-light);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testi-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border-top: 5px solid var(--primary);
    position: relative;
}

.testi-card p {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.testi-author {
    font-family: 'Gochi Hand', cursive;
    font-size: 1.2rem;
    color: var(--primary);
}

/* Contact Section */
.contact-section {
    background: var(--secondary);
    color: var(--white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info {
    padding: 60px;
}

.contact-info h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.info-items {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
}

.info-item i {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--primary-light);
}

.contact-form-wrapper {
    padding: 60px;
    background: var(--white);
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--gradient-hero);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Footer */
footer {
    background: #0D0D1A;
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    opacity: 0.4;
    font-size: 0.9rem;
}

/* Animations & Keyframes */
.animate-up,
.animate-left,
.animate-right {
    opacity: 0;
    transition: all 0.8s ease-out;
}

.animate-up {
    transform: translateY(30px);
}

.animate-left {
    transform: translateX(-30px);
}

.animate-right {
    transform: translateX(30px);
}

.animate-up.visible,
.animate-left.visible,
.animate-right.visible {
    opacity: 1;
    transform: translate(0);
}

@keyframes pulse-red {
    0% {
        transform: scaleX(0.5);
        opacity: 0.5;
    }

    50% {
        transform: scaleX(1);
        opacity: 0.8;
    }

    100% {
        transform: scaleX(0.5);
        opacity: 0.5;
    }
}

@keyframes pulse-blue {
    0% {
        transform: scaleX(0.5);
        opacity: 0.5;
    }

    50% {
        transform: scaleX(1);
        opacity: 0.8;
    }

    100% {
        transform: scaleX(0.5);
        opacity: 0.5;
    }
}

@keyframes shield-glow {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }

    100% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        grid-template-columns: 1fr 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .about-flex,
    .tech-grid,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    header {
        padding: 15px 0;
    }
}