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

:root {
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;

  --rose-600: #e11d48;
  --rose-500: #f43f5e;
  --rose-hover: #be123c;

  --blue-600: #2563eb;
  --blue-500: #3b82f6;

  --nav-text: #cbd5e1;
  --nav-hover: #ffffff;

  --white: #ffffff;
  --gray-text: #94a3b8;

  --radius-3xl: 1.5rem;
  --radius-2xl: 1rem;
  --radius-full: 9999px;

  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 15px rgba(225, 29, 72, 0.6);
  --shadow-glow-hover: 0 0 25px rgba(225, 29, 72, 0.9);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--slate-900);
  color: var(--slate-800);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

/* Base Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.8rem 0;
  background: linear-gradient(rgb(15 23 42 / 76%), rgb(15 23 42 / 74%)),
    url("../assets/banner-glove.png") no-repeat center center;
  background-size: cover;
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--rose-600);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-stack {
  display: flex;
  align-items: center;
}

.logo-main img {
  display: block;
  max-height: 55px;
  width: auto;
  transition: transform 0.3s ease;
  filter: brightness(0) invert(1);
}

.logo-stack:hover .logo-main img {
  transform: scale(1.05);
}

/* Navigation Links */
.nav-links {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.nav-item {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.nav-item:hover,
.nav-item.active {
  color: var(--rose-500);
}

/* Header CTA Button */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--rose-600);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(225, 29, 72, 0.3);
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none;
}

.cta-button:hover {
  background-color: var(--rose-500);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.5);
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-glow-hover);
  background-color: var(--rose-600);
  border-color: var(--rose-600);
}

/* Hero Section - Split Screen Layout */
.hero {
  position: relative;
  height: min-content;
  min-height: 550px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--slate-900);
  padding-top: 80px;
  /* Space for fixed header */
}

.hero-visual-side {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 1;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: -15%;
  width: 115%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

/* Overlay gradient adapted for the split screen */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.2) 100%);
  z-index: 2;
}

/* Exact gradient separator (Red -> Purple -> Blue) */
.separator-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--rose-600) 0%, #a855f7 50%, var(--blue-500) 100%);
  z-index: 10;
}

.hero-content-wrapper {
  position: relative;
  z-index: 5;
  width: 100%;
}

.hero-content {
  width: 50%;
  text-align: left;
}

.badge {
  display: inline-block;
  background-color: var(--rose-600);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

.hero-heading {
  font-size: 3.8rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* Slider Indicators relocated under the text */
.slider-dots {
  position: relative;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: 2rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}

.dot.active {
  width: 30px;
  background-color: var(--rose-600);
}

/* Main Content Area */
.app-content {
  background-color: var(--slate-900);
  padding: 4rem 0;
}

/* Pages */
.page {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.page.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Huge White Card (Removed to adhere to Dark UI) */

.section-head {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 0.5rem;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--gray-text);
}

.dark-section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.dark-accent-text {
  font-size: 1.25rem;
  color: var(--white);
  font-weight: 600;
}

/* Homepage intro: keep subtitle → description tight (matches admin editor; ~6px gap) */
.home-section-head .home-intro-subtitle {
  margin-bottom: 0.375rem;
}

.home-section-head .home-intro-description {
  margin-top: 0;
  color: rgb(203, 213, 225);
}

.home-section-head .home-intro-description p,
.home-section-head .home-intro-description li {
  color: rgb(203, 213, 225);
}

/* Drop Quill edge placeholders that only contain a line break */
.home-section-head .cms-editor-content > p:first-child:has(> br:only-child),
.home-section-head .cms-editor-content > p:last-child:has(> br:only-child) {
  display: none;
}

/* CMS editor output normalization */
.cms-editor-content {
  line-height: 1.7;
}

.cms-editor-content p {
  margin: 0 0 0.8rem;
}

.cms-editor-content p:last-child {
  margin-bottom: 0;
}

.cms-editor-content ul,
.cms-editor-content ol {
  display: inline-block;
  text-align: left;
  margin: 0 auto 0.9rem;
  padding-left: 1.2rem;
  list-style-position: outside;
  max-width: 100%;
}

.cms-editor-content li {
  margin: 0.2rem 0;
}

.cms-editor-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0.75rem auto;
  border-radius: 12px;
}

.cms-editor-content-light,
.cms-editor-content-light p,
.cms-editor-content-light li {
  color: var(--white);
}

.cms-editor-content-muted,
.cms-editor-content-muted p,
.cms-editor-content-muted li {
  color: var(--gray-text);
  font-weight: 500;
}

/* Service Grid adapted for 2-column First Time Clients only */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--slate-100);
  position: relative;
  padding: 2.5rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
  border-color: var(--slate-300);
}

.service-card.featured {
  background: var(--white);
  border: 2px solid var(--rose-600);
  position: relative;
  transform: scale(1.02);
  box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.3), 0 0 20px rgba(225, 29, 72, 0.1);
}

.service-card.featured:hover {
  transform: scale(1.02) translateY(-8px);
  box-shadow: 0 30px 50px -5px rgba(0, 0, 0, 0.4), 0 0 30px rgba(225, 29, 72, 0.2);
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--rose-600);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.35rem 1.25rem;
  border-radius: var(--radius-full);
}

.card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 0.75rem;
}

.card-price {
  font-size: 3rem;
  font-weight: 900;
  color: var(--slate-900);
  margin-bottom: 1.5rem;
}

.card-price span {
  font-size: 1.5rem;
  color: var(--gray-text);
  font-weight: 700;
}

.card-desc {
  font-size: 0.95rem;
  color: var(--slate-800);
  font-weight: 600;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  flex-grow: 1;
}

/* Button System Exact Matching */
.btn {
  display: inline-block;
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-solid {
  background-color: var(--rose-600);
  color: var(--white);
}

.btn-solid:hover {
  background-color: var(--rose-hover);
  transform: scale(1.02);
}

.btn-solid-pulse {
  background-color: var(--rose-600);
  color: var(--white);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(225, 29, 72, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(225, 29, 72, 0);
  }
}

.btn-solid-pulse:hover {
  background-color: var(--rose-hover);
  transform: scale(1.02);
}

.btn-gradient {
  background: linear-gradient(to right, var(--blue-500), var(--rose-500));
  color: var(--white);
}

.btn-gradient:hover {
  transform: scale(1.02);
  opacity: 0.9;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--slate-900);
  color: var(--slate-900);
  font-weight: 800;
}

.btn-outline:hover {
  background-color: var(--slate-900);
  color: var(--white);
}

/* =========================================
   Unique Layout: About Page & Policy Page
   ========================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: stretch;
  background: var(--white);
  border-radius: var(--radius-3xl);
  padding: 3em;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.3);
}

.about-visual {
  height: 100%;
  display: flex;
}

.about-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-2xl);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  min-height: 500px;
}

.about-text {
  color: var(--slate-700);
  font-size: 1.125rem;
  line-height: 1.8;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-text p {
  margin-bottom: 1.5rem;
}

.about-title {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--slate-900);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.about-accent {
  font-size: 1.25rem;
  color: var(--rose-600);
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.4;
}

.about-newspaper-card {
  background: var(--white);
  border-radius: var(--radius-3xl);
  padding: 3em;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.3);
}

.about-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--slate-200);
  color: var(--slate-900);
}

.policy-container {
  padding: 2rem 0;
}

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

.policy-content {
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-2xl);
  padding: 4rem;
  margin-top: 3rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
}

.lead-policy {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 3rem;
  text-align: center;
  font-weight: 500;
}

.policy-block {
  margin-bottom: 2.5rem;
}

.policy-block h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.policy-block h3::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--rose-500);
}

.policy-block p {
  color: var(--nav-text);
  line-height: 1.7;
  padding-left: 1.5rem;
}

.clean-policy-text p {
  color: var(--slate-800);
  line-height: 1.8;
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.clean-policy-text strong {
  color: var(--rose-600);
  font-weight: 700;
}

/* =========================================
   Mobile Menu & Hamburger Styling
   ========================================= */

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--white);
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

/* Hamburger to X transition */
body.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

body.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

body.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 2rem;
  transform: translateY(-100%);
  transition: transform 0.6s cubic-bezier(0.85, 0, 0.15, 1);
  visibility: hidden;
}

body.menu-open .mobile-menu {
  transform: translateY(0);
  visibility: visible;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.mobile-nav-item {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--slate-800);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

body.menu-open .mobile-nav-item {
  animation: slideInUp 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

body.menu-open .mobile-nav-item:nth-child(1) {
  animation-delay: 0.2s;
}

body.menu-open .mobile-nav-item:nth-child(2) {
  animation-delay: 0.3s;
}

body.menu-open .mobile-nav-item:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
  color: var(--rose-600);
  transform: scale(1.1);
}

.mobile-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--rose-600);
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 700;
  padding: 1.25rem 2.5rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(225, 29, 72, 0.3);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0;
  transform: translateY(20px);
}

body.menu-open .mobile-cta-button {
  animation: slideInUp 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  animation-delay: 0.5s;
}

.mobile-cta-button:hover {
  background-color: var(--rose-500);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(225, 29, 72, 0.5);
}

body.menu-open {
  overflow: hidden;
}

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

  .about-hero-img {
    min-height: 300px;
  }

  .dark-section-title {
    font-size: 2.5rem;
  }

  .nav-links,
  .cta-button {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .guarantee-block {
    padding: 0 1.5rem;
  }

  .about-title {
    font-size: 2.5rem;
  }

  .policy-content {
    padding: 2.5rem 1.5rem;
    margin: 20px;
  }
}

/* Diamond Icons Styling */
.diamond-icon {
  width: 14px;
  height: 14px;
  fill: #ffffff;
  /* White Diamond */
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.7));
  vertical-align: middle;
  margin: 0 4px;
  animation: diamondPulse 3s infinite ease-in-out;
}

@keyframes diamondPulse {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.8; }
  50% { transform: scale(1.15) rotate(5deg); opacity: 1; filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.9)); }
}

.header-diamonds {
  display: flex;
  gap: 2px;
  align-items: center;
}

/* Footer */
.footer {
  text-align: center;
  padding: 3rem 0;
  color: var(--gray-text);
  font-size: 0.875rem;
  background-color: var(--slate-900);
}

.footer a {
  color: var(--nav-text);
  margin-left: 1rem;
}

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

/* Responsive constraints */
@media (max-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-heading {
    font-size: 3.5rem;
  }

  .nav-links {
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .hero-heading {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .hero-heading {
    font-size: 2.2rem;
  }

  .badge {
    padding: 0.25rem 0.75rem;
    font-size: 0.7rem;
  }

  .service-card {
    padding: 2rem 1.25rem;
  }

  .card-price {
    font-size: 2.5rem;
  }

  .about-newspaper-card {
    padding: 2rem 1.5rem;
  }

  .newspaper-text-columns {
    column-count: 1 !important;
    gap: 1rem !important;
  }
}
