/* ========================================
   RESET & BASE
   Removes ugly browser default styles
======================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}
/* ========================================
   CSS VARIABLES — DARK MODE (default)
   This is the default look of the site
======================================== */
:root {
    /* Colors */
    --bg-primary: #0d0d0d;
    --bg-secondary: #1a1a1a;
    --bg-card: #111111;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    --accent: #cc0000;
    --accent-hover: #ff1a1a;
    --border: #2a2a2a;

    /* Spacing */
    --section-padding: 80px 0;
    --container-width: 1200px;

    /* Border radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;

    /* Shadow */
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-accent: 0 4px 20px rgba(204, 0, 0, 0.3);
}

/* ========================================
   LIGHT MODE
   Activated when body has class "light-mode"
======================================== */
body.light-mode {
    --bg-primary: #f5f5f5;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #555555;
    --accent: #cc0000;
    --accent-hover: #aa0000;
    --border: #e0e0e0;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-accent: 0 4px 20px rgba(204, 0, 0, 0.2);
}
/* ========================================
   CONTAINER
   Centers content and limits max width
======================================== */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   TYPOGRAPHY
   All text sizes and styles
======================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
}

h4 {
    font-size: 1.2rem;
}

p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
}

.section-title {
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 60px auto;
}

.accent {
    color: var(--accent);
}

/* ========================================
   SECTIONS
   Consistent spacing for every page section
======================================== */
section {
    padding: var(--section-padding);
}

.section-header {
    margin-bottom: 20px;
}
/* ========================================
   NAVBAR
======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(13, 13, 13, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

body.light-mode .navbar {
    background-color: rgba(245, 245, 245, 0.9);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-logo img {
    height: 40px;
    width: auto;
    border-radius: 50%;
    object-fit: contain;
}
.hero img{
    height: 100px;
    width: auto;
    border-radius: 30px;
    object-fit: contain;
}

.nav-logo span {
    color: var(--accent);
}
.about-image img{
    border-radius: 50px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--text-primary);
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}
/* ========================================
   BUTTONS
   Reusable across all pages
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--accent);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

/* ========================================
   HERO SECTION
   The big first impression on the homepage
======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 70px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(204, 0, 0, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    width: 100%;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    width: fit-content;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.1;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 700px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-graphic {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    box-shadow: var(--shadow-accent);
    position: relative;
    overflow: hidden;
}

.hero-graphic::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(204, 0, 0, 0.08) 0%, transparent 70%);
}

/* Pulse animation for the badge dot */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.4);
    }
}

/* ========================================
   STATS BAR
   The numbers row below the hero
======================================== */
.stats-bar {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 6px;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}
/* ========================================
   CARDS
   Reusable card component
======================================== */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-accent);
}

.card:hover::before {
    transform: scaleX(1);
}

/* ========================================
   SERVICES SECTION
======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-accent);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 2.8rem;
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========================================
   PORTFOLIO SECTION
======================================== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.portfolio-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-accent);
    border-color: var(--accent);
}

.portfolio-thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.portfolio-thumbnail::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(204, 0, 0, 0.0);
    transition: background 0.3s ease;
}

.portfolio-card:hover .portfolio-thumbnail::after {
    background: rgba(204, 0, 0, 0.1);
}

.portfolio-info {
    padding: 24px;
}

.portfolio-info h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.portfolio-info p {
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 500;
}

.tag.accent-tag {
    background: rgba(204, 0, 0, 0.1);
    border-color: rgba(204, 0, 0, 0.3);
    color: var(--accent);
}
/* ========================================
   ABOUT SECTION
======================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}



.about-graphic {
    width: 100%;
    aspect-ratio: 1;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 7rem;
    box-shadow: var(--shadow-accent);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--accent);
    color: #ffffff;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-accent);
}

.about-badge strong {
    display: block;
    font-size: 1.8rem;
    line-height: 1;
}

.about-badge span {
    font-size: 0.8rem;
    opacity: 0.9;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-text h2 {
    line-height: 1.2;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 8px;
}
.about-text.centered {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-text.centered .value-item {
    text-align: left;
}

.about-text.centered .btn {
    margin: 0 auto;
}
.value-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.value-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.value-item h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.value-item p {
    font-size: 0.82rem;
    line-height: 1.5;
}

/* Team section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.team-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-accent);
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 16px auto;
}

.team-card h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.team-card p {
    font-size: 0.88rem;
    color: var(--accent);
    font-weight: 500;
}

/* ========================================
   CONTACT SECTION
======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-info h2 {
    line-height: 1.2;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.95rem;
    color: var(--text-primary);
}

/* Contact Form */
.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    margin-top: 12px;
    font-size: 0.9rem;
    max-width: 280px;
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 0.95rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom p {
    font-size: 0.85rem;
}
/* ========================================
   PROCESS STEPS — Services Page
======================================== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    counter-reset: steps;
}

.process-step {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 36px 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.process-step:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-accent);
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 16px;
}

.process-step h3 {
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.process-step p {
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Add this inside the tablet media query (max-width: 1024px) */
/* Find your @media (max-width: 1024px) block and add: */
/* .process-grid { grid-template-columns: repeat(2, 1fr); } */

/* Add this inside the mobile media query (max-width: 768px) */
/* Find your @media (max-width: 768px) block and add: */
/* .process-grid { grid-template-columns: 1fr; } */
/* ========================================
   PORTFOLIO FILTER — Portfolio Page
======================================== */
.filter-bar {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 40px 0 20px 0;
}

.filter-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 8px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
}

.portfolio-card.hidden {
    display: none;
}
/* ========================================
   SOCIAL LINKS — Contact Page
======================================== */
.social-links {
    display: flex;
    gap: 50px;
    margin-top: 10px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
}

/* ========================================
   FORM SUCCESS MESSAGE
======================================== */
.form-success {
    display: none;
    margin-top: 20px;
    padding: 16px;
    background: rgba(0, 200, 100, 0.1);
    border: 1px solid rgba(0, 200, 100, 0.3);
    border-radius: var(--radius-sm);
    color: #00c864;
    font-size: 0.95rem;
    text-align: center;
}

.form-success.visible {
    display: block;
}
/* ========================================
   PROMO CARD — Hero Section
======================================== */
.promo-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: var(--shadow-accent);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 420px;
}

.promo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent);
}

.promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(204, 0, 0, 0.15);
    border: 1px solid rgba(204, 0, 0, 0.3);
    color: var(--accent);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    width: fit-content;
}

.promo-badge::before {
    content: '';
    width: 7px;
    height: 7px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.promo-icon {
    font-size: 2.8rem;
}

.promo-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.promo-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

.promo-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px 20px;
}

.price-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.price-amount {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.price-currency {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
}
/* ======= TEAM CARD UPDATES ======= */
.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent);
    margin: 0 auto 16px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    font-size: 2.5rem;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 6px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.team-linkedin span {
    font-weight: 800;
    color: #0077b5;
}

.team-linkedin:hover {
    border-color: #0077b5;
    color: #0077b5;
}
/* ========================================
   RTL SUPPORT
   Activated when html has dir="rtl"
======================================== */
[dir="rtl"] body {
    font-family: 'Segoe UI', Tahoma, 'Arabic Typesetting', sans-serif;
}

[dir="rtl"] .nav-links a::after {
    left: auto;
    right: 0;
    transform-origin: right;
}

[dir="rtl"] .card::before,
[dir="rtl"] .service-card::before {
    transform-origin: right;
}

[dir="rtl"] .about-badge {
    right: auto;
    left: -20px;
}

[dir="rtl"] .hero::before {
    right: auto;
    left: -200px;
}

/* ========================================
   RESPONSIVE — TABLET (max 1024px)
======================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .promo-card {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-description {
        max-width: 100%;
        margin: 0 auto;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        display: none;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   RESPONSIVE — MOBILE (max 768px)
======================================== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--bg-primary);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        z-index: 999;
    }
    .process-grid {
        grid-template-columns: 1fr;
    }
    .nav-links.open {
        display: flex;
    }

    .hamburger {
        display: flex;
    }
    .promo-card {
        max-width: 100%;
        margin: 0 auto;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }
}