/* Variables & Reset */
:root {
    --dark: #111827;
    --gray-1: #374151;
    --gray-2: #6B7280;
    --blue: #2563EB;
    --white: #FFFFFF;
    --bg-light: #F9FAFB;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    color: var(--gray-1);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 { color: var(--dark); line-height: 1.2; }

.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}
.btn-primary { background-color: var(--blue); color: var(--white); }
.btn-primary:hover { background-color: #1d4ed8; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--dark); }
.btn-light { background: var(--white); color: var(--blue); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.btn-block { width: 100%; }

/* Navigation */
#navbar {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; font-weight: 800; color: var(--dark); }
.logo-emoji { font-size: 1.8rem; }
.nav-menu { display: flex; gap: 30px; }
.nav-menu li a { font-weight: 500; color: var(--gray-1); transition: color 0.3s; position: relative; }
.nav-menu li a:hover { color: var(--blue); }
.nav-menu li a::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background: var(--blue); transition: width 0.3s; }
.nav-menu li a:hover::after { width: 100%; }
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger span { width: 25px; height: 3px; background: var(--dark); transition: 0.3s; }

/* Hero Section */
.hero-section {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    text-align: center; color: var(--white); position: relative; overflow: hidden;
    background: linear-gradient(135deg, #111827 0%, #374151 50%, #2563EB 100%);
}
.hero-overlay { position: absolute; top:0; left:0; width:100%; height:100%; background: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?q=80&w=2000') center/cover; opacity: 0.15; mix-blend-mode: overlay; }
.hero-content { position: relative; z-index: 2; padding-top: 80px; }
.hero-subheading { text-transform: uppercase; letter-spacing: 3px; margin-bottom: 15px; font-weight: 600; color: #93c5fd; }
.hero-heading { font-size: 4rem; font-weight: 800; margin-bottom: 20px; color: var(--white); }
.hero-heading span { color: #93c5fd; }
.hero-desc { font-size: 1.2rem; max-width: 700px; margin: 0 auto 30px; color: #e5e7eb; }
.hero-btns { display: flex; gap: 20px; justify-content: center; }

/* Section Stylings */
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.sub-tag { color: var(--blue); font-weight: 600; text-transform: uppercase; letter-spacing: 2px; display: block; margin-bottom: 10px; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 15px; }
.section-header p { color: var(--gray-2); max-width: 600px; margin: 0 auto; }

/* About Section */
.about-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.about-card { background: var(--white); padding: 30px; border-radius: 15px; text-align: center; box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: transform 0.3s; border: 1px solid #f0f0f0; }
.about-card:hover { transform: translateY(-10px); border-color: var(--blue); }
.about-icon { font-size: 2.5rem; margin-bottom: 15px; }

/* Stats Section */
.stats-section { background: var(--dark); padding: 60px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-item h3 { font-size: 3rem; color: var(--blue); margin-bottom: 10px; }
.stat-item p { color: #e5e7eb; font-size: 1.1rem; }

/* Features */
.feature-section { background: var(--bg-light); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-card { background: var(--white); padding: 35px; border-radius: 15px; transition: 0.3s; box-shadow: 0 5px 15px rgba(0,0,0,0.03); }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(37, 99, 235, 0.1); }
.f-icon { font-size: 2rem; background: rgba(37, 99, 235, 0.1); color: var(--blue); width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; border-radius: 50%; margin-bottom: 20px; }

/* Process */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.process-step { position: relative; padding: 30px; background: var(--white); border-radius: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.process-step::before { content: ''; position: absolute; top: 50%; right: -20px; width: 20px; height: 2px; background: var(--blue); z-index: 1; }
.process-step:last-child::before { display: none; }
.process-num { font-size: 2rem; font-weight: 800; color: rgba(37, 99, 235, 0.1); position: absolute; top: 10px; right: 20px; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.service-card { background: var(--white); border-radius: 15px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: transform 0.3s; }
.service-card:hover { transform: translateY(-10px); }
.s-img { width: 100%; height: 400px; background-size: cover; background-position: center; }
.living-room { background: url('https://i.pinimg.com/1200x/e4/f2/2f/e4f22f5a4cb161874048bee0fe6a5825.jpg') center/cover; }
.dining-room { background: url('https://i.pinimg.com/736x/d7/9b/7b/d79b7b532a4d87337cb688ebc4897566.jpg') center/cover; }
.bathroom { background: url('https://images.unsplash.com/photo-1620626011761-996317b8d101?q=80&w=1000') center/cover; }
.security { background: url('https://i.pinimg.com/1200x/ce/4a/4d/ce4a4d4bec69c4799f762f320c7c270f.jpg') center/cover; }
.service-content { padding: 25px; }
.read-more { color: var(--blue); font-weight: 600; margin-top: 15px; display: inline-block; }

/* Warranty */
.warranty-section { background: linear-gradient(135deg, var(--blue), #1d4ed8); color: var(--white); padding: 80px 0; text-align: center; }
.warranty-section h2 { color: var(--white); font-size: 2.5rem; margin-bottom: 20px; }
.warranty-section p { max-width: 700px; margin: 0 auto 30px; font-size: 1.1rem; }

/* Forms */
.form-wrapper { max-width: 800px; margin: 0 auto; background: var(--white); padding: 40px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.form-row { display: flex; gap: 20px; }
.form-group { margin-bottom: 20px; flex: 1; width: 100%; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; color: var(--gray-1); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px 15px; border: 1px solid #e5e7eb; border-radius: 8px;
    font-family: 'Poppins', sans-serif; transition: border 0.3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--blue); outline: none; }

/* FAQ */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #e5e7eb; }
.faq-question { padding: 20px; cursor: pointer; display: flex; justify-content: space-between; font-weight: 600; font-size: 1.1rem; color: var(--dark); }
.faq-icon { font-size: 1.5rem; color: var(--blue); transition: transform 0.3s; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; color: var(--gray-2); }
.faq-item.active .faq-answer { max-height: 200px; padding: 0 20px 20px; }

/* Reviews */
.reviews-section { background: var(--bg-light); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.review-card { background: var(--white); padding: 30px; border-radius: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.stars { color: #fbbf24; margin-bottom: 15px; }
.review-card p { font-style: italic; margin-bottom: 20px; color: var(--gray-1); }
.reviewer { font-weight: 600; color: var(--dark); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; }
.contact-info p { margin-bottom: 15px; color: var(--gray-1); }
.contact-info a { color: var(--blue); }
.map-embed { margin-top: 20px; border-radius: 10px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }

/* Footer */
.footer-section { background: var(--dark); color: var(--gray-2); padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { color: var(--white); margin-bottom: 20px; }
.footer-col h4 { color: var(--white); margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--blue); }
.subscribe-form { display: flex; gap: 10px; margin-top: 15px; }
.subscribe-form input { flex: 1; padding: 10px; border-radius: 8px; border: none; background: var(--gray-1); color: var(--white); }
.subscribe-form input::placeholder { color: #9ca3af; }
.footer-bottom { border-top: 1px solid var(--gray-1); padding: 20px 0; }
.footer-bottom-content { display: flex; justify-content: space-between; align-items: center; }
.legal-links a { margin-left: 20px; }
.legal-links a:hover { color: var(--blue); }

/* Scroll Reveal Animation */
.scroll-reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.scroll-reveal.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 992px) {
    .about-grid, .feature-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .process-step::before { display: none; }
}
@media (max-width: 768px) {
    .nav-menu, .nav-cta { display: none; }
    .hamburger { display: flex; }
    .nav-menu.active { display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; width: 100%; background: var(--white); padding: 20px; box-shadow: 0 5px 10px rgba(0,0,0,0.1); }
    .hero-heading { font-size: 2.5rem; }
    .hero-btns { flex-direction: column; align-items: center; }
    .about-grid, .feature-grid, .reviews-grid, .stats-grid, .process-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { flex-direction: column; gap: 0; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom-content { flex-direction: column; gap: 10px; text-align: center; }
    .legal-links a { margin: 0 10px; }
}

/* Inner Page Styling (Terms & Privacy) */
.page-header { padding: 150px 0 50px; background: var(--bg-light); text-align: center; }
.page-content { padding: 50px 0; }
.legal-block { max-width: 800px; margin: 0 auto; }
.legal-block h2 { margin: 30px 0 15px; color: var(--dark); }
.legal-block p, .legal-block li { margin-bottom: 15px; color: var(--gray-1); }
.legal-block ul { padding-left: 20px; list-style: circle; }