/*
Theme Name: KP Developers India Theme
Theme URI: https://kpdevelopersindia.com
Author: Antigravity AI
Author URI: https://kpdevelopersindia.com
Description: Custom high-performance corporate & real estate development WordPress theme built for KP Developers India.
Version: 1.0.0
Text Domain: kpdevelopers
*/

:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --accent-pill: #ef4444;
    --text-dark: #0f172a;
    --text-body: #475569;
    --text-muted: #94a3b8;
    --bg-light: #f8fafc;
    --card-bg: #ffffff;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 25px -5px rgba(37,99,235,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
    --radius-lg: 16px;
    --radius-md: 10px;
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-body);
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
}

/* Container */
.kp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Tag Pill */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: #fef2f2;
    color: var(--accent-pill);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 30px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.25;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-body);
    max-width: 600px;
}

/* Top Bar */
.top-bar {
    background: #0f172a;
    color: #94a3b8;
    padding: 10px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.top-contacts {
    display: flex;
    gap: 20px;
}

.top-contacts a:hover {
    color: #ffffff;
}

.top-socials {
    display: flex;
    gap: 14px;
}

.top-socials a:hover {
    color: var(--primary);
}

/* Navigation Header */
.kp-header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.kp-nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
}

.logo-badge {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
}

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

.nav-links a {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
}

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

.header-cta {
    padding: 10px 24px;
    background: var(--primary);
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 14px rgba(37,99,235,0.3);
}

.header-cta:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.15;
    margin: 16px 0 20px;
}

.hero-content p {
    font-size: 16px;
    color: var(--text-body);
    margin-bottom: 30px;
}

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

.btn-main {
    padding: 14px 30px;
    background: var(--primary);
    color: #fff;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 6px 20px rgba(37,99,235,0.35);
}

.btn-main:hover {
    background: var(--primary-hover);
}

.hero-img-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.hero-img-frame img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
}

/* Floating Stats Bar */
.stats-bar-section {
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.stats-bar-grid {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 40px;
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
    border: 1px solid var(--border);
}

.stat-item h3 {
    font-size: 32px;
    font-weight: 900;
    color: var(--primary);
}

.stat-item p {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

/* Services Section */
.services-section {
    padding: 90px 0;
    background: #ffffff;
}

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

.service-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 28px;
    transition: all 0.3s ease;
}

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

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: #eff6ff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-body);
    margin-bottom: 20px;
}

.link-arrow {
    font-weight: 700;
    font-size: 14px;
    color: var(--primary);
}

/* About Us Section */
.about-section {
    padding: 90px 0;
    background: var(--bg-light);
}

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

.about-img-collage img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.checklist {
    list-style: none;
    margin: 24px 0 30px;
}

.checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.checklist li i {
    color: var(--accent-pill);
    font-size: 16px;
}

/* Mission & Stats Section */
.mission-section {
    padding: 90px 0;
    background: #ffffff;
}

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

.stat-box-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-box {
    background: #f8fafc;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    border: 1px solid var(--border);
}

.stat-box h3 {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary);
}

.stat-box p {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

/* Video CTA Section */
.video-section {
    position: relative;
    padding: 120px 0;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
}

.video-content {
    position: relative;
    z-index: 5;
    max-width: 700px;
    margin: 0 auto;
}

.play-btn {
    width: 80px;
    height: 80px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 24px;
    box-shadow: 0 0 0 12px rgba(37,99,235,0.3);
    transition: transform 0.3s ease;
}

.play-btn:hover {
    transform: scale(1.1);
}

/* Projects Section */
.projects-section {
    padding: 90px 0;
    background: var(--bg-light);
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

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

.project-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.project-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.project-info {
    padding: 24px;
}

.project-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.project-info p {
    font-size: 13px;
    color: var(--text-muted);
}

/* Testimonials Section */
.testimonials-section {
    padding: 90px 0;
    background: #ffffff;
}

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

.testimonial-card {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
}

.testimonial-card p {
    font-size: 16px;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 24px;
}

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

.client-profile img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* Blogs Section */
.blogs-section {
    padding: 90px 0;
    background: var(--bg-light);
}

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

.blog-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-info {
    padding: 24px;
}

.blog-meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.blog-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

/* Pre-Footer Banner */
.cta-banner {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    padding: 60px 0;
    border-radius: 20px;
    margin: 60px auto -60px;
    position: relative;
    z-index: 20;
    box-shadow: var(--shadow-md);
}

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

.cta-banner h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
}

/* Footer */
.kp-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 120px 0 40px;
}

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

.footer-col h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: #ffffff;
}

.copyright-bar {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 30px;
    text-align: center;
    font-size: 13px;
}

/* Mobile Toggle Button */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 24px;
    color: var(--text-dark);
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.mobile-toggle:hover {
    background: #f1f5f9;
}

/* Backdrop Overlay for Mobile Navigation Drawer */
.nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.5);
    z-index: 9998 !important;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
}

.nav-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer-header, .mobile-drawer-footer, .mobile-nav-icon {
    display: none;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .desktop-only-cta {
        display: none !important;
    }

    .kp-header {
        position: relative;
        z-index: 9999;
    }

    /* Right-Side Off-Canvas Mobile Drawer - Pure Clean White */
    .nav-links {
        position: fixed !important;
        top: 0 !important;
        right: -320px !important;
        width: 300px !important;
        max-width: 85vw !important;
        height: 100vh !important;
        background: #ffffff !important; /* Pure Crisp White */
        color: #0f172a;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 20px 18px !important;
        gap: 6px !important;
        border-left: 1px solid #e2e8f0;
        box-shadow: -10px 0 35px rgba(0, 0, 0, 0.2);
        display: flex !important;
        z-index: 10000 !important;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
        overflow-y: auto;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }



    .nav-links.active {
        right: 0 !important;
    }

    .mobile-drawer-header {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 14px;
        margin-bottom: 12px;
        border-bottom: 1px solid #f1f5f9;
    }

    .mobile-close-btn {
        background: #f1f5f9;
        border: none;
        color: #0f172a;
        width: 36px;
        height: 36px;
        border-radius: 10px;
        font-size: 18px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.25s ease;
    }

    .mobile-close-btn:hover {
        background: #ef4444;
        color: #ffffff;
    }

    .nav-links li {
        width: 100%;
        list-style: none;
    }

    .nav-links li a {
        display: flex !important;
        align-items: center;
        gap: 12px;
        padding: 12px 14px !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        border-radius: 10px;
        border-bottom: none !important;
        color: #1e293b !important;
        transition: all 0.25s ease;
    }

    .nav-links li a:hover {
        background: #eff6ff !important;
        color: #2563eb !important;
    }

    .mobile-nav-icon {
        display: inline-block !important;
        width: 20px;
        text-align: center;
        color: #2563eb;
    }

    .mobile-drawer-footer {
        display: block !important;
        margin-top: auto;
        padding-top: 16px;
        border-top: 1px solid #f1f5f9;
    }



    .hero-grid, .about-grid, .mission-grid, .testimonials-grid, .cta-banner-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .services-grid, .projects-grid, .blogs-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-bar-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-cards-grid, .why-us-grid, .flagship-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .founder-hero-grid, .services-hero-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .timeline-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .team-experts-grid, .process-steps-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .pricing-tab-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .single-project-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
}


@media (max-width: 768px) {
    .section-title {
        font-size: 28px !important;
    }

    .hero-section h1 {
        font-size: 28px !important;
    }

    .services-grid, .projects-grid, .blogs-grid, .stats-bar-grid, .footer-grid, .contact-cards-grid, .why-us-grid, .flagship-grid, .form-row-grid, .team-experts-grid, .core-values-grid, .founder-stats-grid, .process-steps-grid, .services-feature-icons-grid, .pricing-tab-grid {
        grid-template-columns: 1fr !important;
    }

    .timeline-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .hero-btns a {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .cta-banner-content, .monitor-cta-banner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 30px 20px !important;
    }

    .monitor-cta-content {
        flex-direction: column;
        text-align: center;
        gap: 16px !important;
    }

    .top-contacts {
        flex-direction: column;
        gap: 6px;
        align-items: center;
    }



    .top-bar-content {
        justify-content: center;
    }
}


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

