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

:root {
  --bg: #050914;
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-border: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --text-muted: #94a3b8;
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --accent: #00e5a0;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }

.glow-bg {
  position: absolute; width: 600px; height: 600px; border-radius: 50%;
  filter: blur(120px); z-index: -1; opacity: 0.15;
}
.glow-1 { top: -100px; left: -200px; background: var(--primary); }
.glow-2 { top: 40%; right: -200px; background: var(--accent); }

.gradient-text {
  background: linear-gradient(to right, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 8px; font-weight: 600; text-decoration: none; cursor: pointer; border: none; transition: 0.3s; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3); }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); }
.btn-block { width: 100%; }

.navbar { position: fixed; top: 0; left: 0; right: 0; padding: 10px 0; z-index: 100; background: rgba(5, 9, 20, 0.8); backdrop-filter: blur(15px); border-bottom: 1px solid var(--card-border); }
.nav-container { display: flex; justify-content: space-between; align-items: center; min-height: 70px; }
.logo { text-decoration: none; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-weight: 500; transition: 0.3s; }
.nav-links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 20px; }
.hamburger { display: none; font-size: 1.5rem; color: var(--text); cursor: pointer; }

/* =========================================
   HERO RAIL SECTION (FIXED)
   ========================================= */
.hero-rail {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 140px;
  padding-bottom: 50px;
  position: relative;
}

.rail-heading h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.1; font-weight: 800; letter-spacing: -1px; margin-bottom: 10px; }
.rail-heading p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 50px; }

.rail-container { position: relative; width: 100%; margin-top: 20px; padding: 20px 0; }

.rail-line { position: absolute; top: 40px; left: 0; width: 100%; height: 2px; background: rgba(255, 255, 255, 0.2); box-shadow: 0 0 10px rgba(255, 255, 255, 0.1); z-index: 1; }

.rail-cards-wrapper {
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: flex-start;
  z-index: 2;
  position: relative;
  width: 100%;
  flex-wrap: nowrap; /* Sab cards ek line mein rahenge */
}

/* Card Design */
.rail-card {
  width: 80px; 
  height: 400px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  cursor: pointer;
  position: relative;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  backdrop-filter: blur(10px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.hanger { position: absolute; top: -25px; width: 100%; text-align: center; color: var(--text-muted); font-size: 1.2rem; }

.card-content { width: 100%; height: 100%; padding: 40px 15px 20px; display: flex; flex-direction: column; align-items: center; transition: all 0.5s; }
.card-icon { font-size: 2rem; color: var(--text-muted); margin-bottom: auto; transition: all 0.5s; }
.card-title { font-size: 1.1rem; writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; transition: all 0.5s; color: var(--text-muted); margin-bottom: 20px; }
.card-details { opacity: 0; max-height: 0; overflow: hidden; transition: all 0.5s; text-align: left; width: 100%; margin-top: 20px; }
.card-details p { color: var(--text); font-size: 0.95rem; line-height: 1.5; }

/* Jab Mouse Le Jayein */
.rail-card:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(59, 130, 246, 0.4); transform: translateY(-5px); }

/* Jab Card Open Ho */
.rail-card.active {
  width: 350px;
  background: rgba(59, 130, 246, 0.08);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(59, 130, 246, 0.2);
  height: auto;
  min-height: 380px;
}
.rail-card.active .card-content { padding: 40px 30px 30px; align-items: flex-start; }
.rail-card.active .card-icon { color: var(--primary); font-size: 3rem; margin-bottom: 20px; }
.rail-card.active .card-title { writing-mode: horizontal-tb; transform: rotate(0deg); font-size: 1.8rem; color: var(--text); font-weight: 700; margin-bottom: 12px; }
.rail-card.active .card-details { opacity: 1; max-height: 200px; }

/* =========================================
   OTHER SECTIONS
   ========================================= */
section { padding: 80px 0; }
.section-head { text-align: center; margin-bottom: 50px; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; margin-bottom: 16px; }

.about-content { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; }
.about-text { padding: 40px; border-radius: 24px; }
.about-text p { color: var(--text-muted); margin-bottom: 20px; }
.about-list { list-style: none; }
.about-list li { margin-bottom: 12px; display: flex; gap: 10px; }
.about-list i { color: var(--accent); }
.about-stats { display: grid; gap: 20px; }
.stat { padding: 30px; border-radius: 20px; text-align: center; }
.stat h3 { font-size: 2.5rem; color: var(--primary); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-email { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-size: 1.2rem; background: var(--card-bg); padding: 16px 24px; border-radius: 12px; border: 1px solid var(--card-border); }
.glass-form { padding: 40px; border-radius: 24px; }
.input-group { margin-bottom: 20px; }
.input-group input, .input-group textarea { width: 100%; padding: 16px; background: rgba(0, 0, 0, 0.2); border: 1px solid var(--card-border); border-radius: 12px; color: var(--text); }
.input-group input:focus, .input-group textarea:focus { outline: none; border-color: var(--primary); }

.glass-panel { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); backdrop-filter: blur(15px); }
.footer { border-top: 1px solid var(--card-border); padding: 40px 0; text-align: center; color: var(--text-muted); }

/* =========================================
   MOBILE RESPONSIVE (FIXED)
   ========================================= */
@media (max-width: 992px) {
  .about-content, .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); flex-direction: column; padding: 20px; gap: 20px; border-bottom: 1px solid var(--card-border); display: none; }
  .nav-links.active { display: flex; }
  .nav-right .btn { display: none; }
  .hamburger { display: block; }
  
  /* Mobile Par Cards Ek Ke Neeche Ek */
  .rail-line { display: none; }
  .rail-cards-wrapper { flex-direction: column; align-items: center; gap: 20px; }
  .rail-card { width: 100%; max-width: 350px; height: auto; min-height: 80px; padding: 20px; flex-direction: row; justify-content: center; }
  .hanger { display: none; }
  .card-content { padding: 0; align-items: center; }
  .card-title { writing-mode: horizontal-tb; transform: none; font-size: 1.2rem; margin: 0; }
  .card-details { display: none; }
  .rail-card.active { width: 100%; max-width: 350px; height: auto; padding: 30px; }
  .rail-card.active .card-content { align-items: flex-start; }
  .rail-card.active .card-details { display: block; margin-top: 15px; }
}
/* =========================================
   APPROACH CARDS SECTION (Screenshot Style)
   ========================================= */
.approach-section {
  padding: 80px 0;
  background: var(--bg); /* Dark background */
  position: relative;
  z-index: 10;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 Cards ek line mein */
  gap: 20px;
}

.approach-card {
  background: #0b0f19; /* Thoda dark grey background */
  border: 1px solid #1a2235;
  padding: 40px 30px;
  border-radius: 4px; /* Screenshot jaisa halka sa square look */
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.approach-card:hover {
  border-color: var(--primary); /* Hover par blue border */
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.approach-icon {
  font-size: 2.5rem;
  color: var(--text); /* Default color white (Screenshot ke pehle card jaisa) */
  margin-bottom: 60px; /* Icon aur text ke darmiyan space */
  transition: color 0.3s;
}

/* Screenshot mein pehle card ka icon white tha aur baqi ke blue, 
   lekin hover par sab ka blue ho jayega */
.approach-card:hover .approach-icon {
  color: var(--primary);
}

.approach-card h3 {
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.approach-card p {
  color: #94a3b8; /* Light grey text */
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Mobile aur Tablet ke liye adjust karna */
@media (max-width: 1024px) {
  .approach-grid {
    grid-template-columns: repeat(2, 1fr); /* Tablet par 2 cards ek line mein */
  }
}

@media (max-width: 768px) {
  .approach-grid {
    grid-template-columns: 1fr; /* Mobile par 1 card ek line mein */
  }
  .approach-icon {
    margin-bottom: 30px; /* Mobile par space kam kar diya */
  }
}
/* =========================================
   ABOUT US PAGE DESIGN
   ========================================= */
.about-hero {
  padding-top: 180px;
  padding-bottom: 60px;
}

.about-hero-content {
  margin-bottom: 40px;
}

.about-icon {
  font-size: 4rem;
  color: var(--text);
  margin-bottom: 20px;
}

.about-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 10px;
}

.about-hero-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  font-weight: 600;
}

.about-main-text {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 1000px;
}

/* FAQ Grid */
.about-faq-section {
  padding-bottom: 80px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 50px;
  align-items: start;
}

/* Accordion Design */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background: transparent;
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 15px;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 15px 20px;
  transition: all 0.3s ease;
}

/* Active (Open) State */
.faq-item.active .faq-question {
  background: #ffffff;
  color: #000000;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.2rem;
}

/* Inactive State */
.faq-item:not(.active) .faq-question {
  color: var(--text);
  font-weight: 600;
  font-size: 1.2rem;
}

.faq-item:not(.active) .faq-question:hover {
  color: var(--primary);
}

.faq-question i {
  color: var(--primary);
  font-size: 1.2rem;
}

.faq-item.active .faq-question i {
  color: #000000;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  padding: 0 20px;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 20px;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Right Side Contact Box */
.about-contact-box {
  padding: 40px;
  border-radius: 16px;
  border: 1px solid var(--primary); /* Blue border like screenshot */
}

.about-contact-box h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--text);
}

.about-contact-box p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

@media (max-width: 992px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================================
   RUNNING DATA TICKER (MODERN & CENTERED)
   ========================================= */
.data-ticker-section {
  background: #080c16; /* Slightly different dark bg */
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  padding: 25px 0;
  overflow: hidden;
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
}

.ticker-wrapper {
  width: 100%;
  display: flex;
  overflow: hidden;
  /* Gradient fade effect on edges */
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  gap: 30px; /* Gap between blocks */
  animation: scrollTicker 45s linear infinite;
  padding-left: 30px;
}

/* Pause on hover */
.ticker-track:hover {
  animation-play-state: paused;
}

/* Modern Block Design for each item */
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 12px 24px;
  border-radius: 50px; /* Pill shape */
  color: var(--text-muted);
  font-size: 0.95rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.ticker-item:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.ticker-item i {
  font-size: 1.4rem;
}

.ticker-item strong {
  color: var(--text);
  font-weight: 600;
}

/* Link Design inside block */
.ticker-item a {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.8rem;
  margin-left: 8px;
  background: rgba(0, 229, 160, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
  transition: all 0.3s ease;
  font-weight: 600;
}

.ticker-item a:hover {
  background: var(--accent);
  color: #000;
}

@keyframes scrollTicker {
  0% {
    transform: translateX(0);
  }
  100% {
    /* Shift by half the width to create a seamless loop */
    transform: translateX(-50%); 
  }
}
/* Fix for E-Commerce Multi-channel Section */
.dark-section {
  background-color: #050914 !important; /* Aapki site ka dark background */
  color: #ffffff !important;
}

.dark-section h2, 
.dark-section h3 {
  color: #ffffff !important;
}

.dark-section p {
  color: #94a3b8 !important; /* Light grey text */
}

/* Images ko thodi si styling dene ke liye */
.dark-section img {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}
/* =========================================
   FINAL MOBILE FIX (100% Guaranteed)
   ========================================= */
@media (max-width: 768px) {
  
  /* 1. Horizontal Scroll Ko Khatam Karein */
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    position: relative !important;
  }

  .glow-bg { display: none !important; }

  /* 2. Containers */
  .container, section, .navbar {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
  }

  /* 3. FOOTER KA ASAL FIX (Force Single Column) */
  .footer {
    padding: 40px 0 20px 0 !important;
    width: 100% !important;
    overflow: hidden !important;
  }

  .footer-grid {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 30px !important;
    text-align: center !important;
  }

  .footer-grid > div {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
  }

  /* Footer Links ke list items */
  .footer ul {
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
  }

  .footer ul li {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    display: flex !important;
    flex-direction: column !important; /* Icon aur text alag line mein */
    align-items: center !important;
    margin-bottom: 15px !important;
  }

  .footer ul li i {
    margin-bottom: 5px !important;
    margin-right: 0 !important;
  }

  .footer ul li span, 
  .footer ul li a {
    white-space: normal !important;
    word-break: break-word !important;
    text-align: center !important;
    max-width: 100% !important;
    font-size: 0.95rem !important;
  }

  /* Social Icons Center */
  .footer .socials {
    justify-content: center !important;
    width: 100% !important;
    margin-top: 10px !important;
  }

  /* 4. Navbar aur Logo */
  .nav-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px 0 !important;
  }

  .navbar .logo img {
    max-width: 130px !important;
    height: auto !important;
  }

  .hamburger {
    display: block !important;
    font-size: 1.8rem !important;
    color: white !important;
    margin-right: 0 !important;
  }

  .nav-links {
    display: none;
    flex-direction: column !important;
    position: absolute !important;
    top: 100% !important; left: 0 !important; right: 0 !important;
    background: var(--bg-2) !important;
    padding: 20px !important;
    z-index: 1000 !important;
  }

  .nav-links.active { display: flex !important; }

  /* 5. Home Page Cards */
  .rail-heading h1 { font-size: 1.8rem !important; text-align: center !important; }
  .rail-cards-wrapper { flex-direction: column !important; align-items: center !important; }
  .rail-card { 
    width: 100% !important; 
    max-width: 300px !important; 
    margin: 0 auto !important; 
    flex-direction: row !important; 
    justify-content: center !important; 
  }

  /* 6. Other Pages Layouts */
  .shopify-layout, .web-layout, .support-layout, .about-layout, .marketing-layout, .content-grid, .contact-grid, .channel-row { 
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 20px !important;
  }

  .right-sidebar, .sidebar {
    width: 100% !important;
    position: relative !important;
    top: 0 !important;
  }

  .pro-services-grid, .bento-grid, .models-grid, .features-grid, .services-grid, .contact-cards-grid {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
  }

  img { max-width: 100% !important; height: auto !important; }
}
