/* ============================================================
   SWASTIK POLY PRINTS PVT. LTD.
   Premium Corporate One-Page Website
   Colors: Navy #051e50 | Royal #0d4ea6 | Blue #1a5fa8 | Sky #2eaadc | Light #e8f0fa
   Fonts: Montserrat (headings) + Open Sans (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Open+Sans:wght@300;400;500;600&display=swap');

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

:root {
  --navy: #051e50;
  --royal: #0d4ea6;
  --blue: #1a5fa8;
  --sky: #2eaadc;
  --lightblue: #5bc0eb;
  --pale: #e8f0fa;
  --white: #ffffff;
  --text: #1a2540;
  --muted: #546380;
  --border: #d0ddf0;
  --grad: linear-gradient(135deg, #051e50 0%, #0d4ea6 60%, #1a5fa8 100%);
  --grad-h: linear-gradient(135deg, #0d4ea6 0%, #2eaadc 100%);
  --shadow: 0 8px 32px rgba(5, 30, 80, 0.12);
  --shadow-lg: 0 16px 48px rgba(5, 30, 80, 0.18);
  --radius: 12px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.btn-primary {
  background: var(--grad-h);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(46, 170, 220, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(46, 170, 220, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

/* ---- SECTION COMMON ---- */
.section-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 12px;
}

.section-eyebrow.centered,
.section-title.centered,
.section-subtitle {
  text-align: center;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 56px;
  line-height: 1.7;
}

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 20px 0;
}

#navbar.scrolled {
  background: rgba(5, 30, 80, 0.97);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
  padding: 12px 0;
  backdrop-filter: blur(10px);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-main {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 1.5px;
  line-height: 1;
}

.brand-sub {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 1px;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.83rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 14px;
  border-radius: 6px;
  transition: all var(--transition);
  letter-spacing: 0.3px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.nav-link.contact-btn {
  background: var(--grad-h);
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(46, 170, 220, 0.3);
}

.nav-link.contact-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(46, 170, 220, 0.45);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  background: var(--grad);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

/* Background geometric shapes */
.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

.shape-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -150px;
}

.shape-2 {
  width: 400px;
  height: 400px;
  bottom: -100px;
  left: -100px;
  background: rgba(46, 170, 220, 0.08);
}

.shape-3 {
  width: 200px;
  height: 200px;
  top: 30%;
  left: 40%;
  background: rgba(255, 255, 255, 0.03);
}

.hero-fabric-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 0;
}

.hero-fabric-wave svg {
  width: 100%;
  height: 80px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 580px;
  padding: 0 5%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 28px;
  backdrop-filter: blur(6px);
}

.hero-badge i {
  color: var(--sky);
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero-highlight {
  background: linear-gradient(90deg, #5bc0eb, #2eaadc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero illustration */
.hero-illustration {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 42%;
  max-width: 520px;
  opacity: 0.95;
  z-index: 2;
}

.textile-svg {
  width: 100%;
  height: auto;
}

/* ============================================================
   STATS
   ============================================================ */
.stats-section {
  background: var(--white);
  padding: 0;
  position: relative;
  z-index: 3;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--navy);
  border-radius: 0 0 20px 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.stat-item {
  padding: 40px 24px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  transition: background var(--transition);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.stat-item::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--grad-h);
  transition: width 0.4s ease;
}

.stat-item:hover::before {
  width: 60%;
}

.stat-icon {
  font-size: 1.6rem;
  color: var(--sky);
  margin-bottom: 12px;
  opacity: 0.85;
}

.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.static-val {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 900;
  color: var(--white);
}

.stat-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 600;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-section {
  padding: 100px 0;
  background: var(--pale);
}

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

.about-illustration svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 32px rgba(5, 30, 80, 0.15));
}

.about-content .section-eyebrow {
  margin-bottom: 10px;
}

.about-text {
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 18px;
}

.about-details {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.detail-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.55;
}

.detail-row i {
  color: var(--royal);
  font-size: 1rem;
  margin-top: 2px;
  min-width: 18px;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-section {
  padding: 100px 0;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  padding: 36px 28px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background: var(--white);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-h);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ============================================================
   PROCESS
   ============================================================ */
.process-section {
  padding: 100px 0;
  background: var(--grad);
  position: relative;
  overflow: hidden;
}

.process-section .section-eyebrow {
  color: var(--lightblue);
}

.process-section .section-title {
  color: var(--white);
}

.process-section .section-subtitle {
  color: rgba(255, 255, 255, 0.65);
}

.process-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.ps-circle {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
}

.ps-circle:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-4px);
}

.ps-circle svg {
  width: 100%;
  height: 100%;
}

.ps-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  letter-spacing: 0.3px;
  line-height: 1.4;
  text-transform: uppercase;
}

.process-arrow {
  color: rgba(255, 255, 255, 0.35);
  font-size: 1.1rem;
  padding: 0 4px;
  margin-bottom: 34px;
}

/* ============================================================
   WHY US
   ============================================================ */
.whyus-section {
  padding: 100px 0;
  background: var(--pale);
}

.whyus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 16px;
}

.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(5, 30, 80, 0.07);
  transition: all var(--transition);
  border-bottom: 3px solid transparent;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--sky);
}

.why-icon {
  width: 60px;
  height: 60px;
  background: var(--pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.4rem;
  color: var(--royal);
  transition: all var(--transition);
}

.why-card:hover .why-icon {
  background: var(--grad-h);
  color: var(--white);
}

.why-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section {
  padding: 100px 0;
  background: var(--white);
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}

.contact-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 24px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  transition: all var(--transition);
}

.contact-card:hover {
  border-color: var(--sky);
  box-shadow: 0 4px 20px rgba(46, 170, 220, 0.12);
  transform: translateX(4px);
}

.cc-icon {
  width: 44px;
  height: 44px;
  background: var(--pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--royal);
  flex-shrink: 0;
}

.contact-card h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

.contact-card a {
  color: var(--royal);
  transition: color var(--transition);
}

.contact-card a:hover {
  color: var(--sky);
}



/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  margin-bottom: 14px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
  font-style: italic;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.7;
}

.footer-links h5,
.footer-contact h5 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--sky);
}

.footer-contact p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.5;
}

.footer-contact i {
  color: var(--sky);
  font-size: 0.85rem;
  margin-top: 2px;
  min-width: 14px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: var(--sky);
  text-decoration: underline;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
#backToTop {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  background: var(--grad-h);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(46, 170, 220, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  z-index: 999;
}

#backToTop.visible {
  opacity: 1;
  pointer-events: auto;
}

#backToTop:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(46, 170, 220, 0.5);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-illustration {
    width: 38%;
  }

  .hero-content {
    max-width: 520px;
  }

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

  .stat-item:nth-child(2) {
    border-right: none;
  }
}

@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

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

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .hero-illustration {
    display: none;
  }

  .hero-content {
    max-width: 100%;
    padding: 0 5%;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 14px 24px;
  }

  .nav-toggle {
    display: flex;
    z-index: 1000;
    position: relative;
  }

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

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

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

  .process-flow {
    gap: 6px;
  }

  .process-arrow {
    display: none;
  }

  .ps-circle {
    width: 64px;
    height: 64px;
    padding: 14px;
  }

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

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

  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ---- Scroll animations ---- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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