
:root {
            --bg-color: #0f172a;
            --text-main: #f1f5f9;
            --text-muted: #94a3b8;
            --accent: #38bdf8;
            --nav-bg: rgba(15, 23, 42, 0.95);
            --border: rgba(255, 255, 255, 0.1);
            --card-bg: #1e293b;
            --input-bg: #0f172a;
            --login-bg: #1e293b; 
            --login-text: #f8fafc;
            --signup-bg: #f8fafc;
            --signup-text: #020617;
            --modal-overlay: rgba(0, 0, 0, 0.85);
            --success: #10b981;
            --sidebar-width: 280px;
        }

        [data-theme="light"] {
            --bg-color: #ffffff;
            --text-main: #1e293b;
            --text-muted: #64748b;
            --accent: #0ea5e9;
            --nav-bg: rgba(255, 255, 255, 0.95);
            --border: rgba(0, 0, 0, 0.08);
            --card-bg: #ffffff;
            --input-bg: #ffffff;
            --login-bg: #e2e8f0; 
            --login-text: #475569;
            --signup-bg: #ffffff;
            --signup-text: #1e293b;
            --modal-overlay: rgba(0, 0, 0, 0.6);
        }

        * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Plus Jakarta Sans', sans-serif; }
        body { background: var(--bg-color); color: var(--text-main); transition: 0.3s; min-height: 100vh; overflow-x: hidden; }

        /* Navbar Styles */
        .navbar {
            display: flex; justify-content: space-between; align-items: center;
            padding: 0 8%; height: 75px; background: var(--nav-bg);
            border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 1000;
            backdrop-filter: blur(10px);
        }
        .logo { font-size: 1.4rem; font-weight: 800; text-decoration: none; color: var(--text-main); }
        .logo span { color: var(--accent); }
        .nav-links { display: flex; list-style: none; gap: 1.5rem; align-items: center; }
        .nav-link { text-decoration: none; color: var(--text-main); font-weight: 600; font-size: 0.9rem; cursor: pointer; }
        
        .dropdown { position: relative; }
        .dropdown-menu {
            position: absolute; top: 100%; left: 0; background: var(--card-bg);
            border: 1px solid var(--border); list-style: none; min-width: 220px;
            display: none; border-radius: 8px; padding: 10px 0; box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        }
        .dropdown:hover .dropdown-menu { display: block; }
        .dropdown-menu li a { padding: 10px 20px; display: block; text-decoration: none; color: var(--text-muted); font-size: 0.85rem; }

        .nav-right { display: flex; align-items: center; gap: 1rem; }
        .whatsapp-btn { background: #25d366; color: white; padding: 8px 18px; border-radius: 50px; text-decoration: none; font-size: 0.85rem; font-weight: 600; display: flex; align-items: center; gap: 6px; }
        .hamburger { display: none; font-size: 1.4rem; cursor: pointer; color: var(--text-main); }


/* Sidebar Container */
.premium-sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid var(--border);
    z-index: 2000;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.2);
}

.premium-sidebar.active {
    left: 0;
}

/* Header & Theme Button */
.sidebar-header {
    padding: 25px 20px;
    border-bottom: 1px solid var(--border);
}

.header-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.sidebar-logo {
    font-size: 1.4rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-main);
}

.sidebar-logo span {
    color: var(--accent);
}

.sidebar-theme-row-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    background: var(--btn-secondary-bg);
    border: 1px solid var(--btn-secondary-border);
    border-radius: 12px;
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.sidebar-theme-row-btn i { color: #bf953f; }

/* Navigation Links */
.sidebar-content-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

.sidebar-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    color: var(--text-main);
    text-decoration: none;
    border-radius: 12px;
    margin-bottom: 8px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
}

.sidebar-nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent);
}

.sidebar-nav-link i:not(.drop-arrow) {
    font-size: 1.1rem;
    color: #bf953f; /* Premium Gold Icon */
    width: 24px;
    text-align: right;
}

/* Dropdowns */
.icon-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.drop-arrow {
    font-size: 0.7rem;
    color: var(--text-muted);
    transition: transform 0.4s ease;
}

.sidebar-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    background: rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    margin: 0 10px 10px 10px;
}

.sidebar-dropdown-menu.show {
    max-height: 500px;
    padding: 8px 0;
}

.sub-link {
    display: block;
    padding: 10px 20px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.sub-link:hover {
    color: var(--accent);
    padding-left: 25px;
}

/* WhatsApp Footer */
.sidebar-footer {
    padding: 20px;
    border-top: 1px solid var(--border);
}

.sidebar-whatsapp-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25d366;
    color: white;
    text-decoration: none;
    padding: 14px;
    border-radius: 12px;
    font-weight: 600;
    transition: var(--transition);
}

.sidebar-whatsapp-action:hover { transform: translateY(-2px); }

/* Overlay Styling */
.sidebar-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    z-index: 1999;
    display: none;
}

.sidebar-overlay.active { display: block; }



/* Ensure the theme button is visible and high-end */
.sidebar-theme-row-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    margin-top: 15px; /* Space from logo */
    background: var(--card-bg); /* Uses your card background color */
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex !important; /* Force display */
    visibility: visible !important;
}

.sidebar-theme-row-btn:hover {
    border-color: #bf953f;
    background: rgba(191, 149, 63, 0.1);
}

/* Icon specifically set to your gold accent */
#theme-icon {
    color: #bf953f !important;
    font-size: 1.1rem;
}

/* Fix for potential text-fill issues from logo styles */
#theme-text {
    background: none !important;
    -webkit-text-fill-color: initial !important;
    color: var(--text-main);
}

/* Slide-out Button Container */
#support-slide-wrapper {
    position: fixed;
    right: 0;
    /* Changed from 50% to 75% to move it lower */
    top: 75%; 
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    align-items: center;
}

/* The actual sliding button */
.side-pull-btn {
    display: flex;
    align-items: center;
    /* Updated to use your --accent root color */
    background-color: var(--accent); 
    color: #ffffff;
    text-decoration: none;
    padding: 12px;
    border-radius: 30px 0 0 30px;
    transition: all 0.4s ease-in-out;
    cursor: pointer;
    width: 50px;
    overflow: hidden;
    white-space: nowrap;
    /* Slightly softened shadow to match your UI */
    box-shadow: -4px 4px 15px rgba(0, 0, 0, 0.2);
}

/* Text inside the button */
.support-label {
    margin-left: 15px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s;
}

/* Icon styling */
#user-icon-fixed {
    font-size: 24px;
    min-width: 24px;
    text-align: center;
}

/* Hover Effect */
.side-pull-btn:hover {
    width: 220px;
    /* Slight brightness boost on hover instead of a hardcoded color */
    filter: brightness(1.1); 
}

.side-pull-btn:hover .support-label {
    opacity: 1;
}

@media (max-width: 1140px) {
    .hamburger {
        display: block !important; /* Shows the icon on mobile/tablet */
    }
    .nav-links, .nav-right .whatsapp-btn {
        display: none; /* Hides desktop nav so it doesn't overlap */
    }
}

        /* Footer Styles */
        .tf-elite-footer {
    --tf-bg: #030712; /* Premium Deep Black */
    --tf-accent: #38bdf8; /* Your Blue */
    --tf-text: #f8fafc;
    --tf-muted: #94a3b8;
    --tf-border: rgba(56, 189, 248, 0.1);

    background-color: var(--tf-bg);
    color: var(--tf-text);
    position: relative;
    padding: 100px 0 0 0;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    border-top: 2px solid var(--tf-accent);
}

/* 3D BACKGROUND GRID */
.tf-grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(var(--tf-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--tf-border) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    opacity: 0.4;
    animation: grid-drift 40s linear infinite;
}

@keyframes grid-drift {
    from { background-position: 0 0; }
    to { background-position: 60px 60px; }
}

.tf-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 90px;
    position: relative;
    z-index: 10;
}

/* MAIN LAYOUT */
.tf-main-layout {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr;
    gap: 80px;
    padding-bottom: 80px;
}

/* HEADINGS & LABELS */
.tf-label {
    color: var(--tf-accent);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 40px; /* High-end spacing */
    position: relative;
    display: inline-block;
}

.tf-label::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--tf-accent);
}

/* LOGO & BRAND */
.tf-logo { font-size: 1.8rem; font-weight: 900; margin-bottom: 30px; }
.tf-logo span { color: var(--tf-accent); }
.tf-summary { color: var(--tf-muted); line-height: 1.8; margin-bottom: 35px; font-size: 0.95rem; }

/* SOCIAL CIRCLES */
.tf-social-row { display: flex; gap: 15px; }
.tf-social-circle {
    width: 38px; height: 38px;
    border: 1px solid var(--tf-border);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--tf-text);
    transition: 0.4s;
    background: rgba(255, 255, 255, 0.02);
}
.tf-social-circle:hover { background: var(--tf-accent); color: var(--tf-bg); transform: translateY(-5px); border-color: var(--tf-accent); }

/* NAVIGATION ITEMS */
.tf-nav { display: flex; flex-direction: column; gap: 18px; }
.tf-nav-item {
    color: var(--tf-muted);
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.95rem;
}
.tf-nav-item:hover { color: var(--tf-accent); transform: translateX(8px); }

/* SUBSCRIPTION BOX */
.tf-update-text { color: var(--tf-muted); margin-bottom: 25px; font-size: 0.9rem; line-height: 1.6; }
.tf-subscribe-box {
    display: flex;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 35px;
}
.tf-input {
    border: none; padding: 15px 20px; flex: 1; outline: none; font-size: 0.9rem;
}
.tf-join-btn {
    background: #ffcc00; /* Match TenzSoft Gold */
    color: #000; border: none; padding: 0 25px;
    font-weight: 700; cursor: pointer; transition: 0.3s;
    display: flex; align-items: center; gap: 10px;
}
.tf-join-btn:hover { background: #e6b800; }

/* CONTACT DETAILS */
.tf-contact-details { display: flex; flex-direction: column; gap: 20px; }
.tf-contact-item { display: flex; align-items: center; gap: 15px; color: var(--tf-muted); font-size: 0.9rem; }
.tf-icon-box { color: var(--tf-accent); font-size: 1.1rem; }

/* TERMINAL BAR */
.tf-terminal-footer {
    border-top: 1px solid var(--tf-border);
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    font-family: monospace;
    font-size: 0.75rem;
    color: #475569;
}
.tf-pulse {
    height: 8px; width: 8px; background: #10b981; border-radius: 50%;
    display: inline-block; margin-right: 8px; box-shadow: 0 0 10px #10b981;
}

/* RESPONSIVE */
@media (max-width: 1024px) { .tf-main-layout { grid-template-columns: 1fr 1fr; gap: 50px; } }
@media (max-width: 600px) { .tf-main-layout { grid-template-columns: 1fr; } }

/* Remove default underlines and style footer links */
.tf-elite-footer a {
    text-decoration: none !important; /* Removes the underline */
    color: inherit;                  /* Keeps the text color consistent with your design */
    display: flex;                   /* Ensures the icon and text stay aligned */
    transition: all 0.3s ease;       /* Smooth transition for hover effects */
}

/* Ensure clicked links don't turn purple */
.tf-elite-footer a:visited {
    color: inherit;
}

/* Optional: Add a subtle hover effect since the underline is gone */
.tf-elite-footer a:hover {
    color: var(--tf-accent);         /* Changes color to your sky blue on hover */
    text-decoration: none;           /* Ensures underline stays off during hover */
}

/* Specific fix for the contact items to keep icon and text on one line */
.tf-contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none !important;
}


/* Base navigation item style */
.tf-nav-item {
    display: flex;
    align-items: center;
    text-decoration: none !important; /* No underline */
    color: var(--tf-muted); /* Your muted gray color */
    transition: all 0.3s ease;
    position: relative;
}

/* The Arrow Styling */
.tf-hover-arrow {
    color: #38bdf8; /* Your specific blue color */
    font-size: 0.7rem;
    margin-right: 0; /* Hidden by default */
    opacity: 0;      /* Invisible by default */
    width: 0;        /* Takes no space until hover */
    transition: all 0.3s ease;
}

/* Hover Effect: Show arrow and push text forward */
.tf-nav-item:hover {
    color: #f8fafc; /* White text on hover */
    padding-left: 5px;
}

.tf-nav-item:hover .tf-hover-arrow {
    opacity: 1;
    margin-right: 10px;
    width: 12px; /* Smoothly grows and appears */
}



.tf-social-circle:hover i {
    color: #000000;
}
/* Footer Background Styling */
.tf-footer {
    background-color: #000000;
    padding: 40px 20px;
    text-align: center;
}

.tf-logo-wrapper {
    display: inline-block;
    margin-bottom: 20px;
}

/* Image Dimensions and Fixes */
.tf-footer-logo-img {
    /* Increased size */
    height: 180px; 
    width: auto; /* Maintains natural aspect ratio */
    
    /* Rounded corners */
    border-radius: 15px; 
    
    /* Ensures the image stays clean within its box */
    object-fit: cover; 
    
    /* Centering logic */
    display: block;
    margin: 0 auto;
    
    /* Optional: subtle border to define the shape on dark backgrounds */
    border: 1px solid #333; 
}

/* Hover effect for the link */
.tf-logo-wrapper a {
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.tf-logo-wrapper a:hover {
    opacity: 0.9;
    transform: scale(1.02); /* Slight zoom effect on hover */
}
/* --- RESPONSIVE BREAKPOINTS --- */

/* Tablet View: 2 Sections per row */
@media (max-width: 950px) {
    .tf-main-layout {
        /* Switch to a 2x2 grid */
        grid-template-columns: 1fr 1fr;
        gap: 50px;
        padding-bottom: 50px;
    }

    /* Keep the Logo and Brand column centered at the top */
    .brand-info {
        grid-column: span 2; /* Spans across both columns */
        text-align: center;
        margin-bottom: 20px;
    }

    /* Aligning the logo image and social icons to center */
    .tf-logo-wrapper, 
    .tf-social-row {
        justify-content: center;
        display: flex;
    }

    .tf-footer-logo-img {
        margin: 0 auto;
    }

    /* Ensuring the summary text stays centered */
    .tf-summary {
        max-width: 600px;
        margin: 0 auto 35px;
    }
}

/* Mobile View: 1 Section per row */
@media (max-width: 600px) {
    .tf-container {
        padding: 0 25px; /* Tighter side padding for small screens */
    }

    .tf-main-layout {
        /* Everything stacks in 1 column */
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center; /* Centers all headings and text */
    }

    .brand-info {
        grid-column: span 1;
    }

    /* Aligning Navigation items and arrows to center */
    .tf-nav-item {
        justify-content: center;
    }

    .tf-nav-item:hover {
        transform: none; /* Disables horizontal shift on mobile for better UX */
    }

    /* Centering the Subscribe Box and Buttons */
    .tf-subscribe-box {
        max-width: 100%;
    }

    .tf-contact-item {
        justify-content: center;
    }

    /* Terminal Bar Stacking */
    .tf-terminal-footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}


/* --- EXTRA SMALL SCREENS (Below 420px) --- */
@media (max-width: 420px) {
    .tf-container {
        padding: 0 15px;
    }

    .tf-main-layout {
        gap: 35px; /* Tighter spacing for smaller height */
    }

    .tf-footer-logo-img {
        max-width: 220px; /* Smaller logo */
    }

    .tf-label {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .tf-nav-item {
        font-size: 0.85rem;
    }

    .tf-contact-item span {
        font-size: 0.8rem; /* Prevents long emails from breaking the layout */
    }

    .tf-terminal-footer {
        font-size: 0.65rem; /* Very small terminal text */
        letter-spacing: 0.5px;
    }
}

/* --- ULTRA NARROW SCREENS (Below 250px) --- */
@media (max-width: 250px) {
    .tf-container {
        padding: 0 10px;
    }

    /* Stack the subscribe button on top of the input */
    .tf-subscribe-box {
        flex-direction: column;
        border: none;
        background: transparent;
    }

    .tf-input {
        width: 100%;
        border: 1px solid var(--border);
        border-radius: 8px;
        margin-bottom: 10px;
        padding: 10px;
    }

    .tf-join-btn {
        width: 100%;
        border-radius: 8px;
        padding: 10px;
    }

    /* Hide non-essential decorative elements to save space */
    .tf-grid-overlay, 
    .tf-ambient-glow {
        display: none;
    }

    .tf-summary {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    /* Make icons smaller to fit the row */
    .tf-social-circle {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .tf-copyright {
        font-size: 0.6rem;
    }
}

/* --- NAVBAR BUTTONS LOGIC --- */
/* At 690px and below, hide the anchor buttons in the navbar */
@media screen and (max-width: 690px) {
    .nav-right a {
        display: none !important;
    }
    
    /* Ensure the theme toggle button stays visible */
    .nav-right #theme-toggle {
        display: block !important;
    }
}

/* --- SIDEBAR BUTTONS LOGIC --- */
/* 1. Hide sidebar buttons on large screens (above 1001px) */
@media screen and (min-width: 1002px) {
    .sidebar-footer {
        display: none !important;
    }
}

/* 2. Show sidebar buttons on screens 1001px and below */
@media screen and (max-width: 1001px) {
    .sidebar-footer {
        display: block !important; /* Shows the footer container */
    }
    
    .sidebar-footer > div {
        display: flex !important; /* Ensures the buttons inside stay inline */
    }
}



/* Unique solid styling specifically for the Courses button */
        .sidebar-nav-link.courses-special-btn {
            background-color: #1e293b !important; /* Rich, dark solid color to stand out */
            color: #38bdf8 !important;            /* Vibrant blue text color to pop */
            border-left: 4px solid #38bdf8 !important; /* Sleek accent strip on the left side */
            border-radius: 4px !important;
            margin: 6px 10px !important;          /* Clean spacing gap above and below */
            padding: 10px 12px !important;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important; /* Lifts it off the background */
            transition: all 0.25s ease-in-out !important;
        }

        /* Changes the icon colors within the courses button */
        .sidebar-nav-link.courses-special-btn .link-label,
        .sidebar-nav-link.courses-special-btn i {
            color: #38bdf8 !important; 
        }

        /* Hover interaction for the courses action button */
        .sidebar-nav-link.courses-special-btn:hover {
            background-color: #0f172a !important; /* Deepens background on hover */
            color: #ffffff !important;            /* Changes text to clean white */
        }
        
        /* Ensures icons also change color on hover */
        .sidebar-nav-link.courses-special-btn:hover .link-label,
        .sidebar-nav-link.courses-special-btn:hover i {
            color: #ffffff !important;
        }
      /* Distinct solid styling for the header navbar Courses button */
        .nav-link.navbar-courses-btn {
            background-color: #1e293b !important;    /* Rich, dark solid color background */
            color: #38bdf8 !important;               /* Vibrant blue text color to pop */
            border-bottom: 3px solid #38bdf8 !important; /* Sleek accent underline indicator */
            border-radius: 4px !important;
            padding: 8px 16px !important;            /* Balanced horizontal spacing */
            margin: 0 4px !important;
            font-weight: 6px !important;
            display: inline-flex !important;
            align-items: center !important;
            gap: 6px !important;
            transition: all 0.25s ease-in-out !important;
        }

        /* Hover interaction for the navbar courses button */
        .nav-link.navbar-courses-btn:hover {
            background-color: #0f172a !important;    /* Deepens background context on hover */
            color: #ffffff !important;               /* Switches text color to solid white */
            border-bottom-color: #ffffff !important; /* Changes accent underline line to white */
        }

        /* Standard hidden drop menu states */
        .navbar-courses-dropdown {
            position: absolute;
            top: 100%;
            left: 0;
            background-color: #1e293b;
            min-width: 200px;
            box-shadow: 0px 8px 16px rgba(0,0,0,0.3);
            border-radius: 4px;
            padding: 6px 0;
            display: none;                          /* Hidden by default */
            z-index: 1000;
        }

        /* Links inside the dropdown box */
        .navbar-courses-dropdown a {
            color: #ffffff;
            padding: 10px 16px;
            text-decoration: none;
            display: block;
            font-size: 14px;
            transition: background-color 0.2s ease;
        }

        /* Hover action on item selection */
        .navbar-courses-dropdown a:hover {
            background-color: #0f172a;
            color: #38bdf8;
        }

        /* Hover behavior to reveal panel directly via CSS layout */
        .navbar-courses-container:hover .navbar-courses-dropdown {
            display: block;
        }
/* Hero Root Variables - Fixed for this section only */
    .app-hero-root {
        --hero-bg: #020617; /* Deep midnight blue */
        --hero-accent: #38bdf8; /* Your brand blue */
        --hero-text: #f8fafc;
        --hero-muted: #94a3b8;
    }

    .app-hero-section {
        background-color: var(--hero-bg);
        min-height: 85vh;
        display: flex;
        align-items: center;
        padding: 0 7.5%;
        position: relative;
        overflow: hidden;
        color: var(--hero-text);
        font-family: 'Plus Jakarta Sans', sans-serif;
    }

    /* Background Glow Effect */
    .app-hero-section::before {
        content: '';
        position: absolute;
        top: -10%;
        right: -10%;
        width: 600px;
        height: 500px;
        background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, transparent 70%);
        z-index: 1;
    }

    /* Left Side Content */
    .hero-left {
        flex: 1.2;
        z-index: 2;
        animation: heroFadeIn 1s ease-out;
    }

    .hero-left h1 {
        font-size: clamp(2.5rem, 6vw, 4rem);
        font-weight: 850;
        line-height: 1.1;
        margin-bottom: 20px;
        letter-spacing: -1px;
    }

    .hero-left h1 span {
        color: var(--hero-accent);
        display: block;
    }

    .hero-desc-card {
        background: rgba(255, 255, 255, 0.03);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.05);
        padding: 25px;
        border-radius: 20px;
        max-width: 550px;
        margin-bottom: 35px;
    }

    .hero-desc-card p {
        color: var(--hero-muted);
        font-size: 1.1rem;
        line-height: 1.6;
    }

    .start-project-btn {
        background: var(--hero-accent);
        color: #000;
        padding: 18px 45px;
        border-radius: 100px;
        text-decoration: none;
        font-weight: 700;
        display: inline-flex;
        align-items: center;
        gap: 12px;
        box-shadow: 0 10px 30px rgba(56, 189, 248, 0.4);
        transition: all 0.3s ease;
    }

    .start-project-btn:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(56, 189, 248, 0.6);
        background: #fff;
    }

    /* Right Side - Visual Section */
    .hero-right {
        flex: 0.8;
        display: flex;
        justify-content: flex-end;
        z-index: 2;
        animation: heroFloat 6s infinite ease-in-out;
    }

    .visual-container {
        position: relative;
        width: 100%;
        max-width: 400px;
    }

    .stack-card {
        background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
        border: 1px solid rgba(255,255,255,0.1);
        border-radius: 24px;
        padding: 30px;
        backdrop-filter: blur(20px);
        box-shadow: 0 40px 80px rgba(0,0,0,0.4);
    }

    .feature-row {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 20px;
    }

    .feature-row i {
        width: 45px;
        height: 45px;
        background: var(--hero-accent);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #000;
    }

    .progress-line {
        height: 6px;
        background: rgba(255,255,255,0.1);
        border-radius: 10px;
        width: 100%;
        overflow: hidden;
    }

    .progress-fill {
        height: 100%;
        background: var(--hero-accent);
        width: 70%;
        border-radius: 10px;
    }

    @keyframes heroFadeIn {
        from { opacity: 0; transform: translateX(-30px); }
        to { opacity: 1; transform: translateX(0); }
    }

    @keyframes heroFloat {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-20px); }
    }

    @media (max-width: 992px) {
        .app-hero-section { flex-direction: column; text-align: center; padding: 120px 5%; }
        .hero-right { display: none; }
        .hero-desc-card { margin: 0 auto 35px auto; }
    }
    /* Section Wrapper */
.brand-innovation-wrapper {
    padding: 100px 0%;
    background-color: var(--bg-color);
    transition: background 0.3s ease;
}

/* The Parent Flexbox */
.innovation-flex-parent {
    display: flex;
    align-items: stretch; /* This forces both children to the same height */
    gap: 30px; /* This creates the separation between the containers */
}

/* Individual Text Container */
.innovation-text-container {
    flex: 1;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 40px;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: border-color 0.3s ease;
}

/* Individual Image Container */
.innovation-image-container {
    flex: 1;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    transition: border-color 0.3s ease;
}

/* Hover effects for separate containers */
.innovation-text-container:hover,
.innovation-image-container:hover {
    border-color: var(--accent);
}

.eyebrow {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 20px;
}

.innovation-text-container h2 {
    font-size: 3rem;
    color: var(--text-main);
    line-height: 1.1;
    margin-bottom: 30px;
    font-weight: 850;
}

.highlight {
    color: var(--accent);
}

.description-body p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.description-body p:last-child {
    margin-bottom: 0;
}

/* Image Logic */
.innovation-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.innovation-image-container:hover img {
    transform: scale(1.1);
}

/* Responsive Layout */
@media (max-width: 992px) {
    .innovation-flex-parent {
        flex-direction: column;
    }
    
    .innovation-image-container {
        height: 400px; /* Fixed height for mobile view */
        order: 1;
    }
    
    .innovation-text-container {
        order: 2;
        padding: 40px 30px;
        text-align: center;
    }

    .innovation-text-container h2 {
        font-size: 2.2rem;
    }
}
.dotted-apps-section {
    padding: 80px 0%; /* Reduced side padding to bring content outward */
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}



/* Header Container */
.centered-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px auto;
    padding: 0 20px;
}

/* Eyebrow Text */
.eyebrow {
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 15px;
    opacity: 0.9;
}

/* Main Heading */
.centered-header h2 {
    font-size: clamp(2.5rem, 5vw, 4rem); /* Responsive sizing */
    color: var(--text-main);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

/* Premium Description P-Tag */
.premium-description {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 20px;
    /* Subtle background glow for a modern look */
    background: radial-gradient(circle at center, rgba(56, 189, 248, 0.03) 0%, transparent 70%);
    border-radius: 20px;
}

/* Highlighted Words */
.highlight {
    color: var(--accent);
    font-weight: 700;
    position: relative;
}

/* Optional: Subtle underline effect for highlighted words */
.premium-description .highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--accent);
    opacity: 0.3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .premium-description {
        font-size: 1.1rem;
        padding: 10px;
    }
}

/* Tight Dotted Frame */
.main-dotted-border {
    border: 3px dotted var(--accent);
    border-radius: 50px;
    padding: 40px 20px; /* Reduced gaps inside the border */
    width: 100%;
    max-width: 1300px;
}

/* Strict Grid Logic */
.apps-strict-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); 
    gap: 25px; /* Tighter gaps between boxes */
}

/* Uniform Fixed-Ratio Box Styling */
.app-box {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 35px;
    padding: 40px 25px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    grid-column: span 2;
    
    /* This ensures all boxes have exactly the same dimensions */
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 420px; 
}

/* Centering Logic for Row 2 */
.row-2-item-1 { grid-column: 2 / span 2; }
.row-2-item-2 { grid-column: 4 / span 2; }

/* Interactive Animations */
.app-box:hover {
    transform: translateY(-12px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.app-icon {
    width: 70px;
    height: 70px;
    background: rgba(56, 189, 248, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 1.8rem;
    color: var(--accent);
    transition: all 0.6s ease;
}

.app-box:hover .app-icon {
    background: var(--accent);
    color: #fff;
    transform: rotateY(180deg);
}

.app-box h3 {
    color: var(--text-main);
    font-size: 1.6rem;
    margin-bottom: 15px;
    font-weight: 800;
}

.app-box p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Overrides */
@media (max-width: 1100px) {
    .apps-strict-grid { grid-template-columns: repeat(2, 1fr); }
    .app-box, .row-2-item-1, .row-2-item-2 { 
        grid-column: span 1; 
        min-height: 380px;
    }
}

@media (max-width: 700px) {
    .apps-strict-grid { grid-template-columns: 1fr; }
    .centered-header h2 { font-size: 2.5rem; }
}

.partners-trust-section {
    padding: 100px 0%;
    background-color: var(--bg-color);
    transition: background 0.3s ease;
}

.trust-container {
    display: flex;
    align-items: center; /* Centers the card relative to the grid height */
    gap: 60px;
}

/* Left Content */
.trust-left {
    flex: 1.2;
}

.trust-left h2 {
    font-size: 2.8rem;
    color: var(--text-main);
    font-weight: 850;
    line-height: 1.2;
    margin-bottom: 20px;
}

.trust-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 600px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 30px;
}

.trust-item {
    display: flex;
    gap: 15px;
}

.trust-icon {
    font-size: 1.5rem;
    color: var(--accent); /* Brand Blue */
    margin-top: 2px;
}

.trust-text h4 {
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.trust-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Right Side: Quote Card */
.trust-right {
    flex: 0.8;
}

.quote-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 50px 40px;
    border-radius: 30px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    /* The yellow-ish accent line from your image */
    border-left: 5px solid #fbbf24; 
}

.quote-text {
    font-style: italic;
    font-size: 1.2rem;
    color: var(--text-main);
    line-height: 1.7;
    margin-bottom: 20px;
}

.quote-author {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.quote-divider {
    border: 0;
    border-top: 1px solid var(--border);
    margin-bottom: 30px;
}

/* Action Buttons */
.action-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.proposal-btn {
    background-color: #064e3b; /* Dark Green from image */
    color: white;
    padding: 14px 28px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.proposal-btn:hover {
    filter: brightness(1.2);
    transform: translateY(-2px);
}

.whatsapp-link {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05rem;
}

.whatsapp-link i {
    color: #25d366; /* WhatsApp Green */
    font-size: 1.3rem;
}

/* Responsive */
@media (max-width: 1100px) {
    .trust-container {
        flex-direction: column;
    }
    .trust-left, .trust-right {
        flex: unset;
        width: 100%;
    }
    .quote-card {
        padding: 40px 30px;
    }
}

@media (max-width: 600px) {
    .trust-grid {
        grid-template-columns: 1fr;
    }
    .trust-left h2 {
        font-size: 2.2rem;
    }
}




/* Staggered delay for items */
.accordion-item:nth-child(odd) { animation-delay: 0.1s; }
.accordion-item:nth-child(even) { animation-delay: 0.2s; }

@keyframes slideUpFade {
    to { opacity: 1; transform: translateY(0); }
}

.faq-accordion-section {
    /* Reduced horizontal padding from 10% to 4% to reclaim side space */
    padding: 100px 0%; 
    background-color: var(--bg-color);
}

.accordion-container {
    /* Increased max-width from 900px to allow it to be wider on desktop */
    max-width: 1100px; 
    margin: 50px auto 0;
    /* This ensures it stays centered even when wide */
    width: 100%; 
}

/* Individual Item - You can also reduce internal padding here if needed */
.accordion-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUpFade 0.6s forwards;
}

.accordion-body {
    max-height: 0; 
    overflow: hidden;
    /* Optimized Transition: Faster, more natural 'Power' curve */
    transition: max-height 0.35s cubic-bezier(0.33, 1, 0.68, 1);
    padding: 0 20px;
    /* Hardware acceleration hint */
    will-change: max-height; 
}

.accordion-item.active .accordion-body {
    /* Set this closer to the actual expected height of your text */
    /* If it's too high, the animation 'waits' to finish. 500px is safe for 3-5 lines. */
    max-height: 500px; 
    padding-bottom: 25px;
}

.accordion-header {
    width: 100%;
    padding: 22px 20px; /* Tightened padding for a snappier look */
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent);
    transition: background 0.2s ease; /* Faster background hover */
}

.accordion-header i {
    font-size: 1rem;
    transition: transform 0.4s ease;
}

/* Hover & Active States */
.accordion-item:hover {
    border-color: var(--accent);
}

/* The Secret Toggle Logic (CSS Only) */
.accordion-item.active .accordion-header {
    background: rgba(56, 189, 248, 0.03);
}

.accordion-item.active i {
    transform: rotate(45deg); /* Plus turns into a cross */
}

/* Answer Body */
.accordion-body {
    max-height: 0; /* Hidden by default */
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 30px;
}

.accordion-item.active .accordion-body {
    max-height: 300px; /* Adjust based on text length */
    padding-bottom: 25px;
}

.accordion-body p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Section Container */
.contact-section {
    padding: 100px 0%;
    background-color: var(--bg-color);
}

.contact-container {
    display: flex;
    align-items: stretch; /* Forces left and right boxes to have identical height */
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
}

/* Base Block Design */
.contact-info-block, 
.contact-form-block {
    flex: 1; /* Perfectly equal width (50/50) */
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 60px 50px;
    border-radius: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers content to avoid empty bottom space */
    transition: all 0.4s ease;
}

.contact-info-block:hover, 
.contact-form-block:hover {
    border-color: var(--accent);
}

/* Left Content Styling */
.contact-info-block h2 {
    font-size: 3rem;
    color: var(--text-main);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
}

.method-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.method-icon {
    width: 55px;
    height: 55px;
    background: rgba(56, 189, 248, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.3rem;
}

/* Form Header */
.form-header {
    margin-bottom: 30px;
}

.form-header h3 {
    font-size: 1.8rem;
    color: var(--text-main);
    font-weight: 800;
    margin-bottom: 8px;
}

.form-header p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Form Layout */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.input-group label {
    color: var(--text-main);
    font-weight: 700;
    font-size: 0.9rem;
    padding-left: 5px;
}

.input-group input, 
.input-group select, 
.input-group textarea {
    background: var(--bg-color);
    border: 1px solid var(--border);
    padding: 16px;
    border-radius: 15px;
    color: var(--text-main);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.input-group input:focus, 
.input-group select:focus, 
.input-group textarea:focus {
    border-color: var(--accent);
}

/* Action Button */
.submit-btn {
    width: 100%;
    background: var(--accent);
    color: #fff;
    padding: 20px;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    transition: all 0.4s ease;
}

.submit-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(56, 189, 248, 0.3);
}

/* Zero-Space Trust Footer */
.form-trust-footer {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-trust-footer p {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.platform-icons {
    display: flex;
    gap: 15px;
    color: var(--text-muted);
    font-size: 1.1rem;
    opacity: 0.5;
}

/* Responsive Overrides */
@media (max-width: 1100px) {
    .contact-container {
        flex-direction: column;
    }
    .contact-info-block, .contact-form-block {
        width: 100%;
        flex: none;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}
/* ================================================================
   THOUGHTFLARE RESPONSIVE ENGINE (1500px down to 250px)
   ================================================================ */

/* 1. Large Desktops & Laptops (Up to 1500px) */
@media (max-width: 1500px) {
    :root {
        --side-padding: 6%;
    }
}

/* 2. Standard Laptops & Tablets (Below 1100px) */
@media (max-width: 1100px) {
    /* Collapse the 3-over-2 Dotted Grid to 2 columns */
    .apps-strict-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .app-box, .app-box.row-2-item-1, .app-box.row-2-item-2 {
        grid-column: span 1 !important;
        min-height: auto;
    }

    /* Stack Contact and Innovation Sections */
    .innovation-flex-parent, 
    .contact-container,
    .trust-container {
        flex-direction: column;
        gap: 40px;
    }

    .contact-info-block, 
    .contact-form-block {
        width: 100%;
        flex: none;
    }
}

/* 3. Small Tablets & Large Phones (Below 768px) */
@media (max-width: 768px) {
    main {
        padding: 50px 4% !important;
    }

    .app-hero-section {
        flex-direction: column;
        text-align: center;
    }

    .hero-left h1 {
        font-size: 2.5rem;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    /* Reverse order for Trust section so the Quote is on top */
    .trust-container {
        display: flex;
        flex-direction: column-reverse;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* 4. Small Mobile Devices (Below 480px) */
@media (max-width: 480px) {
    .apps-strict-grid {
        grid-template-columns: 1fr;
    }

    .centered-header h2 {
        font-size: 2rem;
    }

    .contact-info-block h2 {
        font-size: 2.2rem;
    }

    .method-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .form-trust-footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .proposal-btn {
        width: 100%;
        justify-content: center;
    }
}

/* 5. Ultra-Small Screens (Down to 250px) */
@media (max-width: 300px) {
    /* Prevent text overflow on tiny screens */
    h1, h2, h3 {
        word-wrap: break-word;
        font-size: 1.5rem !important;
    }

    .contact-info-block, 
    .contact-form-block {
        padding: 20px 15px;
        border-radius: 20px;
    }

    .premium-description {
        font-size: 0.95rem;
    }

    .submit-btn {
        font-size: 0.9rem;
        padding: 15px;
    }
    
    .accordion-header {
        font-size: 0.9rem;
        padding: 15px;
    }
}
html {
    scroll-behavior: smooth;
}

/* Optional: Offset for fixed headers */
#app_contact {
    scroll-margin-top: 80px; /* Adjust this value if you have a sticky navbar */
}
.tech-stack-section {
    padding: 100px 0%;
    background-color: var(--bg-color);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.tech-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 40px 30px;
    border-radius: 35px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.tech-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Icon Styles */
.tech-icon-circle {
    width: 60px;
    height: 60px;
    background: rgba(56, 189, 248, 0.05);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 1.5rem;
    color: var(--accent);
    transition: 0.3s;
}

.tech-card:hover .tech-icon-circle {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

.tech-card h4 {
    color: var(--text-main);
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 20px;
}

/* Technology Badges with Icons */
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
}

.tech-tags span {
    display: flex;
    align-items: center;
    gap: 8px; /* Space between icon and text */
    background: var(--bg-color);
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: 0.3s ease;
}

.tech-tags span i {
    color: var(--accent);
    font-size: 0.9rem;
}

.tech-card:hover .tech-tags span {
    border-color: rgba(56, 189, 248, 0.3);
    color: var(--text-main);
    transform: scale(1.05);
}

.tech-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Responsive Fixes */
@media (max-width: 480px) {
    .tech-tags span {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
}
@media (max-width: 1100px) {
    .trust-container {
        /* Stacks the blocks vertically */
        display: flex;
        flex-direction: column; 
        gap: 40px;
    }

    .trust-left, 
    .trust-right {
        /* Ensures both take full width when stacked */
        width: 100%;
        flex: none;
    }

    .trust-right {
        /* This ensures the Quote/CTA stays at the bottom */
        order: 2; 
    }

    .trust-left {
        /* This ensures the "Why Partners Trust" info stays at the top */
        order: 1;
    }
}
/* --- High-End Hero Responsiveness --- */

@media (max-width: 999px) {
    .app-hero-section {
        /* Stacks the text on top and the card below */
        flex-direction: column;
        text-align: center;
        padding-top: 60px;
        gap: 50px;
    }

    .hero-left, .hero-right {
        /* Ensures both elements take full width */
        width: 100%;
        flex: none;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-desc-card {
        /* Centers the description when text is centered */
        margin: 0 auto 30px;
    }
}

@media (max-width: 768px) {
    .hero-left h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    /* Keeps the card visible but adjusts scale for mobile */
    .visual-container {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .stack-card {
        padding: 25px;
        border-radius: 25px;
    }
}

/* Supports ultra-small screens like 250px */
@media (max-width: 350px) {
    .app-hero-section {
        padding: 40px 15px;
    }

    .stack-card {
        padding: 15px;
    }

    .feature-row {
        gap: 10px;
    }

    /* Shrink the progress bars slightly to fit tiny width */
    .progress-line {
        height: 4px;
    }
}
