/* ==========================================================================
   WHITE CRYSTAL LANKA (PVT) LTD - 1368x768 FULL-SCREEN SNAP SCROLL STYLESHEET
   ========================================================================== */

:root {
  --font-sans: 'Inter', -apple-system, BlinkMaxSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Color Tokens */
  --text-white: #ffffff;
  --text-subtle: #f1f5f9;
  --text-muted: #cbd5e1;
  
  /* Brand Orange & Luminous Light Green Highlights */
  --logo-orange: #f15a24;
  --logo-orange-glow: rgba(241, 90, 36, 0.45);
  --highlight-green: #4cd137;
  --highlight-green-glow: rgba(76, 209, 55, 0.45);
  
  --header-height: 105px;
}

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

html {
  font-size: 16px;
  background-color: #040604;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  height: 100%;
  overflow-y: scroll;
  
  /* Unified background across all sections */
  background-image: 
    linear-gradient(180deg, rgba(4, 6, 4, 0.15) 0%, rgba(4, 6, 4, 0.32) 100%),
    url('home-page-new.jpg');
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

body {
  font-family: var(--font-sans);
  color: var(--text-white);
  line-height: 1.5;
  height: 100%;
  width: 100%;
  background: transparent;
}

/* ==========================================================================
   HEADER LAYOUT: FIXED AT TOP (HEIGHT: ~105PX)
   ========================================================================== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(4, 6, 4, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 1000;
  padding: 0.65rem 0 0.45rem;
  display: flex;
  align-items: center;
}

.header-inner {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.header-top-row {
  display: grid;
  grid-template-columns: 140px 1fr 140px;
  align-items: center;
  width: 100%;
}

.header-logo-box {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.header-logo-img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.8));
}

.header-company-title {
  color: var(--logo-orange);
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  font-weight: 900;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  line-height: 1;
  text-align: center;
  justify-self: center;
  text-shadow: 0 2px 16px rgba(241, 90, 36, 0.35);
}

.header-spacer {
  width: 140px;
}

.header-nav-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

.nav-link {
  color: var(--highlight-green);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  padding: 0.2rem 0.65rem;
  border-radius: 6px;
  transition: all 0.25s ease;
  text-shadow: 0 0 10px var(--highlight-green-glow);
}

.nav-link:hover,
.nav-link:focus {
  color: #ffffff;
  background-color: rgba(76, 209, 55, 0.15);
  box-shadow: 0 0 15px var(--highlight-green-glow);
}

/* ==========================================================================
   CANVAS SNAP SCROLL SECTIONS
   ========================================================================== */
.canvas-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: transparent;
}

.canvas-section {
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  padding-top: var(--header-height);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: transparent !important;
}

/* Common Section Heading Styles */
.section-heading {
  font-size: clamp(1.8rem, 3.2vw, 2.3rem);
  font-weight: 800;
  color: var(--logo-orange);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 20px var(--logo-orange-glow);
}

.heading-orange {
  color: var(--logo-orange) !important;
  text-shadow: 0 0 20px var(--logo-orange-glow) !important;
}

.highlight-green {
  color: var(--highlight-green);
  text-shadow: 0 0 18px var(--highlight-green-glow);
}

.highlight-orange {
  color: var(--logo-orange);
  text-shadow: 0 0 18px var(--logo-orange-glow);
}

/* ==========================================================================
   SECTION 1: HERO / ABOUT US
   ========================================================================== */
.hero-flow {
  padding-left: 2rem;
  padding-right: 2rem;
}

.hero-content {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}

.hero-title {
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
  font-weight: 900;
  line-height: 1.18;
  color: var(--highlight-green);
  letter-spacing: -0.02em;
  text-align: center;
  text-shadow: 0 0 25px var(--highlight-green-glow);
}

.hero-paragraph {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--highlight-green);
  letter-spacing: -0.01em;
  text-align: justify;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.98), 0 0 16px var(--highlight-green-glow);
}

.hero-paragraph .highlight-orange {
  color: var(--logo-orange);
  font-weight: 800;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.98), 0 0 18px var(--logo-orange-glow);
}

/* ==========================================================================
   SECTION 2: SERVICES PROVIDED
   ========================================================================== */
.services-flow {
  padding-left: 2rem;
  padding-right: 2rem;
}

.services-container {
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.section-intro {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.section-body-text {
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  color: var(--highlight-green);
  font-weight: 500;
  line-height: 1.5;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.98), 0 0 14px var(--highlight-green-glow);
}

.services-subheading {
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  font-weight: 700;
  color: var(--logo-orange);
  margin-top: 0.35rem;
  letter-spacing: 0.02em;
  text-shadow: 0 0 14px var(--logo-orange-glow);
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.service-row {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.service-row:hover {
  border-bottom-color: var(--highlight-green);
  transform: translateX(6px);
}

.service-bullet {
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  font-weight: 800;
  color: var(--highlight-green);
  line-height: 1.2;
  font-feature-settings: "tnum";
  letter-spacing: -0.02em;
  text-shadow: 0 0 14px var(--highlight-green-glow);
  flex-shrink: 0;
}

.service-body {
  display: flex;
  flex-direction: column;
}

.service-title {
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  font-weight: 700;
  color: var(--highlight-green);
  line-height: 1.2;
  text-shadow: 0 0 14px var(--highlight-green-glow);
}

/* ==========================================================================
   SECTION 3: LOCATION SECTION (STRICT BUTTON & SVG ICON CONSTRAINTS)
   ========================================================================== */
.location-flow {
  padding-left: 2rem;
  padding-right: 2rem;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  max-width: 1020px;
  width: 100%;
  margin: 0 auto;
}

.location-content-left {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.location-statement {
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  color: var(--highlight-green);
  font-weight: 600;
  line-height: 1.5;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.98), 0 0 16px var(--highlight-green-glow);
}

.location-actions {
  margin-top: 0.25rem;
}

/* Map Pin Button Rules: Strict max height & solid white text/icon */
a.map-btn, .map-btn, a.map-btn:link, a.map-btn:visited {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.6rem !important;
  background-color: var(--logo-orange) !important;
  color: #ffffff !important;
  padding: 0.65rem 1.25rem !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 0.92rem !important;
  text-decoration: none !important;
  width: auto !important;
  max-width: 280px !important;
  height: 42px !important;
  max-height: 42px !important;
  border: none !important;
  box-shadow: 0 4px 18px var(--logo-orange-glow) !important;
  transition: all 0.25s ease !important;
}

a.map-btn:hover, .map-btn:hover {
  background-color: #ff6b35 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 22px var(--logo-orange-glow) !important;
}

.map-btn span {
  color: #ffffff !important;
  text-decoration: none !important;
}

svg.map-icon, .map-icon {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  fill: #ffffff !important;
  color: #ffffff !important;
}

.location-map-box {
  width: 100%;
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(241, 90, 36, 0.4);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.7), 0 0 18px rgba(241, 90, 36, 0.25);
  background: rgba(4, 6, 4, 0.7);
}

.location-iframe {
  width: 100% !important;
  height: 280px !important;
  border: none !important;
  display: block !important;
}

/* ==========================================================================
   SECTION 4: CONTACT DETAILS
   ========================================================================== */
.contact-flow {
  padding-left: 2rem;
  padding-right: 2rem;
}

.contact-content {
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2.5rem;
  margin-top: 0.5rem;
}

.contact-cell {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-cell-full {
  grid-column: span 2;
}

.cell-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--logo-orange);
  font-weight: 800;
  text-shadow: 0 0 12px var(--logo-orange-glow);
}

.cell-value {
  font-size: 1.05rem;
  color: var(--highlight-green);
  font-weight: 600;
  line-height: 1.45;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.98), 0 0 14px var(--highlight-green-glow);
}

.cell-value a {
  color: var(--highlight-green);
  text-decoration: none;
  border-bottom: 1px dotted rgba(76, 209, 55, 0.6);
  transition: all 0.25s ease;
}

.cell-value a:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
  text-shadow: 0 0 16px #ffffff;
}

.slash {
  color: var(--text-muted);
  margin: 0 0.25rem;
}

.footer-copyright {
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   RESPONSIVE FALLBACK
   ========================================================================== */
@media (max-width: 850px), (max-height: 580px) {
  html {
    scroll-snap-type: none;
    height: auto;
  }
  
  body {
    height: auto;
    overflow-y: auto;
  }
  
  .canvas-section {
    height: auto;
    min-height: 100vh;
    padding-top: 7rem;
    padding-bottom: 3rem;
  }

  .main-header {
    height: auto;
    padding: 0.75rem 0;
  }

  .header-top-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    text-align: center;
  }

  .header-logo-box {
    justify-content: center;
  }

  .header-company-title {
    font-size: 1.15rem;
    letter-spacing: 0.02em;
  }

  .header-logo-img {
    height: 40px;
  }

  .header-spacer {
    display: none;
  }

  .header-nav-row {
    gap: 0.85rem;
    flex-wrap: wrap;
  }

  .nav-link {
    font-size: 0.82rem;
    padding: 0.2rem 0.4rem;
  }

  .location-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .contact-cell-full {
    grid-column: span 1;
  }
}
