/**
 * AURUM Accounting - Premium CSS
 * Dark Blue & Gold Theme
 */

:root {
    --primary: #0a1628;
    --primary-light: #1a2d4a;
    --secondary: #c9a227;
    --secondary-light: #e6c864;
    --accent: #2563eb;
    --white: #ffffff;
    --gray-100: #f8fafc;
    --gray-200: #e2e8f0;
    --gray-600: #64748b;
    --gray-800: #1e293b;
    --success: #10b981;
    --shadow: 0 10px 40px rgba(10, 22, 40, 0.15);
    --shadow-lg: 0 25px 60px rgba(10, 22, 40, 0.25);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 16px;
    --radius-sm: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', 'Poppins', sans-serif;
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

[dir="ltr"] body {
    font-family: 'Poppins', 'Cairo', sans-serif;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* ==================== TOP BAR ==================== */
.top-bar {
    background: var(--primary);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.85rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-left {
    display: flex;
    gap: 25px;
}

.top-left span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-left i {
    color: var(--secondary);
}

.lang-switch {
    background: var(--secondary);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
}

.lang-switch:hover {
    background: var(--secondary-light);
    transform: translateY(-2px);
}

/* ==================== NAVBAR ==================== */
.navbar {
    background: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.12);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.4rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-menu a {
    font-weight: 600;
    color: var(--gray-800);
    position: relative;
    padding: 8px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
    transition: var(--transition);
}

[dir="ltr"] .nav-menu a::after {
    right: auto;
    left: 0;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a.active {
    color: var(--primary);
}

.nav-cta {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: var(--primary);
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.35);
}

.nav-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201, 162, 39, 0.45);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* Top Bar Social */
.social-top {
    display: flex;
    gap: 12px;
}

.social-top a {
    color: var(--white);
    opacity: 0.7;
    transition: var(--transition);
}

.social-top a:hover {
    opacity: 1;
    color: var(--secondary);
}

/* Nav Actions (Lang + CTA) */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--gray-800);
    padding: 8px 16px;
    border-radius: 8px;
    background: var(--gray-100);
    transition: var(--transition);
}

.lang-btn:hover {
    background: var(--secondary);
    color: var(--primary);
}

.flag-icon {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
}

/* Language in nav menu (mobile) */
.lang-nav-item {
    display: none;
}

.lang-nav-link {
    display: flex !important;
    align-items: center;
    gap: 8px;
}

.lang-nav-link::after {
    display: none !important;
}

/* ==================== HERO SECTION ==================== */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201, 162, 39, 0.2);
    border: 1px solid rgba(201, 162, 39, 0.4);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 25px;
    animation: fadeInUp 0.6s ease both;
}

.hero-badge i {
    color: var(--secondary);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero h1 span {
    color: var(--secondary);
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 35px;
    max-width: 500px;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.6s both;
}

.btn {
    padding: 16px 36px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: var(--primary);
    box-shadow: 0 8px 25px rgba(201, 162, 39, 0.35);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(201, 162, 39, 0.45);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.hero-image {
    position: relative;
    animation: fadeInRight 0.8s ease 0.3s both;
}

.hero-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--secondary);
    border-radius: var(--radius);
    z-index: -1;
}

[dir="ltr"] .hero-image::before {
    right: auto;
    left: -20px;
}

/* Floating Stats Card */
.hero-stats-card {
    position: absolute;
    bottom: 30px;
    left: -40px;
    background: var(--white);
    padding: 20px 30px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: float 4s ease-in-out infinite;
}

[dir="ltr"] .hero-stats-card {
    left: auto;
    right: -40px;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-stats-card .icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--success), #34d399);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.hero-stats-card .info h4 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
}

.hero-stats-card .info span {
    font-size: 0.85rem;
    color: var(--gray-600);
}

/* ==================== STATS BAR ==================== */
.stats-bar {
    background: var(--white);
    padding: 40px 0;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.stats-bar .container {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.stat-item:hover {
    background: var(--gray-100);
    transform: translateY(-5px);
}

.stat-num {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: var(--gray-600);
    margin-top: 5px;
}

/* ==================== SECTIONS ==================== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    background: rgba(201, 162, 39, 0.15);
    color: var(--secondary);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-subtitle {
    color: var(--gray-600);
    font-size: 1.1rem;
}

/* ==================== SERVICES ==================== */
.services-section {
    background: var(--gray-100);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--secondary-light));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gray-200);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.1), rgba(201, 162, 39, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--secondary);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: var(--primary);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray-600);
    line-height: 1.8;
}

/* ==================== ABOUT SECTION ==================== */
.about-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.about-badge {
    position: absolute;
    bottom: -30px;
    right: 30px;
    background: var(--secondary);
    color: var(--primary);
    padding: 25px 35px;
    border-radius: var(--radius-sm);
    text-align: center;
    box-shadow: var(--shadow);
}

[dir="ltr"] .about-badge {
    right: auto;
    left: 30px;
}

.about-badge .num {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
}

.about-badge span {
    font-size: 0.9rem;
    font-weight: 600;
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-content p {
    color: var(--gray-600);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
}

.about-feature i {
    width: 35px;
    height: 35px;
    background: var(--secondary);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.about-feature span {
    font-weight: 600;
    color: var(--primary);
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.cta-section .btn {
    position: relative;
    z-index: 1;
}

/* ==================== CONTACT PAGE ==================== */
.contact-section .container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info {
    background: var(--primary);
    padding: 50px;
    border-radius: var(--radius);
    color: var(--white);
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact-info>p {
    opacity: 0.8;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item .icon {
    width: 50px;
    height: 50px;
    background: rgba(201, 162, 39, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item .info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-item .info p {
    opacity: 0.8;
    font-size: 0.95rem;
}

.contact-form {
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--primary);
    color: var(--white);
    padding-top: 100px;
    position: relative;
}

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    color: var(--gray-100);
}

.footer-wave svg {
    width: 100%;
    height: 100px;
    display: block;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer-logo i {
    color: var(--secondary);
}

.footer-about p {
    opacity: 0.8;
    margin-bottom: 25px;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary);
    color: var(--primary);
    transform: translateY(-4px);
}

.footer h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

[dir="ltr"] .footer h4::after {
    right: auto;
    left: 0;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 15px;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-right: 10px;
}

[dir="ltr"] .footer-links a:hover {
    padding-right: 0;
    padding-left: 10px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    opacity: 0.8;
}

.footer-contact i {
    color: var(--secondary);
    margin-top: 4px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 18px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: inherit;
}

.newsletter-form button {
    background: var(--secondary);
    color: var(--primary);
    border: none;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--secondary-light);
}

.footer-bottom {
    text-align: center;
    padding: 25px 0;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* ==================== FLOATING BUTTONS ==================== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

[dir="ltr"] .whatsapp-float {
    right: auto;
    left: 25px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.back-to-top {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

[dir="ltr"] .back-to-top {
    left: auto;
    right: 25px;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary);
    color: var(--primary);
    transform: translateY(-5px);
}

/* ==================== PAGE HEADERS ==================== */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 120px 0 80px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(201, 162, 39, 0.1) 0%, transparent 50%);
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    opacity: 0.8;
    position: relative;
    z-index: 1;
}

.breadcrumb a:hover {
    color: var(--secondary);
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-image {
        order: 0;
        margin-bottom: 40px;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-subtitle {
        margin: 0 auto 35px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-section .container {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar .container {
        justify-content: center;
    }

    .top-left {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: var(--transition);
    }

    [dir="ltr"] .nav-menu {
        right: auto;
        left: -100%;
    }

    .nav-menu.active {
        right: 0;
    }

    [dir="ltr"] .nav-menu.active {
        right: auto;
        left: 0;
    }

    .nav-cta {
        display: none;
    }

    .nav-actions {
        display: none;
    }

    .lang-nav-item {
        display: block;
    }

    .lang-nav-link {
        background: var(--gray-100);
        padding: 10px 25px !important;
        border-radius: 8px;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-image::before {
        display: none;
    }

    .hero-stats-card {
        display: none;
    }

    .stats-bar .container {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-section .container {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer h4::after {
        right: 50%;
        transform: translateX(50%);
    }

    .social-links {
        justify-content: center;
    }

    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .btn {
        padding: 14px 28px;
        font-size: 0.9rem;
    }

    .stats-bar .container {
        padding: 25px;
    }

    .stat-num {
        font-size: 2rem;
    }
}

/* ==================== DARK MODE TOGGLE (Floating) ==================== */
.theme-toggle-float {
    position: fixed;
    top: 100px;
    z-index: 9999;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #f59e0b;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}
html[dir="rtl"] .theme-toggle-float { left: 20px; right: auto; }
html[dir="ltr"] .theme-toggle-float { right: 20px; left: auto; }
.theme-toggle-float:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 25px rgba(0,0,0,0.2);
}
.theme-toggle-float .fa-sun { display: none; }
.theme-toggle-float .fa-moon { display: inline-block; }

/* ==================== DARK MODE ==================== */
body.dark-mode {
    background: #0d1117;
    color: #c9d1d9;
}
body.dark-mode .top-bar {
    background: #010409;
}
body.dark-mode .navbar {
    background: #161b22;
    box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
body.dark-mode .navbar.scrolled {
    box-shadow: 0 5px 30px rgba(0,0,0,0.5);
}
body.dark-mode .logo { color: #fff; }
body.dark-mode .nav-menu a { color: #c9d1d9; }
body.dark-mode .nav-menu a:hover,
body.dark-mode .nav-menu a.active { color: var(--secondary); }
body.dark-mode .hamburger span { background: #c9d1d9; }

body.dark-mode .lang-btn {
    background: #21262d;
    color: #c9d1d9;
}
body.dark-mode .lang-btn:hover {
    background: var(--secondary);
    color: var(--primary);
}
body.dark-mode .lang-nav-link {
    background: #21262d !important;
    color: #c9d1d9;
}

body.dark-mode .theme-toggle-float {
    background: rgba(22, 27, 34, 0.95);
    color: #f59e0b;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}
body.dark-mode .theme-toggle-float:hover {
    box-shadow: 0 6px 25px rgba(245,158,11,0.3);
}
body.dark-mode .theme-toggle-float .fa-sun { display: inline-block; }
body.dark-mode .theme-toggle-float .fa-moon { display: none; }

/* Stats */
body.dark-mode .stats-bar {
    background: #0d1117;
}
body.dark-mode .stats-bar .container {
    background: #161b22;
    box-shadow: 0 25px 60px rgba(0,0,0,0.4);
}
body.dark-mode .stat-item:hover {
    background: #21262d;
}

/* Services */
body.dark-mode .services-section {
    background: #0d1117;
}
body.dark-mode .service-card {
    background: #161b22;
    border-color: #21262d;
}
body.dark-mode .service-card:hover {
    box-shadow: 0 25px 60px rgba(0,0,0,0.4);
    border-color: #30363d;
}
body.dark-mode .service-card h3 { color: #fff; }
body.dark-mode .service-card p { color: #8b949e; }

/* About */
body.dark-mode .about-content h2 { color: #fff; }
body.dark-mode .about-content p { color: #8b949e; }
body.dark-mode .about-feature {
    background: #161b22;
}
body.dark-mode .about-feature span { color: #c9d1d9; }

/* Section headers */
body.dark-mode .section-title { color: #fff; }
body.dark-mode .section-subtitle { color: #8b949e; }

/* Contact */
body.dark-mode .contact-form {
    background: #161b22;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
body.dark-mode .form-group label { color: #c9d1d9; }
body.dark-mode .form-group input,
body.dark-mode .form-group textarea,
body.dark-mode .form-group select {
    background: #0d1117;
    border-color: #30363d;
    color: #c9d1d9;
}
body.dark-mode .form-group input:focus,
body.dark-mode .form-group textarea:focus,
body.dark-mode .form-group select:focus {
    border-color: var(--secondary);
}

/* Footer */
body.dark-mode .footer {
    background: #010409;
}
body.dark-mode .footer-wave { color: #0d1117; }
body.dark-mode .newsletter-form input {
    background: #21262d;
    color: #c9d1d9;
}

/* Page headers */
body.dark-mode .page-header {
    background: linear-gradient(135deg, #010409 0%, #0d1117 100%);
}

/* Nav mobile */
@media (max-width: 768px) {
    body.dark-mode .nav-menu {
        background: #161b22;
    }
}