/* Custom Variables */
:root {
    --primary-color: #39BCED;
    --primary-dark: #2ea8d9;
    --text-dark: #1a1a1a;
    --text-gray: #4a5568;
    --bg-light: #f2f4f1;
    --bg-white: #ffffff;
}

/* Global Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Header Styles */
/* =========================
   Header / Navbar Wrapper
========================= */
.header-section {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
}

/* Keep navbar transparent (background handled by hero section) */
.navbar-dark {
    background: transparent;
}

/* Navbar container flex layout */
.navbar .container-fluid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Navbar toggler positioning */
.navbar-toggler {
    order: 2;
    margin-left: auto;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Navbar brand positioning */
.navbar-brand {
    order: 1;
    margin-right: auto;
}

/* Navbar collapse positioning */
.navbar-collapse {
    order: 3;
    flex-basis: 100%;
    flex-grow: 1;
}

@media (min-width: 992px) {
    .navbar-collapse {
        flex-basis: auto;
        order: 3;
    }
    
    .navbar-toggler {
        display: none;
    }
}

@media (max-width: 991px) {
    .navbar-collapse {
        order: 3;
        width: 100%;
        margin-top: 1rem;
    }
    
    .navbar .container-fluid {
        flex-wrap: wrap;
    }
}

/* =========================
   Logo
========================= */
.logo-img {
    height: 44px; /* slightly reduced for balance */
    width: auto;
}

/* =========================
   Navigation Links
========================= */
.nav-link {
    color: #ffffff !important;
    font-weight: 500;
    margin: 0 0.75rem;
    padding: 0.375rem 0;
    transition: opacity 0.25s ease, color 0.25s ease;
}

.nav-link:hover {
    opacity: 0.85;
    color: #ffffff !important;
}

/* Active link */
.nav-link.active {
    font-weight: 600;
}

/* =========================
   Language Toggle Button
========================= */
.lang-toggle,
.navbar .btn-link {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 0.5rem;;
    padding: 0.35rem 0.9rem;
    font-weight: 500;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

.lang-toggle:hover,
.navbar .btn-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.9);
    color: #ffffff;
}


.btn-primary-custom {
    background-color: #39BCED;
    color: #ffffff;
    border: none;
    padding: 0.45rem 1.1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: background-color 0.25s ease, transform 0.15s ease;
}

.btn-primary-custom:hover {
    background-color: var(--primary-dark);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-outline-primary-custom {
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: #ffffff;
    background: transparent;
    padding: 0.45rem 1.1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.btn-outline-primary-custom:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

/* =========================
   Mobile Adjustments
========================= */
@media (max-width: 991px) {
    .header-section {
        padding: 0.75rem 0;
    }

    .navbar-collapse {
        padding-top: 1rem;
        background: rgba(0, 0, 0, 0.7);
        border-radius: 0.5rem;
        margin-top: 0.5rem;
        padding: 1rem;
    }

    .navbar-nav {
        gap: 0.75rem;
    }

    .nav-link {
        margin: 0;
        text-align: center;
        padding: 0.5rem 0;
    }

    .btn-primary-custom,
    .btn-outline-primary-custom,
    .lang-toggle {
        width: 100%;
        justify-content: center;
        margin: 0.25rem 0;
    }

    .logo-img {
        height: 36px;
    }
}


/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(to right, #ff9ec4, #39BCED);
    background-image: url('hero2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding-top: 100px;
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding-top: 80px;
        padding-bottom: 40px;
        overflow: hidden;
    }

    .hero-content {
        overflow: hidden;
    }

    .hero-content .row {
        margin: 0;
        width: 100%;
    }

    .hero-content .col-lg-7,
    .hero-content .col-lg-5,
    .hero-content .col-md-12 {
        width: 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 1.5rem;
    }

    .hero-content .col-lg-5 {
        order: -1;
    }

    .hero-title,
    .hero-subtitle {
        text-align: left;
    }

    .hero-illustration {
        max-width: 100%;
        width: 100%;
        height: auto;
        max-height: 300px;
        object-fit: contain;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 768px) {
    .hero-content {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 992px) {
    .hero-content {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: left;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(0, 0, 0, 0.8);
    max-width: 500px;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: left;
}

@media (max-width: 768px) {
    .hero-subtitle {
        font-size: 0.95rem;
        max-width: 100%;
        line-height: 1.6;
    }
}

@media (max-width: 576px) {
    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

.hero-illustration {
    max-width: 100%;
    height: auto;
    display: block;
    width: 100%;
    object-fit: contain;
}

/* Badge Custom */
.badge-custom {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: rgba(57, 188, 237, 0.1);
    color: var(--primary-color);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.badge-custom::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin-right: 0.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.text-primary-custom {
    color: var(--primary-color) !important;
}

.section-description {
    font-size: 1.25rem;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}



/* ---------- SECTION BACKGROUND / SPACING ---------- */
.brands-section{
  background: #ffffff;
  padding: 80px 0 90px;     /* generous top/bottom whitespace like screenshot */
}

@media (max-width: 768px) {
  .brands-section {
    padding: 50px 0 60px;
  }
}

.brands-container{
  max-width: 1200px;
}

/* ---------- HEADER ---------- */
.brands-header{
  max-width: 980px;
  margin: 0 auto;
}

/* Badge pill */
.tp-badge{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #eaf6ff;
  color: #2fb0e6;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  margin-bottom: 18px;
}

.tp-dot{
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2fb0e6;
}

/* Title */
.brands-title{
  font-size: 56px;          /* strong headline like screenshot */
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.5px;
  
  margin: 0 0 18px;
}

.brands-elite{
  color: var(--primary-color) !important;
}

/* Description */
.brands-desc{
  font-size: 20px;
  line-height: 1.9;
  color: #334155;
  max-width: 900px;
  margin: 0 auto;
}

/* ---------- LOGO “STAGE” (big empty space area) ---------- */
.brands-logo-stage{
  position: relative;
  height: 180px;            /* controls whitespace between text and logo row */
  margin-top: 70px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- LOGO ---------- */
.brand-logo{
  position: absolute;
  max-height: 100px;
  width: auto;
  opacity: 0;               /* hidden until animation */
  transform: translateX(110%);
  filter: saturate(1.1);
}

/* One full cycle: enter -> hold -> exit */
.brand-logo.run{
  animation: logoStep 3.6s ease-in-out forwards;
}

/* 0% -> enters from right
   25% -> reaches center
   75% -> still center (pause)
   100% -> exits left
*/
@keyframes logoStep{
  0%   { opacity: 0; transform: translateX(110%); }
  20%  { opacity: 1; transform: translateX(0%); }
  75%  { opacity: 1; transform: translateX(0%); }
  100% { opacity: 0; transform: translateX(-110%); }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px){
  .brands-title{ font-size: 44px; }
  .brands-desc{ font-size: 18px; }
  .brands-logo-stage{ height: 160px; margin-top: 55px; }
  .brand-logo{ max-height: 80px; }
}

@media (max-width: 576px){
  .brands-section{ padding: 60px 0 70px; }
  .brands-title{ font-size: 34px; }
  .brands-desc{ font-size: 16px; }
  .brands-logo-stage{ height: 140px; margin-top: 40px; }
  .brand-logo{ max-height: 60px; }
}








/* Video Section */
.video-section {
    background: linear-gradient(to bottom right, #f9fafb, #ffffff, #f9fafb);
    position: relative;
    padding: 60px 0;
}

@media (max-width: 768px) {
    .video-section {
        padding: 40px 0;
    }
}

.video-card {
    background: white;
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}

.video-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.video-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.video-subtitle {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.video-wrapper {
    position: relative;
    width: 80%;                /* ← increased from 50% to 80% for better visibility */
    padding-bottom: 45%;       /* ← 16:9 aspect ratio for 80% width (80% * 56.25% = 45%) */
    height: 0;
    margin: 0 auto;            /* ← centers horizontally */
    overflow: hidden;
    border-radius: 0.5rem;
    background: #000;
}


.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}




/* Platform Section */
.platform-section {
    background-color: var(--bg-light);
    background-image: url('about-background-new.png');
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
    position: relative;
}

@media (max-width: 768px) {
    .platform-section {
        background-size: cover;
        background-position: center;
    }
}

.platform-card {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: inset 0 1px 15px rgba(255, 255, 255, 0.3);
}

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

.title-underline {
    width: 64px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

.platform-text {
    font-size: 1.25rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.platform-description {
    font-size: 1.125rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.benefits-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

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

.benefits-list li {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.benefits-list li strong {
    color: var(--text-dark);
}

/* FAQ Section */
.faq-section {
    background-color: white;
    background-image: url('faq-background-new.png');
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
    position: relative;
}

@media (max-width: 768px) {
    .faq-section {
        background-size: cover;
        background-position: center;
    }
}

.faq-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.accordion-item {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    background-color: white;
    color: var(--text-dark);
    font-weight: 500;
    border: none;
    padding: 1rem;
}

.accordion-button:not(.collapsed) {
    background-color: #f9fafb;
    color: var(--text-dark);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-body {
    color: var(--text-gray);
    line-height: 1.6;
}



/* Contact Section */
.contact-section {
  background: #f5f6f2;
  padding: 80px 0;
}

@media (max-width: 768px) {
  .contact-section {
    padding: 50px 0;
  }
}

/* Tablet image container aligned to the left, with larger max width */
.tablet-wrapper {
  position: relative;
  width: 100%;
  max-width: 950px;      /* bigger tablet */
  margin-left: 0;        /* aligns flush left within its column */
}

/* Tablet illustration grows within its container */
.tablet-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

/* Form positioned within the tablet screen – adjust top/left/width/height values as needed */
.contact-section .tablet-screen {
  position: absolute;
  top: 14%;              /* adjust these values based on your actual tablet graphic */
  left: 27%;
  width: 58%;
  height: 72%;
  padding: 0 15px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: auto;
  z-index: 1;
}

/* Title styles */
.tablet-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #111827;
}

/* Form styles */
.contact-form label {
  font-size: 13px;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 9px 10px;
  font-size: 13px;
  margin-bottom: 10px;
  box-sizing: border-box;
}

@media (min-width: 992px) {
  .contact-form input,
  .contact-form textarea {
    width: 50%;
  }
}

.contact-form textarea {
  resize: none;
  min-height: 70px;
}

.contact-form button {
  width: 100%;
  max-width: 200px;
  font-size: 12px;
  background: #3bb3e6;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form button:hover {
  background: #2a9bc8;
}

/* Right-hand contact info */
.contact-info {
  padding-top: 40px;
}

.contact-info h3 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
}

.contact-info p,
.contact-line {
  font-size: 15px;
  margin-bottom: 12px;
}
.contact-line{
  color: #39BCED;
}

/* Responsive tweaks */
@media (max-width: 991px) {
  .contact-section {
    padding: 60px 0;
  }

  .contact-section .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .tablet-wrapper {
    max-width: 100%;
    margin: 0 auto;
  }
  .tablet-img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
  }
  .contact-section .tablet-screen {
    position: static;
    width: 100%;
    height: auto;
    margin-top: 20px;
    padding: 0;
    overflow: visible;
  }
  .contact-info {
    margin-top: 40px;
    padding-top: 0;
  }

  .tablet-title {
    font-size: 24px;
    margin-bottom: 20px;
  }
}




@media (max-width: 576px) {

  /* SECTION */
  .contact-section {
    padding: 40px 0;
    background: #f5f6f2;
  }

  /* TABLET WRAPPER → CARD */
  .tablet-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
    background: #fdfdfe;
    border-radius: 14px;
    padding: 22px;
    border: 2px solid #3bb3e6;
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
  }

  /* HIDE TABLET IMAGE */
  .tablet-img {
    display: none;
  }

  /* FORM AREA */
  .tablet-screen {
    position: static;
    width: 100%;
    padding: 0;
  }

  /* TITLE */
  .tablet-title {
    text-align: center;
    font-size: 22px;
    margin-bottom: 20px;
    color: #000000;
    font-weight: 600;
  }

  /* FORM */
  .contact-form {
    width: 100%;
  }

  .contact-form label {
    font-size: 13px;
    margin-bottom: 5px;
    display: block;
    color: #000000;
  }

  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    outline: none;
    background: #ffffff;
    color: #1a1a1a;
    box-sizing: border-box;
  }

  .contact-form input::placeholder,
  .contact-form textarea::placeholder {
    color: #9bb0cc;
  }

  .contact-form input:focus,
  .contact-form textarea:focus {
    border: 2px solid #3bb3e6;
    background: #ffffff;
    outline: none;
  }

  /* BUTTON */
  .contact-form button {
    margin-top: 15px;
    width: 100%;
    padding: 13px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    background: #3bb3e6;
    color: #0b1e37;
    cursor: pointer;
    transition: 0.3s ease;
  }

  .contact-form button:hover {
    background: #2aa1d4;
  }

  /* RIGHT CONTACT INFO */
  .contact-info {
    margin-top: 30px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  }

  .contact-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .contact-info p {
    font-size: 14px;
    margin-bottom: 15px;
    color: #555;
  }

  .contact-line {
    font-size: 15px;
    margin-bottom: 8px;
    color: #39BCED;
    font-weight: 500;
  }
}




/* Footer container */
.footer-section {
  background-color: #0b1e37;     /* dark blue/navy tone matching screenshot */
  color: #ffffff;
  padding: 3rem 0 2rem;
}

/* Center everything in the footer */
.footer-content {
  max-width: 700px;
  margin: 0 auto;
}

/* Footer brand wrapper */
.footer-brand-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Logo styling */
.footer-logo {
  height: 48px;                  /* larger logo size */
  width: auto;
  display: block;
}

/* COSMO text styling - light blue */
.footer-cosmo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #39BCED;                 /* light blue color */
  letter-spacing: 0.05em;
}

/* Brand name styling - white */
.footer-brand {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
}

/* Tagline styling */
.footer-tagline {
  color: #a2aec5;                /* lighter gray for tagline */
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Horizontal divider */
.footer-divider {
  border-top: 1px solid rgba(162, 174, 197, 0.3); /* light gray divider line */
  margin: 1.5rem 0 1rem;         /* spacing above and below the divider */
  opacity: 0.6;
}

/* Copyright text */
.footer-copyright {
  color: #a2aec5;                /* light gray color */
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Mobile responsiveness: keep text centered */
@media (max-width: 768px) {
  .footer-content {
    max-width: 90%;
  }

  .footer-brand-wrapper {
    flex-direction: column;
    gap: 0.25rem;
  }

  .footer-logo {
    height: 40px;
  }

  .footer-cosmo {
    font-size: 1.5rem;
  }

  .footer-brand {
    font-size: 1.4rem;
  }

  .footer-tagline {
    font-size: 0.9rem;
  }

  .footer-copyright {
    font-size: 0.8rem;
  }
}






/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: transform 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-icon {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: contain;
    padding: 10px;
    display: block;
}




/* Responsive Styles */
@media (max-width: 992px) {
    .platform-section {
        background-size: cover;
        background-position: center;
    }

    .contact-section {
        background-size: cover;
        background-position: center;
    }

    .faq-section {
        background-size: cover;
        background-position: center;
    }

    /* Ensure all sections have proper padding on tablets */
    .platform-section,
    .faq-section,
    .video-section {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 768px) {
    /* Header */
    .header-section {
        padding: 0.5rem 0;
    }

    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }

    .nav-item {
        margin: 0.25rem 0;
        width: 100%;
    }

    .btn-primary-custom,
    .btn-auth {
        width: 100%;
        margin: 0.25rem 0 !important;
    }

    .logo-img {
        height: 32px;
    }

    /* Hero */
    .hero-section {
        min-height: auto;
        padding: 100px 0 40px;
    }

    .hero-content {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-content .row {
        margin: 0;
    }

    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        text-align: left;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
        line-height: 1.6;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
        text-align: left;
    }

    .hero-illustration {
        margin-top: 0;
        margin-bottom: 1.5rem;
        max-width: 100%;
        width: 100%;
        height: auto;
        max-height: 280px;
        object-fit: contain;
        display: block;
        padding: 0 0.5rem;
    }

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

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

    /* Platform */
    .platform-section {
        background-image: none;
        background-color: var(--bg-light);
        padding: 40px 0;
    }

    .platform-section .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .platform-section .row {
        margin: 0;
    }

    .platform-section .row.justify-content-end {
        justify-content: flex-start !important;
    }

    .platform-card {
        padding: 1.5rem;
        margin: 0;
        width: 100% !important;
        max-width: 100%;
    }

    .platform-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .platform-text {
        font-size: 1.125rem;
        line-height: 1.6;
    }

    .platform-description {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* Video */
    .video-card {
        padding: 1.5rem;
    }

    .video-title {
        font-size: 1.25rem;
    }

    .video-wrapper {
        width: 100%;
        padding-bottom: 56.25%; /* 16:9 aspect ratio */
        height: 0;
    }

    /* Brands */
    .brands-carousel {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .brand-logo {
        max-width: 120px;
        flex: 0 0 calc(50% - 1rem);
    }

    /* FAQ */
    .faq-section {
        background-image: none;
        background-color: white;
        padding: 40px 0;
    }

    .faq-section .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .faq-section .row {
        margin: 0;
    }

    .faq-title {
        font-size: 1.75rem;
        text-align: center;
        margin-bottom: 2rem;
        line-height: 1.3;
    }

    .accordion-item {
        margin-bottom: 0.75rem;
    }

    .accordion-button {
        font-size: 0.95rem;
        padding: 0.875rem;
        line-height: 1.5;
    }

    .accordion-body {
        font-size: 0.9rem;
        line-height: 1.6;
        padding: 0.875rem 1rem;
    }


    /* Footer */
    .footer-brand {
        font-size: 1.125rem;
    }

    .footer-tagline {
        font-size: 0.9rem;
    }

    .footer-copyright {
        font-size: 0.85rem;
    }

    /* WhatsApp Float */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

@media (max-width: 576px) {
    /* Container padding */
    .container,
    .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }

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

    .hero-title {
        font-size: 1.5rem;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        margin-bottom: 0.75rem;
        text-align: left;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.5;
        word-wrap: break-word;
        overflow-wrap: break-word;
        margin-bottom: 1.5rem;
        text-align: left;
    }

    .hero-illustration {
        max-height: 250px;
    }

    .hero-illustration {
        max-width: 100%;
        width: 100%;
        max-height: 220px;
        margin-top: 0;
        margin-bottom: 1rem;
        object-fit: contain;
        padding: 0 0.5rem;
    }

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

    .section-description {
        font-size: 0.95rem;
    }

    /* Platform */
    .platform-card {
        padding: 1.25rem;
    }

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

    .platform-text {
        font-size: 1rem;
    }

    /* Video */
    .video-section {
        padding: 30px 0;
    }

    .video-card {
        padding: 1rem;
        margin: 0 0.5rem;
    }

    .video-title {
        font-size: 1.125rem;
        line-height: 1.4;
    }

    .video-subtitle {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }

    .video-wrapper {
        width: 100%;
        padding-bottom: 56.25%; /* 16:9 aspect ratio */
    }

    /* Brands */
    .brand-logo {
        max-width: 300px;
        flex: 0 0 calc(50% - 0.75rem);
    }

    /* FAQ */
    .faq-title {
        font-size: 1.5rem;
    }

    .accordion-button {
        font-size: 0.875rem;
        padding: 0.75rem;
    }

    .accordion-body {
        font-size: 0.85rem;
        padding: 0.75rem 1rem;
    }

    /* Contact */
    .contact-title {
        font-size: 1.25rem;
    }

    .contact-form .form-label {
        font-size: 0.9rem;
    }

    .contact-form .form-control {
        font-size: 0.9rem;
        padding: 0.5rem;
    }

    .contact-info-title {
        font-size: 1.125rem;
    }

    /* Buttons */
    .btn-primary-custom {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    .btn-outline-primary-custom {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}

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

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

    .platform-title {
        font-size: 1.35rem;
    }

    .contact-title {
        font-size: 1.15rem;
    }

    .faq-title {
        font-size: 1.35rem;
    }
}

/* Prevent horizontal scrolling */
html,
body {
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

body {
    position: relative;
}

/* Ensure hero section doesn't cause overflow */
.hero-section,
.hero-content,
.hero-content .row,
.hero-content .col-lg-7,
.hero-content .col-lg-5,
.hero-content .col-md-12 {
    max-width: 100%;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

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

/* Ensure all images are responsive */
.hero-illustration,
.brand-logo,
.tablet-img,
.footer-logo,
.logo-img,
.whatsapp-icon {
    max-width: 100%;
    height: auto;
}

.logo-img {
    max-width: 30% !important;
    height: auto !important;
}

/* WhatsApp icon in float button should be full size */
.whatsapp-float .whatsapp-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: 100% !important;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* =====================================================
   RTL SUPPORT (ARABIC) – APPEND ONLY, DO NOT MODIFY ABOVE
===================================================== */

/* Activate RTL when JS sets dir="rtl" on <html> */
html[dir="rtl"] body {
  direction: rtl;
  text-align: right;
}

/* ---------------- Navbar ---------------- */
html[dir="rtl"] .navbar-nav {
  flex-direction: row-reverse;
}

html[dir="rtl"] .nav-link {
  margin: 0 0.75rem;
}

html[dir="rtl"] .lang-toggle i {
  margin-left: 0.5rem;
  margin-right: 0;
}

/* ---------------- Hero Section ---------------- */
html[dir="rtl"] .hero-content .row {
  flex-direction: row-reverse;
}

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

/* ---------------- Brands Section ---------------- */
html[dir="rtl"] .brands-header {
  text-align: center; /* stays centered in Arabic */
}

/* ---------------- Video Sections ---------------- */
html[dir="rtl"] .video-title,
html[dir="rtl"] .video-subtitle {
  text-align: center;
}

/* ---------------- Platform Section ---------------- */
html[dir="rtl"] .platform-section {
  background-position: right center;
}

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

/* ---------------- FAQ Section ---------------- */
html[dir="rtl"] .faq-title {
  text-align: right;
}

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

html[dir="rtl"] .accordion-button::after {
  margin-left: 0;
  margin-right: auto;
}

/* ---------------- Contact Section ---------------- */
html[dir="rtl"] .contact-section .row {
  flex-direction: row-reverse;
}

html[dir="rtl"] .contact-section .tablet-screen {
  left: auto;
  right: 43%;
}

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

/* ---------------- Footer ---------------- */
html[dir="rtl"] .footer-content {
  text-align: center; /* matches your design */
}

/* ---------------- WhatsApp Button ---------------- */
html[dir="rtl"] .whatsapp-float {
  right: auto;
  left: 2rem;
}

/* ---------------- Mobile RTL Fixes ---------------- */
@media (max-width: 991px) {
  html[dir="rtl"] .contact-section .tablet-screen {
    right: auto;
    left: auto;
  }
}
/* =====================================================
   RTL FIXES FOR PLATFORM + FAQ (ADD AT END)
===================================================== */

/* Platform: your row uses justify-content-end. In RTL it pushes wrong side.
   Force it to start when Arabic mode is active. */
html[dir="rtl"] .platform-section .row.justify-content-end {
  justify-content: flex-start !important;
}

/* Platform background should shift to the right side in Arabic */
html[dir="rtl"] .platform-section {
  background-position: right center !important;
}

/* FAQ: flip the two columns so the title appears on the RIGHT and accordion on the LEFT */
html[dir="rtl"] .faq-section .row {
  flex-direction: row-reverse;
}

/* FAQ: align accordion content properly in Arabic */
html[dir="rtl"] .faq-section .accordion-button,
html[dir="rtl"] .faq-section .accordion-body {
  text-align: right;
}

/* Move the accordion arrow icon to the LEFT in RTL (Bootstrap uses ::after) */
html[dir="rtl"] .faq-section .accordion-button::after {
  margin-left: 0 !important;
  margin-right: auto !important;
}
