/* 
 Theme Name:   Swapno Bunon Kadence Child
 Theme URI:    https://swapnobunon.com
 Description:  Kadence Child Theme for Swapno Bunon
 Author:       Md. Rizwanul Haque
 Author URI:   https://getrizwan.com
 Template:     kadence
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

 /* == Add your own styles below this line ==
--------------------------------------------*/

        /* =========================================
           1. CSS VARIABLES (Kadence Global Palette)
           ========================================= */
        :root {
            /* Accents */
            --accent-1: #0A4FFF; /* Electric Cobalt */
            --accent-2: #C2B2A4; /* Raw Thread Beige */
            --accent-3: #10B981; /* Enterprise Emerald */
            
            /* Contrasts */
            --contrast-1: #0B0C10; /* Obsidian Black */
            --contrast-2: #1F2937; /* Deep Slate */
            --contrast-3: #E2E8F0; /* Titanium Grey */
            --contrast-4: #FFFFFF; /* Pure White */
            
            /* Bases */
            --base-1: #F8FAFC; /* Platinum White */
            --base-2: #18181B; /* Gunmetal Grey */
            --base-3: #F1F5F9; /* Ash Grey */
            
            /* Notices */
            --notice-info: #0284C7;
            --notice-success: #059669;
            --notice-warning: #D97706;
            --notice-error: #DC2626;

            /* Typography */
            --font-heading: 'Instrument Serif', serif;
            --font-body: 'Inter', sans-serif;
            
            /* Spacing & Layout */
            --container-width: 1280px;
            --header-height: 80px;
            --border-radius: 6px;
            --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        }

        /* =========================================
           2. RESET & BASE STYLES
           ========================================= */
        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        
        html { scroll-behavior: smooth; }
        
        body {
            font-family: var(--font-body);
            background-color: var(--base-1);
            color: var(--contrast-2);
            line-height: 1.6;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
        }

        h1, h2, h3, h4, h5, h6 {
            font-family: var(--font-heading);
            color: var(--contrast-1);
            line-height: 1.1;
            font-weight: 400;
        }

        h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
        h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 1.5rem; }
        h3 { font-size: 1.75rem; margin-bottom: 1rem; }
        p { margin-bottom: 1.5rem; font-size: 1.05rem; color: #4B5563; }

        a { text-decoration: none; color: var(--accent-1); transition: var(--transition-smooth); }
        a:hover { color: #0838CC; text-decoration: underline; text-underline-offset: 4px; }

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

        .container {
            width: 90%;
            max-width: var(--container-width);
            margin: 0 auto;
            padding: 0 1rem;
        }

        /* =========================================
           3. UTILITY & ANIMATION CLASSES
           ========================================= */
        .text-center { text-align: center; }
        .text-light { color: var(--contrast-4); }
        .bg-dark { background-color: var(--contrast-1); color: var(--contrast-4); }
        .bg-dark p { color: #9CA3AF; }
        .bg-dark h1, .bg-dark h2, .bg-dark h3 { color: var(--contrast-4); }

        /* Scroll Reveal Animation */
        .reveal {
            opacity: 0;
            transform: translateY(40px);
            transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .reveal.is-visible {
            opacity: 1;
            transform: translateY(0);
        }
        .no-animation, [data-no-animation] {
            opacity: 1 !important;
            transform: none !important;
            transition: none !important;
        }

        /* Buttons */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 1rem 2rem;
            font-family: var(--font-body);
            font-weight: 600;
            font-size: 0.95rem;
            letter-spacing: 0.02em;
            border-radius: var(--border-radius);
            cursor: pointer;
            transition: var(--transition-smooth);
            border: 1px solid transparent;
            text-decoration: none !important;
        }
        .btn-primary {
            background-color: var(--accent-1);
            color: var(--contrast-4);
            box-shadow: 0 4px 14px rgba(10, 79, 255, 0.3);
        }
        .btn-primary:hover {
            background-color: #0838CC;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(10, 79, 255, 0.4);
        }
        .btn-secondary {
            background-color: transparent;
            color: var(--contrast-4);
            border: 1px solid var(--contrast-3);
        }
        .btn-secondary:hover {
            background-color: var(--contrast-4);
            color: var(--contrast-1);
        }
        .btn-outline-dark {
            background-color: transparent;
            color: var(--contrast-1);
            border: 1px solid var(--contrast-3);
        }
        .btn-outline-dark:hover {
            background-color: var(--contrast-1);
            color: var(--contrast-4);
        }

        /* =========================================
           4. HEADER & NAVIGATION
           ========================================= */
        .site-header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: var(--header-height);
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--contrast-3);
            z-index: 1000;
            transition: var(--transition-smooth);
        }
        .site-header.scrolled {
            height: 70px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.05);
        }
        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 100%;
        }
        .logo {
            font-family: var(--font-heading);
            font-size: 1.75rem;
            font-weight: 700;
            color: var(--contrast-1);
            letter-spacing: -0.02em;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .logo span { color: var(--accent-1); }
        
        .main-nav { display: flex; gap: 2rem; align-items: center; }
        .nav-link {
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--contrast-2);
            cursor: pointer;
            position: relative;
        }
        .nav-link::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--accent-1);
            transition: var(--transition-smooth);
        }
        .nav-link:hover::after, .nav-link.active::after { width: 100%; }
        .nav-link:hover, .nav-link.active { color: var(--accent-1); text-decoration: none; }

        .mobile-menu-btn { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--contrast-1); }

        /* =========================================
           5. PAGE VIEWS (SPA ROUTING)
           ========================================= */
        .page-view {
            display: none;
            padding-top: var(--header-height);
            min-height: 100vh;
            animation: fadeIn 0.5s ease-out;
        }
        .page-view.active { display: block; }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Hero Sections */
        .hero {
            padding: 6rem 0;
            position: relative;
            overflow: hidden;
        }
        .hero-dark {
            background: linear-gradient(135deg, var(--contrast-1) 0%, var(--base-2) 100%);
            color: var(--contrast-4);
        }
        .hero-content {
            max-width: 800px;
            position: relative;
            z-index: 2;
        }
        .hero-badge {
            display: inline-block;
            padding: 0.5rem 1rem;
            background: rgba(10, 79, 255, 0.15);
            color: var(--accent-1);
            border: 1px solid rgba(10, 79, 255, 0.3);
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
            letter-spacing: 0.05em;
            text-transform: uppercase;
        }
        .hero-dark .hero-badge {
            background: rgba(194, 178, 164, 0.15);
            color: var(--accent-2);
            border-color: rgba(194, 178, 164, 0.3);
        }

        /* Grids & Cards */
        .grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; align-items: center; }
        .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
        .grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }

        .card {
            background: var(--contrast-4);
            border: 1px solid var(--contrast-3);
            border-radius: var(--border-radius);
            padding: 2rem;
            transition: var(--transition-smooth);
        }
        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 30px rgba(0,0,0,0.08);
            border-color: var(--accent-1);
        }
        .card-dark {
            background: var(--base-2);
            border-color: #2D3748;
        }
        .card-dark:hover { border-color: var(--accent-2); }
        .card-icon {
            width: 48px;
            height: 48px;
            background: rgba(10, 79, 255, 0.1);
            color: var(--accent-1);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
        }

        /* Dashboard Mockup (Glassmorphism) */
        .dashboard-mockup {
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            padding: 2rem;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
        }
        .mockup-header { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; }
        .mockup-dot { width: 12px; height: 12px; border-radius: 50%; background: #EF4444; }
        .mockup-dot:nth-child(2) { background: #F59E0B; }
        .mockup-dot:nth-child(3) { background: #10B981; }
        .mockup-row { display: flex; gap: 1rem; margin-bottom: 1rem; }
        .mockup-bar { height: 12px; background: rgba(255,255,255,0.1); border-radius: 4px; flex: 1; }
        .mockup-bar.short { flex: 0.4; }
        .mockup-bar.accent { background: var(--accent-1); opacity: 0.6; }

        /* Stats Counter */
        .stat-item { text-align: center; padding: 2rem; border-right: 1px solid var(--contrast-3); }
        .stat-item:last-child { border-right: none; }
        .stat-number { font-family: var(--font-heading); font-size: 3.5rem; color: var(--accent-1); line-height: 1; margin-bottom: 0.5rem; }
        .stat-label { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; color: #6B7280; font-weight: 600; }

        /* Forms */
        .form-group { margin-bottom: 1.5rem; }
        .form-label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--contrast-2); }
        .form-input, .form-select, .form-textarea {
            width: 100%;
            padding: 0.875rem 1rem;
            border: 1px solid var(--contrast-3);
            border-radius: var(--border-radius);
            font-family: var(--font-body);
            font-size: 1rem;
            transition: var(--transition-smooth);
            background: var(--contrast-4);
        }
        .form-input:focus, .form-select:focus, .form-textarea:focus {
            outline: none;
            border-color: var(--accent-1);
            box-shadow: 0 0 0 3px rgba(10, 79, 255, 0.1);
        }

        /* Footer */
        .site-footer {
            background: var(--contrast-1);
            color: #9CA3AF;
            padding: 5rem 0 2rem;
            border-top: 1px solid #1F2937;
        }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 4rem; }
        .footer-heading { color: var(--contrast-4); font-family: var(--font-body); font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.5rem; }
        .footer-links { list-style: none; }
        .footer-links li { margin-bottom: 0.75rem; }
        .footer-links a { color: #9CA3AF; font-size: 0.95rem; }
        .footer-links a:hover { color: var(--contrast-4); text-decoration: none; }
        .footer-bottom { border-top: 1px solid #1F2937; padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; }

        /* =========================================
           6. RESPONSIVE DESIGN
           ========================================= */
        @media (max-width: 1024px) {
            .grid-4 { grid-template-columns: repeat(2, 1fr); }
            .grid-3 { grid-template-columns: repeat(2, 1fr); }
            .footer-grid { grid-template-columns: 1fr 1fr; }
        }

        @media (max-width: 768px) {
            .main-nav { 
                display: none; 
                position: absolute;
                top: var(--header-height);
                left: 0;
                width: 100%;
                background: var(--contrast-4);
                flex-direction: column;
                padding: 2rem;
                border-bottom: 1px solid var(--contrast-3);
                box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            }
            .main-nav.is-open { display: flex; }
            .mobile-menu-btn { display: block; }
            .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
            .stat-item { border-right: none; border-bottom: 1px solid var(--contrast-3); padding: 1.5rem 0; }
            .stat-item:last-child { border-bottom: none; }
            .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
            .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
            h1 { font-size: 2.5rem; }
        }
    
