/* 
========================================================================
   UTL SOLAR SHOPPE (KUTAL ELECTRICAL) - STYLESHEET
   Description: Unified modern CSS styling, fully responsive, Core Web Vitals optimized.
   Typography: Poppins
========================================================================
*/

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

/* --- Root Variables (Design Tokens) --- */
:root {
    /* Colors */
    --primary: #0B5ED7;
    --primary-hover: #0a4ebd;
    --primary-light: rgba(11, 94, 215, 0.08);
    --secondary: #28A745;
    --secondary-hover: #218838;
    --secondary-light: rgba(40, 167, 73, 0.08);
    --accent: #FFC107;
    --accent-hover: #e0a800;
    --accent-light: rgba(255, 193, 7, 0.1);
    --dark: #1E293B;
    --dark-light: #334155;
    --light: #F8F9FA;
    --white: #FFFFFF;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-600: #475569;
    --gray-700: #334155;
    --danger: #DC3545;
    --success: #198754;

    /* Fonts & Typography */
    --font-sans: 'Poppins', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-premium: 0 20px 25px -5px rgba(11, 94, 215, 0.05), 0 10px 10px -5px rgba(11, 94, 215, 0.02);
    --shadow-inset: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: all 0.2s ease;
    --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Layout Constraints */
    --max-width: 1200px;
    --header-height: 80px;
    --topbar-height: 40px;
}

/* --- Base Resets & Global Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-sans);
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    font-weight: 400;
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* --- Accessibility Styles --- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

/* --- Layout Components --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

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

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.section-padding {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--secondary);
    border-radius: var(--radius-full);
}

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

/* --- Premium Buttons & Badges --- */
.badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.badge-primary {
    background-color: var(--primary-light);
    color: var(--primary);
}

.badge-secondary {
    background-color: var(--secondary-light);
    color: var(--secondary);
}

.badge-accent {
    background-color: var(--accent-light);
    color: #b28500;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.75rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    gap: 0.5rem;
    font-size: 0.95rem;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--dark);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* --- Top Bar & Header Section --- */
.topbar {
    background-color: var(--dark);
    color: var(--white);
    font-size: 0.85rem;
    height: var(--topbar-height);
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

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

.topbar-info {
    display: flex;
    gap: 1.5rem;
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-300);
}

.topbar-item a:hover {
    color: var(--accent);
}

.topbar-item svg {
    width: 14px;
    height: 14px;
    stroke: var(--accent);
}

.topbar-socials {
    display: flex;
    gap: 1rem;
}

.topbar-socials a {
    color: var(--gray-300);
}

.topbar-socials a:hover {
    color: var(--accent);
}

.header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.header.scrolled {
    height: 70px;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* --- Branding Logo --- */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.logo-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--accent);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.1;
}

.logo-sub {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--secondary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* --- Navigation Links --- */
.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--gray-700);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-normal);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    z-index: 1100;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--dark);
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding: 7rem 0 6rem;
    background-color: var(--dark);
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 40%, rgba(30, 41, 59, 0.4) 100%), 
                      url('https://images.unsplash.com/photo-1508514177221-188b1cf16e9d?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    max-width: 650px;
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-title span {
    background: linear-gradient(120deg, var(--accent) 0%, #ffdf7a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--gray-300);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.hero-feat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-feat-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-feat-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--accent);
}

.hero-feat-text h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
}

.hero-feat-text p {
    font-size: 0.8rem;
    color: var(--gray-300);
}

/* Hero Form Panel */
.hero-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    color: var(--dark);
    position: relative;
    border: 1px solid var(--gray-200);
}

.hero-card-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.hero-card-header h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.hero-card-header p {
    font-size: 0.85rem;
    color: var(--gray-600);
}

/* --- Form Elements --- */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.4rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    background-color: var(--white);
    transition: var(--transition-fast);
    outline: none;
    font-size: 0.95rem;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2em;
    padding-right: 2.5rem;
}

/* --- Trust / Highlight Banner --- */
.trust-banner {
    background-color: var(--white);
    padding: 2rem 0;
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 10;
    margin-top: -1.5rem;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
}

.trust-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    text-align: center;
}

.trust-item {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.trust-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-light);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.trust-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--primary);
    stroke-width: 2;
    fill: none;
}

.trust-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
}

.trust-item p {
    font-size: 0.85rem;
    color: var(--gray-600);
}

/* --- Why Choose Us Cards --- */
.why-card {
    background-color: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--primary);
    opacity: 0;
    transition: var(--transition-normal);
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.why-card:hover::before {
    opacity: 1;
}

.why-icon {
    width: 56px;
    height: 56px;
    background-color: var(--primary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    transition: var(--transition-normal);
}

.why-card:hover .why-icon {
    background-color: var(--primary);
    color: var(--white);
}

.why-icon svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 0.5px;
}

.why-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.why-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* --- Premium Products Section --- */
.product-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: 1px solid var(--gray-300);
    background-color: var(--white);
    color: var(--gray-600);
}

.tab-btn:hover, .tab-btn.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

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

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.product-img-box {
    position: relative;
    background-color: var(--gray-100);
    height: 240px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.product-img-box img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition-slow);
}

.product-card:hover .product-img-box img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
}

.product-info {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.product-desc {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.product-specs {
    margin-bottom: 1.5rem;
    background-color: var(--gray-100);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
}

.product-spec-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.35rem;
}

.product-spec-row:last-child {
    margin-bottom: 0;
}

.product-spec-label {
    color: var(--gray-600);
    font-weight: 500;
}

.product-spec-val {
    font-weight: 600;
    color: var(--dark);
}

.product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

/* --- Solutions Grid & Benefits --- */
.solution-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition-normal);
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.solution-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.solution-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(30, 41, 59, 0.9) 0%, rgba(30, 41, 59, 0.2) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.solution-overlay h3 {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 700;
}

.solution-body {
    padding: 1.75rem;
}

.solution-body p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.solution-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.sol-feat-li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
}

.sol-feat-li svg {
    width: 16px;
    height: 16px;
    stroke: var(--secondary);
    stroke-width: 3;
    fill: none;
}

/* Benefits Banner Style */
.benefits-section {
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-100) 100%);
}

.benefit-card {
    display: flex;
    gap: 1.25rem;
    background-color: var(--white);
    padding: 1.75rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition-fast);
}

.benefit-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--secondary-light);
}

.benefit-icon-container {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background-color: var(--secondary-light);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon-container svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 0.5px;
}

.benefit-text h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.benefit-text p {
    font-size: 0.85rem;
    color: var(--gray-600);
}

/* --- Subsidy Section & Calculator --- */
.subsidy-main {
    background-color: var(--dark);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.subsidy-main::after {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -150px;
    width: 350px;
    height: 350px;
    border-radius: var(--radius-full);
    background-color: rgba(40, 167, 73, 0.05);
    z-index: 1;
}

.subsidy-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
}

.subsidy-text h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.subsidy-text h2 span {
    color: var(--accent);
}

.subsidy-text p {
    color: var(--gray-300);
    margin-bottom: 2rem;
}

.subsidy-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.sub-hi-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.sub-hi-icon {
    width: 28px;
    height: 28px;
    background-color: var(--secondary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--white);
}

.sub-hi-icon svg {
    width: 14px;
    height: 14px;
    stroke: var(--white);
    stroke-width: 3;
    fill: none;
}

.sub-hi-desc h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
}

.sub-hi-desc p {
    font-size: 0.85rem;
    color: var(--gray-300);
    margin-bottom: 0;
}

/* Calculator Box */
.calc-card {
    background-color: var(--white);
    color: var(--dark);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.calc-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.calc-range-container {
    margin-bottom: 1.75rem;
}

.calc-range-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.calc-range-val {
    font-weight: 700;
    color: var(--primary);
}

.calc-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: var(--radius-full);
    background: var(--gray-200);
    outline: none;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 0 0 4px rgba(11, 94, 215, 0.15);
    transition: var(--transition-fast);
}

.calc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    background: var(--primary-hover);
}

/* Calculator Outputs */
.calc-results {
    background-color: var(--gray-100);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.calc-res-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 0.65rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px dashed var(--gray-300);
}

.calc-res-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.calc-res-row.total {
    font-weight: 700;
    color: var(--success);
    font-size: 1.05rem;
    border-bottom: 1px solid var(--gray-300);
}

/* --- Project Gallery & Filter --- */
.projects-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.project-item {
    background-color: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition-normal);
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.project-img {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.project-item:hover .project-img img {
    transform: scale(1.06);
}

.project-item-info {
    padding: 1.5rem;
}

.project-cat {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--secondary);
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.project-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.project-details {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--gray-600);
}

/* Before / After Slider Component */
.ba-container {
    max-width: 650px;
    margin: 0 auto;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--white);
    height: 400px;
    user-select: none;
}

.ba-image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.ba-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.ba-before {
    z-index: 10;
}

.ba-after {
    z-index: 5;
    width: 100%; /* controlled dynamically */
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.ba-slider {
    position: absolute;
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 100%;
    background: transparent;
    outline: none;
    margin: 0;
    z-index: 30;
    cursor: ew-resize;
    top: 0;
    left: 0;
}

.ba-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 4px;
    height: 400px;
    background: var(--accent);
    cursor: ew-resize;
}

.ba-slider-button {
    pointer-events: none;
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--accent);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    border: 3px solid var(--white);
}

.ba-slider-button svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* --- Customer Testimonials --- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.test-card {
    background-color: var(--white);
    padding: 2.25rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    position: relative;
}

.test-stars {
    display: flex;
    gap: 0.25rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.test-stars svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.test-text {
    font-size: 0.95rem;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.test-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.test-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

.test-user-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
}

.test-user-info p {
    font-size: 0.75rem;
    color: var(--gray-600);
}

/* --- FAQ Accordions --- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: var(--white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-trigger {
    width: 100%;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-weight: 600;
    color: var(--dark);
    font-size: 1.05rem;
    background: transparent;
    border: none;
}

.faq-trigger:hover {
    color: var(--primary);
}

.faq-icon-svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
}

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

.faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal) cubic-bezier(0, 1, 0, 1);
    background-color: var(--gray-100);
}

.faq-panel-content {
    padding: 1.25rem 1.5rem;
    font-size: 0.95rem;
    color: var(--gray-600);
    border-top: 1px solid var(--gray-200);
}

.faq-item.active .faq-panel {
    max-height: 1000px;
    transition: max-height var(--transition-normal) cubic-bezier(1, 0, 1, 0);
}

/* --- Lead Generation Section Banner --- */
.lead-banner-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.lead-banner-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    border-radius: var(--radius-full);
    background-color: rgba(255,255,255,0.03);
}

.lead-banner-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.lead-banner-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.lead-banner-content p {
    font-size: 1.15rem;
    color: var(--gray-200);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.lead-banner-btns {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem;
}

/* --- Contact Page Specific Styles --- */
.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 3rem;
}

.contact-info-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.contact-info-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-detail-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-det-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-det-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.contact-det-text h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 0.2rem;
}

.contact-det-text p {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
}

.contact-det-text a:hover {
    color: var(--primary);
}

.contact-hours h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark);
    border-bottom: 2px solid var(--gray-200);
    padding-bottom: 0.5rem;
}

.contact-hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 0.4rem;
}

.contact-hours-row.highlight {
    font-weight: 600;
    color: var(--success);
}

/* Contact Form Card */
.contact-form-card {
    background-color: var(--white);
    padding: 3rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.contact-form-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* Maps Container */
.map-container {
    height: 350px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--gray-300);
    box-shadow: var(--shadow-sm);
    position: relative;
    background-color: var(--gray-100);
}

.map-placeholder-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 41, 59, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.map-placeholder-overlay svg {
    width: 48px;
    height: 48px;
    fill: var(--primary);
    margin-bottom: 1rem;
}

/* --- Sticky Sticky Actions & Call Widgets --- */
.floating-widgets {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-btn {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    position: relative;
}

.floating-btn:hover {
    transform: scale(1.1) rotate(5deg);
}

.floating-whatsapp {
    background-color: #25D366;
}

.floating-call {
    background-color: var(--primary);
}

.floating-btn svg {
    width: 26px;
    height: 26px;
    fill: var(--white);
}

.floating-tooltip {
    position: absolute;
    right: 70px;
    background-color: var(--dark);
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-md);
}

.floating-btn:hover .floating-tooltip {
    opacity: 1;
    transform: translateX(-5px);
}

/* --- Multi-step Modal --- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.modal.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-dialog {
    background-color: var(--white);
    width: 92%;
    max-width: 550px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: scale(0.9);
    transition: transform var(--transition-normal);
}

.modal.open .modal-dialog {
    transform: scale(1);
}

.modal-header {
    background-color: var(--primary);
    color: var(--white);
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.modal-close {
    color: var(--white);
    font-size: 1.75rem;
    font-weight: 300;
    line-height: 1;
}

.modal-body {
    padding: 2rem;
}

/* Multi-step progress bar */
.modal-progress {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 2rem;
}

.modal-progress::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 2px;
    background-color: var(--gray-200);
    z-index: 1;
}

.modal-prog-bar {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary);
    z-index: 2;
    transition: var(--transition-normal);
}

.modal-step-dot {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background-color: var(--white);
    border: 2px solid var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gray-600);
    position: relative;
    z-index: 3;
    transition: var(--transition-normal);
}

.modal-step-dot.active {
    border-color: var(--primary);
    color: var(--primary);
}

.modal-step-dot.completed {
    border-color: var(--primary);
    background-color: var(--primary);
    color: var(--white);
}

.modal-step-panel {
    display: none;
}

.modal-step-panel.active {
    display: block;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Success State Screen */
.modal-success-screen {
    text-align: center;
    padding: 2rem 0;
}

.modal-success-screen svg {
    width: 64px;
    height: 64px;
    color: var(--success);
    margin-bottom: 1.5rem;
}

/* --- Footer --- */
.footer {
    background-color: var(--dark);
    color: var(--gray-300);
    padding: 5rem 0 2rem;
    border-top: 5px solid var(--primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.75rem;
    position: relative;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 35px;
    height: 3px;
    background-color: var(--accent);
    border-radius: var(--radius-full);
}

.footer-col p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

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

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(3px);
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.9rem;
}

.footer-contact-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.footer-contact-item svg {
    width: 16px;
    height: 16px;
    stroke: var(--accent);
    stroke-width: 2;
    fill: none;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
}

.footer-social-btn {
    width: 36px;
    height: 36px;
    background-color: rgba(255,255,255,0.06);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-fast);
}

.footer-social-btn:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-social-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* --- Media Queries (Responsive Layouts) --- */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.75rem;
    }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    .hero-btns {
        justify-content: center;
    }
    .hero-features {
        justify-content: center;
    }
    .hero-card {
        max-width: 550px;
        margin: 0 auto;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    .topbar {
        display: none; /* Hide topbar on mobile to save vertical space */
    }
    .section-header h2 {
        font-size: 1.85rem;
    }
    .header-content {
        position: relative;
    }
    .hamburger {
        display: flex;
    }
    
    /* Navigation Menu for Mobile */
    .nav {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 3rem 2rem;
        gap: 1.5rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition-normal);
        overflow-y: auto;
        z-index: 1001;
    }
    
    .nav.open {
        left: 0;
    }
    
    .nav-actions {
        width: 100%;
        margin-top: 1.5rem;
    }
    
    .nav-actions .btn {
        width: 100%;
    }
    
    .nav-link {
        font-size: 1.15rem;
        width: 100%;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--gray-100);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .hamburger.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.open span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.open span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .subsidy-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-card {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .section-padding {
        padding: 3.5rem 0;
    }
    .hero {
        padding: 4rem 0 3rem;
    }
    .hero-title {
        font-size: 2.15rem;
    }
    .hero-sub {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    .hero-btns .btn {
        width: 100%;
    }
    .hero-feat-item {
        width: 100%;
    }
    .hero-card {
        padding: 1.5rem;
    }
    .why-card {
        padding: 1.75rem;
    }
    .product-actions {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    .ba-container {
        height: 280px;
    }
    .ba-slider-button {
        width: 36px;
        height: 36px;
    }
    .ba-slider-button svg {
        width: 14px;
        height: 14px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column-reverse;
        text-align: center;
        gap: 1rem;
    }
    .footer-bottom-links {
        justify-content: center;
    }
}
