/* =========================================
   Cool Space Pro Solution - Professional CSS
   Optimized for High Conversion & Mobile
========================================= */

/* --- 1. Root Variables & Reset --- */
:root {
    --primary-color: #0056b3; /* Professional Blue */
    --primary-dark: #004494;
    --secondary-color: #25D366; /* WhatsApp Green */
    --secondary-dark: #1da851;
    --accent-color: #e63946; /* Promo Red */
    --text-color-dark: #1a1a1a;
    --text-color-light: #555555;
    --bg-color-white: #ffffff;
    --bg-color-light: #f8f9fa;
    --shadow-light: 0 4px 15px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
    --font-main: 'Poppins', sans-serif;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base size */
}

body {
    font-family: var(--font-main);
    color: var(--text-color-dark);
    line-height: 1.6;
    background-color: var(--bg-color-white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* --- 2. Utility Classes --- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-color-light);
    max-width: 600px;
    margin: 0 auto;
}

/* --- 3. Buttons --- */
.btn-hero-wa {
    background-color: var(--secondary-color);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-hero-wa:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
}

.btn-hero-secondary {
    background-color: transparent;
    color: var(--text-color-dark);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    border: 2px solid #ddd;
}

.btn-hero-secondary:hover {
    background-color: rgba(0,0,0,0.03);
    border-color: #bbb;
}

/* --- 4. Main Header --- */
.main-header {
    background-color: var(--bg-color-white);
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-light);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-logo {
    height: 60px; /* Adjust based on logo shape */
    width: auto;
}

.nav-menu ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    font-weight: 600;
    color: var(--text-color-dark);
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.btn-nav-cta {
    background-color: var(--primary-color);
    color: white !important;
    padding: 10px 20px;
    border-radius: 50px;
}

.btn-nav-cta:hover {
    background-color: var(--primary-dark);
}

.btn-header-call {
    font-weight: 700;
    color: var(--primary-color);
}

/* Hamburger Menu Styles */
.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* --- 5. Hero Section --- */
.hero-section {
    padding: 160px 0 100px; /* Space for fixed header */
    background: linear-gradient(135deg, #e0f2fe 0%, #ffffff 100%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-badge {
    background-color: rgba(0, 86, 179, 0.1);
    color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-color-light);
    margin-bottom: 30px;
}

.hero-promo-card {
    background-color: var(--bg-color-white);
    padding: 20px;
    border-radius: 15px;
    border-left: 5px solid var(--accent-color);
    box-shadow: var(--shadow-md);
    margin-bottom: 40px;
}

.promo-title {
    color: var(--accent-color) !important;
    font-weight: 700;
    margin-bottom: 5px !important;
    font-size: 1rem !important;
}

.promo-price {
    font-size: 1.5rem !important;
    font-weight: 800;
    color: var(--text-color-dark) !important;
    margin-bottom: 5px !important;
}

.promo-price span {
    color: var(--accent-color);
    font-size: 2rem;
}

.promo-sub {
    font-size: 1rem !important;
    margin-bottom: 0 !important;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.hero-image-container {
    position: relative;
    text-align: center;
}

.hero-image {
    width: 100%;
    max-width: 500px;
    border-radius: 30px;
}

/* --- 6. Services Section --- */
.services-section {
    padding: 100px 0;
    background-color: var(--bg-color-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--bg-color-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-color-light);
}

.highlighted-card {
    border: 2px solid var(--primary-color);
    background-color: rgba(0, 86, 179, 0.02);
}

/* --- 7. Pricing Section --- */
.pricing-section {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: flex-start;
}

.price-card {
    background-color: var(--bg-color-white);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #eee;
    text-align: center;
    transition: var(--transition);
}

.price-card h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.price-desc {
    color: var(--text-color-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.price-amount span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color-light);
}

.price-special-offer {
    background-color: rgba(230, 57, 70, 0.1);
    color: var(--accent-color);
    padding: 8px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.price-features {
    text-align: left;
    margin-bottom: 40px;
    color: var(--text-color-light);
}

.price-features li {
    margin-bottom: 10px;
}

.btn-price-book {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    width: 100%;
}

.btn-price-book:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Best Seller Highlight */
.best-seller {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    position: relative;
    transform: scale(1.03);
}

.best-seller-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: 5px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.btn-price-book-promo {
    background-color: var(--accent-color);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    width: 100%;
    box-shadow: 0 4px 10px rgba(230, 57, 70, 0.2);
}

.btn-price-book-promo:hover {
    background-color: #d32f2f;
}

.pricing-note {
    text-align: center;
    margin-top: 40px;
    color: var(--text-color-light);
    font-size: 0.9rem;
}

/* --- 8. Why Choose Us --- */
.why-choose-section {
    padding: 100px 0;
    background-color: var(--bg-color-light);
}

.why-choose-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.side-image {
    border-radius: 30px;
}

.why-choose-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.why-choose-content p {
    color: var(--text-color-light);
    margin-bottom: 40px;
}

.benefits-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.benefit-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.benefit-icon {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.benefit-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
}

.benefit-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* --- 9. Areas Section --- */
.areas-section {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(rgba(0, 86, 179, 0.9), rgba(0, 86, 179, 0.9)), url('assets/areas-bg.jpg'); /* ZAROORI: Ek generic map or building pic laga dein background mein */
    background-size: cover;
    background-position: center;
    color: white;
}

.areas-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.areas-content p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.areas-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.areas-list span {
    background-color: rgba(255,255,255,0.15);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* --- 10. Contact Section --- */
.contact-section {
    padding: 100px 0;
}

.contact-container {
    max-width: 800px;
}

.contact-form {
    background-color: var(--bg-color-white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group input, 
.form-group textarea, 
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, 
.form-group textarea:focus, 
.form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
}

.btn-submit {
    background-color: var(--primary-color);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 50px;
    width: 100%;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background-color: var(--primary-dark);
}

/* --- 11. Footer --- */
.main-footer {
    background-color: var(--text-color-dark);
    color: rgba(255,255,255,0.8);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 20px;
}

.brand-col p {
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.footer-col h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: white;
    text-decoration: underline;
}

.footer-bottom {
    background-color: #111;
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
}

.developer-credit {
    opacity: 0.5;
}

/* --- 12. Sticky Bottom Bar (Mobile Only) --- */
.sticky-bottom-bar {
    display: none; /* Hidden on desktop */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-color-white);
    box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
    z-index: 999;
    padding: 10px;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.sticky-wa-btn {
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
    padding: 12px;
    border-radius: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.sticky-call-btn {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 12px;
    border-radius: 10px;
    font-weight: 700;
}

.wa-icon-small {
    height: 20px;
}

/* =========================================
   --- 13. Responsive Media Queries ---
========================================= */

/* --- Tablet (max-width: 1024px) --- */
@media (max-width: 1024px) {
    html { font-size: 15px; } /* Slightly smaller fonts */
    
    .hero-content h1 { font-size: 3rem; }
    .services-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    
    /* Highlighted card reset scaling on tablet */
    .best-seller { transform: scale(1); margin: 10px 0; } 
    
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* --- Mobile (max-width: 768px) --- */
@media (max-width: 768px) {
    /* Base padding adjustments */
    .hero-section { padding: 120px 0 60px; }
    section { padding: 60px 0 !important; }
    
    /* Navigation Reset */
    .nav-menu {
        position: fixed;
        top: 80px; /* Header height */
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-color-white);
        flex-direction: column;
        display: flex;
        justify-content: center;
        transition: var(--transition);
        z-index: 998;
    }
    
    .nav-menu.active { left: 0; }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 30px;
    }
    
    .nav-menu a { font-size: 1.2rem; }
    
    .menu-toggle { display: block; }
    
    /* Hamburger Animation */
    #mobile-menu.is-active .bar:nth-child(2) { opacity: 0; }
    #mobile-menu.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    #mobile-menu.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    /* Layouts to Single Column */
    .hero-container, .services-grid, .pricing-grid, 
    .why-choose-container, .footer-grid, .form-group-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Content Adjustments */
    .hero-content, .section-header { text-align: center; }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-btns { justify-content: center; flex-direction: column; gap: 10px; }
    
    .hero-image { max-width: 300px; margin-top: 30px; }
    
    .why-choose-image { order: 2; } /* Image below content on mobile */
    .contact-form { padding: 30px; }
    
    .main-logo { height: 50px; }
    .main-header { padding: 10px 0; }

    /* Utility hide class */
    .header-cta-desktop { display: none; }
    
    /* Footer responsiveness */
    .footer-bottom .container { flex-direction: column; gap: 10px; }

    /* Show Sticky Bottom Bar */
    body { padding-bottom: 70px; } /* Space for bar */
    .sticky-bottom-bar { display: grid; }
}

/* --- Small Mobile (max-width: 480px) --- */
@media (max-width: 480px) {
    .hero-content h1 { font-size: 2rem; }
    .hero-promo-card { padding: 15px; }
    .promo-price span { font-size: 1.5rem; }
    
    .section-header h2 { font-size: 1.8rem; }
    .contact-form { padding: 20px; }
}