/*
Theme Name: Water Restoration
Theme URI: https://waterrestorationindianapolis.com
Author: Trishala Sharma
Description: Custom TV and Internet comparison theme
Version: 1.2
*/

/* ─── GOOGLE FONTS IMPORT ─── */
@import url('https://googleapis.com');

:root {
    --primary: #0A2540;
    --primary-dark: #152733;
    --secondary: #E2EAE5;
    --accent: #247BA0;
    --accent-hover: #0096B4;
    --orange-accent: #FF6B35;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --text-main: #334155;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(10, 37, 64, 0.1), 0 4px 6px -2px rgba(10, 37, 64, 0.05);
    --shadow-3d: 0 20px 35px -10px rgba(10, 37, 64, 0.15), 0 0 1px 1px rgba(255, 255, 255, 0.8) inset;
    --shadow-hover: 0 25px 50px -12px rgba(10, 37, 64, 0.25);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── GLOBAL RESET ─── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

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

body {
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

ul {
    list-style: none;
}

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

/* ─── UTILITIES & TYPOGRAPHY ─── */
.text-accent { color: var(--accent); }
.text-white { color: #FFFFFF !important; }
.text-light { color: #CBD5E1 !important; }
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--primary-dark); }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.w-100 { width: 100%; }

h1, h2, h3, h4 {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.section-sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.lead-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.6;
    color: #0B1F38;
    margin-bottom: 24px;
    letter-spacing: -0.2px;
}

.section-tag {
    display: table;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    margin: 0 auto 10px auto;
    text-align: center;
}

/* ─── HEADER & NAVIGATION ─── */
.top-emergency-bar {
    color: white;
    padding: 10px 0;
    font-size: 0.9rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-emergency-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.emergency-contact a {
    color: var(--accent);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.site-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
    width: 100%;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap; 
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    max-width: 220px;
    flex-shrink: 0;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    width: 100%;
}

.logo img {
    max-height: 65px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.logo img:hover {
    transform: scale(1.03);
}

.main-nav {
    display: flex;
    align-items: center;
}

.main-nav ul {
    display: flex;
    gap: 24px;
}

.main-nav a {
    font-weight: 600;
    color: var(--text-main);
    transition: var(--transition);
    text-decoration: none;
    font-size: 0.95rem;
    white-space: nowrap;
}

.main-nav a:hover {
    color: var(--accent);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--primary);
    cursor: pointer;
    padding: 5px;
    flex-shrink: 0;
}

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
}

.btn-3d {
    box-shadow: 0 8px 20px rgba(0, 180, 216, 0.3);
}

.btn-3d:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 14px 28px rgba(0, 180, 216, 0.45);
}

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

.btn-accent {
    background: linear-gradient(135deg, var(--orange-accent) 0%, #E85D04 100%);
    color: white;
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.35);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
}

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

.btn-emergency {
    background: var(--orange-accent);
    color: white;
    padding: 10px 24px;
    font-size: 0.95rem;
    border-radius: 50px;
    white-space: nowrap;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(255, 107, 53, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0); }
}

.pulse-glow {
    animation: pulseGlow 2.2s infinite;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background-color: #22C55E;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 rgba(34, 197, 94, 0.4);
    animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* ─── HERO SECTION ─── */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    padding: 80px 0 100px;
    overflow: hidden;
    width: 100%;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('https://unsplash.com') center/cover no-repeat;
    opacity: 0.12;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 180, 216, 0.15);
    color: var(--accent);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 180, 216, 0.3);
    margin-bottom: 20px;
    width: max-content;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 20px;
}

.hero-desc {
    color: #CBD5E1;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.hero-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 35px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 1rem;
}

.highlight-item i {
    color: var(--accent);
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-card-3d {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--shadow-3d);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition);
    width: 100%;
}

.hero-card-3d:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-10px);
}

.floating-badge {
    position: absolute;
    top: -15px;
    right: -15px;
    background: var(--orange-accent);
    color: white;
    padding: 10px 18px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.85rem;
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.4);
    z-index: 5;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    display: block;
}

.hero-card-footer {
    margin-top: 15px;
    text-align: center;
}

.rating-stars {
    color: #F59E0B;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.hero-card-footer p {
    font-size: 0.9rem;
    color: #E2E8F0;
}

/* ─── GRIDS & SECTIONS ─── */
.section-padding {
    padding: 80px 0;
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4-col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* ─── IMAGE STACK 3D ─── */
.image-stack-3d {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
}

.stack-img-1 {
    width: 80%;
    height: 340px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: var(--shadow-3d);
    transition: var(--transition);
}

.stack-img-2 {
    position: absolute;
    bottom: 10px;
    right: 0;
    width: 55%;
    height: 220px;
    object-fit: cover;
    border-radius: 16px;
    border: 6px solid white;
    box-shadow: var(--shadow-hover);
    transition: var(--transition);
}

/* ─── WHY CHOOSE US CARDS ─── */
#why-us .header-center-fix {
    display: flex !important;
    flex-direction: column !important;
Use code with caution.
align-items: center !important;
justify-content: center !important;
text-align: center !important;
width: 100% !important;
}
.feature-card-3d {
background: var(--bg-white);
padding: 35px 25px;
border-radius: 16px;
box-shadow: var(--shadow-sm);
border: 1px solid var(--border-color);
transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
text-align: left;
position: relative;
overflow: hidden;
z-index: 1;
}
.feature-card-3d::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(16deg, #24394fbf 0%, #334155 100%);
opacity: 0;
transition: opacity 0.5s ease-in-out;
z-index: -1;
}
.feature-card-3d:hover {
transform: translateY(-8px);
box-shadow: var(--shadow-hover);
border-color: transparent;
}
.feature-card-3d:hover::before { opacity: 1; }
.feature-card-3d:hover h3 { color: var(--bg-white); }
.feature-card-3d:hover p { color: rgba(255, 255, 255, 0.75); }
.feature-card-3d:hover .icon-box { background: rgba(255, 255, 255, 0.15); color: var(--bg-white); }
.icon-box {
width: 60px;
height: 60px;
background: rgba(0, 180, 216, 0.1);
color: var(--accent);
display: flex;
align-items: center;
justify-content: center;
border-radius: 12px;
font-size: 1.5rem;
margin-bottom: 20px;
transition: var(--transition);
}
.feature-card-3d h3 {
font-size: 1.25rem;
font-weight: 700;
margin-bottom: 10px;
color: var(--primary);
}
/* ─── CTA BANNER SECTION ─── */
.cta-banner-section {
background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
color: white;
padding: 80px 0;
width: 100%;
}
.cta-banner-content {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
width: 100%;
}
.cta-banner-content h2 {
color: white;
font-size: 3rem;
margin-bottom: 15px;
}
.cta-banner-content p {
font-size: 1.25rem;
color: #CBD5E1;
max-width: 700px;
}
.cta-btns {
display: flex;
justify-content: center;
align-items: center;
gap: 20px;
flex-wrap: wrap;
width: 100%;
}
/* ─── SERVICES ─── */
.service-card-3d {
background: var(--bg-white);
border-radius: 16px;
overflow: hidden;
box-shadow: var(--shadow-sm);
border: 1px solid var(--border-color);
transition: var(--transition);
display: flex;
flex-direction: column;
}
.service-card-3d:hover {
transform: translateY(-10px);
box-shadow: var(--shadow-hover);
border-color: var(--accent);
}
.service-img-wrap {
position: relative;
width: 100%;
height: 240px;
overflow: hidden;
}
.service-img-wrap img {
width: 100% !important;
height: 100% !important;
object-fit: cover !important;
display: block;
}
.service-tag {
position: absolute;
top: 15px;
right: 15px;
background: var(--primary);
color: white;
padding: 6px 14px;
border-radius: 50px;
font-size: 0.75rem;
font-weight: 700;
z-index: 2;
}
.service-content {
padding: 25px;
display: flex;
flex-direction: column;
flex-grow: 1;
}
.service-content h3 {
font-size: 1.35rem;
font-weight: 700;
color: var(--primary);
margin-bottom: 12px;
}
.service-link {
color: var(--accent);
font-weight: 700;
display: inline-flex;
align-items: center;
gap: 8px;
text-decoration: none;
}
/* ─── PROCESS & FAQ ─── */
.process-timeline {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 30px;
}
.process-card-3d {
background: var(--bg-white);
border-radius: 16px;
padding: 40px 30px;
box-shadow: var(--shadow-sm);
border: 1px solid var(--border-color);
position: relative;
transition: var(--transition);
}
.process-number {
position: absolute;
top: 20px;
right: 25px;
font-size: 2.8rem;
font-weight: 900;
color: rgba(0, 180, 216, 0.15);
}
.pulse-btn {
background:  #334155;
color: white;
width: 100%;
padding: 12px 20px;
border: none;
border-radius: 8px;
font-weight: 600;
cursor: pointer;
transition: var(--transition);
}
.faq-container {
max-width: 900px;
margin: 0 auto;
display: flex;
flex-direction: column;
gap: 16px;
}
.faq-item-3d {
background: var(--bg-white);
border-radius: 12px;
border: 1px solid var(--border-color);
box-shadow: var(--shadow-sm);
overflow: hidden;
}
.faq-question {
padding: 22px 25px;
display: flex;
justify-content: space-between;
align-items: center;
cursor: pointer;
}
.faq-answer {
padding: 0 25px 22px 25px;
display: none;
}
.faq-item-3d.active .faq-answer { display: block; }
/* ─── FOOTER ─── */
.site-footer {
background-color: var(--primary-dark);
color: #94A3B8;
padding: 60px 0 30px;
}
.footer-grid {
display: grid;
grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
gap: 40px;
}
.footer-logo a { color: white; text-decoration: none; }
.footer-socials a {
width: 40px;
height: 40px;
background: rgba(255, 255, 255, 0.06);
color: white;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 8px;
}
.footer-col ul a { color: #94A3B8; text-decoration: none; }
/* ─── PURE CSS SCROLL REVEAL ─── */
@keyframes fadeInUp {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
.feature-card-3d, .service-card-3d, .process-card-3d {
animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
/* ─── BREAKPOINTS (THE ULTIMATE RESPONSIVE ENGINE) ─── */
/* 1. Tablets & iPads (max-width: 1024px) */
@media (max-width: 1024px) {
.main-nav ul { gap: 16px; }
.hero-content h1 { font-size: 2.8rem; }
.grid-4-col { grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3-col, .process-timeline { grid-template-columns: repeat(2, 1fr); gap: 25px; }
.footer-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}
/* 2. Small Tablets / Landscape Phones (max-width: 768px) */
@media (max-width: 768px) {
.top-emergency-bar .container { flex-direction: column; gap: 8px; text-align: center; }
.site-header { padding: 12px 0; }
.main-nav {
display: none;
position: absolute;
top: 100%;
left: 0;
width: 100%;
background: white;
box-shadow: var(--shadow-md);
padding: 20px;
border-top: 1px solid var(--border-color);
}
.main-nav.active { display: block; }
.main-nav ul { flex-direction: column; gap: 16px; text-align: center; }
.mobile-menu-toggle { display: block; }
.header-cta { display: none; }
.hero-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
.badge-pill { margin: 0 auto 20px auto; }
.hero-highlights, .hero-actions { justify-content: center; }
.hero-card-3d { transform: none !important; max-width: 500px; margin: 0 auto; }
.grid-2-col { grid-template-columns: 1fr; gap: 40px; }
.image-stack-3d { height: 350px; max-width: 450px; margin: 0 auto; }
}
@media (max-width: 768px) {
    .image-stack-3d,
    .stack-image-3d {
        display: none !important;
    }
}
/* 3. Small Mobile Screen Dimensions (max-width: 480px) */
@media (max-width: 480px) {
.container { padding: 0 16px; }
.logo img { max-height: 50px; }
.hero-content h1 { font-size: 2.1rem; line-height: 1.2; }
.hero-subtitle { font-size: 1.1rem; }
.hero-desc { font-size: 1rem; }
.hero-highlights { grid-template-columns: 1fr; gap: 12px; max-width: 260px; margin: 0 auto 30px auto; text-align: left; }
.hero-actions .btn, .cta-btns .btn { width: 100%; }
h2 { font-size: 1.8rem; }
.section-sub { font-size: 0.95rem; }
.grid-3-col, .grid-4-col, .process-timeline, .footer-grid {
grid-template-columns: 1fr;
gap: 16px;
}
.feature-card-3d, .process-card-3d { padding: 25px 20px; }
.cta-banner-content h2 { font-size: 1.9rem; }
.faq-question h3 { font-size: 1rem; }
}
