/*
TemplateMo 596 Electric Xtra
Adapted for Ruxelio Studio - RTL & Brand Colors
*/

@charset "utf-8";

/* Imports */
/* Local Fonts */
@font-face {
    font-family: 'Orbitron';
    src: url('../fonts/Orbitron-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Orbitron';
    src: url('../fonts/Orbitron-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Orbitron';
    src: url('../fonts/Orbitron-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rajdhani';
    src: url('../fonts/Rajdhani-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rajdhani';
    src: url('../fonts/Rajdhani-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rajdhani';
    src: url('../fonts/Rajdhani-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rajdhani';
    src: url('../fonts/Rajdhani-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(var(--whatsapp-rgb), 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(var(--whatsapp-rgb), 0.6);
    background-color: var(--whatsapp-hover-color);
}

.whatsapp-float i {
    animation: whatsapp-pulse 2s infinite;
}

@keyframes whatsapp-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 15px;
        left: 15px;
    }
}

/* CSS Document */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors */
    --primary-color: #d29e4b;
    --primary-rgb: 210, 158, 75;
    --primary-hover-color: #e7b765;
    --secondary-color: #4c5871;
    --secondary-rgb: 76, 88, 113;
    --whatsapp-color: #25D366;
    --whatsapp-hover-color: #128C7E;
    --whatsapp-rgb: 37, 211, 102;

    /* Neutrals */
    --white: #ffffff;
    --white-rgb: 255, 255, 255;
    --black: #000000;
    --black-rgb: 0, 0, 0;

    /* Background & Surface */
    --bg-color: #010612;
    --nav-bg: rgba(1, 6, 18, 0.94);
    --nav-bg-scrolled: rgba(1, 6, 18, 0.98);
    --card-bg: rgba(2, 9, 20, 0.92);
    --card-hover-bg: rgba(var(--primary-rgb), 0.08);
    --glass-bg: rgba(2, 9, 20, 0.86);
    --footer-bg: rgba(1, 6, 18, 0.96);
    --dropdown-bg: rgba(2, 9, 20, 0.98);

    /* Text */
    --text-color: #FFFFFF;
    --text-bright: #FFFFFF;
    --text-muted: #939aad;
    --heading-glow: #e6cb9c;
    --dropdown-text: #f5f5f5;

    /* Inputs */
    --input-bg: rgba(2, 9, 20, 0.78);
    --input-text: #FFFFFF;

    /* Borders & Grid */
    --border-color: rgba(var(--primary-rgb), 0.32);
    --grid-color-1: rgba(var(--primary-rgb), 0.018);
    --grid-color-2: rgba(var(--white-rgb), 0.012);
    --dropdown-border: rgba(var(--primary-rgb), 0.34);

    /* Effects */
    --shape-opacity: 0.06;
    --gradient-overlay: none;
    --overlay-hero: rgba(1, 6, 18, 0.82);
}

/* Light Mode Variables */
.light-mode {
    --primary-color: #be8733;
    --primary-rgb: 190, 135, 51;
    --primary-hover-color: #d29e4b;
    --secondary-color: #031535;
    --secondary-rgb: 3, 21, 53;
    --bg-color: #f5f5f5;

    /* Text */
    --text-color: #031535;
    --text-bright: #031535;
    --text-muted: #4c5871;
    --heading-glow: #be8733;
    --dropdown-text: #031535;

    /* Background & Surface */
    --nav-bg: rgba(var(--white-rgb), 0.95);
    --nav-bg-scrolled: rgba(var(--white-rgb), 0.98);
    --card-bg: rgba(var(--white-rgb), 0.96);
    --card-hover-bg: rgba(var(--primary-rgb), 0.055);
    --glass-bg: rgba(var(--white-rgb), 0.94);
    --footer-bg: rgba(245, 245, 245, 0.98);
    --dropdown-bg: #f5f5f5;

    /* Inputs */
    --input-bg: rgba(var(--white-rgb), 0.96);
    --input-text: #031535;

    /* Borders & Grid */
    --border-color: #e6cb9c;
    --grid-color-1: rgba(var(--primary-rgb), 0.026);
    --grid-color-2: rgba(var(--secondary-rgb), 0.018);
    --dropdown-border: #e6cb9c;

    /* Effects */
    --shape-opacity: 0.07;
    --gradient-overlay: none;
}


body {
    font-family: 'Alyamama', serif;
    background: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    position: relative;
    font-weight: 400;
    direction: rtl;
    text-align: right;
    transition: background-color 0.3s ease, color 0.3s ease;
}

html[dir="ltr"] body {
    font-family: 'DM Sans', Arial, sans-serif;
    direction: ltr;
    text-align: left;
}

html[dir="ltr"] h1,
html[dir="ltr"] h2,
html[dir="ltr"] h3,
html[dir="ltr"] h4,
html[dir="ltr"] .section-title {
    font-family: 'Cormorant Garamond', 'Times New Roman', serif;
    text-transform: uppercase;
    letter-spacing: normal;
}

html[dir="ltr"] .nav-link,
html[dir="ltr"] .language-toggle,
html[dir="ltr"] .logo-subtitle,
html[dir="ltr"] .home-hero-btn,
html[dir="ltr"] .cta-button,
html[dir="ltr"] .pricing-btn {
    font-family: 'DM Sans', Arial, sans-serif;
}

html[dir="ltr"] .nav-links,
html[dir="ltr"] .home-hero-actions,
html[dir="ltr"] .footer-links,
html[dir="ltr"] .preview-actions {
    direction: ltr;
}

html[dir="ltr"] .panel-text,
html[dir="ltr"] .service-card,
html[dir="ltr"] .about-text,
html[dir="ltr"] .faq-question,
html[dir="ltr"] .faq-answer,
html[dir="ltr"] .contact-form,
html[dir="ltr"] .contact-info,
html[dir="ltr"] .info-details {
    text-align: left;
}

html[dir="ltr"] .info-item {
    flex-direction: row;
}

html[dir="ltr"] .features-container {
    direction: ltr;
}


/* Animated background with hexagon pattern */
.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 25% 25%, transparent 2%, var(--grid-color-1) 2%, var(--grid-color-1) 3%, transparent 3%),
        radial-gradient(circle at 75% 75%, transparent 2%, var(--grid-color-2) 2%, var(--grid-color-2) 3%, transparent 3%);
    background-size: 80px 80px;
    animation: grid-move 30s linear infinite;
    z-index: -2;
    transition: background-image 0.3s ease;
}

/* Animated shapes */
.shapes-container {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.shape {
    position: absolute;
    opacity: var(--shape-opacity);
    transition: opacity 0.3s ease;
}

.shape-circle {
    width: 300px;
    height: 300px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    top: 10%;
    left: 10%;
    /* LTR default, kept for randomness */
    animation: float-rotate 20s ease-in-out infinite;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid rgba(var(--secondary-rgb), 0.2);
    top: 60%;
    right: 15%;
    animation: float-rotate 25s ease-in-out infinite reverse;
}

.shape-square {
    width: 150px;
    height: 150px;
    border: 2px solid var(--secondary-color);
    transform: rotate(45deg);
    bottom: 20%;
    left: 20%;
    animation: float-rotate 22s ease-in-out infinite;
}

@keyframes float-rotate {

    0%,
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }

    25% {
        transform: translateY(-30px) rotate(90deg) scale(1.1);
    }

    50% {
        transform: translateY(20px) rotate(180deg) scale(0.9);
    }

    75% {
        transform: translateY(-10px) rotate(270deg) scale(1.05);
    }
}

/* Gradient overlay */
.gradient-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    z-index: -1;
    animation: gradient-shift 10s ease-in-out infinite;
    transition: background 0.3s ease;
}

@keyframes gradient-shift {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(1.1) rotate(180deg);
    }
}

@keyframes grid-move {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(80px, 80px);
    }
}

/* Floating particles */
.particle {
    position: fixed;
    pointer-events: none;
    opacity: 0;
    z-index: 1;
}

.particle::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color);
    animation: float-up 15s linear infinite;
}

@keyframes float-up {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: none;
}

nav.scrolled {
    padding: 15px 50px;
    background: var(--nav-bg-scrolled);
    box-shadow: 0 3px 15px rgba(var(--primary-rgb), 0.15);
}

/* Prevent header changes on mobile */
@media (max-width: 768px) {
    nav.scrolled {
        padding: 15px 20px !important;
        background: var(--nav-bg) !important;
        box-shadow: none !important;
        border: none !important;
        outline: none !important;
        border-radius: 0 !important;
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        top: 0 !important;
    }
    
    nav.scrolled .logo-text {
        font-size: 2.2rem !important;
    }

    nav.scrolled .logo-img {
        width: 190px !important;
        height: auto !important;
        max-width: none !important;
    }
    
    nav.scrolled .logo-subtitle {
        font-size: 0.72rem !important;
    }
    
    nav.scrolled .logo-container {
        width: 190px !important;
        gap: 7px !important;
    }
}

/* Shrink logo on scroll */
nav.scrolled .logo-text {
    font-size: 2.8rem;
}

nav.scrolled .logo-img {
    width: 220px;
    height: auto;
    max-width: none;
}

nav.scrolled .logo-subtitle {
    font-size: 0.9rem;
}

nav.scrolled .logo-container {
    width: 220px;
    gap: 6px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Removed row-reverse to keep Logo on Right (Start) and Nav on Left (End) in RTL */
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 260px;
    gap: 9px;
}

.logo-subtitle {
    display: block;
    width: 100%;
    font-size: 0.86rem;
    line-height: 1.25;
    color: var(--text-color);
    font-weight: 300;
    white-space: nowrap;
    text-align: center;
}

.logo-svg {
    width: 40px;
    height: 40px;
}

.logo-img {
    width: 260px;
    height: auto;
    max-width: none;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 5px rgba(var(--primary-rgb), 0.3));
}

.light-mode .logo-img {
    content: url('../images/ruxelio-logo-light.png');
}

.logo-text {
    font-family: 'Alyamama', 'Orbitron', monospace;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-color);
    animation: glow 2s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(var(--primary-rgb), 0.5);
}

@keyframes glow {

    0%,
    100% {
        filter: brightness(1);
        text-shadow: 0 0 30px rgba(var(--primary-rgb), 0.5);
    }

    50% {
        filter: brightness(1.5);
        text-shadow: 0 0 40px rgba(var(--primary-rgb), 0.8);
    }
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    position: relative;
    transition: all 0.3s ease;
    padding: 8px 16px;
    font-family: 'Alyamama', 'Orbitron', monospace;
    font-weight: 600;
    font-size: 16px;
    /* Slightly larger for Arabic */
    /* text-transform: uppercase; Arabic doesn't have uppercase */
    letter-spacing: 0;
    /* Arabic doesn't need much letter spacing */
    opacity: 0.7;
}

.language-toggle {
    text-decoration: none;
    color: var(--primary-color);
    font-family: 'Alyamama', 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    transition: all 0.3s ease;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.language-toggle:hover {
    color: var(--text-color);
    opacity: 1;
}

.nav-links a.active {
    opacity: 1;
    color: var(--primary-color);
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    /* In RTL, this means Right? No, physical Left. */
    right: 0;
    /* Make it fill normally */
    width: 100%;
    height: 100%;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.nav-links a:hover::before,
.nav-links a.active::before {
    border-color: var(--primary-color);
    box-shadow: inset 0 0 10px rgba(var(--primary-rgb), 0.5);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    /* RTL: Start from right */
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.8);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links li {
    position: relative;
}

/* ============================================
   Navigation Dropdown Menu
   ============================================ */

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 220px;
    display: none;
    list-style: none;
    padding: 10px 0;
    border-radius: 8px;
    z-index: 100;
    backdrop-filter: blur(20px);
    background: var(--dropdown-bg);
    border: 1px solid var(--primary-color);
    box-shadow: 0 10px 40px rgba(var(--black-rgb), 0.8);
}

/* Light mode dropdown container */
.light-mode .dropdown-menu {
    background: var(--dropdown-bg);
    border: 1px solid var(--dropdown-border);
    box-shadow: 0 10px 40px rgba(var(--black-rgb), 0.1);
}

/* Dropdown menu visibility */
.nav-links li:hover .dropdown-menu {
    display: block;
    animation: fadeInDown 0.3s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dropdown menu items */
.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    width: 100%;
    display: block;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    text-align: right;
    transition: all 0.2s ease;
    color: var(--dropdown-text);
}

/* Light mode dropdown text */
.light-mode .dropdown-menu a {
    color: var(--dropdown-text);
}

/* Remove nav link decorations from dropdown */
.dropdown-menu a::before,
.dropdown-menu a::after {
    display: none;
}

/* Dropdown hover effect */
.dropdown-menu a:hover {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    padding-right: 25px;
}


/* Mobile dropdown adjustments */
@media (max-width: 991px) {
    .dropdown-menu {
        position: static;
        display: block;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0 20px 0 0;
        min-width: auto;
    }

    .dropdown-menu a {
        padding: 10px 20px !important;
    }
}

/* Mobile menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Theme Toggle Button */
.theme-toggle {
    background: transparent;
    border: none;
    color: var(--primary-color);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    z-index: 10;
}

.theme-toggle:hover {
    transform: rotate(180deg) scale(1.1);
}

.theme-toggle i {
    transition: all 0.3s ease;
    position: absolute;
    z-index: 1;
}

.theme-toggle i.fa-sun {
    display: block;
}

.theme-toggle i.fa-moon {
    display: none;
}

.light-mode .theme-toggle i.fa-sun {
    display: none;
}

.light-mode .theme-toggle i.fa-moon {
    display: block;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 20px 60px;
    background: linear-gradient(var(--overlay-hero), var(--overlay-hero)), url('../images/hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.home-hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 24px 70px;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 78% 20%, rgba(var(--primary-rgb), 0.25), transparent 28%),
        radial-gradient(circle at 17% 76%, rgba(var(--secondary-rgb), 0.26), transparent 32%),
        linear-gradient(135deg, rgba(1, 6, 18, 0.93), rgba(2, 9, 20, 0.82)),
        url('../images/hero.png') center/cover fixed;
}

.home-hero::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    left: -170px;
    top: 16%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.18), transparent 66%);
    filter: blur(8px);
    pointer-events: none;
    z-index: -1;
}

.home-hero-shell {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-hero-copy {
    max-width: 860px;
    margin-inline: auto;
    text-align: center;
}

.home-hero-copy h1 {
    max-width: 860px;
    margin: 0;
    color: var(--text-bright);
    font-size: clamp(2rem, 4.8vw, 4.4rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.04em;
    text-shadow: 0 16px 54px rgba(var(--black-rgb), 0.42);
}

.home-hero-copy h1 span {
    display: inline-block;
    color: var(--primary-color);
    text-shadow: 0 0 30px rgba(var(--primary-rgb), 0.38);
}

.home-hero-copy p {
    max-width: 690px;
    margin: 24px auto 0;
    color: rgba(var(--white-rgb), 0.82);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    line-height: 1.9;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
    justify-content: center;
}

.home-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 14px 24px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 800;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.home-hero-btn.primary {
    color: #09101d;
    background: linear-gradient(135deg, var(--primary-hover-color), var(--primary-color));
    box-shadow: 0 18px 42px rgba(var(--primary-rgb), 0.28);
}

.home-hero-btn.secondary {
    color: var(--text-bright);
    border: 1px solid rgba(var(--white-rgb), 0.18);
    background: rgba(var(--white-rgb), 0.055);
}

.home-hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 46px rgba(var(--black-rgb), 0.22);
}

.light-mode .home-hero {
    background:
        radial-gradient(circle at 78% 20%, rgba(var(--primary-rgb), 0.2), transparent 28%),
        radial-gradient(circle at 17% 76%, rgba(var(--secondary-rgb), 0.12), transparent 32%),
        linear-gradient(135deg, rgba(245, 245, 245, 0.92), rgba(255, 255, 255, 0.76)),
        url('../images/hero.png') center/cover fixed;
}

.light-mode .hero-short {
    background:
        radial-gradient(circle at 78% 20%, rgba(var(--primary-rgb), 0.2), transparent 28%),
        radial-gradient(circle at 17% 76%, rgba(var(--secondary-rgb), 0.12), transparent 32%),
        linear-gradient(135deg, rgba(245, 245, 245, 0.92), rgba(255, 255, 255, 0.76)),
        url('../images/hero.png') center/cover fixed;
}

.light-mode .home-hero-copy p,
.light-mode .home-hero-btn.secondary,
.light-mode .hero-short .subtitle {
    color: var(--text-color);
}

@media (max-width: 980px) {
    .home-hero {
        padding-top: 124px;
    }
}

@media (max-width: 640px) {
    .home-hero {
        padding: 108px 16px 48px;
    }

    .home-hero-copy h1 {
        font-size: clamp(1.75rem, 10vw, 3rem);
    }

    .home-hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .home-hero-btn {
        width: 100%;
    }
}

.hero-short {
    min-height: 62vh;
    justify-content: center;
    padding: 150px 24px 70px;
    background:
        radial-gradient(circle at 78% 20%, rgba(var(--primary-rgb), 0.25), transparent 28%),
        radial-gradient(circle at 17% 76%, rgba(var(--secondary-rgb), 0.26), transparent 32%),
        linear-gradient(135deg, rgba(1, 6, 18, 0.93), rgba(2, 9, 20, 0.82)),
        url('../images/hero.png') center/cover fixed;
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.18);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.hero-short::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    left: -150px;
    top: 10%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.16), transparent 66%);
    filter: blur(8px);
    pointer-events: none;
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 860px;
    margin-inline: auto;
    animation: fade-in-up 1s ease-out;
    z-index: 10;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-short .glitch-text {
    max-width: 860px;
    margin: 0 auto;
    font-size: clamp(2.4rem, 5.8vw, 5.4rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    text-transform: none;
    text-shadow: 0 16px 54px rgba(var(--black-rgb), 0.42);
}

.hero-short .glitch-text::before,
.hero-short .glitch-text::after {
    display: none;
}

.hero-short .subtitle {
    max-width: 690px;
    margin: 24px auto 0;
    color: rgba(var(--white-rgb), 0.82);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    line-height: 1.9;
    opacity: 1;
    text-shadow: none;
}

/* Text Rotator Styles */
.text-rotator {
    position: relative;
    min-height: 150px;
    /* Increased for Arabic lines */
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.text-set {
    position: absolute;
    width: 100%;
    opacity: 0;
    display: none;
}

.text-set.active {
    opacity: 1;
    display: block;
}

.glitch-text {
    font-family: 'Alyamama', 'Orbitron', monospace;
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 900;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0;
    /* Normal for Arabic */
    color: var(--text-bright);
    text-shadow: 0 0 20px rgba(var(--white-rgb), 0.5);
    line-height: 1.3;
}

html[dir="ltr"] .glitch-text,
html[dir="ltr"] .hero-short .glitch-text {
    font-family: 'Cormorant Garamond', 'Times New Roman', serif;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

.char {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px);
    animation: charFlyIn 0.5s ease-out forwards;
}

@keyframes charFlyIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.char.out {
    animation: charFlyOut 0.3s ease-in forwards;
}

@keyframes charFlyOut {
    to {
        opacity: 0;
        transform: translateY(-30px) rotateX(90deg);
    }
}

.subtitle {
    font-size: 1.5rem;
    margin: 20px 0;
    opacity: 0;
    color: var(--text-bright);
    text-shadow: 0 0 10px rgba(var(--white-rgb), 0.2);
    font-weight: 400;
}

.subtitle.visible {
    animation: subtitleFade 0.8s ease-out 0.5s forwards;
}

@keyframes subtitleFade {
    to {
        opacity: 0.8;
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    right: 0;
    /* Changed for RTL alignment */
    width: 100%;
    height: 100%;
}

.glitch-text::before {
    animation: glitch-1 0.5s infinite;
    color: var(--primary-color);
    z-index: -1;
    text-shadow: -2px 0 var(--primary-color);
}

.glitch-text::after {
    animation: glitch-2 0.5s infinite;
    color: var(--secondary-color);
    z-index: -1;
    text-shadow: 2px 0 var(--secondary-color);
}

@keyframes glitch-1 {

    0%,
    100% {
        clip-path: inset(0 0 0 0);
        transform: translate(0);
    }

    20% {
        clip-path: inset(33% 0 33% 0);
        transform: translate(-2px);
    }

    40% {
        clip-path: inset(66% 0 0 0);
        transform: translate(2px);
    }

    60% {
        clip-path: inset(0 0 66% 0);
        transform: translate(1px);
    }

    80% {
        clip-path: inset(25% 0 50% 0);
        transform: translate(-1px);
    }
}

@keyframes glitch-2 {

    0%,
    100% {
        clip-path: inset(0 0 0 0);
        transform: translate(0);
    }

    20% {
        clip-path: inset(50% 0 25% 0);
        transform: translate(2px);
    }

    40% {
        clip-path: inset(0 0 75% 0);
        transform: translate(-2px);
    }

    60% {
        clip-path: inset(75% 0 0 0);
        transform: translate(-1px);
    }

    80% {
        clip-path: inset(40% 0 40% 0);
        transform: translate(1px);
    }
}

.cta-button {
    padding: 12px 30px;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    /* text-transform: uppercase; */
    /* letter-spacing: 0.1em; */
    font-family: 'Alyamama', 'Orbitron', monospace;
    font-weight: 700;
    border-radius: 5px;
}

.cta-primary {
    background: var(--primary-color);
    color: var(--white);
    animation: pulse 2s infinite;
    box-shadow: 0 0 30px rgba(var(--primary-rgb), 0.5);
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 30px rgba(var(--primary-rgb), 0.5);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 40px rgba(var(--primary-rgb), 0.8);
    }
}

.cta-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: inset 0 0 20px rgba(var(--primary-rgb), 0.1);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(var(--white-rgb), 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-secondary:hover {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--text-bright);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(var(--primary-rgb), 0.4), inset 0 0 30px rgba(var(--primary-rgb), 0.2);
    border-color: var(--primary-color);
}

/* Features Section with Tabs */
.features {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.section-title {
    font-family: 'Alyamama', 'Orbitron', monospace;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    text-align: center;
    margin: 0 auto 30px auto;
    color: var(--primary-color);
    padding: 0;
    display: block;
    width: fit-content;
    line-height: 1.2;
}

.light-mode .section-title {
    color: #031535;
}

.features-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
    max-width: 1160px;
    margin: 0 auto;
}

.services-overview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.service-overview-card {
    position: relative;
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 30px;
    min-height: 100%;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-overview-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(var(--primary-rgb), 0.16), transparent 42%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-overview-card:hover,
.service-overview-card-featured {
    transform: translateY(-6px);
    border-color: var(--primary-color);
    box-shadow: 0 18px 45px rgba(var(--black-rgb), 0.18);
}

.service-overview-card:hover::before,
.service-overview-card-featured::before {
    opacity: 1;
}

.service-overview-icon,
.service-overview-body {
    position: relative;
    z-index: 1;
}

.service-overview-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border-radius: 16px;
    color: var(--primary-color);
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.28);
    font-size: 1.55rem;
}

.service-overview-card h3 {
    font-family: 'Alyamama', 'Orbitron', monospace;
    color: var(--primary-color);
    font-size: 1.55rem;
    line-height: 1.5;
    margin-bottom: 14px;
}

.service-overview-card p {
    color: var(--text-color);
    font-size: 1.02rem;
    line-height: 1.85;
    margin-bottom: 18px;
    opacity: 0.9;
}

html[dir="ltr"] .service-overview-card {
    text-align: left;
}

html[dir="ltr"] .feature-list li {
    padding-right: 0;
    padding-left: 30px;
}

html[dir="ltr"] .feature-list li::before {
    right: auto;
    left: 0;
}

.services-overview-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    padding: 22px;
    background: rgba(var(--primary-rgb), 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.22);
    border-radius: 16px;
    text-align: center;
}

.services-overview-cta span {
    font-weight: 700;
    font-size: 1.1rem;
}

@media (max-width: 992px) {
    .services-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-overview-card-featured {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .services-overview {
        grid-template-columns: 1fr;
    }

    .service-overview-card {
        padding: 24px 20px;
    }

    .service-overview-card h3 {
        font-size: 1.35rem;
    }
}

.feature-tabs {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    backdrop-filter: blur(10px);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.tab-item {
    padding: 15px 20px;
    margin-bottom: 10px;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.tab-item:hover {
    background: rgba(var(--primary-rgb), 0.1);
    border-color: rgba(var(--primary-rgb), 0.3);
}

.tab-item.active {
    background: var(--card-hover-bg);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.3);
}

.tab-link {
    padding: 15px 20px;
    margin-bottom: 10px;
    border: 1px solid transparent;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    text-decoration: none;
    color: var(--text-primary);
}

.tab-link:hover {
    background: rgba(var(--primary-rgb), 0.1);
    border-color: rgba(var(--primary-rgb), 0.3);
    color: var(--text-primary);
}

.tab-icon {
    font-size: 1.5rem;
}

.feature-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 40px;
    backdrop-filter: blur(10px);
    min-height: 400px;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.content-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}

.content-panel.active {
    display: block;
}

.content-panel h3 {
    font-family: 'Alyamama', 'Orbitron', monospace;
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    padding: 10px;
    display: inline-block;
    line-height: 1.5;
}

.panel-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
}

.panel-layout:has(.panel-image) {
    grid-template-columns: 1fr 1fr;
}

.panel-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: right;
}

.panel-layout:has(.panel-image) .panel-text {
    margin: 0;
    text-align: right;
}

.panel-image {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 0 20px rgba(var(--black-rgb), 0.3);
}

.panel-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.panel-image:hover img {
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .panel-layout {
        grid-template-columns: 1fr;
    }

    .panel-image {
        order: -1;
        margin-bottom: 20px;
    }

    .panel-text {
        text-align: center;
        margin: 0 auto;
    }
}

.content-panel p {
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.feature-list {
    list-style: none;
    margin-top: 20px;
}

.feature-list li {
    padding: 10px 0;
    padding-right: 30px;
    /* RTL */
    position: relative;
    opacity: 0.9;
}

.feature-list li::before {
    content: '▸';
    position: absolute;
    right: 0;
    /* RTL */
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* About Section */
.about {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-family: 'Alyamama', 'Orbitron', monospace;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--primary-color);
    padding: 10px;
    display: inline-block;
    line-height: 1.5;
}

.about-text p {
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 40px rgba(var(--primary-rgb), 0.3);
    animation: float 6s ease-in-out infinite;
    transition: all 0.5s ease;
}

.about-image:hover {
    transform: scale(1.02) rotate(1deg);
    box-shadow: 0 0 60px rgba(var(--primary-rgb), 0.5);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Stats Section (Added from Ruxelio Studio original, styled for Electric Xtra) */
.stats-section {
    padding: 60px 20px;
    background: rgba(var(--primary-rgb), 0.05);
    /* Slight purple tint */
    border-top: 1px solid rgba(var(--primary-rgb), 0.2);
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.2);
    text-align: center;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-item i {
    font-size: 3rem;
    color: var(--primary-color);
    background: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
    backdrop-filter: none !important;
    border: none !important;
    margin-bottom: 1rem;
    animation: float 4s ease-in-out infinite;
}

.stat-item .counter {
    font-family: 'Orbitron', monospace;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-bright);
}

.stat-item p {
    color: var(--text-muted);
    font-size: 1.2rem;
    font-weight: 500;
}

/* FAQ Section (Added styled) */
.faq-section {
    padding: 100px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: var(--glass-bg);
    margin-bottom: 1.25rem;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 0.75rem;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(var(--primary-rgb), 0.4);
    box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.1);
}

.faq-question {
    padding: 1.75rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: rgba(var(--primary-rgb), 0.08);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    font-family: 'Alyamama';
    line-height: 1.6;
    color: var(--text-bright);
    flex: 1;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    max-height: 400px;
    padding: 0 2rem 1.75rem 2rem;
}

.faq-answer p {
    opacity: 0.85;
    font-size: 1.1rem;
    line-height: 1.9;
    margin: 0;
    color: var(--text-muted);
    font-weight: 400;
}

.faq-icon {
    font-size: 1.1rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Contact Section */
.contact {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form {
    background: var(--glass-bg);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 10px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-weight: 600;
    /* text-transform: uppercase; */
    font-size: 0.9rem;
    letter-spacing: 0;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: var(--input-bg);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    color: var(--input-text);
    font-size: 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-family: 'Alyamama', serif;
}

/* Specific styling for select elements */
.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--primary-color) 50%),
        linear-gradient(135deg, var(--primary-color) 50%, transparent 50%);
    background-repeat: no-repeat;
    background-position: left 22px center, left 14px center;
    background-size: 8px 8px, 8px 8px;
    padding-left: 45px;
}

.form-group select option {
    background: var(--dropdown-bg);
    color: var(--dropdown-text);
    padding: 10px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.3);
    background: var(--input-bg);
    filter: brightness(1.2);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Alyamama', 'Orbitron', monospace;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.5);
}

.contact-info {
    padding: 40px;
}

.contact-info h3 {
    font-family: 'Alyamama', 'Orbitron', monospace;
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--primary-color);
    padding: 10px;
    display: inline-block;
    line-height: 1.5;
}

.info-item {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #031535;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.light-mode .info-icon {
    color: var(--white);
}

.info-details h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
    font-weight: 700;
}

.info-details p {
    opacity: 0.8;
}

.info-details a {
    color: inherit;
    text-decoration: none;
}

.info-details a:hover {
    color: var(--primary-color);
}

/* Footer */
footer {
    background: var(--footer-bg);
    border-top: 1px solid rgba(var(--primary-rgb), 0.2);
    padding: 40px 20px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--secondary-color);
    text-shadow: 0 0 10px currentColor;
}

.copyright {
    opacity: 0.6;
    font-size: 0.9rem;
}

.brand-disclosure {
    opacity: 0.45;
    font-size: 0.78rem;
    margin-top: 6px;
    line-height: 1.5;
}

.brand-note {
    opacity: 0.6;
    font-size: 0.85rem;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(var(--primary-rgb), 0.15);
}

/* Scanlines effect */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: transparent;
    background-size: 100% 4px;
    animation: scanlines 8s linear infinite;
    z-index: 2;
    pointer-events: none;
}

@keyframes scanlines {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(10px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
        box-shadow: 0 0 30px rgba(var(--primary-rgb), 0.5);
    }

    50% {
        transform: translateY(-10px);
        box-shadow: 0 10px 40px rgba(var(--primary-rgb), 0.7);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Services Page Grid */
.services-section {
    padding: 40px 20px 80px;
    /* Significantly reduced top padding for better flow from hero */
    max-width: 1200px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 10px;
}

.local-services-grid {
    grid-template-columns: minmax(280px, 740px);
    justify-content: center;
}

.local-services-grid .service-card:hover .service-icon {
    transform: scale(1.04);
    text-shadow: 0 0 12px rgba(var(--primary-rgb), 0.45);
}

.local-services-grid .cta-button::before {
    display: none;
}

.local-services-grid .cta-secondary:hover {
    background: rgba(var(--primary-rgb), 0.14);
    box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.22), inset 0 0 18px rgba(var(--primary-rgb), 0.12);
}

.project-estimate-section .estimate-grid {
    margin-bottom: 32px;
}

.estimate-cta {
    max-width: 820px;
    margin: 0 auto;
    padding: 26px;
    text-align: center;
    background: rgba(var(--primary-rgb), 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.22);
    border-radius: 16px;
}

.estimate-cta p {
    margin-bottom: 18px;
    color: var(--text-color);
    line-height: 1.8;
    opacity: 0.9;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--card-hover-bg);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(var(--primary-rgb), 0.2);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    transition: all 0.4s ease;
    display: inline-block;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    text-shadow: 0 0 20px var(--primary-color);
    color: var(--primary-color);
}

.service-title {
    font-family: 'Alyamama', 'Orbitron', monospace;
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-bright);
    position: relative;
    padding-bottom: 15px;
}

.service-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    /* RTL */
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

html[dir="ltr"] .service-title::after {
    right: auto;
    left: 0;
}

.service-card:hover .service-title::after {
    width: 100px;
    background: var(--primary-color);
}

.service-desc {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1.05rem;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-top: auto;
}

.service-features li {
    padding: 8px 0;
    padding-right: 25px;
    position: relative;
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.service-features li::before {
    content: '\f00c';
    /* FontAwesome check */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.service-card:hover .service-features li {
    color: var(--text-bright);
}

.service-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    transition: all 0.3s ease;
    align-self: flex-start;
    /* align left in RTL? No align right in RTL is default flex-start */
}

.service-link:hover {
    color: var(--secondary-color);
    letter-spacing: 1px;
}

/* Blog */
.blog-section,
.blog-post-section {
    max-width: 1160px;
    margin: 0 auto;
    padding: 34px 20px 100px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.blog-card {
    position: relative;
    background: var(--glass-bg);
    border: 1px solid rgba(var(--primary-rgb), 0.12);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.blog-card:hover {
    border-color: rgba(var(--primary-rgb), 0.32);
    box-shadow: 0 14px 36px rgba(var(--black-rgb), 0.18);
}

.blog-card-body {
    padding: 22px 24px 24px;
}

.blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.blog-card-category {
    display: inline-flex;
    padding: 4px 12px;
    border-radius: 999px;
    color: var(--primary-color);
    background: rgba(var(--primary-rgb), 0.08);
    font-size: 0.78rem;
    font-weight: 700;
}

.blog-card-date {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.blog-card h2 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    line-height: 1.45;
    margin-bottom: 12px;
    color: var(--text-bright);
}

.blog-card h2 a {
    color: var(--text-bright);
    text-decoration: none;
}

.blog-card h2 a::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}

.blog-card:hover h2 a {
    color: var(--primary-color);
}

.blog-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 0;
}

.blog-card:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
}

.blog-card h2 a:focus-visible {
    outline: none;
}

.light-mode .blog-card {
    background: rgba(var(--white-rgb), 0.92);
    box-shadow: 0 4px 20px rgba(var(--black-rgb), 0.06);
}

.light-mode .blog-card:hover {
    box-shadow: 0 14px 36px rgba(var(--black-rgb), 0.1);
}

@media (max-width: 720px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Blog Post */
.blog-post-section {
    max-width: 1040px;
    padding: 130px 20px 100px;
}

.blog-post {
    background:
        linear-gradient(180deg, rgba(var(--white-rgb), 0.025), transparent 32%),
        rgba(3, 9, 20, 0.88);
    border: 1px solid rgba(var(--primary-rgb), 0.16);
    border-radius: 22px;
    backdrop-filter: blur(14px);
    overflow: hidden;
    box-shadow: 0 22px 70px rgba(var(--black-rgb), 0.32);
}

.blog-post-hero {
    width: 100%;
    height: clamp(190px, 28vw, 300px);
    background:
        radial-gradient(circle at 18% 58%, rgba(var(--primary-rgb), 0.24), transparent 40%),
        radial-gradient(circle at 78% 36%, rgba(var(--secondary-rgb), 0.18), transparent 46%),
        linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), rgba(var(--black-rgb), 0.24));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.7rem;
    color: rgba(var(--primary-rgb), 0.5);
    position: relative;
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.1);
}

.blog-post-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, var(--glass-bg), transparent);
}

.blog-post-hero i {
    width: 118px;
    height: 118px;
    display: grid;
    place-items: center;
    border-radius: 34px;
    background: rgba(var(--black-rgb), 0.16);
    border: 1px solid rgba(var(--primary-rgb), 0.18);
    box-shadow: inset 0 0 32px rgba(var(--primary-rgb), 0.12);
}

.blog-post-body-wrap {
    padding: clamp(26px, 4.4vw, 50px);
}

.blog-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    position: static;
    top: auto;
    width: auto;
    padding: 0;
    margin-bottom: 20px;
    background: transparent;
    backdrop-filter: none;
    border-bottom: 0;
    z-index: auto;
    font-size: 0.88rem;
}

.blog-breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.blog-breadcrumb a:hover {
    color: var(--primary-color);
}

.blog-breadcrumb-sep {
    color: var(--text-muted);
    opacity: 0.5;
    font-size: 0.65rem;
}

.blog-breadcrumb-current {
    color: var(--primary-color);
    font-weight: 600;
}

.blog-post-header {
    max-width: 780px;
    margin: 0 auto 34px;
}

.blog-category {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 7px 16px;
    border-radius: 999px;
    color: var(--primary-color);
    background: rgba(var(--primary-rgb), 0.12);
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid rgba(var(--primary-rgb), 0.15);
}

.blog-post h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.3;
    margin-bottom: 16px;
    color: var(--text-bright);
}

.blog-post-excerpt {
    color: var(--text-muted);
    font-size: 1.12rem;
    line-height: 1.9;
    margin-bottom: 22px;
}

.blog-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding-top: 18px;
    border-top: 1px solid var(--border-color);
}

.blog-post-meta i {
    width: 18px;
    color: var(--primary-color);
}

.blog-post-meta .blog-category {
    margin-bottom: 0;
    padding: 4px 12px;
    font-size: 0.8rem;
}

.blog-toc-inline {
    margin-bottom: 30px;
    padding: 20px 24px;
    background: rgba(var(--primary-rgb), 0.045);
    border: 1px solid rgba(var(--primary-rgb), 0.1);
    border-radius: 14px;
}

.blog-toc-inline-title {
    display: block;
    color: var(--text-bright);
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.blog-toc-inline ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.blog-toc-inline li {
    margin: 0;
    padding: 0;
}

.blog-toc-inline a {
    display: block;
    padding: 6px 0;
    color: var(--text-muted);
    text-decoration: none !important;
    font-size: 0.95rem;
    line-height: 1.6;
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.06);
    transition: color 0.24s ease;
}

.blog-toc-inline li:last-child a {
    border-bottom: none;
}

.blog-toc-inline a:hover {
    color: var(--primary-color);
}

.light-mode .blog-toc-inline {
    background: rgba(var(--primary-rgb), 0.035);
}

.blog-post-body {
    color: var(--text-color);
    max-width: 780px;
    margin: 0 auto;
    font-size: 1.08rem;
    line-height: 2.05;
}

.blog-post-body h2 {
    font-size: 1.6rem;
    color: var(--text-bright);
    margin: 40px 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.1);
    scroll-margin-top: 100px;
}

.blog-post-body h3 {
    font-size: 1.25rem;
    color: var(--text-bright);
    margin: 30px 0 12px;
}

.blog-post-body p {
    margin-bottom: 20px;
    color: var(--text-color);
}

.blog-post-body ul,
.blog-post-body ol {
    margin: 0 0 20px;
    padding-inline-start: 24px;
}

.blog-post-body li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.blog-post-body strong {
    color: var(--text-bright);
}

.blog-post-body a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.3s ease;
}

.blog-post-body a:hover {
    color: var(--secondary-color);
}

.blog-post-body blockquote {
    margin: 30px 0;
    padding: 20px 24px;
    border-inline-start: 4px solid var(--primary-color);
    background: rgba(var(--primary-rgb), 0.06);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--text-muted);
    font-size: 1.05rem;
}

html[dir="rtl"] .blog-post-body blockquote {
    border-radius: 12px 0 0 12px;
}

.blog-post-body img {
    max-width: 100%;
    border-radius: 14px;
    margin: 24px 0;
    border: 1px solid rgba(var(--primary-rgb), 0.1);
}

/* Share section */
.blog-share-section {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.blog-share-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.blog-share-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--text-bright);
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.blog-share-link:hover {
    background: var(--primary-color);
    color: #031535;
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.3);
}

/* Author box */
.blog-author-box {
    margin-top: 36px;
    padding: 24px 28px;
    background: rgba(var(--primary-rgb), 0.06);
    border: 1px solid rgba(var(--primary-rgb), 0.12);
    border-radius: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
}

.blog-author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #031535;
    font-weight: 900;
    flex-shrink: 0;
}

.blog-author-avatar img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
}

.blog-author-info {
    flex: 1;
    min-width: 180px;
}

.blog-author-info h4 {
    color: var(--text-bright);
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.blog-author-info p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
    margin: 0;
}

/* Related posts */
.blog-related {
    margin-top: 50px;
}

.blog-related h3 {
    color: var(--text-bright);
    font-size: 1.3rem;
    margin-bottom: 22px;
    text-align: center;
}

.blog-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.blog-related-card {
    padding: 22px;
    background: var(--glass-bg);
    border: 1px solid rgba(var(--primary-rgb), 0.12);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.35s ease;
}

.blog-related-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-color);
    box-shadow: 0 12px 30px rgba(var(--primary-rgb), 0.15);
}

.blog-related-card h4 {
    color: var(--text-bright);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 8px;
}

.blog-related-card span {
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* CTA */
.blog-post-cta {
    margin-top: 44px;
    padding: 32px;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 20px;
    background: radial-gradient(circle at 50% 0%, rgba(var(--primary-rgb), 0.12), transparent 60%);
    text-align: center;
}

.blog-post-cta h2 {
    color: var(--text-bright);
    font-size: 1.4rem;
    margin: 0 0 10px;
    border: none;
    padding: 0;
}

.blog-post-cta p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 22px;
    max-width: 500px;
    margin-inline: auto;
}

.light-mode .blog-post {
    background: rgba(var(--white-rgb), 0.92);
    box-shadow: 0 4px 20px rgba(var(--black-rgb), 0.06);
}

.light-mode .blog-post-hero {
    background:
        radial-gradient(circle at 44% 40%, rgba(var(--primary-rgb), 0.2), transparent 36%),
        radial-gradient(circle at 72% 80%, rgba(var(--secondary-rgb), 0.12), transparent 42%),
        linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), rgba(var(--white-rgb), 0.6));
}

.light-mode .blog-author-box,
.light-mode .blog-post-cta {
    background: rgba(var(--primary-rgb), 0.045);
}

html[dir="ltr"] .blog-post-body,
html[dir="ltr"] .blog-post-excerpt {
    line-height: 1.85;
}

@media (max-width: 720px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .blog-post-body {
        font-size: 1.04rem;
    }
    .blog-post-body h2 {
        font-size: 1.35rem;
    }
    .blog-author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.service-link i {
    margin-right: 5px;
    /* RTL flip needed? margin-left in RTL? */
    transition: transform 0.3s ease;
}

/* In RTL, margin-right pushes icon away from text if icon is on right?
   Wait, usually icon is on left of text "Read More ->" 
   In RTL "<- More Read" icon on left.
   If icon is `fa-arrow-left`.
*/

/* Responsive */
@media (max-width: 768px) {
    nav {
        padding: 15px 20px;
    }

    .logo-text {
        font-size: 2.2rem;
    }

    .logo-subtitle {
        font-size: 0.72rem;
    }

    .logo-container,
    .logo-img {
        width: 190px;
    }

    nav.scrolled {
        width: 94%;
        left: 3%;
        right: 3%;
        top: 10px;
        border-radius: 50px;
        padding: 8px 15px;
        border: 1px solid var(--primary-color);
    }

    nav.scrolled .logo-text {
        font-size: 1.8rem;
    }

    nav.scrolled .logo-subtitle {
        display: block;
        font-size: 0.72rem;
    }

    nav.scrolled .theme-toggle {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    nav.scrolled .menu-toggle span {
        width: 20px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        /* Mobile menu comes from right for RTL */
        left: auto;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--nav-bg-scrolled);
        flex-direction: column;
        align-items: flex-start;
        padding: 30px;
        padding-top: 100px;
        transition: right 0.3s ease;
        border-left: 1px solid var(--primary-color);
        border-right: none;
        z-index: 1001;
    }

    .nav-links.active {
        right: 0;
        left: auto;
    }

    .menu-toggle {
        display: flex;
        position: relative;
        z-index: 1002;
        /* Ensure toggle is above menu */
    }

    .hero-content {
        padding: 0 20px;
    }

    .glitch-text {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .text-rotator {
        min-height: 150px;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
    }

    .features-container {
        grid-template-columns: 1fr;
    }

    .feature-tabs {
        display: block;
        padding: 20px;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .tab-item {
        width: 100%;
        margin-bottom: 10px;
    }

    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        flex-direction: column;
    }

    .about-graphic {
        width: 200px;
        height: 200px;
    }

    .shape-circle,
    .shape-triangle,
    .shape-square {
        transform: scale(0.6);
    }

    /* Mobile heading sizes */
    h2 {
        font-size: 1.4rem !important;
    }

    h3 {
        font-size: 1.2rem !important;
    }

    .section-title {
        font-size: clamp(1.2rem, 4vw, 1.8rem) !important;
    }

    .content-panel h3 {
        font-size: 1.3rem !important;
    }

    .about-text h2 {
        font-size: 1.4rem !important;
    }

    .contact-info h3 {
        font-size: 1.2rem !important;
    }

    .faq-question h3 {
        font-size: 1rem !important;
    }

    .terms-section h2 {
        font-size: 1.2rem !important;
    }

    .step-content h3 {
        font-size: 1rem !important;
    }

    .pricing-header h3 {
        font-size: 1.1rem !important;
    }
}

/* Additional Light Mode Refinement */
.light-mode .subtitle {
    text-shadow: 0 0 10px rgba(var(--black-rgb), 0.1);
}

.light-mode .glitch-text {
    color: var(--white);
    text-shadow: 0 0 20px rgba(var(--white-rgb), 0.3);
}

.light-mode .hero-short .glitch-text {
    color: var(--text-bright);
    text-shadow: 0 16px 54px rgba(var(--black-rgb), 0.12);
}

.light-mode .scanlines {
    opacity: 0.02;
}

.light-mode .particle::before {
    box-shadow: 0 0 5px var(--primary-color), 0 0 10px var(--primary-color);
}

.light-mode input::placeholder,
.light-mode textarea::placeholder {
    color: var(--text-muted);
}

.light-mode .submit-btn {
    box-shadow: 0 5px 20px rgba(var(--primary-rgb), 0.3);
}

.light-mode .footer-links a {
    color: var(--primary-color);
}

.light-mode .footer-links a:hover {
    color: var(--secondary-color);
}

/* Light Mode - Stats Section Refinement */
.light-mode .stats-section {
    background: rgba(var(--primary-rgb), 0.03);
    border-color: var(--border-color);
}

.light-mode .stat-item .counter {
    text-shadow: none;
}

@media (max-width: 768px) {
    .light-mode .nav-links {
        background: var(--nav-bg-scrolled);
        border-right-color: var(--border-color);
    }
}

/* Project Specific Styles */
.project-card {
    padding: 0;
    overflow: hidden;
}

.project-image-placeholder {
    width: 100%;
    height: 200px;
    background: var(--card-hover-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--border-color);
    transition: all 0.4s ease;
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 2px solid var(--border-color);
    transition: all 0.4s ease;
}

.project-card:hover .project-image-placeholder {
    background: var(--primary-color);
    color: var(--white);
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

.project-card .service-title,
.project-card .service-desc {
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 15px;
}

.project-card .service-title a {
    color: var(--text-bright);
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-card .service-title a:hover {
    color: var(--text-bright);
}

.project-card .service-title::after {
    right: 20px;
    background: var(--primary-color);
}

html[dir="ltr"] .project-card .service-title::after {
    right: auto;
    left: 20px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 20px 20px 20px;
}

.project-tags span {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    transition: all 0.3s ease;
}

.project-card:hover .project-tags span {
    background: var(--primary-color);
    color: var(--white);
}

/* Light Mode Project Support */
.light-mode .project-image-placeholder {
    background: rgba(var(--black-rgb), 0.03);
}

.light-mode .project-tags span {
    background: rgba(var(--primary-rgb), 0.05);
}

/* Terms Page Styles */
.terms-section {
    padding: 40px 20px 80px;
    max-width: 1000px;
    margin: 0 auto;
}

.content-container {
    width: 100%;
}

.terms-content {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 40px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(var(--black-rgb), 0.2);
}

.terms-section .terms-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.terms-section .terms-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.terms-section h2 {
    font-family: 'Alyamama', 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
}

.terms-section h2 i {
    font-size: 1.5rem;
    opacity: 0.8;
}

.terms-section p {
    line-height: 1.8;
    color: var(--text-bright);
    font-size: 1.1rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.terms-list {
    list-style: none;
    margin: 20px 0;
    padding-right: 20px;
}

.terms-list li {
    padding: 12px 0;
    padding-right: 30px;
    position: relative;
    color: var(--text-bright);
    font-size: 1.05rem;
    line-height: 1.6;
    opacity: 0.85;
    transition: all 0.3s ease;
}

.terms-list li::before {
    content: '▸';
    position: absolute;
    right: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: bold;
}

.terms-list li:hover {
    opacity: 1;
    padding-right: 35px;
    color: var(--primary-color);
}

.terms-update {
    margin-top: 40px;
    padding: 20px;
    background: rgba(var(--primary-rgb), 0.05);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 10px;
    text-align: center;
}

.terms-update p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.terms-update strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* Light Mode Terms Styles */
.light-mode .terms-content {
    background: var(--card-bg);
    border-color: var(--border-color);
    box-shadow: 0 10px 30px rgba(var(--black-rgb), 0.1);
}

.light-mode .terms-section .terms-section {
    border-color: var(--border-color);
}

.light-mode .terms-update {
    background: rgba(var(--primary-rgb), 0.03);
    border-color: var(--border-color);
}

/* Privacy Page Styles */
.privacy-section {
    padding: 40px 20px 80px;
    max-width: 1000px;
    margin: 0 auto;
}

.privacy-content,
.policy-content {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 40px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(var(--black-rgb), 0.2);
}

.privacy-section .policy-section,
.privacy-content h2:not(:first-child) {
    margin-top: 35px;
}

.privacy-section .policy-section {
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.privacy-section .policy-section:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.privacy-section h2 {
    font-family: 'Alyamama', 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.privacy-section p,
.privacy-section li {
    color: var(--text-bright);
    font-size: 1.05rem;
    line-height: 1.8;
    opacity: 0.9;
}

.privacy-section ul,
.policy-list {
    list-style: none;
    margin: 18px 0;
    padding: 0;
}

.privacy-section li,
.policy-list li {
    position: relative;
    padding: 8px 0;
    padding-inline-start: 28px;
}

.privacy-section li::before,
.policy-list li::before {
    content: '▸';
    position: absolute;
    inset-inline-start: 0;
    color: var(--primary-color);
    font-size: 1.15rem;
    font-weight: 700;
}

.policy-update {
    margin-top: 35px;
    padding: 18px;
    background: rgba(var(--primary-rgb), 0.05);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 10px;
    text-align: center;
}

.policy-update p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.light-mode .privacy-content,
.light-mode .policy-content {
    background: var(--card-bg);
    border-color: var(--border-color);
    box-shadow: 0 10px 30px rgba(var(--black-rgb), 0.1);
}

.light-mode .privacy-section .policy-section {
    border-color: var(--border-color);
}

.light-mode .policy-update {
    background: rgba(var(--primary-rgb), 0.03);
    border-color: var(--border-color);
}

/* Responsive Terms */
@media (max-width: 768px) {
    .terms-section {
        padding: 20px 15px 40px;
    }

    .terms-content {
        padding: 25px;
    }

    .privacy-section {
        padding: 20px 15px 40px;
    }

    .privacy-content,
    .policy-content {
        padding: 25px;
    }

    .privacy-section h2 {
        font-size: 1.5rem;
        gap: 10px;
    }

    .privacy-section p,
    .privacy-section li {
        font-size: 1rem;
    }

    .terms-section h2 {
        font-size: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .terms-section h2 i {
        font-size: 1.2rem;
    }

    .terms-section p {
        font-size: 1rem;
    }

    .terms-list li {
        font-size: 0.95rem;
        padding: 10px 0;
    }

    /* FAQ Responsive */
    .faq-section {
        padding: 60px 15px;
    }

    .faq-question {
        padding: 1.25rem 1.5rem;
        gap: 1rem;
    }

    .faq-question h3 {
        font-size: 1.1rem;
        line-height: 1.7;
    }

    .faq-answer {
        padding: 0 1.5rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }

    .faq-answer p {
        font-size: 1rem;
        line-height: 1.8;
    }
}

/* Web Development Landing Page Styles */

/* Process Timeline */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px;
}

.process-step {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
    position: relative;
    transition: all 0.4s ease;
}

.process-step:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(var(--primary-rgb), 0.2);
}

.step-number {
    position: absolute;
    top: -20px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    font-family: 'Orbitron', monospace;
    border: 3px solid var(--bg-color);
    box-shadow: 0 5px 20px rgba(var(--primary-rgb), 0.5);
}

.step-content h3 {
    font-family: 'Alyamama', 'Orbitron', monospace;
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    padding-top: 10px;
}

.step-content p {
    line-height: 1.8;
    opacity: 0.9;
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px;
}

.pricing-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 40px 30px;
    backdrop-filter: blur(10px);
    position: relative;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(var(--primary-rgb), 0.2);
}

.pricing-card.featured {
    background: var(--card-hover-bg);
    border: 2px solid var(--primary-color);
    box-shadow: 0 10px 40px rgba(var(--primary-rgb), 0.3);
}

.featured-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 25px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.4);
    z-index: 10;
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 25px;
    padding-top: 15px;
    border-bottom: 1px solid var(--border-color);
}

.pricing-header h3 {
    font-family: 'Alyamama', 'Orbitron', monospace;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-bright);
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    margin-bottom: 10px;
}

.currency {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
}

.amount {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    font-family: 'Orbitron', monospace;
}

.price-desc {
    font-size: 0.9rem;
    opacity: 0.7;
    margin: 0;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.pricing-features li {
    padding: 12px 0;
    padding-right: 35px;
    position: relative;
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.pricing-features li i {
    position: absolute;
    right: 0;
    color: var(--secondary-color);
    font-size: 1rem;
}

.pricing-btn {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Alyamama', 'Orbitron', monospace;
    text-decoration: none;
    display: block;
    text-align: center;
}

.pricing-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.5);
}

.pricing-card.featured .pricing-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

/* Tech Icons Grid */
.tech-icons-grid {
    display: grid;
    grid-template-columns: repeat(6, auto);
    gap: 25px;
    max-width: 100%;
    margin: 0 auto;
    justify-content: center;
}

.tech-icon {
    width: 80px;
    height: 80px;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.tech-icon:hover {
    background: var(--card-hover-bg);
    border-color: var(--primary-color);
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.3);
}

.tech-icon i {
    transition: all 0.3s ease;
}

.tech-icon:hover i {
    transform: scale(1.2);
    text-shadow: 0 0 15px var(--primary-color);
}

/* Contact Section Specific */
.contact-section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Light Mode Support for New Styles */
.light-mode .process-step {
    background: var(--card-bg);
    box-shadow: 0 5px 15px rgba(var(--black-rgb), 0.05);
}

.light-mode .pricing-card {
    background: var(--card-bg);
    box-shadow: 0 5px 15px rgba(var(--black-rgb), 0.05);
}

.light-mode .pricing-card.featured {
    background: rgba(var(--primary-rgb), 0.05);
}

.light-mode .tech-icon {
    background: var(--card-bg);
    box-shadow: 0 3px 10px rgba(var(--black-rgb), 0.05);
}

.light-mode .step-number {
    border-color: var(--bg-color);
}

/* Responsive for New Components */
@media (max-width: 768px) {

    .process-timeline,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .tech-icons-grid {
        grid-template-columns: repeat(3, auto);
        gap: 15px;
        justify-content: center;
    }

    .tech-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .pricing-header h3 {
        font-size: 1.3rem;
    }

    .amount {
        font-size: 2.5rem;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        top: -15px;
        right: 20px;
    }

    .step-content h3 {
        font-size: 1.1rem;
    }

    .step-content p,
    .pricing-features li {
        font-size: 0.95rem;
    }
}
