/* --- ABOUT US SECTION --- */
.about-section { padding: 80px 0; background: var(--bg-sec); }
.about-grid { background: var(--bg-card); padding: 50px 30px; border-radius: 12px; border: 1px solid var(--border); }
.about-content h2 { font-size: 2.5rem; margin-bottom: 15px; }
.about-content > p { color: var(--text-muted); font-size: 1.1rem; max-width: 700px; margin: 0 auto 40px; }
.company-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; text-align: left; margin-bottom: 20px; }
.info-item { display: flex; align-items: flex-start; gap: 15px; }
.info-item i { color: var(--primary); font-size: 24px; margin-top: 3px; }
.info-item p { margin-bottom: 0; font-size: 0.95rem; color: var(--text-muted); }
.info-item strong { color: var(--text-main); font-size: 1.1rem; display: block; margin-bottom: 5px; }
.mt-4 { margin-top: 2rem; }

/* --- MOBILE MENU (HAMBURGER) STYLES --- */
.menu-toggle { display: none; font-size: 26px; cursor: pointer; color: var(--text-main); }
.mobile-only-btn { display: none; margin-top: 15px; }
.desktop-btn { display: inline-block; }

/* Mobile View Adjustments */
@media(max-width: 991px) {
    /* Navbar behavior */
    .menu-toggle { display: block; }
    .desktop-btn { display: none; }
    
.nav-links {
        display: flex !important;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-sec);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        opacity: 0;
        pointer-events: none;
        visibility: hidden; /* Added for extra safety */
        transition: transform 0.4s ease, opacity 0.4s ease, visibility 0.4s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateY(0) !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        visibility: visible !important; /* Force visibility */
    }
    .mobile-only-btn { display: block; }
    
    /* Hero button adjustments */
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    .hero-buttons a { width: 100%; text-align: center; }
}
/* --- CSS VARIABLES FOR THEME TOGGLING --- */
:root {
    /* Primary Brand Color */
    --primary: #FF2A00; /* Deep Red/Orange */
    --primary-hover: #CC2200;
    
    /* Default: Dark Theme */
    --bg-main: #0D0D0D;
    --bg-sec: #1A1A1A;
    --bg-card: #222222;
    --text-main: #FFFFFF;
    --text-muted: #AAAAAA;
    --border: #333333;
    
    /* Table specific */
    --table-header: #222;
    --table-row-alt: #151515;
    --codeplox-col: rgba(255, 42, 0, 0.1);
}
/* --- HERO --- */
.hero { 
    padding: 150px 0 80px; 
    text-align: center; 
    position: relative; /* Fixed for canvas */
    overflow: hidden; 
    background-color: var(--bg-main);
}

/* Canvas styling */
#tech-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Keeping text above the canvas */
.hero-content {
    position: relative;
    z-index: 2; 
}

.hero-text { max-width: 900px; margin: 0 auto; }
.badge-text { display: inline-block; padding: 5px 15px; background: rgba(255,42,0,0.1); color: var(--primary); border-radius: 50px; font-size: 14px; font-weight: 600; margin-bottom: 20px; }
.hero h1 { font-size: 3.5rem; line-height: 1.2; margin-bottom: 20px; }
.hero p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 30px; }
.hero-buttons { display: flex; justify-content: center; gap: 20px; }
/* Light Theme Variables (Activated via JS) */
body.light-mode {
    --bg-main: #F4F6F8;
    --bg-sec: #FFFFFF;
    --bg-card: #FFFFFF;
    --text-main: #111111;
    --text-muted: #555555;
    --border: #DDDDDD;
    
    --table-header: #EAEAEA;
    --table-row-alt: #F9F9F9;
    --codeplox-col: rgba(255, 42, 0, 0.05);
}

/* --- RESET & BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
html { scroll-behavior: smooth; }
body { background-color: var(--bg-main); color: var(--text-main); line-height: 1.6; transition: background-color 0.3s, color 0.3s; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.mt-3 { margin-top: 1.5rem; }
.w-100 { width: 100%; }
.highlight { color: var(--primary); }

/* --- BUTTONS --- */
.btn-primary { background: var(--primary); color: #fff !important; padding: 12px 28px; border-radius: 6px; font-weight: 600; border: none; cursor: pointer; display: inline-block; transition: 0.3s; }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(255, 42, 0, 0.3); }

.btn-secondary { background: transparent; color: var(--text-main) !important; padding: 12px 28px; border-radius: 6px; font-weight: 600; border: 2px solid var(--primary); cursor: pointer; display: inline-block; transition: 0.3s; }
.btn-secondary:hover { background: var(--primary); color: #fff !important; }

/* --- NAVBAR --- */
.navbar { position: fixed; top: 0; width: 100%; background: var(--bg-sec); border-bottom: 1px solid var(--border); z-index: 1000; padding: 15px 0; transition: 0.3s; }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 24px; font-weight: 800; }
.logo span { color: var(--primary); }
.nav-links { display: flex; gap: 20px; }
.nav-links a { font-weight: 500; font-size: 15px; transition: 0.3s; }
.nav-links a:hover { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 15px; }

.theme-btn { background: var(--bg-card); color: var(--text-main); border: 1px solid var(--border); border-radius: 50%; width: 40px; height: 40px; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 18px; transition: 0.3s; }
.theme-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* --- HERO --- */
.hero { padding: 150px 0 80px; text-align: center; background: radial-gradient(circle at top, var(--bg-sec), var(--bg-main)); }
.hero-text { max-width: 900px; margin: 0 auto; }
.badge-text { display: inline-block; padding: 5px 15px; background: rgba(255,42,0,0.1); color: var(--primary); border-radius: 50px; font-size: 14px; font-weight: 600; margin-bottom: 20px; }
.hero h1 { font-size: 3.5rem; line-height: 1.2; margin-bottom: 20px; }
.hero p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 30px; }
.hero-buttons { display: flex; justify-content: center; gap: 20px; }

/* --- TRUST BADGES --- */
.trust-badges { padding: 30px 0; background: var(--bg-sec); border-bottom: 1px solid var(--border); }
.badges-grid { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; }
.badge-item { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.badge-item i { color: var(--primary); font-size: 20px; }

/* --- SECTION HEADERS --- */
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 10px; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; }

/* --- COMPARISON TABLE --- */
.comparison-section { padding: 80px 0; }
.table-responsive { overflow-x: auto; background: var(--bg-card); border-radius: 12px; border: 1px solid var(--border); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.compare-table { width: 100%; border-collapse: collapse; text-align: left; }
.compare-table th, .compare-table td { padding: 20px; border-bottom: 1px solid var(--border); }
.compare-table th { background: var(--table-header); font-size: 1.1rem; }
.compare-table tbody tr:nth-child(even) { background: var(--table-row-alt); }
.old-way { color: var(--text-muted); }
.old-way i { color: #dc3545; margin-right: 8px; }
.codeplox-way { background: var(--codeplox-col); font-weight: 600; }
.codeplox-way i { color: #28a745; margin-right: 8px; }

/* --- CUSTOM DEV SECTION --- */
.custom-dev-section { padding: 80px 0; background: var(--bg-sec); }
.dev-content { max-width: 800px; margin: 0 auto; text-align: center; }
.dev-content h2 { font-size: 2.5rem; margin-bottom: 20px; }
.dev-content p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 30px; }
/* --- Custom Software Development List (Desktop 2 rows, Mobile 1 row) --- */

/* Desktop ke liye (2 columns) */
.dev-list { 
    display: grid; 
    grid-template-columns: 1fr 1fr; /* 2 barabar hissay */
    gap: 20px; 
    text-align: left; 
    margin-bottom: 30px; 
}

/* Mobile ke liye (1 column) */
@media(max-width: 768px) {
    .dev-list { 
        grid-template-columns: 1fr !important; /* Mobile par 1 column kar dega */
        gap: 15px; /* Mobile par thori space kam kar di taake acha lagay */
    }
}
.dev-list li { background: var(--bg-card); padding: 15px 20px; border-radius: 8px; border: 1px solid var(--border); font-weight: 500; display: flex; align-items: center; gap: 15px; }
.dev-list i { color: var(--primary); font-size: 24px; }

/* --- ROADMAP (FIXED CSS) --- */
.process-section { padding: 80px 0; }
.roadmap { position: relative; max-width: 800px; margin: 0 auto; padding-left: 40px; }
.roadmap-line { position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--border); border-radius: 4px; }
.roadmap-step { position: relative; margin-bottom: 40px; }
.roadmap-step:last-child { margin-bottom: 0; }
.step-number { position: absolute; left: -58px; top: 0; width: 40px; height: 40px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-weight: bold; font-size: 1.2rem; border: 4px solid var(--bg-main); z-index: 2; box-shadow: 0 0 0 4px var(--bg-main); }
.step-content { background: var(--bg-card); padding: 25px; border-radius: 8px; border: 1px solid var(--border); transition: 0.3s; }
.step-content:hover { border-color: var(--primary); transform: translateX(10px); }
.step-content h3 { margin-bottom: 10px; font-size: 1.3rem; }
.step-content p { color: var(--text-muted); font-size: 0.95rem; }

/* --- TEAM / CEO SECTION --- */
.team-section { padding: 80px 0; background: var(--bg-sec); }
.ceo-card { max-width: 700px; margin: 0 auto; background: var(--bg-card); padding: 40px; border-radius: 12px; border: 1px solid var(--border); }
.ceo-image img { width: 200px; height: 200px; border-radius: 50%; border: 3px solid var(--primary); margin-bottom: 20px; object-fit: cover; }
.ceo-name { font-size: 1.8rem; margin-bottom: 5px; }
.ceo-title { color: var(--primary); font-size: 1rem; margin-bottom: 20px; font-weight: 600; }
.ceo-story { font-style: italic; color: var(--text-muted); margin-bottom: 25px; line-height: 1.8; }
.ceo-socials a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: var(--bg-main); border: 1px solid var(--border); border-radius: 50%; margin: 0 5px; font-size: 18px; transition: 0.3s; }
.ceo-socials a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* --- CONTACT --- */
.contact-section { padding: 80px 0; }
.contact-box { max-width: 600px; margin: 0 auto; background: var(--bg-card); padding: 40px; border-radius: 12px; border: 1px solid var(--border); text-align: center; }
.contact-box h2 { margin-bottom: 10px; }
.contact-box p { color: var(--text-muted); margin-bottom: 30px; }
.form-group { margin-bottom: 20px; text-align: left; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 15px; background: var(--bg-main); border: 1px solid var(--border); color: var(--text-main); border-radius: 6px; outline: none; transition: 0.3s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); }

/* --- FOOTER (FIXED) --- */
footer { background: var(--bg-sec); padding: 30px 0; text-align: center; border-top: 1px solid var(--border); }
.footer-bottom p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 5px; }
.footer-bottom strong { color: var(--text-main); }

/* --- WHATSAPP FLOAT --- */
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; background: #25D366; color: #fff; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; box-shadow: 0 4px 10px rgba(0,0,0,0.3); z-index: 999; transition: 0.3s; }
.whatsapp-float:hover { transform: scale(1.1); color: #fff; }

/* --- SCROLL ANIMATIONS (Triggered by JS) --- */
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }

/* --- RESPONSIVE --- */
/* --- MOBILE VIEW & RESPONSIVE FIXES --- */
/* =========================================
   MOBILE VIEW & MENU FIX (100% WORKING)
   ========================================= */
/* =========================================
   MOBILE MENU FIX (100% BULLETPROOF)
   ========================================= */
