/* ============================================
   TANA GRP - Single Page Website
   Modern, Minimal, Professional Design
   ============================================ */

/* CSS Variables */
:root {
    --primary: #1a3a5c;
    --primary-light: #2a5a8c;
    --accent: #f4a94d;
    --accent-hover: #e09030;
    --accent-orange: #e2791f;
    --neon-blue: #4fb8e8;
    --neon-green: #25D366;
    --neon-purple: #9b59b6;
    --dark: #0d1b2a;
    --dark-light: #1b2838;
    --text: #e8ecf1;
    --text-muted: #94a3b8;
    --text-dark: #1e293b;
    --bg: #0a0f1a;
    --bg-card: rgba(20, 30, 48, 0.7);
    --bg-card-solid: #141e30;
    --border: rgba(79, 184, 232, 0.15);
    --border-hover: rgba(79, 184, 232, 0.4);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --radius: 16px;
    --radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-en: 'Inter', 'Space Grotesk', sans-serif;
    --font-fa: 'Vazirmatn', 'Inter', sans-serif;
    --font-ar: 'Vazirmatn', 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-en);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
}

body[dir="rtl"] {
    font-family: var(--font-fa);
}

body[dir="rtl"] .logo-text,
body[dir="rtl"] .nav-list a,
body[dir="rtl"] .section-title,
body[dir="rtl"] .section-desc,
body[dir="rtl"] .hero-title,
body[dir="rtl"] .hero-subtitle,
body[dir="rtl"] .hero-desc,
body[dir="rtl"] .btn,
body[dir="rtl"] .about-text p,
body[dir="rtl"] .timeline-content h4,
body[dir="rtl"] .timeline-content p,
body[dir="rtl"] .service-cat-header h3,
body[dir="rtl"] .service-card h4,
body[dir="rtl"] .service-card p,
body[dir="rtl"] .project-card h4,
body[dir="rtl"] .project-card p,
body[dir="rtl"] .position-card h4,
body[dir="rtl"] .position-card p,
body[dir="rtl"] .contact-details h4,
body[dir="rtl"] .contact-details p,
body[dir="rtl"] .contact-details a,
body[dir="rtl"] label,
body[dir="rtl"] input,
body[dir="rtl"] textarea,
body[dir="rtl"] select,
body[dir="rtl"] .form-message,
body[dir="rtl"] .footer-name,
body[dir="rtl"] .footer-tagline,
body[dir="rtl"] .footer-links a,
body[dir="rtl"] .footer-bottom p,
body[dir="rtl"] .file-hint,
body[dir="rtl"] .section-label {
    font-family: var(--font-fa);
}

body[lang="ar"] {
    font-family: var(--font-ar);
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   HEADER
   ============================================ */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 15, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

#header.scrolled {
    background: rgba(10, 15, 26, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(79, 184, 232, 0.3));
    transition: var(--transition);
}

.logo-link:hover .logo-img {
    filter: drop-shadow(0 0 15px rgba(79, 184, 232, 0.6));
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 1px;
}

.logo-tagline {
    font-size: 0.7rem;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
}

.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-list a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 4px 0;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-blue), var(--accent));
    transition: var(--transition);
    border-radius: 2px;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--text);
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

.lang-switcher {
    display: flex;
    gap: 4px;
    background: rgba(255,255,255,0.05);
    padding: 4px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-en);
}

.lang-btn:hover {
    color: var(--text);
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: var(--text);
    box-shadow: 0 2px 8px rgba(26, 58, 92, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

.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);
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: var(--neon-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    color: white;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7); }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 72px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?w=1920&q=80') center/cover no-repeat;
    opacity: 0.08;
    filter: blur(2px);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
        rgba(10, 15, 26, 0.3) 0%, 
        rgba(10, 15, 26, 0.7) 50%, 
        rgba(10, 15, 26, 0.95) 100%);
}

.fiber-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 20px;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text) 0%, var(--neon-blue) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: heroFadeIn 1s ease-out;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: heroFadeIn 1s ease-out 0.2s both;
}

.hero-desc {
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
    animation: heroFadeIn 1s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: heroFadeIn 1s ease-out 0.6s both;
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--neon-blue);
    border-radius: 2px;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(12px); opacity: 0.3; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: inherit;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-orange));
    color: var(--dark);
    box-shadow: 0 4px 20px rgba(244, 169, 77, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(244, 169, 77, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
    box-shadow: inset 0 0 20px rgba(79, 184, 232, 0.05);
}

.btn-outline:hover {
    border-color: var(--neon-blue);
    box-shadow: inset 0 0 30px rgba(79, 184, 232, 0.1), 0 0 20px rgba(79, 184, 232, 0.2);
    color: var(--neon-blue);
}

/* ============================================
   SECTIONS COMMON
   ============================================ */
section {
    padding: 100px 0;
    position: relative;
}

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

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 12px;
    padding: 6px 16px;
    background: rgba(244, 169, 77, 0.1);
    border-radius: 50px;
    border: 1px solid rgba(244, 169, 77, 0.2);
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    background: linear-gradient(180deg, var(--bg) 0%, var(--dark-light) 50%, var(--bg) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--neon-blue), var(--accent), var(--neon-purple));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -26px;
    top: 4px;
    width: 18px;
    height: 18px;
    background: var(--bg);
    border: 3px solid var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(244, 169, 77, 0.4);
}

.timeline-content {
    background: var(--bg-card);
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.timeline-content:hover {
    border-color: var(--border-hover);
    transform: translateX(4px);
}

.timeline-year {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    background: rgba(244, 169, 77, 0.1);
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 10px;
}

.timeline-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    background: var(--bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.service-category {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}

.service-category:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow);
}

.service-cat-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px;
    background: linear-gradient(135deg, rgba(26, 58, 92, 0.5), rgba(20, 30, 48, 0.8));
    border-bottom: 1px solid var(--border);
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--neon-blue), var(--primary-light));
    border-radius: 12px;
    flex-shrink: 0;
}

.service-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.service-cat-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
}

.service-cards {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: rgba(255,255,255,0.02);
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    transition: var(--transition);
}

.service-card:hover {
    background: rgba(79, 184, 232, 0.05);
    border-color: var(--border);
    transform: translateX(4px);
}

.service-card svg {
    width: 20px;
    height: 20px;
    color: var(--neon-blue);
    flex-shrink: 0;
    margin-top: 2px;
}

.service-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.service-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================
   PROJECTS SECTION
   ============================================ */
.projects {
    background: linear-gradient(180deg, var(--bg) 0%, var(--dark-light) 100%);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.project-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-blue), var(--accent), var(--neon-purple));
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.project-card:hover::before {
    opacity: 1;
}

.project-card svg {
    width: 32px;
    height: 32px;
    color: var(--accent);
    margin-bottom: 16px;
}

.project-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
}

.project-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================
   CAREERS SECTION
   ============================================ */
.careers {
    background: var(--bg);
}

.careers-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.positions-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.position-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 24px;
    transition: var(--transition);
    cursor: pointer;
}

.position-card:hover,
.position-card.active {
    border-color: var(--accent);
    background: rgba(244, 169, 77, 0.05);
}

.position-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.position-card h4::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--neon-green);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.5);
}

.position-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.position-meta {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.position-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Application Form */
.application-form-wrapper {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 32px;
}

.application-form-wrapper h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 24px;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    background: linear-gradient(180deg, var(--dark-light) 0%, var(--bg) 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

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

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 24px;
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--border-hover);
    transform: translateX(4px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 12px;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    color: var(--neon-blue);
}

.contact-details h4 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 8px;
}

.contact-details a,
.contact-details p {
    display: block;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    transition: var(--transition);
}

.contact-details a:hover {
    color: var(--neon-blue);
}

.contact-form-wrapper {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 32px;
}

.map-wrapper {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

/* ============================================
   FORMS
   ============================================ */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group:last-child {
    margin-bottom: 0;
}

label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 8px;
}

input,
textarea,
select {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
    outline: none;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--neon-blue);
    background: rgba(79, 184, 232, 0.05);
    box-shadow: 0 0 0 3px rgba(79, 184, 232, 0.1);
}

input::placeholder,
textarea::placeholder {
    color: rgba(148, 163, 184, 0.4);
}

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

select option {
    background: var(--dark-light);
    color: var(--text);
}

input[type="file"] {
    padding: 10px 16px;
    cursor: pointer;
}

.file-hint {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 6px;
    opacity: 0.7;
}

.form-message {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.3);
    color: var(--neon-green);
}

.form-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark);
    border-top: 1px solid var(--border);
    padding: 40px 0 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-logo {
    height: 32px;
    width: auto;
    opacity: 0.9;
}

.footer-name {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 1px;
}

.footer-tagline {
    display: block;
    font-size: 0.7rem;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--neon-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

/* ============================================
   ANIMATIONS & EFFECTS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .about-content,
    .careers-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--bg-card-solid);
        backdrop-filter: blur(20px);
        padding: 100px 32px 32px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        border-left: 1px solid var(--border);
    }

    .main-nav.open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 8px;
    }

    .nav-list a {
        font-size: 1.1rem;
        padding: 12px 0;
        display: block;
    }

    .hamburger {
        display: flex;
    }

    .header-container {
        height: 64px;
    }

    .logo-img {
        height: 40px;
    }

    .logo-name {
        font-size: 1rem;
    }

    .logo-tagline {
        font-size: 0.6rem;
    }

    .hero {
        padding-top: 64px;
    }

    section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .whatsapp-float {
        width: 48px;
        height: 48px;
        bottom: 16px;
        right: 16px;
    }

    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .service-cat-header {
        padding: 20px;
    }

    .service-cards {
        padding: 16px;
    }

    .project-card,
    .contact-card,
    .application-form-wrapper,
    .contact-form-wrapper {
        padding: 20px;
    }

    .timeline {
        padding-left: 24px;
    }

    .timeline-dot {
        left: -22px;
        width: 14px;
        height: 14px;
    }
}

/* ============================================
   RTL SUPPORT
   ============================================ */
[dir="rtl"] .timeline {
    padding-left: 0;
    padding-right: 30px;
}

[dir="rtl"] .timeline::before {
    left: auto;
    right: 8px;
}

[dir="rtl"] .timeline-dot {
    left: auto;
    right: -26px;
}

[dir="rtl"] .timeline-content:hover {
    transform: translateX(-4px);
}

[dir="rtl"] .service-card:hover,
[dir="rtl"] .contact-card:hover {
    transform: translateX(-4px);
}

[dir="rtl"] .lang-switcher {
    direction: ltr;
}

[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 24px;
}

@media (max-width: 768px) {
    [dir="rtl"] .main-nav {
        right: auto;
        left: -100%;
    }

    [dir="rtl"] .main-nav.open {
        left: 0;
    }

    [dir="rtl"] .whatsapp-float {
        right: auto;
        left: 16px;
    }
}

/* Print styles */
@media print {
    .whatsapp-float,
    .scroll-indicator,
    .hamburger,
    .lang-switcher,
    .fiber-canvas {
        display: none !important;
    }

    #header {
        position: relative;
    }

    .hero {
        min-height: auto;
        padding: 40px 0;
    }

    section {
        padding: 30px 0;
        page-break-inside: avoid;
    }
}
