/* Base Styles */
:root {
  --deep-amber: #FFB347;
  --aqua-mint: #7FFFD4;
  --charcoal-slate: #36454F;
  --ivory-mist: #FAF9F6;
  --coral-rose: #FF6F61;
  --gradient-primary: linear-gradient(135deg, var(--deep-amber), var(--aqua-mint));
  --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
  --border-radius: 8px;
  --angled-section: -4deg;
}

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

html, body {
  overflow-x: hidden; /* Prevents horizontal scrolling */
  width: 100%;
  position: relative;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--charcoal-slate);
  overflow-x: hidden;
}

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

a {
  color: var(--deep-amber);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--aqua-mint);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--charcoal-slate);
}

h1 {
  font-size: 2.75rem;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1.5rem;
}

section {
  padding: 5rem 0;
  position: relative;
  scroll-margin-top: 40px; /* Fixed offset for anchor links */
}

#services {
  scroll-margin-top: -140px; /* Same positioning as other anchors for consistency */
}

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

/* Header Styles */
.site-header {
  background-color: #fff;
  box-shadow: var(--box-shadow);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo a {
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  height: 100%;
}

/* Main Navigation - Complete Rewrite */
.main-nav {
  height: 70px;
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}

.nav-item {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  height: 100%;
  color: var(--charcoal-slate);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--deep-amber);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 25%;
  left: 20px;
  right: 20px;
  height: 2px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-cta {
  background: var(--gradient-primary);
  color: white !important;
  margin: 15px 0;
  padding: 0 25px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.nav-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.nav-cta::after {
  display: none;
}

.cta-button {
  background: var(--gradient-primary);
  color: white !important;
  padding: 10px 15px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  transition: var(--transition);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
}

/* Section Styles */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  display: inline-block;
  position: relative;
}

.section-title h2::after {
  content: '';
  height: 4px;
  width: 60px;
  background: var(--gradient-primary);
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

/* Hero Section */
.hero-section {
  min-height: 600px;
  background-color: white;
  position: relative;
  overflow: hidden;
  margin-top: 4rem;
  padding: 5rem 0;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-content {
  max-width: 500px;
  z-index: 1;
  padding-top: 40px; /* Added padding to move the heading lower */
}

.hero-content h1,
.hero-content p {
  color: #000000 !important; /* Fixed black color for all hero text */
}

.hero-content p {
  font-weight: 500;
}

.hero-image {
  width: 45%;
  z-index: 0;
}

/* Angled Sections */
.angled-section {
  position: relative;
  transform: skewY(var(--angled-section));
  margin: 6rem 0;
  z-index: 1;
}

.angled-section > .container {
  transform: skewY(calc(var(--angled-section) * -1));
  padding: 8rem 15px;
}

.angled-section.bg-amber {
  background-color: var(--deep-amber);
  color: white;
}

.angled-section.bg-mint {
  background-color: var(--aqua-mint);
  color: var(--charcoal-slate);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 2rem;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

/* Advantages Section */
.advantages-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
}

/* Stats Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-box {
  padding: 1rem;
}

.stat-item {
  padding: 1.5rem;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius);
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.stat-box:hover .stat-item {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.25);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: white;
}

/* Testimonials */
.testimonials-slider {
  display: block; /* Changed to block to show only one testimonial without scrolling */
  overflow-x: hidden;
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin: 1rem;
}

/* Hide all testimonials except the first one */
.testimonial-card:not(:first-child) {
  display: none;
}

/* CTA Banner */
.cta-banner {
  background: var(--gradient-primary);
  padding: 4rem 0;
  text-align: center;
  color: white;
}

/* Order Form */
.order-form-section {
  background-color: white;
  padding: 5rem 0;
}

.compact-form-container {
  max-width: 600px;
  margin: 0 auto;
}

.order-form {
  background: var(--ivory-mist);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 2rem;
}

.form-group:nth-child(odd) {
  background: rgba(255, 179, 71, 0.1);
  padding: 1.5rem;
  border-radius: var(--border-radius);
}

.form-group:nth-child(even) {
  background: rgba(127, 255, 212, 0.1);
  padding: 1.5rem;
  border-radius: var(--border-radius);
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
}

.form-group input[type="checkbox"] {
  width: auto;
  margin-right: 0.5rem;
}

.form-group.checkbox-group {
  display: flex;
  align-items: center;
}

.submit-btn {
  width: 100%;
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Footer */
.site-footer {
  background-color: var(--charcoal-slate);
  color: white;
  padding: 5rem 0 3rem;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.footer-column h3 {
  color: white;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--gradient-primary);
}

.contact-info,
.footer-links {
  list-style: none;
}

.contact-info li,
.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: white;
}

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

.copyright {
  margin-top: 3rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--charcoal-slate);
  color: white;
  padding: 1rem 0;
  z-index: 1001;
  display: none;
}

.cookie-consent .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cookie-consent p {
  margin-bottom: 0;
  margin-right: 2rem;
}

.cookie-consent button {
  background: var(--deep-amber);
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 600;
}

/* Policy Pages */
.policy-container {
  max-width: 800px;
  margin: 8rem auto 5rem;
  background: white;
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.policy-container h1 {
  margin-bottom: 2rem;
}

.policy-container section {
  margin-bottom: 2.5rem;
  padding: 0;
}

/* Thank You Page */
.thank-you-container {
  text-align: center;
  padding: 8rem 2rem;
  background-color: white;
  margin: 8rem auto 5rem;
  max-width: 800px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.thank-you-icon {
  font-size: 4rem;
  color: var(--deep-amber);
  margin-bottom: 2rem;
}

/* About Section */
.about-section {
  background-color: white;
  padding: 5rem 0;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

/* List Styles */
.advantages-list {
  list-style: none;
  padding-left: 1rem;
}

.advantages-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
}

.advantages-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gradient-primary);
}
