/* Global Styles & Variables */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&family=Poppins:wght@300;400;500;600&display=swap');

:root {
  /* LIGHT THEME (Default) */
  --crezo-orange: #f28f19;
  --bg-primary: #FFFFFF;
  --bg-secondary: #F9F9F9;
  --text-primary: #212121;
  --text-secondary: #666666;
  --icon-primary: #A27448;
  --icon-secondary: #FF9F6D;
  --accent-green: #3DD598;
  --charcoal-black: #f7e3db;
  /* User requested replacement for black */
  /* Defined for headers */
  /* Marketing Icon */

  /* User Requested Aliases */
  --primary-color: var(--crezo-orange);
  --secondary-color: var(--icon-primary);
  --accent-color: var(--icon-secondary);
  --bg-color: var(--bg-primary);
  --text-color: var(--text-primary);

  --glass-bg: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(0, 0, 0, 0.05);

  --btn-text: #000;
  --btn-hover: #fff;

  --shadow-color: rgba(243, 154, 30, 0.4);

  /* Shared Variables (Fonts & Layout) */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --container-width: 1240px;
  --header-height: 120px;
}

/* DARK THEME OVERRIDES */
body.dark-mode {
  --bg-primary: #050505;
  --bg-secondary: #000000;
  --text-primary: #ECECEC;
  --text-secondary: #C8C8C8;
  --icon-primary: #f28f19;
  --icon-secondary: #FF9F6D;

  --glass-bg: rgba(0, 0, 0, 0.7);
  --glass-border: rgba(255, 255, 255, 0.1);

  --btn-text: #000;
  --btn-hover: #fff;

  /* Ensure transparent backgrounds rely on new vars */
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  animation: fadeInPage 1s ease-out forwards;
}

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

  to {
    opacity: 1;
    transform: none;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Utilities */
.text-orange {
  color: var(--crezo-orange) !important;
}

.light-section-text .text-orange {
  color: var(--crezo-orange) !important;
}

.text-gradient {
  background: linear-gradient(135deg, var(--white) 0%, var(--crezo-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* Standard property */
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  border: none;
}

.btn-primary {
  background: var(--crezo-orange);
  color: var(--btn-text);
  box-shadow: 0 4px 15px var(--shadow-color);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Button Shine Effect */
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
  z-index: -1;
}

.btn-primary:hover::after {
  left: 100%;
}

.btn-primary:hover {
  background: var(--btn-hover);
  color: var(--btn-text);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(243, 154, 30, 0.6);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--text-secondary);
}

.btn-outline:hover {
  border-color: var(--crezo-orange);
  color: var(--crezo-orange);
}

/* Header / Nav */
header {
  min-height: var(--header-height);
  /* Use min-height to accommodate larger logo */
  padding: 15px 0;
  /* Add vertical breathing room */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(15px);
  background: var(--glass-bg);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

.logo img {
  width: auto;
}

.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
  /* Fix vertical alignment */
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  position: relative;
  /* Ensure ::after is positioned relative to the link */
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--crezo-orange);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

/* Fix specific button color inside nav */
.nav-links .btn-primary,
.nav-links .btn-primary:hover {
  color: #000 !important;
}

.hamburger {
  display: none;
  cursor: pointer;
  color: var(--crezo-orange);
}

/* Mobile Nav */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--bg-primary);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.4s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .hamburger {
    display: block;
    font-size: 2.2rem;
    color: #f28f19 !important;
    /* Hardcoded Brand Orange */
    background: transparent;
    border: none;
    font-weight: 900;
    opacity: 1;
    z-index: 1001;
    /* Ensure on top */
  }

  /* Mobile Hero Fixes */
  #hero {
    padding-top: 140px;
    /* Compensate for fixed header */
    align-items: flex-start;
    /* Prevent vertical centering overlapping header */
  }

  #hero .container {
    padding-top: 20px;
  }

  .hero-title {
    font-size: 2.5rem !important;
    /* Smaller font for mobile */
  }
}

/* Sections */
section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.section-subtitle {
  text-align: center;
  color: var(--silver-grey);
  max-width: 600px;
  margin: 0 auto 60px;
  font-size: 1.1rem;
}

/* Light Section Overrides (for sections that were previously black) */
.light-section-text {
  color: var(--text-primary) !important;
}

.light-section-text h1,
.light-section-text h2,
.light-section-text h3,
.light-section-text h4,
.light-section-text h5,
.light-section-text h6 {
  color: var(--text-primary) !important;
}

.light-section-text p,
.light-section-text li,
.light-section-text span {
  color: var(--text-secondary) !important;
}

/* Override for timeline in About page */
.light-section-text .timeline-content {
  background: #fff;
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
}

.light-section-text .timeline::after {
  background: rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
  background: var(--bg-secondary);
  padding: 80px 0 30px;
  border-top: 1px solid var(--glass-border);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 50px;
  margin-bottom: 60px;
}

.footer-col h4 {
  margin-bottom: 25px;
  color: var(--crezo-orange);
  font-size: 1.1rem;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-col ul li a:hover {
  color: var(--text-primary);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #555;
  font-size: 0.85rem;
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Stagger Animations */
.delay-100 {
  transition-delay: 0.1s;
}

.delay-200 {
  transition-delay: 0.2s;
}

.delay-300 {
  transition-delay: 0.3s;
}

.delay-400 {
  transition-delay: 0.4s;
}

/* Slide Up Text Utility */
.slide-up-text {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.slide-up-text span {
  display: block;
  transform: translateY(100%);
  transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.slide-up-text.visible span {
  transform: translateY(0);
}

/* Feature Numbers */
.feature-number {
  font-family: var(--font-heading);
  font-weight: 800;
  /* Extra bold font weight as requested */
  letter-spacing: -2px;
}

/* --- NEW COMPONENTS --- */

/* FAQ Accordion */
.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: 10px;
}

.accordion-header {
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  text-align: left;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-header::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--crezo-orange);
  transition: transform 0.3s;
}

.accordion-header.active::after {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--text-secondary);
}

.accordion-content p {
  padding-bottom: 20px;
}

/* Team Circles */
.team-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.team-member {
  text-align: center;
  width: 250px;
}

.team-img-wrapper {
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.3s;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  /* Ensure relative positioning for overlay */
}

/* Social Overlay Styles */
.social-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  /* Dark overlay */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 50%;
  /* Match parent shape */
  backdrop-filter: blur(2px);
}

.team-img-wrapper:hover .social-overlay {
  opacity: 1;
}

.overlay-icon {
  width: 24px;
  height: 24px;
  stroke: #fff;
  /* Default white icons */
  transition: stroke 0.3s ease, transform 0.2s ease;
  cursor: pointer;
}

.overlay-icon:hover {
  stroke: var(--crezo-orange);
  /* Brand color on hover */
  transform: scale(1.2);
}

.team-member:hover .team-img-wrapper {
  border-color: var(--crezo-orange);
}

.team-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.team-member:hover .team-img-wrapper img {
  transform: scale(1.1);
}

/* Testimonial Cards */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--bg-secondary);
  padding: 40px;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.stars {
  color: var(--crezo-orange);
  margin-bottom: 15px;
}

/* Contact Form */
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--glass-border);
  border: 1px solid var(--glass-border);
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 0;
  /* Square inputs */
  color: var(--text-primary);
  font-family: var(--font-body);
}

.contact-form textarea {
  border-radius: 0;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--crezo-orange);
}

/* Geometric Accents & Backgrounds */
.bg-gradient-main {
  background: radial-gradient(circle at 10% 20%, #2b2b2b 0%, #1a1a1a 90%);
  position: relative;
  overflow: hidden;
}

.bg-checkered {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

.geo-shape {
  position: absolute;
  z-index: 0;
  opacity: 0.6;
}


.bg-pattern-dots {
  background-color: var(--bg-primary);
  background-image: radial-gradient(rgba(0, 0, 0, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
  /* Optional: Add a subtle vignette or fade if desired, but simple clean dots are often best */
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

/* Dark mode adjustment for the pattern */
body.dark-mode .bg-pattern-dots {
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
}

.orange-orb {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--crezo-orange) 0%, rgba(243, 154, 30, 0) 70%);
  border-radius: 50%;
  filter: blur(60px);
  mix-blend-mode: screen;
  animation: float 10s ease-in-out infinite;
}

.orb-1 {
  top: -200px;
  left: -100px;
}

.orb-2 {
  bottom: -100px;
  right: -200px;
  animation-delay: -5s;
}

@keyframes float {
  0% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(30px, -30px);
  }

  100% {
    transform: translate(0, 0);
  }
}

/* --- Scrolling Marquee --- */
.marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 40px 0;
  background: var(--bg-primary);
  /* Ensure background is solid for mask to look right */
  /* Add fade masks for premium feel */
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
  display: flex;
  flex-direction: row;
  /* Explicitly set row */
  flex-wrap: nowrap;
  /* Prevent wrapping */
  width: max-content;
  animation: scroll 30s linear infinite;
  align-items: center;
}

/* Pause animation on hover for better UX */
.marquee-container:hover .marquee-content {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Ensure logos are greyscale and blend well */
.marquee-logo {
  height: 40px;
  /* Sleek, smaller look */
  width: auto;
  filter: grayscale(100%) opacity(0.6);
  transition: all 0.3s ease;
  margin: 0 40px;
  /* Reduced margin slightly to fit more logos */
  display: block;
  flex-shrink: 0;
  /* Prevent logos from shrinking */
}

.marquee-logo:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.1);
  cursor: pointer;
}






/* Glass Cards */
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  /* Keep subtle in both modes or variable */
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 40px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-5px);
  border-color: rgba(243, 154, 30, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transition: 0.5s;
}

.glass-card:hover::before {
  left: 100%;
}

/* Hero Typography */
.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 25px;
}

/* Hero Styles */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-color: #000;
}

/* Restored DOM-based Background */
.hero-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ensures it covers the area */
  position: absolute;
  top: 0;
  left: 0;
  animation: cinematicMove 30s ease-in-out infinite alternate;
  transform-origin: center center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
  z-index: 1;
  /* Above image, below content */
}

#hero .container {
  position: relative;
  z-index: 10;
}

#hero h1,
#hero p {
  color: #fff !important;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 25px;
}



#hero h1,
#hero p {
  color: #fff !important;
  /* Force white text on dark background */
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 25px;
}

@keyframes cinematicMove {
  0% {
    transform: scale(1.0);
  }

  100% {
    transform: scale(1.15);
  }
}

/* Force specific animation for Hero Text to ensure visibility without JS */
#hero .slide-up-text span {
  animation: slideUpReveal 1.2s cubic-bezier(0.19, 1, 0.22, 1) forwards;
  transform: translateY(100%);
  /* Start hidden */
}

#hero h1,
#hero p {
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
  position: relative;
  z-index: 2;
  color: #ffffff;
  /* Ensure text sits above overlay */
}

/* Stagger delay for hero lines */
#hero .slide-up-text:nth-child(1) span {
  animation-delay: 0.1s;
}

#hero .slide-up-text:nth-child(3) span {
  animation-delay: 0.3s;
}

#hero .slide-up-text:nth-child(5) span {
  animation-delay: 0.5s;
}

@keyframes slideUpReveal {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}



/* Custom Grid for Services */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 300px);
  gap: 20px;
}

.bento-item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.bento-large {
  grid-column: span 2;
}

/* Job Cards */
.job-card {
  background: var(--bg-secondary);
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

.job-card:hover {
  border-color: var(--crezo-orange);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transform: translateY(-3px);
}

.job-card h3 {
  margin-bottom: 5px;
  font-size: 1.5rem;
}

.job-card p {
  color: var(--crezo-orange);
  font-weight: 500;
}

/* Footer Pre-Section */
.cta-section {
  background: linear-gradient(135deg, var(--crezo-orange), #ffb347);
  padding: 100px 0;
  text-align: center;
  color: #fff;
}

/* End of file */

/* --- Services Card Grid (Modern) --- */
.services-wrapper {
  padding: 100px 0;
}

.services-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1240px;
  margin: 0 auto;
}

.service-card {
  background: var(--bg-primary);
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  position: relative;
  overflow: hidden;
  height: 100%;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(242, 143, 25, 0.15);
  border-color: rgba(242, 143, 25, 0.2);
}

.service-card .card-icon {
  width: 60px;
  height: 60px;
  background: rgba(242, 143, 25, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  font-size: 1.8rem;
  color: var(--crezo-orange);
  transition: all 0.3s ease;
}

.service-card:hover .card-icon {
  background: var(--crezo-orange);
  color: #fff;
  transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Service List */
.service-list {
  list-style: none;
  padding: 0;
  margin-top: auto;
  width: 100%;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.service-list li:last-child {
  margin-bottom: 0;
}

.check-icon {
  color: var(--crezo-orange);
  font-size: 0.8rem;
  font-weight: bold;
}

/* CTA Card */
.service-card.cta-card {
  background: var(--crezo-orange);
  border: none;
  color: #fff;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.service-card.cta-card h3 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.service-card.cta-card p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.service-card.cta-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(242, 143, 25, 0.4);
}

/* Btn White */
.btn-white {
  background: #fff;
  color: var(--crezo-orange);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.btn-white:hover {
  background: #fff;
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: var(--crezo-orange);
}

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

@media (max-width: 768px) {
  .services-card-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 30px 25px;
  }
}

/* --- Abstract Geometric Hero Animation --- */
.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  /* Switched to orange/dark tint for visibility on white background */
  background: rgba(242, 143, 25, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(242, 143, 25, 0.2);
  box-shadow: 0 8px 32px rgba(242, 143, 25, 0.1);
  opacity: 1;
  /* Reset opacity to let background color show */
  will-change: transform;
}

/* Specific Shapes */
.circle-large {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  top: calc(10% + var(--move-y, 0px));
  left: calc(10% + var(--move-x, 0px));
  background: radial-gradient(circle, rgba(242, 143, 25, 0.15), rgba(242, 143, 25, 0.05));
  animation: float-anim 12s ease-in-out infinite, rotate-anim 20s linear infinite;
  transition: top 0.1s linear, left 0.1s linear;
}

.circle-small {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  bottom: calc(20% - var(--move-y, 0px));
  right: calc(15% - var(--move-x, 0px));
  background: rgba(242, 143, 25, 0.1);
  animation: float-anim 8s ease-in-out infinite reverse;
  transition: bottom 0.1s linear, right 0.1s linear;
}

.triangle {
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 100px solid rgba(242, 143, 25, 0.15);
  background: none;
  backdrop-filter: none;
  border: none;
  /* Override default */
  box-shadow: none;
  top: calc(20% + var(--move-y, 0px));
  right: calc(25% - var(--move-x, 0px));
  animation: float-anim 15s ease-in-out infinite 2s;
  transition: top 0.1s linear, right 0.1s linear;
}

/* Re-style triangle properly with clip-path for glass effect */
.shape.triangle {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, rgba(242, 143, 25, 0.2), rgba(242, 143, 25, 0.05));
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  border: none;
  border-radius: 0;
}

.square {
  width: 80px;
  height: 80px;
  top: calc(60% + var(--move-y, 0px));
  left: calc(20% + var(--move-x, 0px));
  background: rgba(33, 33, 33, 0.05);
  /* Slight dark contrast */
  border: 1px solid rgba(33, 33, 33, 0.1);
  border-radius: 10px;
  transform: rotate(45deg);
  animation: float-anim 10s ease-in-out infinite 1s, rotate-anim 15s linear infinite;
  transition: top 0.1s linear, left 0.1s linear;
}

.cross {
  font-family: var(--font-heading);
  font-weight: 200;
  font-size: 5rem;
  color: rgba(242, 143, 25, 0.2);
  /* Brand orange transparency */
  background: none;
  border: none;
  backdrop-filter: none;
  box-shadow: none;
  top: calc(15% + var(--move-y, 0px));
  left: calc(50% + var(--move-x, 0px));
  animation: pulse-opacity 4s ease-in-out infinite;
  transition: top 0.1s linear, left 0.1s linear;
}

.cross-small {
  font-family: var(--font-heading);
  font-weight: 200;
  font-size: 2rem;
  color: var(--crezo-orange);
  background: none;
  border: none;
  backdrop-filter: none;
  box-shadow: none;
  bottom: calc(30% - var(--move-y, 0px));
  left: calc(5% + var(--move-x, 0px));
  opacity: 0.5;
  animation: float-anim 9s ease-in-out infinite;
  transition: bottom 0.1s linear, left 0.1s linear;
}

/* Animations */
@keyframes float-anim {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  50% {
    transform: translate(20px, -30px) rotate(5deg);
  }

  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

@keyframes rotate-anim {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse-opacity {

  0%,
  100% {
    opacity: 0.1;
  }

  50% {
    opacity: 0.3;
  }
}

/* Mobile: Reduce clutter */
@media (max-width: 768px) {
  .circle-large {
    width: 150px;
    height: 150px;
    left: -20px;
  }

  .square,
  .triangle {
    display: none;
  }
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #20bc5a;
  transform: scale(1.1);
  box-shadow: 2px 2px 10px #666;
}

.whatsapp-icon {
  margin-top: 2px;
}

/* --- SMM Results Analysis Section --- */
.smm-results-section {
  padding: 100px 0;
  background-color: var(--bg-secondary);
}

.results-layout {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.result-row {
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.result-row.reverse-mobile {
  flex-direction: row-reverse;
}

.result-image {
  flex: 1;
  min-width: 300px;
}

.result-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.result-image img:hover {
  transform: scale(1.02);
}

.result-content {
  flex: 1;
  min-width: 300px;
}

.result-content h2 {
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 25px;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 800;
}

.result-content p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 0;
}

/* Lightbox CSS */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.show {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 1200px;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.lightbox.show .lightbox-content {
  transform: scale(1);
}

.close-lightbox {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
  z-index: 2001;
}

.close-lightbox:hover,
.close-lightbox:focus {
  color: var(--crezo-orange);
  text-decoration: none;
  cursor: pointer;
}

/* SMM Responsive */
@media (max-width: 768px) {

  .result-row,
  .result-row.reverse-mobile {
    flex-direction: column !important;
    gap: 30px !important;
  }

  .result-content h2 {
    font-size: 2.2rem !important;
  }

  .lightbox-content {
    width: 95%;
  }

  .close-lightbox {
    top: 15px;
    right: 20px;
    font-size: 30px;
  }
}