/***************************************
  THE CRYSTAL CREATION – GLOBAL STYLES
***************************************/

/* ------------------------------
   ROOT & RESET
-------------------------------- */
:root {
  --primary: #10b981;
  --primary-dark: #059669;
  --accent: #8b5cf6;
  --dark: #0f172a;
  --light: #f8fafc;
  --gray: #64748b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #ffffff;
  color: var(--dark);
  -webkit-font-smoothing: antialiased;
}

/* ------------------------------
   TYPOGRAPHY
-------------------------------- */
h1, h2, h3, h4 {
  letter-spacing: -0.02em;
}

p {
  line-height: 1.7;
}

/* ------------------------------
   LINKS
-------------------------------- */
a {
  transition: all 0.25s ease;
}

a:hover {
  color: var(--primary);
}

/* ------------------------------
   BUTTONS
-------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

/* ------------------------------
   FORMS
-------------------------------- */
.input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  font-size: 15px;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.15);
}

textarea.input {
  resize: vertical;
}

.form-status {
  min-height: 18px;
  font-size: 14px;
}
/* ------------------------------
  About
-------------------------------- */

/* ==============================
   GENERIC INNER PAGE HERO
================================ */

.page-hero {
  position: relative;
  height: 55vh;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 60px;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15,23,42,0.75),
    rgba(15,23,42,0.35),
    rgba(15,23,42,0.15)
  );
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 24px;
}

.page-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.3rem, 4.5vw, 3.2rem);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

.page-hero p {
  margin-top: 14px;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  max-width: 620px;
  line-height: 1.7;
}

/* Page-specific backgrounds */
.services-hero { background-image: url("/assets/images/services-bg.png"); }
.contact-hero  { background-image: url("/assets/images/contact-bg.png"); }
.blog-hero     { background-image: url("/assets/images/blog-bg.png"); }
.portfolio-hero{ background-image: url("/assets/images/blog-bg.png"); }


/* ==============================
   ABOUT PAGE HERO (FIXED)
================================ */

.about-hero {
  position: relative;
  height: 55vh;                /* Reduced height */
  min-height: 420px;
  display: flex;
  align-items: flex-end;       /* Better composition */
  padding-bottom: 60px;

  background-image: url("/assets/images/about-bg.png");
  background-size: cover;      /* Keep full image */
  background-position: center center;
  background-repeat: no-repeat;
}

/* Clean overlay – NO BLUR */
.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.75),
    rgba(15, 23, 42, 0.35),
    rgba(15, 23, 42, 0.15)
  );
}

/* Content container */
.about-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 24px;
}

/* Heading */
.about-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.3rem, 4.5vw, 3.2rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  text-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

/* Subtitle */
.about-hero p {
  margin-top: 14px;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  max-width: 620px;
  line-height: 1.7;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .about-hero {
    height: 50vh;
    min-height: 360px;
    padding-bottom: 40px;
  }
}

/* ------------------------------
   HERO SECTION
-------------------------------- */
.hero-bg {
  background-image: url("/assets/images/hero-bg.png");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(15,23,42,0.85),
    rgba(15,23,42,0.6)
  );
}

.hero-title {
  font-family: "Playfair Display", serif;
}

.hero-subtitle {
  color: var(--gray);
}

/* Scroll indicator */
.scroll-indicator {
  font-size: 14px;
  opacity: 0.7;
}

/* ------------------------------
   PILL TABS
-------------------------------- */
.pill {
  padding: 6px 14px;
  border-radius: 999px;
  background: #e2e8f0;
  font-size: 14px;
  font-weight: 500;
  cursor: default;
}

.pill.active {
  background: var(--primary);
  color: #fff;
}

/* ------------------------------
   SERVICE CARDS
-------------------------------- */
.service-card {
  min-width: 260px;
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.1);
}

/* ------------------------------
   PROCESS STEPS
-------------------------------- */
.process-step {
  background: #fff;
  padding: 20px;
  border-radius: 14px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.process-step:hover {
  transform: translateY(-4px);
}

/* ------------------------------
   BLOG CARDS
-------------------------------- */
.blog-card {
  min-width: 280px;
  background: #fff;
  padding: 22px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}

/* Blog content */
.prose h2 {
  margin-top: 2.2rem;
}

.prose ul {
  margin-top: 1rem;
}

/* ------------------------------
   PORTFOLIO
-------------------------------- */
.portfolio-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.1);
}

/* ------------------------------
   CASE STUDY
-------------------------------- */
.case-meta p {
  font-size: 15px;
  color: var(--gray);
}

/* ------------------------------
   CONTACT PAGE
-------------------------------- */
.contact-info p {
  margin-bottom: 10px;
}

/* WhatsApp button */
.whatsapp-btn {
  background: #22c55e;
  color: #fff;
}

.whatsapp-btn:hover {
  background: #16a34a;
}

/* ------------------------------
   THANK YOU PAGE
-------------------------------- */
.thank-icon {
  font-size: 64px;
}

/* ------------------------------
   ERROR PAGES
-------------------------------- */
.error-code {
  font-size: 96px;
  font-weight: 800;
}

/* ------------------------------
   FOOTER
-------------------------------- */
footer {
  font-size: 14px;
}

footer a {
  color: #cbd5e1;
}

footer a:hover {
  color: #ffffff;
}

footer img {
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.25));
}

.header-brand {
  font-family: "Great Vibes", "Playfair Display", serif;
  letter-spacing: -0.02em;
}

/* ==============================
   HEADER BRAND TEXT
================================ */

/* ==============================
   HEADER BRAND – BOLD & FOCUSED
================================ */

/* ==============================
   HEADER BRAND – ELEGANT EDITION
================================ */

.brand-text {
  font-family: "Great Vibes", "Playfair Display", serif;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  position: relative;

  /* Elegant crystal tone */
  background: linear-gradient(
    90deg,
    #312e81,   /* indigo-900 */
    #4338ca,   /* indigo-700 */
    #64748b    /* slate accent */
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  /* Soft elegance shadow (not glow) */
  text-shadow: 0 4px 14px rgba(30, 41, 59, 0.25);
}

/* Subtle refined underline */
.brand-text::after {
  content: "";
  position: absolute;
  left: 5%;
  bottom: -6px;
  width: 90%;
  height: 2px;
  border-radius: 4px;

  background: linear-gradient(
    90deg,
    rgba(99,102,241,0.6),
    rgba(148,163,184,0.4)
  );
}


/* Subtle underline highlight */
.brand-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 3px;
  border-radius: 6px;

  background: linear-gradient(
    90deg,
    rgba(16,185,129,0.8),
    rgba(52,211,153,0.6)
  );
  opacity: 0;
}
@media (hover: hover) {
  .brand-text:hover {
    text-shadow:
      0 10px 30px rgba(16,185,129,0.5),
      0 4px 12px rgba(16,185,129,0.35);
  }
}




/* ------------------------------
   UTILITIES
-------------------------------- */
.shadow-soft {
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.rounded-xl {
  border-radius: 16px;
}

/* ------------------------------
   RESPONSIVE TWEAKS
-------------------------------- */
@media (max-width: 768px) {

  .hero-title {
    font-size: 2.2rem;
  }

  .service-card,
  .blog-card {
    min-width: 85%;
  }

  .error-code {
    font-size: 72px;
  }
}

