
/* ROOT VARIABLES */
:root {
  /* Colors */
  --color-navy: #1e3a8a;
  --color-teal: #20b2aa;
  --color-lime: #7cd84a;
  --color-dark: #111827;
  --color-text: #374151;
  --color-light-bg: #f9fafb;
  --color-white: #ffffff;
  --color-gray: #d1d5db;
  --color-error: #ef4444;
  --color-success: #10b981;
  --color-light-gray: #f3f4f6;

  /* Spacing Scale (8px base) */
  --space-2: 2px;
  --space-4: 4px;
  --space-6: 6px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
  --space-48: 48px;
  --space-56: 56px;
  --space-64: 64px;
  --space-80: 80px;

  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-size-sm: 14px;
  --font-size-base: 16px;
  --font-size-lg: 18px;
  --font-size-xl: 20px;
  --font-size-2xl: 24px;
  --font-size-3xl: 32px;
  --font-size-4xl: 40px;
}

/* RESET & BASE STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--color-text);
}

body {
  background-color: var(--color-light-bg);
  overflow-x: hidden;
}

/* ================================================
   HEADER & NAVIGATION
   ================================================ */

.header {
  background-color: var(--color-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--space-16);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-brand {
  display: flex;
  align-items: center;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  text-decoration: none;
  color: var(--color-navy);
  font-weight: 600;
}

.brand-logo {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.brand-name {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-navy);
}

.brand-tagline {
  font-size: var(--font-size-sm);
  color: var(--color-teal);
}

/* Navigation */
.nav {
  display: flex;
  gap: var(--space-32);
  list-style: none;
}

.nav-link {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: var(--space-8) var(--space-12);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-teal);
  border-bottom: 2px solid var(--color-teal);
}


/* TOP LEVEL: "What We Do" -> "Subscription" */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  list-style: none;
  min-width: 160px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  margin-top: 4px;
  border: 1px solid #e5e7eb;
  z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Subscription item */
.dropdown-link {
  display: block;
  padding: 12px 20px;
  color: #374151;
  text-decoration: none;
  font-size: 16px;
  border-bottom: 1px solid #f3f4f6;
  font-weight: 500;
}

.dropdown-link:hover {
  background: #f3f4f6;
  color: #20b2aa;
}

/* NESTED LEVEL: "Subscription" -> "Payments" */
.nav-dropdown-nested {
  position: relative;
}

.dropdown-menu-nested {
  position: absolute;
  top: 0;
  left: 100%;
  background: #ffffff;
  list-style: none;
  min-width: 160px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s ease;
  margin-left: 4px;
  border: 1px solid #e5e7eb;
  z-index: 1001;
}

.nav-dropdown-nested:hover .dropdown-menu-nested {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Payments item */
.dropdown-link-nested {
  display: block;
  padding: 12px 20px;
  color: #374151;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
}

.dropdown-link-nested:hover {
  background: #f3f4f6;
  color: #20b2aa;
}

/* MOBILE: Show all dropdowns when nav is open */
@media (max-width: 768px) {
  .dropdown-menu,
  .dropdown-menu-nested {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    margin: 0;
    background: #f8fafc;
    padding-left: 20px;
  }
  
  .nav-dropdown-nested:hover .dropdown-menu-nested {
    display: block;
  }
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: var(--space-6);
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-8);
}

.hamburger span {
  width: 24px;
  height: 3px;
  background-color: var(--color-navy);
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* Ticker Bar */
.ticker-bar {
  background-color: var(--color-light-bg);
  border-top: 1px solid var(--color-gray);
  padding: var(--space-8) 0;
  overflow: hidden;
}

.ticker-content {
  width: 100%;
  overflow: hidden;
}

/* ================================================
   MAIN CONTENT
   ================================================ */

.main {
  min-height: calc(100vh - 200px);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-16);
}

/* ================================================
   SECTIONS
   ================================================ */

.section {
  padding: var(--space-80) 0;
  border-bottom: 1px solid var(--color-gray);
}

.section:last-child {
  border-bottom: none;
}

.section h2 {
  font-size: var(--font-size-4xl);
  color: var(--color-navy);
  margin-bottom: var(--space-16);
}

.section h5 {
  font-size: 30px;
  color: #ffffff;
  margin-bottom: -10px;
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text);
  margin-bottom: var(--space-40);
}

/* ================================================
   HERO SECTION
   ================================================ */

.section-hero {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  padding: var(--space-80) 0;
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-64);
  align-items: center;
}

.hero-text h1 {
  font-size: var(--font-size-4xl);
  color: var(--color-navy);
  margin-bottom: var(--space-24);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text);
  margin-bottom: var(--space-32);
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: var(--space-16);
  margin-bottom: var(--space-48);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-24);
}

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

.stat-number {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--color-teal);
  display: block;
  margin-bottom: var(--space-8);
}

.stat-label {
  font-size: var(--font-size-sm);
  color: var(--color-text);
  display: block;
}

/* Hero Slider */
.hero-slider {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.slider-container {
  position: relative;
  width: 100%;
  padding-bottom: 66.67%;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: var(--space-24);
}

.slide-caption h3 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-8);
}

.slider-controls {
  position: absolute;
  bottom: var(--space-24);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-12);
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: white;
  width: 32px;
  border-radius: 6px;
}

/* Features Grid */
.features-section {
  margin-top: var(--space-80);
  padding: var(--space-64) var(--space-32);
  background-color: var(--color-white);
  border-radius: 12px;
}

.features-section h2 {
  text-align: center;
  margin-bottom: var(--space-48);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-32);
}

.feature-card {
  text-align: center;
  padding: var(--space-24);
  background-color: var(--color-light-bg);
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: var(--space-16);
  display: block;
  color: #20b2aa;
}

.feature-card h3 {
  font-size: var(--font-size-xl);
  color: var(--color-navy);
  margin-bottom: var(--space-12);
}

/* ================================================
   MARKETS SECTION
   ================================================ */

.section-markets {
  background-color: var(--color-light-bg);
}

.markets-header {
  margin-bottom: var(--space-48);
}

.markets-header h2 {
  margin-bottom: var(--space-16);
}

.filters {
  display: flex;
  gap: var(--space-12);
  margin-bottom: var(--space-40);
  flex-wrap: wrap;
}

.filter-btn {
  padding: var(--space-12) var(--space-24);
  border: 2px solid var(--color-gray);
  background-color: var(--color-white);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: var(--font-size-base);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--color-teal);
  color: white;
  border-color: var(--color-teal);
}

.markets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-16);
}

.market-card {
  background-color: var(--color-white);
  border-radius: 12px;
  padding: var(--space-20);
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.market-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.market-symbol {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-8);
}

.market-name {
  font-size: var(--font-size-sm);
  color: var(--color-text);
  margin-bottom: var(--space-12);
  min-height: 40px;
}

.market-price {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  color: var(--color-teal);
  margin-bottom: var(--space-12);
}

.market-change {
  font-size: var(--font-size-base);
  font-weight: 600;
  padding: var(--space-8) var(--space-12);
  border-radius: 6px;
}

.market-change.gain {
  background-color: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.market-change.loss {
  background-color: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

/* ================================================
   ABOUT SECTION
   ================================================ */

.about-header {
  margin-bottom: var(--space-48);
}

.about-header h2 {
  margin-bottom: var(--space-16);
}

.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-48);
  align-items: start;
}

.about-text {
  font-size: var(--font-size-base);
  line-height: 1.8;
  color: var(--color-text);
}

.about-text p {
  margin-bottom: var(--space-20);
  text-align: justify;
}

.about-list {
  list-style: none;
  padding: 0;
  margin-top: var(--space-24);
}

.about-list li {
  padding: var(--space-12) 0;
  padding-left: var(--space-32);
  position: relative;
  color: var(--color-text);
}

.about-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-teal);
  font-weight: bold;
  font-size: 18px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-24);
}

.stat-card {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  padding: var(--space-32);
  border-radius: 12px;
  text-align: center;
  border-left: 4px solid var(--color-teal);
}

.stat-value {
  font-size: 40px;
  font-weight: 700;
  color: var(--color-teal);
  margin-bottom: var(--space-8);
}

.stat-title {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: var(--space-8);
}

.stat-card p {
  font-size: var(--font-size-sm);
  color: var(--color-text);
  margin: 0;
}

/* ================================================
   SERVICES SECTION
   ================================================ */

.section-services {
  background-color: var(--color-white);
}

.section-services h2 {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section-services .section-subtitle {
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-32);
}

.service-card {
  background-color: var(--color-light-bg);
  padding: var(--space-32);
  border-radius: 12px;
  border-top: 4px solid var(--color-teal);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
  font-size: var(--font-size-xl);
  color: var(--color-navy);
  margin-bottom: var(--space-12);
}

.service-card p {
  color: var(--color-text);
  margin: 0;
}

/* ================================================
   CONTACT SECTION
   ================================================ */

.section-contact {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.contact-header {
  margin-bottom: var(--space-48);
}

.contact-header h2 {
  margin-bottom: var(--space-16);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-48);
}

.contact-form {
  background-color: var(--color-white);
  padding: var(--space-40);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: var(--space-24);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-8);
  font-weight: 500;
  color: var(--color-navy);
  font-size: var(--font-size-sm);
}

.required {
  color: var(--color-error);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-12) var(--space-16);
  border: 1px solid var(--color-gray);
  border-radius: 8px;
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(32, 178, 170, 0.1);
}

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

.error-msg {
  display: none;
  color: var(--color-error);
  font-size: var(--font-size-sm);
  margin-top: var(--space-4);
}

.error-msg.show {
  display: block;
}

.success-msg {
  display: none;
  background-color: rgba(16, 185, 129, 0.1);
  color: #10b981;
  padding: var(--space-16);
  border-radius: 8px;
  margin-top: var(--space-16);
  text-align: center;
}

.success-msg.show {
  display: block;
}

.error-msg-form {
  display: none;
  background-color: rgba(239, 68, 68, 0.1);
  color: var(--color-error);
  padding: var(--space-16);
  border-radius: 8px;
  margin-top: var(--space-16);
  text-align: center;
}

.error-msg-form.show {
  display: block;
}

.btn-full {
  width: 100%;
}

/* Contact Info */
.contact-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-24);
}

.info-card {
  background-color: var(--color-white);
  padding: var(--space-24);
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.info-icon {
  font-size: 32px;
  margin-bottom: var(--space-12);
  display: block;
  color: #20b2aa;
}

.info-card h3 {
  font-size: var(--font-size-base);
  color: var(--color-navy);
  margin-bottom: var(--space-12);
  font-weight: 600;
}

.info-card p {
  font-size: 15px;
  color: var(--color-text);
  margin: 0;
  line-height: 1.8;
}

.info-card a {
  color: var(--color-teal);
  text-decoration: none;
  transition: color 0.3s ease;
}

.info-card a:hover {
  color: var(--color-navy);
  text-decoration: underline;
}


/* Image card styling - spans width of two cards */
.contact-info {
  display: grid;
  /*grid-template-columns: 1fr 1fr 1fr; /* Three equal columns */
  gap: 20px;
}

.info-card-image {
  grid-column: span 2; /* Spans two columns (replaces Office Location + Phone) */
  position: relative;
  background: #f8f9fa;
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  min-height: 280px; /* Match other cards height */
}

.contact-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
  padding: 30px 25px 25px;
}

.image-overlay h3 {
  margin: 0 0 10px 0;
  font-size: 22px;
  font-weight: 600;
}

.image-overlay p {
  margin: 0;
  opacity: 0.9;
  line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .contact-info {
    grid-template-columns: 1fr;
  }
  
  .info-card-image {
    grid-column: span 1;
  }
}


/* ================================================
   BUTTONS
   ================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-12) var(--space-24);
  border-radius: 8px;
  font-size: var(--font-size-base);
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--color-teal);
  color: white;
}

.btn-primary:hover {
  background-color: #18a398;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(32, 178, 170, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-navy);
  border: 2px solid var(--color-navy);
}

.btn-outline:hover {
  background-color: var(--color-light-bg);
  transform: translateY(-2px);
}

/* ================================================
   FOOTER
   ================================================ */

/*.footer {
  background-color: var(--color-navy);
  color: white;
  padding: var(--space-24) 0;
  text-align: center;
  font-size: var(--font-size-sm);
}

.footer a {
  color: var(--color-teal);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}*/

.footer {
  background: #1e3a8a;
  color: #ffffff;
  padding: 40px 0 25px;
  margin-top: 60px;
}

.footer-row {
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-row:last-child {
  margin-bottom: 0;
}

/* Row 1: Links + Social */
.footer-links {
  display: flex;
  gap: 30px;
  /*margin-bottom: 10px;*/
  margin-right: 30px;
}

.footer-links a {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: #20b2aa;
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-links a:hover::after {
  width: 100%;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: #ffffff;
  font-size: 16px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  background: #ffffff;
  color: #1e3a8a;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* Row 2: Copyright */
.copyright {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

.copyright a {
  color: #ffffff;
  text-decoration: none;
}

.copyright a:hover {
  text-decoration: underline;
}

/* Row 3: Disclaimer */
.disclaimer {
  /*background: rgba(255, 193, 7, 0.2);
  border: 1px solid rgba(255, 193, 7, 0.4);
  border-radius: 8px;
  padding: 12px 20px;*/
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: #fef3c7;
  /*backdrop-filter: blur(10px);*/
}

.disclaimer::before {
  /*content: '⚠️ ';*/
  font-size: 16px;
  margin-right: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .footer {
    padding: 30px 0 20px;
  }
  
  .footer-links {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 15px;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .footer-row {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-links {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  
  .footer-links a {
    font-size: 13px;
  }
  
  .disclaimer {
    font-size: 12px;
    padding: 10px 15px;
  }
}

/* Prevent logo and brand name from wrapping on tablets */
@media (max-width: 1200px) and (min-width: 769px) {
  .brand-link {
    flex-wrap: nowrap;       /* force single line */
  }

  .brand-name {
    white-space: nowrap;     /* prevent text breaking */
    font-size: 20px;         /* slightly smaller if needed */
  }
}



/* DESKTOP ONLY */
@media (min-width: 1201px) {
  .nav {
    margin-right: 100px;
  }
}

/* TABLETS & FOLDABLES FIX */
@media (max-width: 1200px) and (min-width: 769px) {
  .nav {
    margin-right: 0;
    flex-wrap: nowrap;
    gap: 18px;
  }

  .nav-link {
    padding: 6px 10px;
    font-size: 15px;
    white-space: nowrap;
  }
}


/* ================================================
   RESPONSIVE DESIGN
   ================================================ */

@media (max-width: 1024px) {
  .nav {
    gap: var(--space-15);
  }

  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: var(--space-40);
  }

  .about-wrapper {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-info {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: var(--color-white);
    padding: var(--space-16);
    gap: var(--space-12);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
  }

  .nav.active {
    transform: translateX(0);
  }

  .section {
    padding: var(--space-48) 0;
  }

  .section h2 {
    font-size: var(--font-size-3xl);
  }

  .hero-text h1 {
    font-size: var(--font-size-3xl);
  }

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

  .btn {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

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

  .about-stats {
    grid-template-columns: 1fr;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  .stat-card {
    padding: var(--space-20);
  }

  .contact-form {
    padding: var(--space-24);
  }

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

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

  .header-container {
    padding: var(--space-12);
  }

  .section h2 {
    font-size: x-large;
  }
  
    .section h5 {
    font-size: large;
  }

  .hero-text h1 {
    font-size: var(--font-size-2xl);
  }

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

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

  .hero-slider {
    margin-top: var(--space-32);
  }

  .brand-name {
    font-size: var(--font-size-base);
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .stat-card {
    padding: var(--space-16);
  }

  .info-card {
    padding: var(--space-16);
  }

  .stat-value {
    font-size: 28px;
  }
}


/* ==============================
   MOBILE DROPDOWN FIX
================================ */
@media (max-width: 768px) {

  .dropdown-menu,
  .dropdown-menu-nested {
    display: none;
    position: static;
    background: none;
    box-shadow: none;
    padding-left: 15px;
  }

  .dropdown-menu.active,
  .dropdown-menu-nested.active {
    display: block;
  }

  .nav-dropdown > a,
  .subscription-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
	cursor: pointer;
  }
}


/* ==============================
   ARROW BEHAVIOR (DESKTOP vs MOBILE)
================================ */

/* Default: Desktop */
.arrow-mobile {
  display: none;
}

.arrow-desktop {
  display: inline-block;
}



/* ==============================
   ARROW CONTROL (STRICT & SAFE)
================================ */

/* Hide all arrows by default */
.subscription-toggle .arrow-desktop,
.subscription-toggle .arrow-mobile {
  display: none;
}

/* Desktop / Laptop */
@media (min-width: 769px) {
  .subscription-toggle .arrow-desktop {
    display: inline-block;
  }
}

/* Mobile / Small devices */
@media (max-width: 768px) {
  .subscription-toggle .arrow-mobile {
    display: inline-block;
  }
}



/* ==============================
   FAQ SECTION
================================ */
.section-faq {
  background: #f9fafc;
}

.faq-header {
  text-align: center;
  margin-bottom: 40px;
}

.faq-accordion {
  max-width: 900px;
  margin: auto;
}

.faq-item {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-answer {
  display: none;
  padding: 0 22px 18px;
  color: #555;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* Mobile Optimization */
@media (max-width: 768px) {
  .faq-question {
    font-size: 15px;
  }
}
