
: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);
        }

html {
    scroll-behavior: smooth;
}

/* Optional: Offset for fixed headers */
#tf-strategic-contact {
    scroll-margin-top: 100px; /* Adjust this if you have a sticky navbar */
}

        * { 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);
}

/* 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;
        }
/* 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;
    }
}






/* Full Blue Hero Master Section */
.hero-master {
    min-height: 100vh;
    width: 100%;
    /* Forced blue background that doesn't change with page theme */
    background: radial-gradient(circle at top right, var(--accent) 0%, #0c4a6e 40%, #020617 100%) !important;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

/* Decoration to enhance the "Blue" feel */
.hero-master::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="white" fill-opacity="0.03" width="1" height="1"/></svg>');
    opacity: 0.3;
}

.hero-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
    z-index: 1;
}

/* Important Word Highlighting - Locked to Blue Root */
.important {
    color: var(--accent) !important;
    font-weight: 800;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
}

/* Left Side Styling */
.hero-content-left {
    flex: 1.2;
}

.company-tag {
    color: var(--accent);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.85rem;
    margin-bottom: 20px;
    display: block;
    filter: brightness(1.2);
}

.hero-main-title {
    font-size: clamp(3.5rem, 7vw, 5.5rem);
    line-height: 1.1;
    font-weight: 900;
    color: #ffffff; /* Locked white for contrast against blue bg */
    margin-bottom: 30px;
    letter-spacing: -0.05em;
}

.hero-detailed-desc {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85); /* Highly readable light text */
    max-width: 600px;
}

/* Right Side Action Card */
.hero-action-right {
    flex: 0.8;
    display: flex;
    justify-content: flex-end;
}
/* --- BUTTONS MASTER CONTAINER (No changes to layout) --- */
.hero-action-right .btn-hero-primary,
.hero-action-right .btn-meeting-premium {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%; /* Keeps them stacked as in your glass card */
    margin-bottom: 12px;
    padding: 16px 25px;
    border-radius: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

/* --- PRIMARY BUTTON: "Get a Free Quote" (High-Impact Solid) --- */
.btn-hero-primary {
    background: #38bdf8;
    color: #020617;
    border: none;
    box-shadow: 0 0 0 rgba(56, 189, 248, 0);
}

.btn-hero-primary:hover {
    background: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(56, 189, 248, 0.3);
}

/* Liquid Sweep Animation for Primary */
.btn-hero-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.5s;
}

.btn-hero-primary:hover::after {
    left: 100%;
}

/* --- SECONDARY BUTTON: "Book Meeting" (Glass & Circuit Design) --- */
.btn-meeting-premium {
    background: rgba(15, 23, 42, 0.4);
    color: #ffffff;
    border: 1px solid rgba(56, 189, 248, 0.3);
    backdrop-filter: blur(10px);
}

.btn-meeting-premium:hover {
    background: rgba(56, 189, 248, 0.1);
    border-color: #38bdf8;
    color: #38bdf8;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Icon Animation for Meeting */
.btn-meeting-premium .btn-icon {
    margin-right: 10px;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.btn-meeting-premium:hover .btn-icon {
    transform: rotate(15deg) scale(1.2);
}

/* Scanning Border Effect for Meeting */
.btn-meeting-premium::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 100%;
    top: 0;
    left: -50px;
    background: linear-gradient(to right, transparent, rgba(56, 189, 248, 0.2), transparent);
    transform: skewX(-25deg);
    transition: 0.7s;
}

.btn-meeting-premium:hover::before {
    left: 110%;
}

/* --- MICRO-INTERACTION: Pushing down on click --- */
.btn-hero-primary:active,
.btn-meeting-premium:active {
    transform: translateY(0);
}
.glass-portal {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 50px;
    border-radius: 48px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5);
}

.portal-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.pulse-icon {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
    animation: portalPulse 2s infinite;
}

@keyframes portalPulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.6); opacity: 0.4; }
    100% { transform: scale(1); opacity: 1; }
}

.glass-portal h3 {
    font-size: 1.75rem;
    margin-bottom: 15px;
    line-height: 1.3;
    color: #ffffff;
}

.glass-portal p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin-bottom: 35px;
}


.portal-metrics {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.metric {
    display: flex;
    flex-direction: column;
}

.metric strong {
    font-size: 1.5rem;
    color: var(--accent);
}

.metric span {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}







:root {
    /* --- ADJUST THESE NUMBERS TO CHANGE LAYOUT --- */
    --cards-per-row: 3;         /* Change to 2 or 4 to adjust rows */
    --grid-gap: 30px;           /* Space between cards */
    --side-padding: 0%;         /* Space from left/right of screen */
    --card-internal-padding: 50px; /* Space inside the cards */
}

.tech-stack {
    padding: 100px var(--side-padding);
    background-color: var(--bg-color);
    position: relative;
}

.tech-header {
    text-align: center;
    margin-bottom: 70px;
}

/* Grid Logic */
.stack-grid {
    display: grid;
    /* This formula automatically creates 3 columns based on your variable */
    grid-template-columns: repeat(var(--cards-per-row), 1fr);
    gap: var(--grid-gap);
}

.stack-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: var(--card-internal-padding);
    border-radius: 35px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.stack-card:hover {
    transform: translateY(-15px);
    border-color: var(--accent);
    background: rgba(56, 189, 248, 0.03);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* Internal Card Styles */
.stack-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 15px;
    font-weight: 700;
}

.stack-icon {
    font-size: 1.8rem;
    color: var(--text-main);
    font-weight: 900;
    margin-bottom: 20px;
}

.stack-card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1rem;
}

/* Important Words Highlighting */
.important {
    color: var(--accent) !important;
    font-weight: 700;
}










/* Main Section Wrapper */
.expert-lifecycle {
    /* Using the inline variable for side gaps */
    padding: 120px var(--side-padding); 
    background-color: var(--bg-color); /* Linked to your existing theme */
    display: flex;
    justify-content: center;
}

.lifecycle-container {
    width: 100%;
    max-width: var(--content-max-width);
}

/* Header Styling */
.lifecycle-header {
    margin-bottom: 80px;
    border-left: 4px solid var(--accent); /* Elegant side border */
    padding-left: 30px;
}

.eyebrow-tag {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 10px;
}

.professional-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-main);
    font-weight: 900;
    line-height: 1.2;
}

.header-desc {
    color: var(--text-muted);
    max-width: 700px;
    margin-top: 20px;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Grid Layout: 2 Columns */
.lifecycle-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Professional 2-column split */
    gap: 40px;
}

/* Card Styling */
.lifecycle-card {
    background: var(--card-bg); /* Uses your existing card color */
    border: 1px solid var(--border);
    padding: 50px;
    border-radius: 24px;
    display: flex;
    gap: 30px;
    transition: all 0.4s ease;
}

/* Hover Effect: Clean and Professional */
.lifecycle-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-count {
    font-size: 1rem;
    font-weight: 900;
    color: var(--accent);
    opacity: 0.5;
    font-family: monospace; /* Developer aesthetic */
}

.card-content h3 {
    color: var(--text-main);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.card-content p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1rem;
}

/* Global Highlight Class */
.highlight {
    color: var(--accent) !important;
    font-weight: 600;
}



/* --- Global Lock for Branding Consistency --- */
:root {
    /* Locked to your blue root variable for branding */
    --tf-brand-blue: var(--accent); 
    /* Hard-Coded Stable Backgrounds for "Why" Section */
    --tf-stable-card: #111827; 
}

/* --- SECTION MAIN LAYOUT --- */
.tf-feature-container {
    padding: 120px 0%; /* Standard side gaps */
    background-color: var(--bg-color); /* Responsive to theme toggle */
    display: flex;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.tf-feature-wrapper {
    width: 100%;
    max-width: 1300px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* --- Left Side Styling --- */
.tf-eyebrow {
    color: var(--tf-brand-blue);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.8rem;
    font-weight: 800;
    display: block;
    margin-bottom: 20px;
}

.tf-main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--text-main);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
}

.tf-detailed-desc {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 50px;
}

/* Global Blue Accent for Important Words */
.important {
    color: var(--tf-brand-blue) !important;
    font-weight: 700;
}

/* CTA Row (WhatsApp/Email link) */
.tf-cta-row {
    display: flex;
    gap: 20px;
}

.tf-btn-primary {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: var(--tf-brand-blue);
    color: #020617; /* High contrast dark text */
    padding: 18px 30px;
    border-radius: 12px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.2);
}

.tf-btn-primary:hover {
    transform: translateY(-5px);
    background-color: #ffffff;
    color: #020617;
    box-shadow: 0 15px 40px rgba(56, 189, 248, 0.3);
}

/* --- Right Side Advantage Card (Locked Stable Blue) --- */
.advantage-glass-card {
    background-color: var(--tf-stable-card); /* Will NOT change on theme toggle */
    border: 1px solid rgba(56, 189, 248, 0.2);
    padding: 60px 50px;
    border-radius: 40px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
    position: relative;
    transition: all 0.4s ease;
}

.advantage-glass-card:hover {
    transform: translateY(-10px) rotate(1deg);
    border-color: var(--tf-brand-blue);
    box-shadow: 0 60px 120px rgba(0, 0, 0, 0.6);
}

.box-title {
    font-size: 2.2rem;
    color: #ffffff; /* Stable white against dark background */
    font-weight: 800;
    text-align: center;
    margin-bottom: 15px;
}

.title-divider {
    width: 60px;
    height: 3px;
    background-color: var(--tf-brand-blue);
    margin: 0 auto 40px;
    border-radius: 2px;
}

/* --- ADVANTAGE LIST (Modern Ticks) --- */
.advantage-list {
    list-style: none;
    padding: 0;
}

.advantage-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 22px;
    transition: 0.3s ease;
}

.advantage-item p {
    color: #e2e8f0; /* Stable light text against dark background */
    font-size: 1.05rem;
    font-weight: 500;
}

/* Modern Geometric Diamond Tick */
.diamond-tick {
    width: 24px;
    height: 24px;
    border: 2px solid var(--tf-brand-blue);
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: 0.4s ease;
}

.diamond-tick span {
    width: 10px;
    height: 10px;
    background-color: var(--tf-brand-blue); /* Core Diamond */
    display: block;
}

/* Hover Animation for Ticks */
.advantage-item:hover {
    transform: translateX(10px);
}

.advantage-item:hover .diamond-tick {
    background-color: var(--tf-brand-blue);
    transform: rotate(225deg); /* Spin and fill */
}

.advantage-item:hover .diamond-tick span {
    background-color: var(--tf-stable-card); /* Invert color inside tick */
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 1024px) {
    .tf-feature-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .tf-feature-container {
        padding: 80px 5%;
    }
    .tf-detailed-desc {
        margin: 0 auto 40px;
    }
    .tf-cta-row {
        justify-content: center;
    }
    .advantage-glass-card {
        padding: 40px;
    }
    .advantage-item:hover {
        transform: none; /* Disable horizontal slide on mobile */
    }
}








/* --- THE ARCHITECTURAL GRID --- */
.tf-consult-grid {
    padding: 100px var(--side-gap);
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
}

.tf-consult-wrapper {
    width: 100%;
    max-width: 1500px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--border);
    border-radius: 40px;
    overflow: hidden;
}

/* --- LEFT SIDE: THE BLUEPRINT GRID --- */
.tf-consult-left {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: var(--card-bg);
}

.grid-item {
    padding: 60px 40px;
    border: 0.5px solid var(--border);
    transition: all 0.4s ease;
}

.grid-item:hover {
    background-color: rgba(56, 189, 248, 0.05);
}

.grid-num {
    font-family: monospace;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 800;
    display: block;
    margin-bottom: 20px;
}

.grid-item h3 {
    color: var(--text-main);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 800;
}

.grid-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- RIGHT SIDE: THE ACTION BRIDGE --- */
.tf-consult-right {
    padding: 80px;
    display: flex;
    align-items: center;
    background-color: var(--bg-color);
}

.contact-links {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    display: block;
    padding: 25px;
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: var(--accent);
    transform: translateX(10px);
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    font-weight: 700;
}

.contact-card strong {
    color: var(--text-main);
    font-size: 1.1rem;
    word-break: break-all;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 1024px) {
    .tf-consult-wrapper {
        grid-template-columns: 1fr;
    }
    .tf-consult-right {
        padding: 50px 30px;
    }
    .tf-consult-left {
        grid-template-columns: 1fr;
    }
}





/* --- SECTION LAYOUT --- */
/* --- SECTION LAYOUT --- */
.nexus-section {
    padding: 140px var(--side-gap);
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
}

.nexus-wrapper {
    width: 100%;
    max-width: 1550px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr; /* Balanced wide split */
    gap: 100px;
    align-items: center;
}

/* --- LEFT CONTENT --- */
.nexus-eyebrow {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 6px;
    font-size: 0.85rem;
    font-weight: 800;
    display: block;
    margin-bottom: 25px;
}

.nexus-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--text-main);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
}

.flare-blue { color: var(--accent) !important; }

.nexus-desc {
    color: var(--text-muted);
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 550px;
}

.nexus-values {
    list-style: none;
    padding: 0;
}

.nexus-values li {
    color: var(--text-main);
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    gap: 12px;
    align-items: center;
}

/* --- THE CRYSTAL FORM --- */
.crystal-form {
    background: var(--card-bg); /* Use your existing card-bg */
    border: 1px solid var(--border);
    padding: 60px;
    border-radius: 50px;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

/* Add a subtle glow behind the form */
.crystal-form::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.05), transparent);
    z-index: 0;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.field-group { display: flex; flex-direction: column; gap: 12px; }

.field-group.full-width { grid-column: span 2; }

.field-group label {
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.field-group input, .field-group textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border); /* Minimalist Underline Style */
    padding: 15px 5px;
    color: var(--text-main);
    font-size: 1.05rem;
    transition: all 0.4s ease;
}

.field-group input:focus, .field-group textarea:focus {
    border-bottom-color: var(--accent);
    outline: none;
    padding-left: 10px; /* Modern shift effect */
}

/* --- THE ACTION BUTTON --- */
.nexus-btn {
    width: 100%;
    padding: 24px;
    background: var(--accent);
    color: #020617;
    border: none;
    border-radius: 18px;
    font-weight: 900;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    cursor: pointer;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
}

.nexus-btn:hover {
    transform: translateY(-8px);
    background: #ffffff;
    box-shadow: 0 25px 50px rgba(56, 189, 248, 0.3);
}

/* --- RESPONSIVE --- */
@media (max-width: 1100px) {
    .nexus-wrapper { grid-template-columns: 1fr; gap: 60px; text-align: center; }
    .form-grid { grid-template-columns: 1fr; }
    .field-group.full-width { grid-column: span 1; }
    .crystal-form { padding: 40px 25px; }
    .nexus-values { display: inline-block; text-align: left; }
}






/* --- MODAL OVERLAY --- */
.tf-modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(2, 6, 23, 0.9); /* Deep Navy */
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    
    /* HIDDEN BY DEFAULT */
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- VISIBLE STATE --- */
.tf-modal-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

/* --- MODAL CARD --- */
.tf-modal-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 60px 40px;
    border-radius: 40px;
    text-align: center;
    max-width: 480px;
    width: 90%;
    transform: translateY(30px) scale(0.9);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.6);
}

.tf-modal-overlay.is-visible .tf-modal-card {
    transform: translateY(0) scale(1);
}

/* --- DIAMOND ANIMATION --- */
.tf-modal-design {
    position: relative;
    width: 80px; height: 80px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tf-diamond-loader {
    position: absolute;
    width: 100%; height: 100%;
    border: 2px solid var(--accent);
    transform: rotate(45deg);
    animation: tf-spin 4s linear infinite;
}

.tf-diamond-core {
    color: var(--accent);
    font-size: 2.5rem;
    font-weight: 900;
}

@keyframes tf-spin {
    from { transform: rotate(45deg); }
    to { transform: rotate(405deg); }
}

/* --- TYPOGRAPHY --- */
.tf-modal-title {
    color: var(--text-main);
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.tf-modal-text {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 35px;
    font-size: 1.05rem;
}

/* --- BUTTON --- */
.tf-modal-close {
    background: var(--accent);
    color: #020617;
    border: none;
    padding: 18px 40px;
    border-radius: 15px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.3s ease;
}

.tf-modal-close:hover {
    background: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(56, 189, 248, 0.3);
}



/* --- ARCHITECT SECTION SCOPING --- */
.eng-profile-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    background: #020617; /* Deep Navy */
}

.eng-container-fluid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.architect-flex {
    display: flex;
    align-items: center;
    gap: 100px;
}

/* --- IMAGE & STATUS INDICATOR --- */
.architect-visual-core {
    flex: 1;
    position: relative;
}

.eng-frame-border {
    position: relative;
    z-index: 5;
    border-radius: 40px;
    overflow: hidden;
    border: 1px solid rgba(56, 189, 248, 0.2);
    background: #0f172a;
}

.architect-img {
    width: 100%;
    filter: grayscale(30%);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.eng-frame-border:hover .architect-img {
    filter: grayscale(0%);
    transform: scale(1.03);
}

.eng-status-indicator {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.eng-signal-dot {
    width: 10px; height: 10px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 15px #10b981;
}

.eng-status-text {
    color: #f1f5f9;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* --- TYPOGRAPHY & CLUSTER --- */
.architect-description-box {
    flex: 1.3;
}

.eng-label-eyebrow {
    color: #38bdf8;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 4px;
    font-size: 12px;
    margin-bottom: 20px;
    display: block;
}

.eng-main-heading {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: #fff;
    margin: 0 0 30px 0;
    line-height: 1.1;
}

.architect-narrative {
    font-size: 1.15rem;
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 45px;
}

/* --- SKILL NODES --- */
.eng-skills-cluster {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.skill-node {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(56, 189, 248, 0.1);
    padding: 20px;
    border-radius: 20px;
    transition: 0.3s;
}

.skill-node:hover {
    border-color: #38bdf8;
    background: rgba(56, 189, 248, 0.05);
}

.node-title {
    display: block;
    color: #38bdf8;
    font-weight: 900;
    font-size: 1rem;
}

.node-detail {
    color: #64748b;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
}

/* --- WHATSAPP TRIGGER --- */
.eng-whatsapp-trigger {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: #25d366;
    color: #fff;
    padding: 20px 40px;
    border-radius: 18px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    transition: 0.4s;
}

.eng-whatsapp-trigger:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.3);
}

/* RESPONSIVE LOGIC */
@media (max-width: 992px) {
    .architect-flex { flex-direction: column; gap: 60px; text-align: center; }
    .eng-skills-cluster { justify-content: center; }
    .eng-status-indicator { left: 50%; transform: translateX(-50%); bottom: 20px; }
}



/* --- FAQ SECTION --- */
.faq-logic-section {
    padding: 100px 0;
    background-color: var(--bg-color); /* Responsive */
    transition: background-color 0.4s ease;
}
.faq-wrapper {
    /* Increased from 850px to 1100px to take more horizontal space */
    max-width: 1100px; 
    margin: 0 auto;
    /* Reduced from 5% to 2% to bring the items closer to the screen edges */
    padding: 0 0%; 
}

.faq-question {
    /* Reduced horizontal padding from 30px to 20px to make content wider */
    padding: 20px 20px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* Matched the 20px padding of the question for alignment */
    padding: 0 20px; 
}


.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-eyebrow { 
    color: var(--accent); 
    font-weight: 900; 
    letter-spacing: 5px; 
    font-size: 11px; 
    text-transform: uppercase; 
}

.faq-title { 
    color: var(--text-main); /* Responsive */
    font-size: clamp(2rem, 5vw, 2.8rem); 
    margin-top: 15px; 
}

/* --- ACCORDION LOGIC --- */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background-color: var(--card-bg); /* Responsive */
    border: 1px solid var(--border); /* Responsive */
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}



.faq-question h3 {
    margin: 0;
    color: var(--text-main); /* Responsive */
    font-size: 1rem;
    font-weight: 600;
}

.faq-icon {
    color: var(--accent);
    font-size: 1.2rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}


.faq-answer p {
    color: var(--text-muted); /* Responsive */
    line-height: 1.8;
    padding-bottom: 25px;
    margin: 0;
    font-size: 0.95rem;
}

/* --- ACTIVE & HOVER STATES --- */
.faq-item:hover {
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.faq-item.active {
    border-color: var(--accent);
    background-color: var(--card-bg);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    text-shadow: 0 0 10px var(--accent);
}

/* Slide-up Animation for items */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}


/* --- RESPONSIVE LOGIC: GLOBAL ADAPTATIONS --- */

/* 1. Ultra-Wide & Desktop (1500px +) */
@media (min-width: 1500px) {
    main { padding: 120px 12%; }
    .hero-main-title, .tf-main-title { font-size: 4.5rem; }
}

/* 2. Standard Desktop / Small Laptops (1200px - 1000px) */
@media (max-width: 1200px) {
    .hero-wrapper, .tf-feature-wrapper, .architect-flex { 
        gap: 40px; 
    }
    .hero-main-title { font-size: 3.2rem; }
}

/* 3. Tablets & Small Laptops (992px - 800px) */
@media (max-width: 992px) {
    /* Stack Hero & Feature Sections */
    .hero-wrapper, .tf-feature-wrapper, .eng-container-fluid.architect-flex, .tf-consult-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .hero-content-left, .hero-action-right, .tf-feature-content, .tf-advantage-right, .architect-visual-core, .architect-description-box {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }

    .stack-grid, .lifecycle-grid, .tf-consult-left {
        grid-template-columns: repeat(2, 1fr);
    }

    .eng-skills-cluster { justify-content: center; }
}

/* 4. Large Phones / Phablets (768px - 600px) */
@media (max-width: 768px) {
    main { padding: 60px 5%; }
    
    .hero-main-title, .tf-main-title, .professional-title { font-size: 2.2rem; }
    
    .stack-grid, .lifecycle-grid, .tf-consult-left {
        grid-template-columns: 1fr; /* Single column stack */
    }

    .nexus-wrapper, .tf-consult-wrapper {
        flex-direction: column;
    }

    .form-grid { grid-template-columns: 1fr; } /* Form becomes single column */
    
    .portal-metrics { gap: 15px; }

    /* Fix Profile Image for Mobile */
    .eng-frame-border { max-width: 300px; margin: 0 auto; }
}

/* 5. Small Phones (480px - 290px) */
@media (max-width: 480px) {
    .hero-main-title { font-size: 1.8rem; }
    .hero-detailed-desc { font-size: 0.95rem; }
    
    .glass-portal, .lifecycle-card, .matrix-item, .faq-item {
        padding: 20px; /* Tighter padding to save space */
    }

    .nexus-btn, .tf-btn-primary, .btn-hero-primary, .btn-meeting-premium {
        width: 100%;
        padding: 14px 15px;
        font-size: 0.85rem;
    }

    .portal-metrics strong { font-size: 1.2rem; }
    
    .faq-question h3 { font-size: 0.9rem; }

    /* Ensure Support Button doesn't cover content */
    .side-pull-btn { padding: 10px; width: 45px; overflow: hidden; }
    .support-label { display: none; } /* Hide text on tiny screens */
}

/* 6. Micro-Screens & Smartwatches (280px - 100px) */
@media (max-width: 280px) {
    .hero-main-title { font-size: 1.4rem; }
    .company-tag { font-size: 9px; padding: 4px 8px; }
    
    .stack-icon, .card-count { font-size: 1.2rem; }
    
    /* Remove huge margins */
    main { padding: 40px 10px; }
    
    .lifecycle-container, .nexus-wrapper { padding: 0; }

    /* Buttons become very compact */
    .btn-icon { display: none; }
    
    /* Hide metrics to prevent overflow */
    .portal-metrics { display: none; }
}

/* --- UTILITY: ENSURE IMAGES DON'T BREAK --- */
img {
    max-width: 100%;
    height: auto;
}

/* Fix for the Glass Portal Card on Small Widths */
.glass-portal {
    box-sizing: border-box;
    width: 100%;
}
/* --- 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 */
    }
}

    