/* ==========================================================================
   CSS VARIABLES & GLOBAL DESIGN TOKENS
   ========================================================================== */
:root {
  /* Color Palette */
  --primary-color: #0F172A;
  --accent-color: #D4AF37;
  --accent-hover: #b89528;
  --secondary-color: #2563EB;
  --bg-color: #F8FAFC;
  --text-primary: #111827;
  --text-muted: #4B5563;
  --card-bg: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.8);
  --shadow-subtle: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
  --shadow-hover: 0 20px 40px -15px rgba(212, 175, 55, 0.2);

  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout & Animation */
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* ==========================================================================
   AMBIENT BACKGROUND BLOBS (GLASSMORPHISM EFFECT)
   ========================================================================== */
.bg-blur-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  animation: floatAnimation 18s infinite alternate ease-in-out;
}

.blob-1 {
  width: 450px;
  height: 450px;
  background: rgba(37, 99, 235, 0.18);
  top: -100px;
  left: -100px;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: rgba(212, 175, 55, 0.15);
  top: 40%;
  right: -150px;
  animation-delay: -5s;
}

.blob-3 {
  width: 400px;
  height: 400px;
  background: rgba(15, 23, 42, 0.12);
  bottom: -100px;
  left: 20%;
  animation-delay: -10s;
}

@keyframes floatAnimation {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.08); }
  100% { transform: translate(-40px, 80px) scale(0.95); }
}

/* ==========================================================================
   REUSABLE UI COMPONENTS
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  box-shadow: var(--shadow-hover);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.sub-heading {
  font-family: var(--font-heading);
  color: var(--accent-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--primary-color);
  font-weight: 700;
}

.title-underline {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
  margin: 16px auto 0;
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-color), #B8860B);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(212, 175, 55, 0.45);
}

.btn-secondary {
  background: var(--primary-color);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  background: #1E293B;
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.35);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background: var(--accent-color);
  color: #FFFFFF;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 24px 0;
  transition: var(--transition-smooth);
}

.navbar-header.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-mark {
  background: var(--primary-color);
  color: var(--accent-color);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  letter-spacing: 1px;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: var(--transition-smooth);
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-color);
  transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-btn-cta {
  background: var(--primary-color);
  color: #FFFFFF !important;
  padding: 10px 22px;
  border-radius: 50px;
}

.nav-btn-cta::after {
  display: none;
}

.nav-btn-cta:hover {
  background: var(--accent-color);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  padding: 160px 24px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.12);
  color: var(--primary-color);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.badge-icon {
  color: var(--accent-color);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.8rem;
  line-height: 1.1;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: -1px;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--accent-color);
  font-weight: 600;
  margin: 16px 0 20px;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-card {
  padding: 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  transform: perspective(1000px) rotateY(-5deg);
  transition: var(--transition-smooth);
}

.hero-card:hover {
  transform: perspective(1000px) rotateY(0deg) translateY(-8px);
}

.hero-logo-box {
  width: 100%;
  max-width: 220px;
  padding: 20px;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.rst-logo-svg {
  width: 100%;
  height: auto;
  display: block;
}

.hero-card-details h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.hero-card-details p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 4px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-card {
  padding: 50px;
}

.about-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.8;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.pillar-item {
  text-align: center;
}

.pillar-icon {
  font-size: 2.2rem;
  color: var(--accent-color);
  margin-bottom: 12px;
}

.pillar-item h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 6px;
}

.pillar-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ==========================================================================
   WHY CHOOSE US SECTION
   ========================================================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  padding: 40px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
  opacity: 0;
  transition: var(--transition-smooth);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.icon-wrapper {
  width: 70px;
  height: 70px;
  background: rgba(212, 175, 55, 0.1);
  color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 24px;
  transition: var(--transition-smooth);
}

.feature-card:hover .icon-wrapper {
  background: var(--accent-color);
  color: #FFFFFF;
  transform: scale(1.1);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   COMPANY INFORMATION SECTION
   ========================================================================== */
.company-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.info-card {
  padding: 32px 24px;
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-color);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.info-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--primary-color);
  margin-bottom: 6px;
  word-break: break-word;
}

.info-card .gstin-text {
  font-family: monospace;
  letter-spacing: 1px;
  color: var(--secondary-color);
}

.info-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.contact-card {
  padding: 40px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.contact-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 16px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
  width: 100%;
}

.contact-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.contact-link:hover {
  color: var(--secondary-color);
}

.address-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.card-btn {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--primary-color);
  color: #FFFFFF;
  padding-top: 80px;
  margin-top: 60px;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 60px;
}

.footer-logo .brand-name {
  color: #FFFFFF;
}

.footer-desc {
  color: var(--accent-color);
  margin: 16px 0 8px;
  font-weight: 600;
}

.managed-by {
  color: #94A3B8;
  font-size: 0.9rem;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #FFFFFF;
  position: relative;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #94A3B8;
  text-decoration: none;
  transition: var(--transition-smooth);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.footer-gst, .footer-loc {
  color: #94A3B8;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  background: #090D16;
}

.bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #64748B;
}

/* Back To Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-color);
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  z-index: 99;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-color);
  transform: translateY(-4px);
}

/* ==========================================================================
   ANIMATIONS (INTERSECTION OBSERVER)
   ========================================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title { font-size: 3rem; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .company-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: calc(100vh - 70px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 40px 24px;
    align-items: flex-start;
    transition: var(--transition-smooth);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    right: 0;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid, .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .bottom-flex {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .section-title { font-size: 2rem; }
  .company-grid { grid-template-columns: 1fr; }
  .about-card { padding: 30px 20px; }
}