/* Global Styles & Variables */
:root {
    /* Premium Color Palette */
    --primary-red: #E63946;
    /* More vibrant red */
    --accent-dark-red: #9D0208;
    --pure-white: #FFFFFF;
    --off-white: #F8F9FA;
    --dark-bg: #111111;
    /* Deep black/charcoal */
    --dark-card-bg: #1E1E1E;
    --text-color: #212529;
    --text-light: #F8F9FA;
    --text-muted: #6C757D;
    --border-light: #E9ECEF;

    /* Solution Card Colors (Subtler) */
    --color-white-label: #FFF5F5;
    --color-turnkey: #FFF0F0;
    --color-affiliate: #F0F7FF;
    --color-agent: #F5F5FF;

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    /* UI Elements */
    --transition-speed: 0.3s ease;
    --border-radius-main: 12px;
    --box-shadow-light: 0 4px 20px rgba(0, 0, 0, 0.05);
    --box-shadow-hover: 0 15px 30px rgba(0, 0, 0, 0.1);
    --box-shadow-glow: 0 0 20px rgba(230, 57, 70, 0.4);
}

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

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--pure-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-red);
    transition: all var(--transition-speed);
}

a:hover {
    color: var(--accent-dark-red);
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    line-height: 1.3;
    color: var(--dark-bg);
    font-weight: 700;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -1px;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.5px;
}

h3 {
    font-size: 1.5rem;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-red);
    margin: 15px auto 0;
    border-radius: 2px;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.bg-light {
    background-color: var(--off-white);
}

.text-white {
    color: var(--pure-white) !important;
}

.text-center {
    text-align: center;
}

/* Animation Utilities */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    /* Pill shape */
    font-weight: 700;
    text-align: center;
    transition: all var(--transition-speed);
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-red), var(--accent-dark-red));
    color: var(--pure-white);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.4);
    color: var(--pure-white);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
}

.btn-secondary:hover {
    background-color: var(--primary-red);
    color: var(--pure-white);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1rem;
}

/* IMPROVED NAV BUTTON STYLE */
.btn-nav {
    margin-left: 20px;
    padding: 10px 24px;
    background: var(--primary-red);
    color: white;
    border-radius: 4px;
    font-weight: 600;
}

.btn-nav:hover {
    background: var(--accent-dark-red);
    color: white;
}


/* --- HEADER AND NAVIGATION --- */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--box-shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.nav-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark-bg);
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-item {
    margin-left: 30px;
}

.nav-link {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-red);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-red);
}

/* LANGUAGE SWITCHER STYLES */
.language-switcher {
    display: flex;
    align-items: center;
    background: var(--off-white);
    padding: 5px 10px;
    border-radius: 20px;
    border: 1px solid var(--border-light);
}

.language-switcher i {
    color: var(--text-muted);
    margin-right: 5px;
    font-size: 0.9rem;
}

.language-switcher select {
    border: none;
    background-color: transparent;
    color: var(--text-color);
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.85rem;
    /* Custom select styling */
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2012%2012%22%3E%3Cpath%20fill%3D%22%23343A40%22%20d%3D%22M4.5%206L7.5%209L10.5%206z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 0px center;
    padding-right: 15px;
}

.language-switcher select:focus {
    outline: none;
}

/* END LANGUAGE SWITCHER STYLES */

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all var(--transition-speed);
    background-color: var(--dark-bg);
}


/* --- HERO SECTION --- */
.hero-section {
    padding: 160px 0 120px;
    /* More top padding for header space */
    background-color: var(--dark-bg);
    background-image:
        radial-gradient(circle at 10% 20%, rgba(230, 57, 70, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(230, 57, 70, 0.05) 0%, transparent 20%),
        linear-gradient(to bottom, #111 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

/* Abstract shapes for background */
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.hero-content-flex {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.hero-text-content {
    flex: 1;
}

.hero-text-content h1 {
    margin-bottom: 24px;
    font-size: 4rem;
    line-height: 1.1;
    color: var(--pure-white) !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-section .subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    margin-bottom: 40px;
    text-align: left;
    margin-left: 0;
    max-width: 600px;
    font-weight: 300;
}

.hero-image-container {
    flex: 1;
    text-align: center;
    perspective: 1000px;
}

.hero-feature-image {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    /* box-shadow: 0 20px 50px rgba(0,0,0,0.5); REMOVED per user request */
    transform: rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
    /* border: 1px solid rgba(255,255,255,0.1); REMOVED per user request */
}

.hero-feature-image:hover {
    transform: rotateY(0) rotateX(0) scale(1.02);
}

/* --- RTL SUPPORT --- */
html[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

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

html[dir="rtl"] .btn-nav {
    margin-left: 0;
    margin-right: 20px;
}

html[dir="rtl"] .language-switcher i {
    margin-right: 0;
    margin-left: 5px;
}

html[dir="rtl"] .language-switcher select {
    background-position: left 0px center;
    padding-right: 5px;
    padding-left: 15px;
}

html[dir="rtl"] .hero-section .subtitle {
    text-align: right;
}

html[dir="rtl"] .contact-form {
    text-align: right;
}

html[dir="rtl"] .contact-form select {
    background-position: left 15px center;
    padding-right: 16px;
    padding-left: 40px;
}

html[dir="rtl"] .footer-contact i {
    margin-right: 0;
    margin-left: 12px;
}

html[dir="rtl"] .social-icons a {
    margin-right: 0;
    margin-left: 20px;
}


/* --- CAROUSEL STYLES --- */
#game-providers {
    padding: 80px 0;
    background: var(--off-white);
}

#game-providers .section-title {
    margin-bottom: 40px;
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 30px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    background: white;
}

.carousel-track {
    display: inline-block;
    animation: scroll-left 40s linear infinite;
}

.carousel-slide {
    display: inline-block;
    width: 180px;
    height: 80px;
    margin: 0 40px;
    vertical-align: middle;
    text-align: center;
    line-height: 80px;
}

.carousel-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(60%);
    /* Start subtle */
    transition: all 0.3s ease;
}

.carousel-slide img:hover {
    filter: grayscale(0%) opacity(100%);
    transform: scale(1.1);
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.carousel-container:hover .carousel-track {
    animation-play-state: paused;
}


/* --- PRODUCTS SECTION --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card-v2 {
    background-color: var(--pure-white);
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--box-shadow-light);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
}

.product-card-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--accent-dark-red));
    transition: height 0.3s ease;
    z-index: -1;
}

.product-card-v2:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.product-card-v2:hover::before {
    height: 100%;
    opacity: 0.03;
}

/* Style for the Icon Wrapper */
.product-icon-wrapper {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--off-white);
    border-bottom: 1px solid var(--border-light);
    transition: background-color 0.3s ease;
}

.product-card-v2:hover .product-icon-wrapper {
    background-color: white;
}

.product-icon-wrapper i {
    font-size: 3.5rem;
    color: var(--primary-red);
    transition: transform 0.4s ease;
}

.product-card-v2:hover .product-icon-wrapper i {
    transform: scale(1.2) rotate(5deg);
}

.product-content {
    padding: 30px;
}

.product-content h3 {
    margin-bottom: 15px;
    color: var(--dark-bg);
    font-weight: 700;
}

.product-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}


/* --- SOLUTIONS SECTION --- */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.solution-card {
    padding: 35px 25px;
    border-radius: 16px;
    box-shadow: var(--box-shadow-light);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
    background: white;
    position: relative;
    overflow: hidden;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-hover);
}

.solution-card .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.solution-card:hover .icon {
    transform: rotateY(180deg);
}

.solution-card h3 {
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 1.25rem;
}

.solution-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Specific Solution Styles */
.white-label {
    background-color: var(--pure-white);
    border-top-color: var(--primary-red);
}

.white-label .icon {
    color: var(--primary-red);
    background: var(--color-white-label);
}

.turnkey {
    background-color: var(--pure-white);
    border-top-color: var(--accent-dark-red);
}

.turnkey .icon {
    color: var(--accent-dark-red);
    background: var(--color-turnkey);
}

.affiliate {
    background-color: var(--pure-white);
    border-top-color: #4361ee;
}

.affiliate .icon {
    color: #4361ee;
    background: var(--color-affiliate);
}

.agent {
    background-color: var(--pure-white);
    border-top-color: #7209b7;
}

.agent .icon {
    color: #7209b7;
    background: var(--color-agent);
}


/* --- TESTIMONIALS SECTION --- */
.bg-dark-alt {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.bg-dark-alt .section-title,
.bg-dark-alt .subtitle {
    color: var(--pure-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.testimonial-card {
    background: linear-gradient(145deg, #252525, #1e1e1e);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px 30px;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(230, 57, 70, 0.15);
    border-color: var(--primary-red);
    background: linear-gradient(145deg, #2a2a2a, #222);
}

.quote-icon {
    font-size: 2.5rem;
    color: var(--primary-red);
    opacity: 0.8;
    /* Increased opacity */
    margin-bottom: 25px;
    background: rgba(230, 57, 70, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.testimonial-text {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
    font-style: italic;
    min-height: 90px;
    font-weight: 300;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.author-avatar {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary-red), var(--accent-dark-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.3rem;
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
}

.author-info h4 {
    color: var(--pure-white);
    font-size: 1rem;
    margin-bottom: 4px;
}

.author-info span {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: block;
}

/* Responsive Testimonials */
@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}


/* --- WHY CHOOSE US SECTION (FEATURES) --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    padding: 40px 30px;
    background-color: var(--pure-white);
    border-radius: 16px;
    box-shadow: var(--box-shadow-light);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.feature-card:hover {
    border-color: var(--primary-red);
    box-shadow: var(--box-shadow-hover);
}

.feature-card i {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary-red), var(--accent-dark-red));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    display: inline-block;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}


/* --- ABOUT US SECTION --- */
.about-section {
    background-color: var(--pure-white);
    position: relative;
    overflow: hidden;
}

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

.section-header-left {
    margin-bottom: 30px;
    text-align: left;
}

.section-subtitle {
    color: var(--primary-red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.section-title-left {
    font-size: 2.5rem;
    color: var(--dark-bg);
    line-height: 1.2;
}

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

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin: 40px 0;
}

.stat-item {
    padding: 20px;
    background: var(--off-white);
    border-radius: 16px;
    border-left: 4px solid var(--primary-red);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-light);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark-bg);
    margin-bottom: 5px;
}

.stat-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}

.about-visual-column {
    position: relative;
}

.about-visual-card {
    background: linear-gradient(135deg, #1a1a1a, #2c2c2c);
    border-radius: 24px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.about-icon-main {
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.about-visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(230, 57, 70, 0.1), transparent 70%);
    z-index: 2;
}

/* RTL Support for About Section */
html[dir="rtl"] .section-header-left {
    text-align: right;
}

html[dir="rtl"] .stat-item {
    border-left: none;
    border-right: 4px solid var(--primary-red);
}

/* Responsive About Section */
@media (max-width: 1024px) {
    .about-content-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .section-header-left {
        text-align: center;
    }

    .about-visual-card {
        height: 300px;
        margin-top: 40px;
    }

    html[dir="rtl"] .section-header-left {
        text-align: center;
    }
}


/* --- CONTACT SECTION --- */
.contact-section {
    background-color: var(--dark-bg);
    color: var(--pure-white);
    text-align: center;
    padding: 120px 0;
    position: relative;
    background-image: radial-gradient(circle at 50% 50%, rgba(230, 57, 70, 0.05) 0%, transparent 50%);
}

.contact-section .subtitle {
    margin-bottom: 50px;
    color: rgba(255, 255, 255, 0.7);
}

/* --- FORM SUCCESS/ERROR MESSAGES --- */
.form-message {
    max-width: 800px;
    margin: 0 auto 30px auto;
    padding: 20px 25px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

.form-message.success {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.15), rgba(18, 140, 126, 0.15));
    border-left: 4px solid #25D366;
}

.form-message.error {
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.15), rgba(190, 30, 45, 0.15));
    border-left: 4px solid var(--primary-red);
}

.form-message i {
    font-size: 1.5rem;
    margin-top: 2px;
}

.form-message.success i {
    color: #25D366;
}

.form-message.error i {
    color: var(--primary-red);
}

.form-message div {
    flex: 1;
}

.form-message strong {
    display: block;
    color: white;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.form-message p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.95rem;
}

.contact-form {
    max-width: 800px;
    /* Wider for grid */
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    text-align: left;
    background: rgba(30, 30, 30, 0.6);
    /* Semi-transparent */
    backdrop-filter: blur(10px);
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.contact-form label {
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--light-grey);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background-color: rgba(0, 0, 0, 0.3);
    color: var(--pure-white);
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--transition-speed);
}

.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2012%2012%22%3E%3Cpath%20fill%3D%22%23ADB5BD%22%20d%3D%22M4.5%206L7.5%209L10.5%206z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
    cursor: pointer;
}

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

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    background-color: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.15);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.btn-submit {
    grid-column: 1 / -1;
    margin-top: 10px;
    font-size: 1.1rem;
    padding: 18px;
}

/* Quick Contact Buttons */
.quick-contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 40px 0 30px;
}

.quick-contact-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 35px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.quick-contact-btn i {
    font-size: 1.5rem;
}

.quick-contact-btn.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
}

.quick-contact-btn.whatsapp:hover {
    background: linear-gradient(135deg, #128C7E, #075E54);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.quick-contact-btn.telegram {
    background: linear-gradient(135deg, #0088cc, #229ED9);
    color: white;
}

.quick-contact-btn.telegram:hover {
    background: linear-gradient(135deg, #229ED9, #0088cc);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(34, 158, 217, 0.5);
}

.contact-divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.contact-divider::before,
.contact-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 35%;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.contact-divider::before {
    left: 0;
}

.contact-divider::after {
    right: 0;
}

.contact-divider span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--dark-bg);
    padding: 0 20px;
}



/* --- FOOTER --- */
.footer {
    background-color: #0a0a0a;
    color: var(--light-grey);
    padding: 80px 0 30px 0;
    border-top: 1px solid #222;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo h3 {
    color: var(--pure-white);
    font-size: 2rem;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--pure-white);
    margin-bottom: 25px;
    font-weight: 700;
    font-size: 1.1rem;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-contact p,
.footer-contact a {
    color: #888;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--primary-red);
}

.footer-contact i {
    margin-right: 12px;
    color: var(--primary-red);
    width: 20px;
    text-align: center;
}

/* WhatsApp and Telegram brand colors */
.footer-contact .fa-whatsapp {
    color: #25D366;
}

.footer-contact .fa-telegram-plane {
    color: #0088cc;
}

/* --- FLOATING CHAT WIDGET --- */
.floating-chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.chat-toggle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-red), var(--accent-dark-red));
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(230, 57, 70, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

.chat-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(230, 57, 70, 0.6);
}

.chat-toggle-btn.active {
    background: linear-gradient(135deg, #555, #333);
    transform: rotate(45deg);
}

.chat-toggle-btn.active i::before {
    content: "\f00d";
    /* Font Awesome times/close icon */
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(230, 57, 70, 0.4);
    }

    50% {
        box-shadow: 0 4px 20px rgba(230, 57, 70, 0.4), 0 0 0 10px rgba(230, 57, 70, 0.1);
    }
}

.chat-options {
    position: absolute;
    bottom: 75px;
    right: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    padding: 10px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.chat-options.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chat-option {
    margin-bottom: 8px;
}

.chat-option:last-child {
    margin-bottom: 0;
}

.chat-option a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.95rem;
}

.whatsapp-option a {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
}

.whatsapp-option a:hover {
    background: linear-gradient(135deg, #128C7E, #075E54);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.telegram-option a {
    background: linear-gradient(135deg, #0088cc, #229ED9);
    color: white;
}

.telegram-option a:hover {
    background: linear-gradient(135deg, #229ED9, #0088cc);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(34, 158, 217, 0.3);
}

.chat-option i {
    font-size: 1.3rem;
}

.chat-option span {
    flex: 1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .floating-chat-widget {
        bottom: 20px;
        right: 20px;
    }

    .chat-toggle-btn {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }

    .chat-options {
        min-width: 200px;
        right: -10px;
    }
}



.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
    color: #555;
}

.footer-bottom p {
    margin: 8px 0;
}

.footer-bottom a {
    color: #666;
}


/* --- RESPONSIVENESS --- */
/* --- RESPONSIVENESS --- */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
    .hero-content-flex {
        flex-direction: column;
        text-align: center;
    }

    .hero-image-container {
        order: -1;
        margin-bottom: 40px;
    }

    .hero-text-content h1 {
        font-size: 3rem;
    }

    .hero-section .subtitle {
        margin: 0 auto 40px auto;
        text-align: center;
    }

    .product-grid,
    .solutions-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-form {
        padding: 40px;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {

    /* Navbar */
    .hamburger {
        display: block;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: var(--pure-white);
        width: 100%;
        height: 100vh;
        /* Full height */
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding-top: 80px;
        /* Space for close button/header */
        justify-content: flex-start;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 20px 0;
    }

    .nav-link {
        font-size: 1.2rem;
        color: var(--dark-bg);
    }

    /* RTL Support for Mobile Menu */
    html[dir="rtl"] .nav-menu {
        left: auto;
        right: -100%;
    }

    html[dir="rtl"] .nav-menu.active {
        right: 0;
    }

    /* Hero Section */
    .hero-section {
        padding: 120px 0 80px;
    }

    .hero-text-content h1 {
        font-size: 2.5rem;
    }

    .hero-section .subtitle {
        font-size: 1.1rem;
    }

    /* Grids to Single Column */
    .product-grid,
    .solutions-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    /* Contact Form */
    .contact-form {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }

    .contact-form .form-group {
        grid-column: 1 / -1;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .footer-contact i {
        margin-right: 8px;
    }

    html[dir="rtl"] .footer-contact i {
        margin-left: 8px;
        margin-right: 0;
    }

    /* General Padding */
    .section-padding {
        padding: 60px 0;
    }

    .container {
        padding: 0 20px;
    }
}

.about-content {
    flex-direction: column;
}

.about-image-container {
    width: 80%;
}


@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .nav-menu {
        position: fixed;
        right: -100%;
        top: 65px;
        flex-direction: column;
        background-color: var(--pure-white);
        width: 100%;
        text-align: center;
        transition: all var(--transition-speed);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-item {
        margin: 15px 0;
    }

    .language-switcher {
        justify-content: center;
        /* Center switcher in mobile menu */
    }

    .hamburger {
        display: block;
    }

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

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

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

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

    .footer-logo,
    .footer-links,
    .footer-contact {
        margin-bottom: 20px;
    }

    /* Carousel Adjustments */
    .carousel-slide {
        width: 120px;
        margin: 0 20px;
    }
}