/* --- SCALEFLOW SOLUTIONS GLOBAL STYLES --- */
:root {
    --bg-dark: #0A0E27;
    --card-bg: rgba(255, 255, 255, 0.05);
    --accent-cyan: #00E5FF;
    --accent-purple: #7000FF;
    --neon-green: #39FF14;
    --text-white: #FFFFFF;
    --text-gray: #B0B0B0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
}

/* Header & Nav */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: rgba(10, 14, 39, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--accent-cyan);
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-white);
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
}

nav ul li a:hover {
    color: var(--accent-cyan);
}

/* Hero Section */
.hero {
    padding: 180px 8% 100px;
    text-align: center;
    background: radial-gradient(circle at top right, var(--accent-purple), transparent);
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    font-weight: 800;
    background: linear-gradient(to right, #fff, var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 850px;
    margin: 0 auto 40px;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-main {
    background: var(--accent-cyan);
    color: var(--bg-dark);
    padding: 16px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.5);
    transition: 0.3s;
}

.btn-main:hover {
    transform: scale(1.05);
}

/* Services Grid - Design 635.jpg style */
.services {
    padding: 100px 8%;
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.card {
    background: var(--card-bg);
    padding: 45px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.4s;
    text-align: left;
}

.card.priority {
    border: 2px solid var(--accent-cyan);
    background: rgba(0, 229, 255, 0.03);
    position: relative;
}

.card.priority::after {
    content: "PRIORITY SERVICE";
    position: absolute;
    top: -15px;
    left: 30px;
    background: var(--accent-cyan);
    color: #000;
    padding: 4px 15px;
    font-size: 11px;
    font-weight: 900;
    border-radius: 4px;
}

.card h3 {
    font-size: 1.6rem;
    color: var(--accent-cyan);
    margin-bottom: 15px;
}

/* Footer & CTA */
footer {
    padding: 80px 8% 40px;
    background: #05081a;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.btn-audit {
    background: var(--neon-green);
    color: #000;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
    font-size: 1.1rem;
}

.testimonial-box {
    border-left: 4px solid var(--accent-cyan);
    padding-left: 25px;
    margin-bottom: 40px;
}
/* --- PROFESSIONAL MULTI-COLUMN FOOTER --- */
.main-footer {
    background: #05081a; /* Darker than body for contrast */
    padding: 80px 8% 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h3 {
    color: var(--accent-cyan);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: var(--accent-cyan);
}

.footer-col p {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    text-decoration: none;
    color: var(--text-gray);
    font-size: 14px;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--accent-cyan);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--accent-cyan);
    text-decoration: none;
    font-size: 12px;
    border: 1px solid rgba(0, 229, 255, 0.2);
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--accent-cyan);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

.whatsapp-btn {
    display: inline-block;
    margin-top: 15px;
    background: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

/* Footer Bottom Bar */
.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #555;
}

.legal-links a {
    color: #555;
    text-decoration: none;
    margin-left: 20px;
}

.legal-links a:hover {
    color: var(--text-gray);
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
}
/* --- MOBILE OPTIMIZATION (Media Queries) --- */

@media (max-width: 768px) {
    /* 1. Header adjustment */
    header {
        padding: 15px 5%;
    }
    
    /* Mobile Menu (Hidden by default) */
    nav ul {
        display: none; /* Hum ise toggle karenge */
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--bg-dark);
        padding: 20px;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    nav ul.active {
        display: flex;
    }

    /* 2. Hero Section scaling */
    .hero {
        padding: 120px 5% 60px;
    }

    .hero h1 {
        font-size: 2.2rem; /* Mobile par heading choti */
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-btns {
        flex-direction: column; /* Buttons ek ke niche ek */
        gap: 15px;
    }

    /* 3. Grid adjustment (Single column for mobile) */
    .grid {
        grid-template-columns: 1fr;
        padding: 0 5%;
    }

    .card {
        padding: 30px 20px;
    }

    /* 4. Contact Wrapper scaling */
    .contact-wrapper {
        grid-template-columns: 1fr; /* Form aur text stacked */
        padding: 30px 20px;
    }

    /* 5. Footer Scaling */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-cta {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}