/* ==========================================
   MOBILE FIX - Working Navigation + Ultra Compact Footer
   Replace mobile-simple.css with this file
   ========================================== */

/* ==========================================
   BASE SETUP
   ========================================== */

body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

/* ==========================================
   WORKING MOBILE MENU
   ========================================== */

@media (max-width: 1023px) {
    .hamburger {
        display: flex !important;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        padding: 8px;
    }

    .hamburger span {
        width: 25px;
        height: 3px;
        background: white;
        border-radius: 3px;
    }

    /* Mobile menu panel */
    .nav-links {
        position: fixed !important;
        left: -100% !important;
        top: 65px !important;
        width: 100% !important;
        height: calc(100vh - 65px) !important;
        background: rgba(10, 10, 10, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        flex-direction: column !important;
        padding: 20px 0 !important;
        gap: 0 !important;
        transition: left 0.3s ease !important;
        overflow-y: auto !important;
        z-index: 999 !important;
    }

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

    /* Menu links - make them clickable */
    .nav-link {
        width: 100% !important;
        text-align: center !important;
        padding: 16px 20px !important;
        font-size: 16px !important;
        border-bottom: 1px solid rgba(255,255,255,0.05) !important;
        display: block !important;
        color: white !important;
        text-decoration: none !important;
        cursor: pointer !important;
    }

    .nav-link:hover {
        background: rgba(255,255,255,0.05);
    }
}

/* ==========================================
   ULTRA COMPACT FOOTER - DESKTOP
   ========================================== */

.footer {
    padding: 30px 0 15px !important;
    background: var(--bg-darker);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 24px;
    margin-bottom: 20px;
}

.footer-column h4 {
    font-size: 15px !important;
    margin-bottom: 12px !important;
}

.footer-logo {
    font-size: 20px !important;
    margin-bottom: 10px !important;
}

.footer-logo i {
    font-size: 24px !important;
}

.footer-description {
    font-size: 13px !important;
    line-height: 1.4 !important;
    margin-bottom: 12px !important;
}

.footer-links li,
.footer-links a {
    font-size: 13px !important;
    margin-bottom: 6px !important;
}

.footer-links i {
    font-size: 11px !important;
}

.social-link {
    width: 36px !important;
    height: 36px !important;
    font-size: 15px !important;
}

.btn-footer {
    padding: 8px 14px !important;
    font-size: 12px !important;
    margin-top: 10px !important;
}

.footer-bottom {
    padding-top: 15px !important;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    font-size: 12px !important;
}

.footer-bottom-links a {
    font-size: 12px !important;
}

/* ==========================================
   MOBILE FOOTER - SUPER COMPACT
   Quick Links and Services on SAME LINE
   ========================================== */

@media (max-width: 767px) {
    /* Super compact footer */
    .footer {
        padding: 20px 0 10px !important;
    }

    /* Grid layout - Brand on top, Quick Links + Services side by side, Contact below */
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        margin-bottom: 15px !important;
    }

    /* Brand section - more compact */
    .footer-column:nth-child(1) {
        padding-bottom: 10px !important;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .footer-logo {
        font-size: 16px !important;
        margin-bottom: 8px !important;
    }

    .footer-logo i {
        font-size: 20px !important;
    }

    .footer-description {
        font-size: 11px !important;
        line-height: 1.3 !important;
        margin-bottom: 10px !important;
    }

    /* Quick Links + Services - SIDE BY SIDE */
    .footer-content {
        display: grid;
        grid-template-areas: 
            "brand brand"
            "links services"
            "contact contact";
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .footer-column:nth-child(1) {
        grid-area: brand;
    }

    .footer-column:nth-child(2) {
        grid-area: links;
    }

    .footer-column:nth-child(3) {
        grid-area: services;
    }

    .footer-column:nth-child(4) {
        grid-area: contact;
        padding-top: 10px !important;
        border-top: 1px solid rgba(255,255,255,0.05);
    }

    /* Smaller headings */
    .footer-column h4 {
        font-size: 12px !important;
        margin-bottom: 8px !important;
    }

    /* Smaller links */
    .footer-links {
        margin: 0 !important;
    }

    .footer-links li {
        margin-bottom: 4px !important;
    }

    .footer-links a,
    .footer-links li {
        font-size: 10px !important;
        line-height: 1.3 !important;
    }

    .footer-links i {
        font-size: 9px !important;
    }

    /* Social icons smaller */
    .footer-social {
        gap: 8px !important;
        margin-top: 8px !important;
    }

    .social-link {
        width: 32px !important;
        height: 32px !important;
        font-size: 13px !important;
    }

    /* Smaller CTA button */
    .btn-footer {
        padding: 6px 10px !important;
        font-size: 10px !important;
        margin-top: 8px !important;
    }

    /* Ultra compact bottom section */
    .footer-bottom {
        padding-top: 10px !important;
        flex-direction: column !important;
        gap: 6px !important;
        text-align: center !important;
    }

    .footer-bottom p {
        font-size: 9px !important;
    }

    .footer-bottom-links {
        flex-direction: row !important;
        gap: 10px !important;
        justify-content: center !important;
    }

    .footer-bottom-links a {
        font-size: 9px !important;
    }
}

/* ==========================================
   TABLET FOOTER
   ========================================== */

@media (min-width: 768px) and (max-width: 1023px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }

    .footer {
        padding: 35px 0 18px !important;
    }
}

/* ==========================================
   MOBILE CONTENT SIZING
   ========================================== */

@media (max-width: 767px) {
    .container {
        padding: 0 16px !important;
    }

    .hero-title {
        font-size: 28px !important;
        line-height: 1.2 !important;
    }

    .page-title,
    .section-title {
        font-size: 26px !important;
        line-height: 1.2 !important;
    }

    .service-card,
    .feature-main-card,
    .pricing-card {
        padding: 20px !important;
        margin-bottom: 16px !important;
    }

    .services-grid,
    .features-main-grid,
    .pricing-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .hero-buttons {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .btn-primary,
    .btn-secondary {
        width: 100% !important;
    }
}

/* ==========================================
   PREVENT HORIZONTAL SCROLL
   ========================================== */

* {
    max-width: 100%;
}

section {
    overflow-x: hidden !important;
}



/*+++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++*/

/*  new css file*/

/* ==========================================
   WORKING MOBILE FIX - Menu Drops Down + Compact Header
   Replace mobile-FIXED.css with this file
   ========================================== */

/* ==========================================
   BASE SETUP
   ========================================== */

body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

* {
    max-width: 100%;
}

/* ==========================================
   COMPACT HEADER - ALL DEVICES
   ========================================== */

.navbar {
    padding: 10px 0 !important;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    font-size: 22px !important;
    gap: 10px;
}

.logo i {
    font-size: 26px !important;
}

.cta-btn {
    padding: 10px 20px !important;
    font-size: 14px !important;
}

/* Desktop navigation */
.nav-links {
    display: flex;
    gap: 24px;
    list-style: none;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

/* Hamburger - hidden on desktop */
.hamburger {
    display: none;
}

/* ==========================================
   MOBILE MENU - DROPS DOWN WHEN CLICKED
   ========================================== */

@media (max-width: 1023px) {
    /* Compact navbar on mobile */
    .navbar {
        padding: 8px 0 !important;
    }

    .nav-container {
        padding: 0 16px;
    }

    .logo {
        font-size: 18px !important;
    }

    .logo i {
        font-size: 22px !important;
    }

    /* Show hamburger on mobile */
    .hamburger {
        display: flex !important;
        flex-direction: column;
        gap: 4px;
        cursor: pointer;
        padding: 10px;
        z-index: 1001;
        background: transparent;
        border: none;
    }

    .hamburger span {
        width: 24px;
        height: 3px;
        background: white;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    /* Hide CTA button on mobile */
    .cta-btn {
        display: none !important;
    }

    /* Mobile menu - HIDDEN by default */
    .nav-links {
        position: fixed !important;
        top: 52px !important;
        left: 0 !important;
        width: 100% !important;
        height: 0 !important;
        max-height: 0 !important;
        background: rgba(10, 10, 10, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        flex-direction: column !important;
        padding: 0 !important;
        gap: 0 !important;
        overflow: hidden !important;
        transition: all 0.3s ease !important;
        border-bottom: 1px solid var(--border-color);
        z-index: 999 !important;
        opacity: 0;
    }

    /* Mobile menu - VISIBLE when active */
    .nav-links.active {
        height: auto !important;
        max-height: calc(100vh - 52px) !important;
        padding: 16px 0 !important;
        opacity: 1 !important;
        overflow-y: auto !important;
    }

    /* Menu links styling */
    .nav-link {
        width: 100% !important;
        text-align: center !important;
        padding: 14px 20px !important;
        font-size: 15px !important;
        border-bottom: 1px solid rgba(255,255,255,0.05) !important;
        display: block !important;
        color: white !important;
    }

    .nav-link:hover,
    .nav-link:active {
        background: rgba(102, 126, 234, 0.1) !important;
    }
}

/* ==========================================
   ULTRA COMPACT FOOTER
   ========================================== */

.footer {
    padding: 30px 0 15px !important;
    background: var(--bg-darker);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 24px;
    margin-bottom: 20px;
}

.footer-column h4 {
    font-size: 15px !important;
    margin-bottom: 12px !important;
}

.footer-logo {
    font-size: 20px !important;
    margin-bottom: 10px !important;
}

.footer-description {
    font-size: 13px !important;
    line-height: 1.4 !important;
    margin-bottom: 12px !important;
}

.footer-links li,
.footer-links a {
    font-size: 13px !important;
    margin-bottom: 6px !important;
}

.social-link {
    width: 36px !important;
    height: 36px !important;
    font-size: 15px !important;
}

.btn-footer {
    padding: 8px 14px !important;
    font-size: 12px !important;
    margin-top: 10px !important;
}

.footer-bottom {
    padding-top: 15px !important;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    font-size: 12px !important;
}

/* ==========================================
   MOBILE FOOTER - SUPER COMPACT
   Quick Links + Services SAME LINE
   ========================================== */

@media (max-width: 767px) {
    .footer {
        padding: 20px 0 10px !important;
    }

    .footer-content {
        display: grid;
        grid-template-areas: 
            "brand brand"
            "links services"
            "contact contact";
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-bottom: 15px !important;
    }

    .footer-column:nth-child(1) {
        grid-area: brand;
        padding-bottom: 10px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .footer-column:nth-child(2) {
        grid-area: links;
    }

    .footer-column:nth-child(3) {
        grid-area: services;
    }

    .footer-column:nth-child(4) {
        grid-area: contact;
        padding-top: 10px;
        border-top: 1px solid rgba(255,255,255,0.05);
    }

    .footer-logo {
        font-size: 16px !important;
        margin-bottom: 8px !important;
    }

    .footer-logo i {
        font-size: 20px !important;
    }

    .footer-description {
        font-size: 11px !important;
        line-height: 1.3 !important;
        margin-bottom: 10px !important;
    }

    .footer-column h4 {
        font-size: 12px !important;
        margin-bottom: 8px !important;
    }

    .footer-links li {
        margin-bottom: 4px !important;
    }

    .footer-links a,
    .footer-links li {
        font-size: 10px !important;
    }

    .footer-links i {
        font-size: 9px !important;
    }

    .footer-social {
        gap: 8px !important;
    }

    .social-link {
        width: 32px !important;
        height: 32px !important;
        font-size: 13px !important;
    }

    .btn-footer {
        padding: 6px 10px !important;
        font-size: 10px !important;
    }

    .footer-bottom {
        padding-top: 10px !important;
        flex-direction: column !important;
        gap: 6px !important;
        text-align: center !important;
    }

    .footer-bottom p {
        font-size: 9px !important;
    }

    .footer-bottom-links {
        flex-direction: row !important;
        gap: 10px !important;
        justify-content: center !important;
    }

    .footer-bottom-links a {
        font-size: 9px !important;
    }
}

/* ==========================================
   TABLET
   ========================================== */

@media (min-width: 768px) and (max-width: 1023px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

/* ==========================================
   MOBILE CONTENT SIZING
   ========================================== */

@media (max-width: 767px) {
    .container {
        padding: 0 16px !important;
    }

    .hero-title {
        font-size: 28px !important;
        line-height: 1.2 !important;
    }

    .page-title,
    .section-title {
        font-size: 26px !important;
        line-height: 1.2 !important;
    }

    .service-card,
    .feature-main-card,
    .pricing-card {
        padding: 20px !important;
        margin-bottom: 16px !important;
    }

    .services-grid,
    .features-main-grid,
    .pricing-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}

/* ==========================================
   PREVENT HORIZONTAL SCROLL
   ========================================== */

section {
    overflow-x: hidden !important;
}
