/* ==========================================================================
   FW - Farhan Web Solutions Design System & Global Stylesheet
   ========================================================================== */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* --- CSS Root Variables --- */
:root {
    --bg-main: #0a0a0a;
    --bg-darker: #050505;
    --bg-cards: rgba(25, 25, 25, 0.45);
    --bg-glass: rgba(255, 255, 255, 0.02);
    --border-glass: rgba(255, 255, 255, 0.05);
    --border-glass-hover: rgba(255, 255, 255, 0.15);
    --accent: #ff7a00;
    --accent-hover: #ff9533;
    --accent-glow: rgba(255, 122, 0, 0.4);
    --text-white: #ffffff;
    --text-gray: #a3a3a3;
    --text-light-gray: #e5e5e5;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --nav-height: 80px;
    --nav-height-scrolled: 65px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
}

/* --- Resets --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-main);
    color: var(--text-white);
    font-family: var(--font-body);
}

body {
    overflow-x: hidden;
    min-height: 100vh;
    background: radial-gradient(circle at 50% 0%, #1c1005 0%, var(--bg-main) 70%);
    background-attachment: fixed;
    line-height: 1.6;
    padding-left: 260px;
    transition: padding-left var(--transition-smooth);
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 122, 0, 0.3);
    border-radius: var(--border-radius-sm);
    border: 2px solid var(--bg-darker);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

p {
    color: var(--text-gray);
    font-weight: 400;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

/* --- Global Utility Classes --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 30%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-orange {
    color: var(--accent);
}

.section-padding {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
}

/* --- Button System --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #ff5100 100%);
    color: var(--text-white);
    box-shadow: 0 4px 15px var(--accent-glow);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 122, 0, 0.6);
}

.btn-secondary {
    background: var(--bg-glass);
    color: var(--text-white);
    border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-glass-hover);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: 6px;
}

/* --- Glassmorphism Card Style --- */
.glass-card {
    background: var(--bg-cards);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    padding: 32px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glass-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--border-radius-md);
    padding: 1px;
    background: linear-gradient(to bottom right, rgba(255,255,255,0.1), transparent, rgba(255,122,0,0.15));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 122, 0, 0.3);
    box-shadow: 0 10px 30px rgba(255, 122, 0, 0.05);
}

/* ==========================================================================
   VERTICAL SIDEBAR NAVIGATION & LOGO SYSTEM
   ========================================================================== */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-right: 1px solid var(--border-glass);
    z-index: 1000;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: width var(--transition-smooth);
    overflow-x: hidden;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    width: 100%;
    position: relative;
}

/* Collapse toggle button for desktop */
.sidebar-toggle-btn {
    background: rgba(255, 122, 0, 0.1);
    border: 1px solid rgba(255, 122, 0, 0.2);
    color: var(--accent);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
}

.sidebar-toggle-btn:hover {
    background: var(--accent);
    color: var(--text-white);
    box-shadow: 0 0 10px var(--accent-glow);
}

.sidebar.collapsed .sidebar-toggle-btn i {
    transform: rotate(180deg);
}

/* Brand Logo (Hybrid: Image Icon + HTML Text) */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

.logo-icon-img {
    height: 42px;
    width: auto;
    display: block;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-divider {
    width: 1px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
    transition: opacity var(--transition-fast);
}

.logo-text-vertical {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.1;
    transition: opacity var(--transition-fast);
}

.logo-name-top {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 0.05em;
}

.logo-name-mid {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.06em;
    margin-top: -1px;
}

.logo-name-bot {
    font-family: var(--font-body);
    font-size: 0.52rem;
    font-weight: 500;
    color: var(--text-gray);
    letter-spacing: 0.11em;
    margin-top: 2px;
}

/* Mobile Header Logo adjustments */
.mobile-header .logo-icon-img {
    height: 36px;
}

.mobile-header .logo-divider {
    height: 30px;
}

.mobile-header .logo-name-top {
    font-size: 1.1rem;
}

.mobile-header .logo-name-mid {
    font-size: 0.72rem;
}

.mobile-header .logo-name-bot {
    display: none;
}

/* Sidebar Links */
.sidebar-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.sidebar-menu-item {
    position: relative;
}

.sidebar-menu-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    color: var(--text-gray);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.sidebar-menu-link i {
    font-size: 1.25rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.sidebar-menu-link span {
    transition: opacity var(--transition-fast);
}

.sidebar-menu-link:hover,
.sidebar-menu-link.active {
    background: rgba(255, 122, 0, 0.08);
    color: var(--accent);
}

/* Orange active menu indicator */
.sidebar-menu-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    height: 70%;
    width: 4px;
    background-color: var(--accent);
    border-radius: 0 4px 4px 0;
    box-shadow: 0 0 10px var(--accent-glow);
}

/* Sidebar Bottom CTA */
.sidebar-cta-container {
    width: 100%;
    margin-top: auto;
}

.sidebar-cta-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.sidebar-cta-btn span {
    transition: opacity var(--transition-fast);
}

/* Collapsed State Styles */
body.sidebar-collapsed {
    padding-left: 80px;
}

.sidebar.collapsed {
    width: 80px;
    padding: 30px 15px;
}

.sidebar.collapsed .logo-divider,
.sidebar.collapsed .logo-text-vertical,
.sidebar.collapsed .sidebar-menu-link span,
.sidebar.collapsed .sidebar-cta-btn span {
    opacity: 0;
    width: 0;
    margin: 0;
    padding: 0;
    display: none;
    pointer-events: none;
}

.sidebar.collapsed .logo {
    justify-content: center;
    gap: 0;
}

.sidebar.collapsed .sidebar-header {
    justify-content: center;
}

.sidebar.collapsed .sidebar-toggle-btn {
    right: -10px;
}

.sidebar.collapsed .sidebar-cta-btn {
    padding: 12px 0;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin: 0 auto;
}

.sidebar.collapsed .sidebar-cta-btn i {
    margin-right: 0;
}

/* Mobile top bar headers */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    z-index: 999;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

.mobile-toggle {
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
}

.sidebar-close-btn {
    display: none;
}

.sidebar-overlay {
    display: none;
}

/* ==========================================================================
   HERO SECTIONS
   ========================================================================== */
.hero {
    min-height: 100vh;
    padding-top: calc(var(--nav-height) + 40px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    margin-bottom: 24px;
    line-height: 1.1;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image-container {
    width: 100%;
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-image-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: var(--transition-slow);
}

.hero-image-container:hover img {
    transform: scale(1.03);
}

/* Background Gradients */
.glow-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 122, 0, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(50px);
    pointer-events: none;
    z-index: -1;
}

.glow-orb-1 {
    top: 10%;
    right: 5%;
}

.glow-orb-2 {
    bottom: 10%;
    left: 5%;
}

/* Inner Page Hero (Smaller Height) */
.inner-hero {
    padding: 160px 0 80px 0;
    text-align: center;
    position: relative;
}

.inner-hero h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 16px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.inner-hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ==========================================================================
   WHY CHOOSE FW SECTION
   ========================================================================== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.why-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 122, 0, 0.1);
    border: 1px solid rgba(255, 122, 0, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.why-card:hover .why-icon {
    background: var(--accent);
    color: var(--text-white);
    transform: scale(1.1);
    box-shadow: 0 0 15px var(--accent-glow);
}

.why-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.why-card p {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ==========================================================================
   RESULTS SECTION
   ========================================================================== */
.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.result-card {
    text-align: center;
    padding: 40px 24px;
}

.result-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
    display: inline-block;
    transition: var(--transition-smooth);
}

.result-card:hover .result-icon {
    transform: translateY(-5px) scale(1.05);
    text-shadow: 0 0 15px var(--accent-glow);
}

.result-card h3 {
    font-size: 1.25rem;
    margin-top: 12px;
}

/* ==========================================================================
   SERVICES GRID & TABS
   ========================================================================== */
.services-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.services-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.service-item-icon {
    color: var(--accent);
    font-size: 1.2rem;
    margin-top: 2px;
}

.service-item h4 {
    font-size: 1.15rem;
    margin-bottom: 4px;
}

/* ==========================================================================
   PRICING PACKAGES
   ========================================================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.price-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.price-card.popular {
    border-color: var(--accent);
    transform: scale(1.03);
    background: linear-gradient(180deg, rgba(25, 25, 25, 0.6) 0%, rgba(255, 122, 0, 0.03) 100%);
    box-shadow: 0 15px 40px rgba(255, 122, 0, 0.08);
}

.price-card.popular::after {
    background: linear-gradient(to bottom right, var(--accent), transparent, var(--accent));
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent);
    color: var(--text-white);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 10px rgba(255, 122, 0, 0.3);
}

.price-header {
    margin-bottom: 24px;
}

.price-header h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.price-value {
    font-size: 2.25rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 8px;
}

.price-value span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-gray);
}

.price-features {
    list-style: none;
    margin-bottom: 32px;
}

.price-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    color: var(--text-light-gray);
    font-size: 0.95rem;
}

.price-features li i {
    color: var(--accent);
    font-size: 1rem;
}

.price-btn {
    width: 100%;
}

/* ==========================================================================
   WORKFLOW TIMELINE
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--accent) 10%, var(--accent) 90%, transparent);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    right: -8px;
    background-color: var(--bg-main);
    border: 3px solid var(--accent);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 10px var(--accent-glow);
    transition: var(--transition-smooth);
}

.timeline-left {
    left: 0;
}

.timeline-right {
    left: 50%;
}

.timeline-right::after {
    left: -8px;
}

.timeline-content {
    padding: 24px;
    background: var(--bg-cards);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    position: relative;
}

.timeline-content h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.timeline-step {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
}

/* Active animation classes on Scroll */
.timeline-item.active::after {
    background-color: var(--accent);
    transform: scale(1.3);
}

/* ==========================================================================
   FORMS & INQUIRY SECTIONS
   ========================================================================== */
.form-container {
    max-width: 650px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light-gray);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-sm);
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 15px rgba(255, 122, 0, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.error-message {
    color: #ff3e3e;
    font-size: 0.8rem;
    margin-top: 6px;
    display: none;
}

.form-control.invalid {
    border-color: #ff3e3e;
}

.form-control.invalid:focus {
    box-shadow: 0 0 15px rgba(255, 62, 62, 0.1);
}

/* Form Submit State Components */
.form-status-container {
    display: none;
    padding: 24px;
    border-radius: var(--border-radius-md);
    margin-bottom: 24px;
    text-align: center;
    border: 1px solid transparent;
}

.form-status-container.success {
    background: rgba(0, 200, 80, 0.1);
    border-color: rgba(0, 200, 80, 0.2);
    color: #27d06e;
    display: block;
}

.form-status-container.error {
    background: rgba(255, 62, 62, 0.1);
    border-color: rgba(255, 62, 62, 0.2);
    color: #ff3e3e;
    display: block;
}

/* Spinner Loader */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: var(--text-white);
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   CLIENT PORTAL PAGE
   ========================================================================== */
.portal-wrapper {
    min-height: 100vh;
    padding-top: calc(var(--nav-height) + 40px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    width: 100%;
    max-width: 480px;
    padding: 40px;
}

.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-header h2 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 0.85rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text-gray);
}

.remember-me input {
    accent-color: var(--accent);
}

.forgot-password {
    color: var(--accent);
}

.forgot-password:hover {
    color: var(--accent-hover);
}

.portal-demo-creds {
    margin-top: 24px;
    padding: 16px;
    background: rgba(255, 122, 0, 0.05);
    border: 1px solid rgba(255, 122, 0, 0.15);
    border-radius: var(--border-radius-sm);
    font-size: 0.85rem;
}

.portal-demo-creds code {
    color: var(--accent);
    background: rgba(0,0,0,0.3);
    padding: 2px 6px;
    border-radius: 4px;
}

/* CLIENT DASHBOARD LAYOUT */
.dashboard-container {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
    padding-top: var(--nav-height);
}

/* Dashboard Sidebar */
.dash-sidebar {
    background: var(--bg-darker);
    border-right: 1px solid var(--border-glass);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: calc(100vh - var(--nav-height));
    position: sticky;
    top: var(--nav-height);
}

.dash-menu {
    list-style: none;
}

.dash-menu-item {
    margin-bottom: 8px;
}

.dash-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    color: var(--text-gray);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
}

.dash-menu-link:hover,
.dash-menu-link.active {
    background: rgba(255, 122, 0, 0.1);
    color: var(--accent);
}

.dash-user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border-glass);
}

.dash-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent) 0%, #ff5100 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-white);
}

.dash-user-info h4 {
    font-size: 0.9rem;
    line-height: 1.3;
}

.dash-user-info span {
    font-size: 0.75rem;
    color: var(--text-gray);
}

/* Dashboard Content Grid */
.dash-content {
    padding: 40px;
    overflow-y: auto;
}

.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.dash-header h1 {
    font-size: 2rem;
}

.active-package-banner {
    background: linear-gradient(135deg, rgba(255,122,0,0.1) 0%, rgba(255,81,0,0.02) 100%);
    border: 1px solid rgba(255, 122, 0, 0.2);
    border-radius: var(--border-radius-md);
    padding: 24px;
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.package-info h3 {
    font-size: 1.35rem;
    margin-bottom: 4px;
}

.package-status {
    background: rgba(0, 200, 80, 0.15);
    color: #27d06e;
    border: 1px solid rgba(0, 200, 80, 0.3);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Dashboard Grid for media content */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.media-card {
    background: var(--bg-cards);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.media-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,122,0,0.3);
}

.media-preview-box {
    position: relative;
    height: 180px;
    background: var(--bg-darker);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.media-preview-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: var(--transition-smooth);
}

.media-card:hover .media-preview-box img {
    opacity: 0.9;
}

.media-type-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.media-details {
    padding: 20px;
}

.media-details h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.media-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-bottom: 16px;
}

.media-actions {
    display: flex;
    gap: 12px;
}

.btn-approve {
    background: rgba(0, 200, 80, 0.1);
    color: #27d06e;
    border: 1px solid rgba(0, 200, 80, 0.2);
    flex-grow: 1;
}

.btn-approve:hover {
    background: #27d06e;
    color: var(--text-white);
}

.btn-approve.approved {
    background: #27d06e;
    color: var(--text-white);
    border-color: #27d06e;
}

.btn-download {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-white);
    width: 42px;
    padding: 0;
}

.btn-download:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--text-white);
}

/* Messaging Widgets */
.messages-box {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.message-item {
    background: var(--bg-cards);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    padding: 20px;
    position: relative;
}

.message-sender {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.95rem;
}

.message-time {
    color: var(--text-gray);
    font-size: 0.75rem;
    font-weight: 400;
}

/* ADMIN PANEL OVERLAY/DRAWER */
.admin-badge {
    background: rgba(255, 50, 50, 0.15);
    color: #ff4a4a;
    border: 1px solid rgba(255, 50, 50, 0.3);
}

.admin-drawer-toggle {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 999;
    background: #ff3232;
    box-shadow: 0 4px 15px rgba(255, 50, 50, 0.4);
}

.admin-drawer-toggle:hover {
    background: #ff4a4a;
    box-shadow: 0 6px 20px rgba(255, 50, 50, 0.6);
}

.admin-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    height: 100vh;
    background: #121212;
    border-left: 1px solid var(--border-glass);
    z-index: 1010;
    padding: 30px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    transition: var(--transition-smooth);
    overflow-y: auto;
}

.admin-drawer.open {
    right: 0;
}

.admin-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 16px;
}

.close-drawer {
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Lightbox Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.modal-content {
    max-width: 90%;
    max-height: 80vh;
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid var(--border-glass);
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--text-white);
    font-size: 2.5rem;
    cursor: pointer;
}

/* ==========================================================================
   CONTACT PAGE SPECIFIC STYLES
   ========================================================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 122, 0, 0.1);
    border: 1px solid rgba(255, 122, 0, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-info-text h3 {
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.contact-info-text p {
    font-size: 0.95rem;
}

/* ==========================================================================
   FAQ SECTION ACCORDIONS
   ========================================================================== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    border-radius: var(--border-radius-md);
    background: var(--bg-cards);
    border: 1px solid var(--border-glass);
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-question {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
}

.faq-question i {
    color: var(--accent);
    transition: var(--transition-smooth);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
    color: var(--text-gray);
}

/* Active FAQ Item styling */
.faq-item.active {
    border-color: rgba(255, 122, 0, 0.25);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    padding: 0 24px 24px 24px;
    max-height: 150px; /* Adjust according to text length */
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-glass);
    padding: 80px 0 40px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.95rem;
    max-width: 320px;
    margin-bottom: 24px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    font-size: 1.1rem;
}

.social-link:hover {
    background: var(--accent);
    color: var(--text-white);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px var(--accent-glow);
}

.footer-links-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-links-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
}

.footer-links-list {
    list-style: none;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.footer-links-list a:hover {
    color: var(--text-white);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* ==========================================================================
   FLOATING BUTTONS (WhatsApp & Back-to-Top)
   ========================================================================== */
.floating-btn {
    position: fixed;
    bottom: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 998;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
}

.whatsapp-btn {
    right: 30px;
    background-color: #25d366;
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn:hover {
    background-color: #20ba5a;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.back-to-top {
    right: 95px;
    background-color: var(--bg-cards);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
    color: var(--text-white);
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--accent);
    color: var(--text-white);
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

/* ==========================================================================
   SCROLL REVEAL EFFECT
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   MOBILE NAVIGATION MENU & RESPONSIVE LAYOUTS
   ========================================================================== */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .pricing-grid .price-card.popular {
        grid-column: span 2;
        transform: none;
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .section-header h2,
    .hero-text h1,
    .inner-hero h1 {
        font-size: 2.25rem;
    }
    
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text p {
        margin: 0 auto 30px auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    body {
        padding-left: 0 !important;
        padding-top: 70px;
    }

    .mobile-header {
        display: flex;
    }

    .sidebar {
        left: -280px;
        width: 280px !important;
        height: 100vh;
        position: fixed;
        top: 0;
        z-index: 1001;
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.8);
        transition: left var(--transition-smooth);
        padding: 30px 24px;
    }

    .sidebar.mobile-open {
        left: 0;
    }

    .sidebar-toggle-btn {
        display: none !important;
    }

    .sidebar-close-btn {
        display: block;
        background: none;
        border: none;
        color: var(--text-white);
        font-size: 1.5rem;
        cursor: pointer;
    }

    .sidebar-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 999;
        display: none;
    }

    .sidebar-overlay.active {
        display: block;
    }

    .why-grid,
    .results-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid .price-card.popular {
        grid-column: span 1;
        max-width: none;
    }
    
    .services-showcase {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 20px;
    }
    
    .timeline-item::after {
        left: 22px;
        right: auto;
    }
    
    .timeline-right {
        left: 0%;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-brand p {
        max-width: none;
    }
}

/* --- Premium Loader & Page Transition System --- */
.premium-loader {
    position: fixed;
    inset: 0;
    background-color: #050505;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    visibility: visible;
}

.premium-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.loader-logo {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #111;
    border: 2px solid var(--accent);
    box-shadow: 0 0 30px var(--accent-glow);
    animation: loader-glow 2s infinite ease-in-out;
}

.loader-logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.loader-spinner-container {
    position: relative;
    width: 48px;
    height: 48px;
    margin-top: 10px;
}

.loader-spinner {
    width: 100%;
    height: 100%;
    border: 3px solid rgba(255, 122, 0, 0.1);
    border-top: 3px solid var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-progress-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    margin-top: 10px;
}

.loader-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent) 0%, #ff5100 100%);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--accent-glow);
    animation: progress-fill 1.0s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.loader-text {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-white);
    letter-spacing: 0.1em;
    opacity: 0.8;
    text-transform: uppercase;
    margin-top: 10px;
}

/* Page Transition Fade Classes */
body {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

body.page-loaded {
    opacity: 1;
}

/* Keyframes */
@keyframes loader-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 122, 0, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 122, 0, 0.7);
        transform: scale(1.05);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes progress-fill {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

/* Prevent viewport shifts or auto-zooming */
html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Ensure tablet breakpoints handle headings properly to prevent overflows */
@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 2.5rem !important;
    }
    .inner-hero h1 {
        font-size: 2.25rem !important;
    }
}
