:root {
    --primary-color: #ef4444;
    --primary-dark: #dc2626;
    --secondary-color: #1f2937;
    /* --light-section: rgba(24, 17, 17, 1);
  --dark-section: rgba(18, 12, 12, 1); */
    --dark-section: rgba(0, 0, 0, 1);
    --light-section: rgba(10, 10, 10, 1);
    --dark-bg: #0a0a0a;
    --darker-bg: #000000;
    --light-bg: #111827;
    /* --card-bg: rgba(20, 20, 20, 1); */
    --card-bg: #1c222b;
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --border-color: #374151;
    --success-color: #10b981;
    --gradient-red: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    --gradient-red-dark: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family:
        Almarai, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--darker-bg);
}

html {
    scroll-behavior: smooth;
}

.navbar {
    /* background: rgba(10, 10, 10, 0.95) !important; */
    background: var(--light-section) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    transition: opacity 0.3s ease;
}

.navbar-brand:hover {
    opacity: 0.8;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100px;
}

.brand-text {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.25rem;
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--text-primary) !important;
}

.btn-order-quote {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), #dc2626);
    border: none;
    color: white;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-order-quote:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
    background: linear-gradient(135deg, #dc2626, var(--primary-color));
}

.btn-order-quote svg {
    transition: transform 0.3s ease;
}

.btn-order-quote:hover svg {
    transform: translateX(3px);
}

.lang-select {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    cursor: pointer;
    outline: none;
    min-width: 120px;
}

.lang-select:hover {
    background: var(--light-bg);
    color: var(--text-primary);
    border-color: var(--text-secondary);
}

.lang-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.1);
}

.lang-select option {
    background: var(--card-bg);
    color: var(--text-primary);
    padding: 0.5rem;
}

main {
    padding-top: 0;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--darker-bg);
    padding-top: 76px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(239, 68, 68, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(239, 68, 68, 0.15) 0%, transparent 40%),
        linear-gradient(135deg, #050505 0%, #111 100%);
    z-index: 0;
    overflow: hidden;
}

.hero-background::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle at center, rgba(239, 68, 68, 0.05) 0%, transparent 70%);
    animation: rotateGradient 20s linear infinite;
}

@keyframes rotateGradient {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hero-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(90deg,
            rgba(239, 68, 68, 0.03) 0px,
            transparent 1px,
            transparent 80px,
            rgba(239, 68, 68, 0.03) 81px),
        repeating-linear-gradient(0deg,
            rgba(239, 68, 68, 0.03) 0px,
            transparent 1px,
            transparent 80px,
            rgba(239, 68, 68, 0.03) 81px);
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: #fff;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    backdrop-filter: blur(8px);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2.5rem;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
    animation: heroBadgePulse 3s infinite ease-in-out;
}

@keyframes heroBadgePulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 35px rgba(239, 68, 68, 0.4);
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title-line {
    display: block;
    color: var(--text-primary);
}

.hero-title-highlight {
    display: block;
    background: var(--gradient-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-logo-container {
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero-logo-img {
    max-width: 400px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.8));
    animation: logoFloat 6s infinite ease-in-out;
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-10px) scale(1.02);
    }
}

.hero-subtitles {
    margin-bottom: 2rem;
}

.hero-subtitle-red {
    color: #ef4444 !important;
    font-size: 40px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
    text-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-subtitle-white {
    color: #ffffff !important;
    font-size: 40px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 3rem;
    letter-spacing: -1px;
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
    animation: fadeInUp 1s ease-out;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.2s ease-out;
}

.btn-hero {
    padding: 1.25rem 3.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Decorative Glass Elements */
.glass-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 0;
    pointer-events: none;
    animation: float 10s infinite ease-in-out;
}

.glass-circle-1 {
    width: 300px;
    height: 300px;
    top: -10%;
    right: -5%;
}

.glass-circle-2 {
    width: 200px;
    height: 200px;
    bottom: 10%;
    left: -5%;
    animation-delay: -2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-padding {
    padding: 5rem 0;
    background: var(--dark-bg);
    margin-bottom: 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gradient-red);
    margin-top: 1rem;
}

.text-center .section-title::after {
    margin-left: auto;
    margin-right: auto;
}

.lead {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

#about {
    background-color: var(--dark-section);
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    display: block;
}

#reviews {
    background-color: var(--light-section);
}

.company-logo-medium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: var(--gradient-red);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
}

.logo-icon-medium {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: white;
    color: var(--primary-color);
    border-radius: 12px;
    font-weight: 900;
    font-size: 2.5rem;
}

.review-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.2);
    border-color: var(--primary-color);
}

/* .review-stars {
  color: #f39c12;
  font-size: 1.5rem;
  margin-bottom: 1rem;
} */

.review-logo {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.review-logo-img {
    height: 70px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.review-card:hover .review-logo-img {
    opacity: 1;
}

.review-text {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.review-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-top: 1rem;
    border-top: 2px solid var(--border-color);
}

.review-author strong {
    color: var(--text-primary);
    font-size: 1.1rem;
}

.review-author span {
    font-size: 0.9rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin: 0;
}

.bg-light {
    background: var(--light-bg) !important;
}

.equipment-section {
    background: var(--dark-section);
}

.equipment-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.equipment-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
}

.equipment-thumbnail {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.equipment-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.equipment-card:hover .equipment-image {
    transform: scale(1.15);
}

.equipment-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--gradient-red);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
    z-index: 2;
}

.badge-count {
    background: rgba(255, 255, 255, 0.25);
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 800;
}

.equipment-info {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-grow: 1;
}

.equipment-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.equipment-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#systems {
    background: var(--light-section);
}

.equipment-category {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.equipment-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.2);
    border-color: var(--primary-color);
}

.equipment-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.equipment-category h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.equipment-list {
    list-style: none;
    padding: 0;
}

.equipment-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
}

.equipment-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.system-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    height: 100%;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.system-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(239, 68, 68, 0.2);
    border-color: var(--primary-color);
}

.system-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.3);
}

.system-card.featured:hover {
    box-shadow: 0 20px 50px rgba(239, 68, 68, 0.4);
}

.system-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--light-bg);
    color: var(--text-primary);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.featured-badge {
    background: var(--gradient-red);
    color: white;
}

.system-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.system-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.system-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.system-features li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
}

.system-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.3rem;
}

.system-card .btn {
    margin-top: auto;
    padding: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.system-card .btn:hover {
    transform: scale(1.02);
}

.system-card-modern {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.system-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(239, 68, 68, 0.25);
    border-color: rgba(239, 68, 68, 0.5);
}

.system-image-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.system-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.system-card-modern:hover .system-image {
    transform: scale(1.1);
}

.system-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.9) 0%,
            rgba(0, 0, 0, 0.6) 50%,
            transparent 100%);
    padding: 2rem 1.5rem 1.5rem;
    z-index: 2;
}

.system-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.system-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    flex-grow: 1;
}

.system-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.system-equipment-section {
    flex-grow: 1;
}

.equipment-heading {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.equipment-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.equipment-tag {
    display: inline-block;
    padding: 0.4rem 0.85rem;
    background: var(--light-bg);
    color: var(--text-secondary);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.equipment-tag:hover {
    background: var(--border-color);
    color: var(--text-primary);
    border-color: var(--primary-color);
}

.btn-gallery {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    margin-top: auto;
}

.btn-gallery:hover {
    background: var(--gradient-red);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
}

.btn-gallery svg {
    transition: transform 0.3s ease;
}

.btn-gallery:hover svg {
    transform: translateX(4px);
}

.projects-section {
    background: var(--dark-section);
}

.project-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(239, 68, 68, 0.2);
    border-color: var(--primary-color);
}

.project-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

.conference-audio-bg {
    background:
        linear-gradient(135deg, rgba(31, 41, 55, 0.9), rgba(31, 41, 55, 0.7)),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><rect fill="%231a1a1a" width="400" height="300"/><circle cx="100" cy="150" r="60" fill="%232d3748" opacity="0.5"/><rect x="200" y="100" width="150" height="100" rx="10" fill="%232d3748" opacity="0.6"/><circle cx="320" cy="80" r="30" fill="%23EF4444" opacity="0.3"/></svg>');
    background-size: cover;
    background-position: center;
}

.lighting-design-bg {
    background:
        linear-gradient(135deg, rgba(31, 41, 55, 0.8), rgba(31, 41, 55, 0.6)),
        radial-gradient(circle at 30% 40%,
            rgba(239, 193, 68, 0.4) 0%,
            transparent 50%),
        radial-gradient(circle at 70% 60%,
            rgba(68, 138, 239, 0.4) 0%,
            transparent 50%),
        linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
    background-size: cover;
    background-position: center;
}

.live-streaming-bg {
    background:
        linear-gradient(135deg, rgba(31, 41, 55, 0.9), rgba(31, 41, 55, 0.7)),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><rect fill="%231a1a1a" width="400" height="300"/><rect x="50" y="50" width="300" height="200" rx="15" fill="%232d3748" opacity="0.7"/><rect x="70" y="70" width="260" height="160" rx="10" fill="%23000" opacity="0.5"/><circle cx="200" cy="150" r="40" fill="%23EF4444" opacity="0.6"/><path d="M180 130 L180 170 L220 150 Z" fill="%23fff" opacity="0.8"/></svg>');
    background-size: cover;
    background-position: center;
}

.project-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.project-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.project-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.project-link:hover {
    gap: 0.75rem;
    color: var(--primary-dark);
}

#team {
    background: var(--light-section);
}

.team-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.2);
    border-color: var(--primary-color);
}

.team-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    display: block;
    border: 3px solid var(--border-color);
    transition: all 0.3s ease;
}

.team-card:hover .team-image {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.team-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.team-position {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
}

.contact-section {
    background: var(--dark-section);
}

.contact-info-wrapper {
    height: 100%;
}

.contact-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.contact-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 3rem;
}

.contact-details {
    margin-bottom: 3rem;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

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

.contact-detail-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
}

.location-icon-red,
.phone-icon-red,
.email-icon-red {
    background: var(--gradient-red);
}

.contact-detail-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.contact-detail-item p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-detail-item a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.contact-detail-item a:hover {
    color: var(--primary-color);
}

.contact-form-wrapper {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-form .form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-form .form-control,
.contact-form .form-select {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.875rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    background: var(--light-bg);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
    color: var(--text-primary);
}

.contact-form .form-control::placeholder {
    color: var(--text-muted);
}

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

.contact-form .btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer {
    background: var(--light-section);
    /* background: linear-gradient(135deg, #991b1b 0%, #a31313 50%, #991b1b 100%); */
    /* background: linear-gradient(135deg, #991b1b 0%, #7f1d1d 50%, #5f1515 100%); */
    color: var(--text-primary);
    padding: 4rem 0 2rem;
    margin-top: 0;
    border-top: 1px solid var(--border-color);
}

.footer-brand-section {
  text-align: center;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo-img {
  height: 70px;
  width: auto;
}

.footer-brand-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.rss-icon {
    color: var(--text-secondary);
    margin-left: 0.5rem;
}

.footer-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

.footer-column {
    height: 100%;
}

.footer-column-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 0.25rem;
    color: var(--primary-color);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0;
}

.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

.modal-header {
    background: var(--gradient-red);
    color: var(--text-primary);
    border-radius: 20px 20px 0 0;
    padding: 1.5rem 2rem;
    border-bottom: none;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

[dir="rtl"] .modal-header .btn-close {
    margin-left: 0;
    margin-right: auto;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border-color);
    background: var(--card-bg);
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    background: var(--light-bg);
    color: var(--text-primary);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(239, 68, 68, 0.15);
    background: var(--light-bg);
    color: var(--text-primary);
}

.form-control::placeholder {
    color: var(--text-muted);
}

input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 0.8;
}

.form-select option {
    background: var(--card-bg);
    color: var(--text-primary);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary {
    background: var(--gradient-red);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.btn-primary:hover {
    background: linear-gradient(135deg,
            var(--primary-dark) 0%,
            var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--light-bg);
    border-color: var(--text-primary);
    color: var(--text-primary);
}

[dir="rtl"] {
    direction: rtl;
}

[dir="rtl"] .navbar-nav {
    margin-right: 0 !important;
    margin-left: auto !important;
}

[dir="rtl"] .nav-item {
    margin-left: 0;
    margin-right: 0;
}

[dir="rtl"] .ms-3 {
    margin-left: 0 !important;
    margin-right: 1rem !important;
}

[dir="rtl"] .ms-auto {
    margin-left: 0 !important;
    margin-right: auto !important;
}

[dir="rtl"] .navbar-toggler {
    margin-left: 0;
    margin-right: auto;
}

[dir="rtl"] .navbar-brand {
    margin-right: 0;
    margin-left: 1rem;
}

[dir="rtl"] .btn-order-quote svg {
    transform: scaleX(-1);
}

[dir="rtl"] .btn-order-quote:hover svg {
    transform: scaleX(-1) translateX(3px);
}

[dir="rtl"] .equipment-list li,
[dir="rtl"] .system-features li {
    padding-left: 0;
    padding-right: 2rem;
}

[dir="rtl"] .equipment-list li::before,
[dir="rtl"] .system-features li::before {
    left: auto;
    right: 0;
}

[dir="rtl"] .section-title::after {
    margin-left: 0;
    margin-right: 0;
}

[dir="rtl"] .text-center .section-title::after {
    margin-left: auto;
    margin-right: auto;
}

[dir="rtl"] .contact-item {
    flex-direction: row-reverse;
}

[dir="rtl"] .footer-brand {
    flex-direction: row-reverse;
}

[dir="rtl"] .company-logo-large {
    flex-direction: row-reverse;
}

[dir="rtl"] .text-md-end {
    text-align: right !important;
}

@media (max-width: 991.98px) {
    .hero-title {
        font-size: 3rem;
    }

    .section-padding {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-image {
        height: 300px;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-hero {
        width: 100%;
    }

    .section-padding {
        padding: 2rem 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .about-image {
        height: 250px;
    }

    .contact-main-title {
        font-size: 2rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
        margin-top: 2rem;
    }

    .contact-map {
        height: 200px;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .equipment-thumbnail {
        height: 160px;
    }

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

    .equipment-desc {
        font-size: 0.8rem;
    }

    .system-image-wrapper {
        height: 220px;
    }

    .hide-mobile {
        display: none !important;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-badge {
        font-size: 0.75rem;
    }

    .navbar-brand {
        font-size: 1.1rem;
    }

    .brand-text {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .system-card,
    .review-card,
    .team-card {
        padding: 1.5rem;
    }

    .contact-main-title {
        font-size: 1.75rem;
    }

    .contact-subtitle {
        font-size: 1rem;
    }

    .contact-form-wrapper {
        padding: 1.25rem;
    }

    .equipment-thumbnail {
        height: 140px;
    }

    .equipment-info {
        padding: 1rem;
    }

    .equipment-badge {
        padding: 0.4rem 0.75rem;
        font-size: 0.7rem;
    }

    .badge-count {
        padding: 0.2rem 0.5rem;
        font-size: 0.75rem;
    }

    .system-image-wrapper {
        height: 200px;
    }

    .system-body {
        padding: 1.25rem;
    }
}

@media print {

    .navbar,
    .footer,
    .btn,
    .modal {
        display: none;
    }

    body {
        padding-top: 0;
    }

    main {
        padding-top: 0;
    }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

/* Base animation states - hidden before scroll */
.animate-on-scroll {
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
}

/* Fade In */
.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease-out;
}

.fade-in.animated {
    opacity: 1;
}

/* Slide Up */
.slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-up.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Slide Left */
.slide-left {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-left.animated {
    opacity: 1;
    transform: translateX(0);
}

/* Slide Right */
.slide-right {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-right.animated {
    opacity: 1;
    transform: translateX(0);
}

/* Scale In */
.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-in.animated {
    opacity: 1;
    transform: scale(1);
}

/* Stagger Delays for Grid Items */
.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

.stagger-5 {
    transition-delay: 0.5s;
}

.stagger-6 {
    transition-delay: 0.6s;
}

.stagger-7 {
    transition-delay: 0.7s;
}

.stagger-8 {
    transition-delay: 0.8s;
}

/* ============================================
   TEXT ANIMATIONS
   ============================================ */

/* Fade In Word by Word */
.section-subtitle.fade-in-word,
p.fade-in-word {
    white-space: normal;
    display: block;
}

.fade-in-word span {
    display: inline-block;
    opacity: 0;
}

.fade-in-word.animated span {
    animation: fadeInWord 0.6s ease-out forwards;
}

@keyframes fadeInWord {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Typing Effect */
.typing-text {
    overflow: hidden;
    border-right: 2px solid var(--primary-color);
    white-space: nowrap;
    animation:
        typing 3s steps(40, end),
        blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: var(--primary-color);
    }
}

/* Gradient Text Animation */
.gradient-text-animate {
    background: linear-gradient(90deg,
            var(--primary-color),
            #f59e0b,
            var(--primary-color));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }
}

/* Underline Animation */
.underline-animate {
    position: relative;
    display: inline-block;
}

.underline-animate::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-red);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.underline-animate.animated::after {
    width: 100%;
}

/* Bounce In */
.bounce-in {
    opacity: 0;
    transform: scale(0.3);
    animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Rotate In */
.rotate-in {
    opacity: 0;
    transform: rotate(-180deg) scale(0.5);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.rotate-in.animated {
    opacity: 1;
    transform: rotate(0) scale(1);
}

/* Accessibility: Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {

    .animate-on-scroll,
    .fade-in,
    .slide-up,
    .slide-left,
    .slide-right,
    .scale-in,
    .bounce-in,
    .rotate-in {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }

    .typing-text {
        border-right: none;
        animation: none;
        white-space: normal;
    }
}