/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* Design Variables */
:root {
    --primary-color: #0f172a;        /* Tamni ugljen (Slate 900) */
    --primary-light: #334155;        /* Slate 700 */
    --primary-ultra-light: #f1f5f9;  /* Slate 100 */
    --secondary-color: #16a34a;      /* Premium Šumska Zelena (Green 600) */
    --secondary-hover: #15803d;      /* Dublja Zelena (Green 700) */
    --accent-color: #d97706;         /* Jantarni Plamen (Amber 600) */
    --text-main: #1e293b;            /* Slate 800 */
    --text-muted: #475569;           /* Slate 600 */
    --text-light: #94a3b8;           /* Slate 400 */
    --bg-main: #ffffff;              /* Čista bijela pozadina */
    --bg-white: #ffffff;
    --bg-dark: #0f172a;              /* Slate 900 za footer */
    --bg-dark-card: #1e293b;         /* Za tamne kartice */
    --border-color: #e2e8f0;         /* Slate 200 */
    --border-focus: #16a34a;         /* Fokus na zelenu */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.02);
    --shadow-md: 0 10px 25px -5px rgba(28, 25, 23, 0.08), 0 8px 10px -6px rgba(28, 25, 23, 0.05);
    --shadow-lg: 0 20px 40px -10px rgba(28, 25, 23, 0.15);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.text-center { text-align: center; }

.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.badge-primary {
    background-color: var(--primary-ultra-light);
    color: var(--primary-color);
    border: 1px solid rgba(45, 90, 55, 0.2);
}

.badge-secondary {
    background-color: rgba(217, 119, 6, 0.1);
    color: var(--secondary-color);
    border: 1px solid rgba(217, 119, 6, 0.2);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-bounce);
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
    box-shadow: 0 4px 14px rgba(28, 25, 23, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(28, 25, 23, 0.3);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--bg-white);
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.2);
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-2px);
}

.form-actions-group {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.form-actions-group button,
.form-actions-group .btn {
    flex: 1;
}

/* Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-animate.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(229, 229, 221, 0.5);
}

.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: var(--primary-color);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--bg-white);
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-sm);
}

.logo-text span {
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-item a {
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition-smooth);
}

.nav-item a:hover {
    color: var(--primary-color);
}

.nav-item a:hover::after {
    width: 100%;
}

.contact-action {
    display: flex;
    align-items: center;
    gap: 16px;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--primary-color);
}

.phone-link svg {
    color: var(--secondary-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--bg-white);
    z-index: 1001;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.mobile-nav-drawer.open {
    right: 0;
}

.mobile-nav-close {
    align-self: flex-end;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
}

.mobile-nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-nav-item a {
    font-size: 1.25rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
}

.mobile-nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(11, 19, 12, 0.4);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.mobile-nav-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 160px;
    padding-bottom: 100px;
    background-color: var(--bg-main); /* Pure white background */
    color: var(--text-main);
    overflow: hidden;
}

.hero-container-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 64px;
}

.hero-content-left {
    flex: 1.1;
    display: flex;
    flex-direction: column;
}

.hero-image-right {
    flex: 0.9;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 650px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 1 / 1;
    transition: var(--transition-bounce);
    background-color: #0b0f19;
}

.hero-image-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 60px -15px rgba(28, 25, 23, 0.2);
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.hero-title span {
    color: var(--secondary-color);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

#heroCalcBtn {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

#heroCalcBtn:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-val {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary-color);
    font-family: 'Outfit', sans-serif;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.live-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: #10b981;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Features Section */
.features {
    background-color: var(--bg-white);
}

.section-header {
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    font-size: 2.75rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.feature-card {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 40px 32px;
    transition: var(--transition-bounce);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: var(--primary-ultra-light);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Products Section */
.products {
    background-color: var(--bg-main);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.product-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-bounce);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(28, 25, 23, 0.15);
}

.product-image-container {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(27, 56, 33, 0.85);
    backdrop-filter: blur(8px);
    color: var(--bg-white);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.product-body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.product-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-specs {
    border-top: 1px dashed var(--border-color);
    border-bottom: 1px dashed var(--border-color);
    padding: 16px 0;
    margin-bottom: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
}

.spec-item {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.spec-item strong {
    color: var(--text-main);
    display: block;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    display: flex;
    flex-direction: column;
}

.price-lbl {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
}

.price-val {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
    font-family: 'Outfit', sans-serif;
}

.price-val span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

/* Calculator Section */
.calculator-section {
    background-color: var(--bg-white);
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.calc-box {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.product-select-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.product-option {
    border: 2px solid var(--border-color);
    background-color: var(--bg-white);
    padding: 16px 12px;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    text-align: center;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.product-option svg {
    color: var(--text-light);
    transition: var(--transition-smooth);
}

.product-option span {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
}

.product-option:hover {
    border-color: rgba(28, 25, 23, 0.4);
}

.product-option.active {
    border-color: var(--primary-color);
    background-color: var(--primary-ultra-light);
}

.product-option.active svg {
    color: var(--primary-color);
}

.product-option.active span {
    color: var(--primary-color);
}

.range-slider-container {
    padding: 10px 0;
}

.range-values {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
}

input[type="range"] {
    width: 100%;
    accent-color: var(--primary-color);
}

.house-type-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.house-option {
    border: 2px solid var(--border-color);
    background-color: var(--bg-white);
    padding: 14px;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.house-option:hover {
    border-color: rgba(28, 25, 23, 0.4);
}

.house-option.active {
    border-color: var(--primary-color);
    background-color: var(--primary-ultra-light);
    color: var(--primary-color);
}

.calc-results {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: sticky;
    top: 120px;
}

.calc-results-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 24px;
}

.calc-results-title {
    color: var(--bg-white);
    font-size: 1.75rem;
}

.calc-rec-box {
    display: flex;
    align-items: center;
    gap: 20px;
}

.calc-rec-icon {
    width: 64px;
    height: 64px;
    background-color: var(--secondary-color);
    color: var(--bg-white);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.calc-rec-details {
    display: flex;
    flex-direction: column;
}

.calc-rec-qty {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.1;
    font-family: 'Outfit', sans-serif;
}

.calc-rec-lbl {
    font-size: 0.875rem;
    color: rgba(251, 251, 248, 0.7);
}

.calc-summary-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 0.95rem;
}

.calc-summary-item {
    display: flex;
    justify-content: space-between;
    color: rgba(251, 251, 248, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 8px;
}

.calc-summary-item span:last-child {
    font-weight: 700;
    color: var(--bg-white);
}

.calc-total-box {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calc-total-lbl {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(251, 251, 248, 0.9);
}

.calc-total-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-color);
    font-family: 'Outfit', sans-serif;
    line-height: 1;
}

.calc-total-price span {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(251, 251, 248, 0.6);
}

/* Call to Action */
.cta-banner {
    background-color: var(--bg-dark);
    color: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.15) 0%, rgba(220, 38, 38, 0) 70%);
    pointer-events: none;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.cta-content h2 {
    color: var(--bg-white);
    font-size: 3rem;
    line-height: 1.2;
}

.cta-content h2 span {
    color: var(--secondary-color);
}

.cta-content p {
    color: rgba(251, 251, 248, 0.8);
    font-size: 1.2rem;
}

.cta-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Testimonials Slider */
.testimonials {
    background-color: var(--bg-white);
}

.slider-container {
    position: relative;
    max-width: 850px;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 0;
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
    min-width: 100%;
    padding: 0 40px;
}

.testimonial-card {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.testimonial-card::before {
    content: '“';
    position: absolute;
    top: 24px;
    left: 40px;
    font-size: 8rem;
    line-height: 1;
    color: rgba(28, 25, 23, 0.05);
    font-family: 'Outfit', sans-serif;
}

.stars {
    display: flex;
    gap: 4px;
    color: #fbbf24;
    margin-bottom: 24px;
}

.testimonial-text {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 32px;
    position: relative;
    z-index: 2;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.client-initial {
    width: 48px;
    height: 48px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.client-name {
    font-weight: 700;
    color: var(--primary-color);
}

.client-loc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    background-color: var(--border-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.slider-dot.active {
    background-color: var(--primary-color);
    width: 24px;
    border-radius: 50px;
}

/* FAQ Accordion */
.faq {
    background-color: var(--bg-main);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-header {
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-header h3 {
    font-size: 1.15rem;
    margin: 0;
    transition: var(--transition-smooth);
}

.faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #fafaf8;
}

.faq-content {
    padding: 0 32px 24px 32px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Active FAQ items styling */
.faq-item.active {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-sm);
}

.faq-item.active .faq-header h3 {
    color: var(--primary-color);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Contact/Order Form */
.contact-section {
    background-color: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
}

.contact-info-card {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.contact-info-card::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.03);
}

.contact-info-header h3 {
    color: var(--bg-white);
    font-size: 2rem;
    margin-bottom: 16px;
}

.contact-info-header p {
    color: rgba(251, 251, 248, 0.7);
    font-size: 0.95rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin: 48px 0;
    position: relative;
    z-index: 2;
}

.contact-detail-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.contact-detail-content h4 {
    color: var(--bg-white);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.contact-detail-content p, .contact-detail-content a {
    color: rgba(251, 251, 248, 0.8);
    font-size: 1.1rem;
    font-weight: 600;
}

.social-sharing {
    display: flex;
    gap: 16px;
    position: relative;
    z-index: 2;
}

.social-share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    transition: var(--transition-bounce);
}

.social-share-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.contact-form-box {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-control {
    width: 100%;
    padding: 14px 20px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    background-color: var(--bg-white);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(28, 25, 23, 0.08);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* WhatsApp Floating Widget */
.wa-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    font-family: 'Inter', sans-serif;
}

.wa-trigger {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #25D366;
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    border: none;
    outline: none;
    transition: var(--transition-bounce);
}

.wa-trigger:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

.wa-trigger-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25D366;
    z-index: -1;
    animation: wa-pulse 2s infinite;
}

@keyframes wa-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.wa-trigger svg {
    width: 32px;
    height: 32px;
}

.wa-chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 360px;
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-bounce);
}

.wa-chat-window.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.wa-chat-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    padding: 24px;
    color: var(--bg-white);
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}

.wa-chat-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--bg-white);
}

.wa-chat-agent-info {
    display: flex;
    flex-direction: column;
}

.wa-chat-agent-name {
    font-weight: 700;
    font-size: 1.05rem;
}

.wa-chat-agent-status {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 6px;
}

.wa-chat-agent-status::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
}

.wa-chat-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.wa-chat-close-btn:hover {
    color: var(--bg-white);
}

.wa-chat-body {
    background-color: #e5ddd5; /* WhatsApp background color */
    background-image: radial-gradient(rgba(0,0,0,0.08) 1px, transparent 0),
                      radial-gradient(rgba(0,0,0,0.08) 1px, transparent 0);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    padding: 24px;
    max-height: 280px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wa-msg-bubble {
    background-color: var(--bg-white);
    padding: 12px 16px;
    border-radius: 0 12px 12px 12px;
    font-size: 0.9rem;
    max-width: 85%;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    position: relative;
}

.wa-msg-bubble::before {
    content: '';
    position: absolute;
    top: 0;
    left: -8px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 8px 8px 0;
    border-color: transparent var(--bg-white) transparent transparent;
}

.wa-msg-time {
    display: block;
    text-align: right;
    font-size: 0.7rem;
    color: var(--text-light);
    margin-top: 4px;
}

.wa-quick-replies {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.wa-quick-btn {
    background-color: var(--bg-white);
    border: 1px solid rgba(28, 25, 23, 0.15);
    padding: 10px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    text-align: left;
    transition: var(--transition-bounce);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wa-quick-btn:hover {
    background-color: var(--primary-ultra-light);
    border-color: var(--primary-color);
    transform: translateX(4px);
}

.wa-chat-footer {
    padding: 16px;
    background-color: #f0f0f0;
    display: flex;
    gap: 12px;
    align-items: center;
}

.wa-chat-input {
    flex-grow: 1;
    border: none;
    outline: none;
    padding: 12px 16px;
    border-radius: 24px;
    font-size: 0.9rem;
    background-color: var(--bg-white);
    resize: none;
    height: 42px;
    line-height: 1.2;
}

.wa-chat-send-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: var(--transition-bounce);
}

.wa-chat-send-btn:hover {
    background-color: var(--accent-color);
    transform: scale(1.05);
}

/* Footer Section */
.main-footer {
    background-color: var(--bg-dark);
    color: rgba(251, 251, 248, 0.7);
    padding: 80px 0 30px 0;
    border-top: 1px solid rgba(251, 251, 248, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-logo {
    color: var(--bg-white);
}

.footer-col h4 {
    color: var(--bg-white);
    font-size: 1.15rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 4px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 0.95rem;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.footer-contact-item svg {
    color: var(--secondary-color);
    flex-shrink: 0;
    margin-top: 4px;
}

.payments-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.payment-card-icon {
    width: 48px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--bg-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.875rem;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    h1, .hero-title { font-size: 2.75rem; }
    .hero-container-split {
        flex-direction: column; /* Changed from column-reverse to put heading and CTA at the top */
        gap: 48px;
        text-align: center;
    }
    .hero-content-left {
        align-items: center;
    }
    .hero-cta {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
        width: 100%;
    }
    .live-indicator {
        justify-content: center;
    }
    .calc-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .section { padding: 60px 0; } /* Reduced from 80px to make spacing tighter on mobile */
    .section-header h2 { font-size: 2.25rem; }
    .nav-menu, .contact-action .btn-primary { display: none; }
    .mobile-menu-toggle { 
        display: block; 
        padding: 8px; /* Tappable padding */
        min-width: 44px;
        min-height: 44px;
    }
    .mobile-nav-close {
        padding: 8px;
        min-width: 44px;
        min-height: 44px;
    }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .form-row { grid-template-columns: 1fr; }
    
    /* Responsive fixes for grids */
    .products-grid {
        grid-template-columns: 1fr; /* Stack product cards vertically on mobile to prevent horizontal overflow */
        gap: 32px;
    }
    .house-type-grid {
        grid-template-columns: 1fr; /* Stack insulation choices vertically */
        gap: 12px;
    }
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 576px) {
    .form-actions-group {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px; /* Narrower container padding for small screens */
    }
    h1, .hero-title { font-size: 2.0rem; } /* Adjusted down slightly for very small screens */
    .hero-cta { flex-direction: column; width: 100%; }
    .hero-cta .btn { width: 100%; }
    .hero-stats { flex-direction: column; gap: 16px; align-items: center; }
    .product-select-grid { grid-template-columns: 1fr; }
    
    /* Box padding reductions for tight mobile screens */
    .calc-box {
        padding: 24px 16px;
    }
    .calc-results {
        padding: 24px 16px;
    }
    .calc-total-price {
        font-size: 2.25rem; /* Scale down slightly to fit on 320px screens */
    }
    .testimonial-card {
        padding: 24px 20px;
    }
    .slide {
        padding: 0 16px;
    }
    .faq-header {
        padding: 16px 20px;
    }
    .faq-content {
        padding: 0 20px 20px 20px;
    }
    .contact-info-card {
        padding: 24px 20px;
    }
    .contact-form-box {
        padding: 24px 16px;
    }
    
    /* WhatsApp Chat Window adjustments to fit perfectly on screen without left-overflow */
    .wa-widget {
        bottom: 20px;
        right: 20px;
    }
    .wa-trigger {
        width: 50px; /* Reduced from 64px to make it more elegant */
        height: 50px;
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    }
    .wa-trigger svg {
        width: 24px;
        height: 24px;
    }
    .wa-chat-window {
        position: fixed;
        bottom: 86px;
        left: 16px;
        right: 16px;
        width: auto; /* Uses calc or natural width between left and right constraints */
        transform: translateY(20px);
    }
}
