/* ===================================
   Shadin False Ceiling - CSS Styles
   Brand Colors: #eee1ce, #a8ae94
   =================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Open+Sans:wght@300;400;600;700&display=swap');

/* ===================================
   CSS Variables / Design Tokens
   =================================== */
:root {
  /* Brand Colors - Darkened for richer look */
  --color-primary: #eee1ce;
  --color-secondary: #6b7254;
  /* Darker deep olive */
  --color-primary-dark: #d9c9a8;
  --color-secondary-dark: #4e543d;
  /* Even darker olive */
  --color-secondary-light: #8d9472;
  --color-nav: #827f78;
  --color-nav-dark: #6d6a64;


  /* Neutral Colors */
  --color-white: #ffffff;
  --color-black: #1a1a1a;
  --color-gray-light: #f5f5f5;
  --color-gray: #666666;
  --color-gray-dark: #333333;

  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
}

/* ===================================
   Reset & Base Styles
   =================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-gray-dark);
  line-height: 1.7;
  background-color: var(--color-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-normal);
}

ul,
ol {
  list-style: none;
}

/* ===================================
   Typography
   =================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-secondary);
  margin-bottom: var(--spacing-sm);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
  margin-bottom: var(--spacing-sm);
  color: var(--color-gray);
}

.text-primary {
  color: var(--color-primary-dark);
}

.text-secondary {
  color: var(--color-secondary);
}

/* ===================================
   Container & Layout
   =================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-xl) 0;
}

.section-alt {
  background-color: var(--color-primary);
}

/* ===================================
   Header & Navigation
   =================================== */
.header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  /* Constrain width */
  background: rgba(238, 225, 206, 0.95);
  /* Cream background */
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(168, 174, 148, 0.2);
  z-index: 1000;
  border-radius: 50px;
  /* Island/Pill shape */
  padding: 0.5rem 2rem;
  transition: var(--transition-normal);
  animation: headerEntrance 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes headerEntrance {
  from {
    top: -100px;
    opacity: 0;
  }

  to {
    top: 20px;
    opacity: 1;
  }
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm) 0;
  width: 100%;
}

.nav-wrapper {
  display: contents;
  /* Behaves as siblings of .nav children on desktop */
}

/* Ensure menus and logo sit correctly on desktop */
.nav-left {
  order: 1;
}

.logo-container {
  order: 2;
}

.nav-right {
  order: 3;
}

.nav-toggle {
  order: 4;
}

.logo {
  height: 55px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-normal);
  filter: none;
  margin: 0;
  animation: logoPop 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.5s backwards;
}

@keyframes logoPop {
  from {
    transform: scale(0);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.logo:hover {
  transform: scale(1.05);
}

.nav-menu {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-gray-dark);
  /* Dark text on white bg */
  position: relative;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  /* Pill shape for hover */
  z-index: 1;
}

.nav-link:hover {
  color: var(--color-white);
  background: var(--color-secondary);
  /* Sage green hover bg */
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(168, 174, 148, 0.3);
}

/* Green CTA Button for Contact */
.btn-nav {
  background: var(--color-secondary);
  color: white !important;
  padding: 0.8rem 1.8rem;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(168, 174, 148, 0.4);
}

.btn-nav:hover {
  background: var(--color-secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(168, 174, 148, 0.6);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: var(--spacing-xs);
}

.nav-toggle span {
  width: 30px;
  height: 3px;
  background-color: var(--color-secondary);
  border-radius: 2px;
  transition: var(--transition-normal);
}

/* ===================================
   Hero Slider Section
   =================================== */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-slider {
  position: relative;
  height: 100vh;
  width: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  clip-path: circle(0% at 50% 50%);
  transition: clip-path 1.5s ease-in-out, visibility 0s 1.5s;
  visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide.active {
  clip-path: circle(150% at 50% 50%);
  visibility: visible;
  transition: clip-path 1.5s ease-in-out;
  z-index: 10;
}

@keyframes kenBurns {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.15);
  }
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.slide-1 {
  background: linear-gradient(135deg, rgba(130, 127, 120, 0.9) 0%, rgba(168, 174, 148, 0.9) 100%),
    url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none" stroke="%23fff" stroke-width="0.5" opacity="0.1"/></svg>');
  background-size: cover, 50px 50px;
}

.slide-2 {
  background: linear-gradient(135deg, rgba(168, 174, 148, 0.9) 0%, rgba(238, 225, 206, 0.9) 100%),
    url('data:image/svg+xml,<svg width="80" height="80" xmlns="http://www.w3.org/2000/svg"><circle cx="40" cy="40" r="2" fill="%23fff" opacity="0.1"/></svg>');
  background-size: cover, 40px 40px;
}

.slide-3 {
  background: linear-gradient(135deg, rgba(238, 225, 206, 0.9) 0%, rgba(130, 127, 120, 0.9) 100%),
    url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><line x1="0" y1="0" x2="60" y2="60" stroke="%23fff" stroke-width="0.5" opacity="0.1"/></svg>');
  background-size: cover, 30px 30px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none" stroke="%23a8ae94" stroke-width="0.5" opacity="0.1"/></svg>');
  opacity: 0.3;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease;
  max-width: 900px;
  padding: 0 2rem;
}

/* Slider Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.fade-in-up {
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}

/* Staggered delays for slider content */
/* Staggered delays for slider content */
.hero-slide.active .fade-in-up:nth-child(1) {
  animation-delay: 0.2s;
  /* Faster appearance */
}

.hero-slide.active .fade-in-up:nth-child(2) {
  animation-delay: 0.4s;
}

.hero-slide.active .fade-in-up:nth-child(3) {
  animation-delay: 0.6s;
}

.hero h1 {
  font-size: clamp(3rem, 5vw, 4.5rem);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
  margin-bottom: 0.5rem;
  color: var(--color-white);
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: #f0f0f0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  max-width: 800px;
  margin: 0 auto 2rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.btn-slider {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  transition: all 0.3s ease;
  background-color: var(--color-secondary);
  color: white;
  border: 2px solid var(--color-secondary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-slider:hover {
  background-color: transparent;
  border-color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.btn-slider:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.btn-slider:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: var(--color-white);
  margin-bottom: var(--spacing-lg);
  font-weight: 300;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
  line-height: 1.6;
}

/* Slider Controls */
.slider-controls {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 15px;
}

.slider-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid white;
  cursor: pointer;
  transition: var(--transition-normal);
}

.slider-dot.active {
  background: white;
  transform: scale(1.3);
}

.slider-arrow {
  display: none;
  /* Hidden as requested */
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
  left: 30px;
}

.slider-arrow.next {
  right: 30px;
}

/* ===================================
   Buttons
   =================================== */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-md);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%);
  color: var(--color-white);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--color-primary);
  color: var(--color-secondary-dark);
  border: 2px solid var(--color-secondary);
}

.btn-secondary:hover {
  background: var(--color-secondary);
  color: var(--color-white);
  transform: translateY(-3px);
}

/* ===================================
   Cards
   =================================== */
.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  height: 100%;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-sm);
  font-size: 1.8rem;
  color: var(--color-white);
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--color-secondary);
}

.card-text {
  color: var(--color-gray);
  line-height: 1.8;
}

/* ===================================
   Grid Layout
   =================================== */
.grid {
  display: grid;
  gap: var(--spacing-md);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ===================================
   Section Headings
   =================================== */
.section-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.section-title {
  position: relative;
  display: inline-block;
  padding-bottom: var(--spacing-sm);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-primary-dark));
  border-radius: 2px;
}

.section-subtitle {
  color: var(--color-gray);
  font-size: 1.1rem;
  margin-top: var(--spacing-sm);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===================================
   Footer
   =================================== */
.footer {
  background: linear-gradient(135deg, var(--color-secondary-dark) 0%, var(--color-secondary) 100%);
  color: var(--color-white);
  padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.footer-section h3 {
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-primary);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 1s ease;
}

.fade-in-up {
  animation: fadeInUp 1s ease;
}

/* Scroll Animation */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================
   Testimonials Slider
   =================================== */
.testimonials-slider {
  position: relative;
  overflow: hidden;
  padding: 3rem 0;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 1rem;
}

.testimonial-content {
  background: white;
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--color-gray-dark);
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
}

.testimonial-info h4 {
  color: var(--color-secondary-dark);
  margin-bottom: 0.2rem;
}

.testimonial-info p {
  color: var(--color-gray);
  font-size: 0.9rem;
}

/* Parallax Section */
.parallax-section {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.parallax-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.parallax-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
}

/* Counter Animation */
.counter {
  font-size: 3rem;
  font-weight: bold;
  color: var(--color-secondary);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 768px) {
  .nav-wrapper {
    display: flex !important;
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--color-nav);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: flex-start;
    padding: var(--spacing-md);
    gap: var(--spacing-sm);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
  }

  .nav-wrapper.active {
    left: 0;
  }

  .nav-menu {
    position: static;
    width: 100%;
    height: auto;
    background: transparent;
    backdrop-filter: none;
    flex-direction: column;
    padding: 0;
    box-shadow: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .section {
    padding: var(--spacing-lg) 0;
  }

  .hero {
    padding-top: 80px;
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .slider-arrow.prev {
    left: 15px;
  }

  .slider-arrow.next {
    right: 15px;
  }

  .slider-controls {
    bottom: 20px;
  }
}

@media (max-width: 480px) {
  :root {
    --spacing-md: 1.5rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
  }

  .container {
    padding: 0 var(--spacing-sm);
  }
}

/* Typewriter Effect */
.typewriter-text {
  color: var(--color-white);
  font-size: clamp(3rem, 5vw, 4.5rem);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
  margin-bottom: 0.5rem;
  min-height: 1.2em;
  border-right: 3px solid var(--color-secondary);
  white-space: normal;
  /* Allow wrapping */
  overflow: hidden;
  display: block;
  /* Changed to block for centering */
  text-align: center;
  /* Force centering */
  line-height: 1.3;
}

.typewriter-text.typing {
  animation: blink-caret 0.75s step-end infinite;
}

.typewriter-text.typed {
  border-right: none;
}

@keyframes blink-caret {

  from,
  to {
    border-color: transparent;
  }

  50% {
    border-color: var(--color-secondary);
  }
}

/* Enhanced Slider Effects */
.hero-slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-slide.active {
  animation: zoomIn 15s ease-out forwards;
}

@keyframes zoomIn {
  0% {
    transform: scale(1) translate(0, 0);
  }

  100% {
    transform: scale(1.2) translate(-2%, -2%);
  }
}

/* ===================================
   Service Cards (Professional Style)
   =================================== */
.service-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  background: white;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-image-container {
  position: relative;
  overflow: hidden;
  height: 280px;
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card:hover .service-image {
  transform: scale(1.1);
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(107, 114, 84, 0) 0%, rgba(107, 114, 84, 0.4) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.service-card:hover .service-overlay {
  opacity: 1;
}

.service-content {
  padding: 2.5rem 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-title {
  color: var(--color-secondary);
  font-size: 1.6rem;
  margin-bottom: 1rem;
  font-weight: 700;
  transition: color 0.3s ease;
}

.service-card:hover .service-title {
  color: var(--color-secondary-dark);
}

.service-desc {
  color: var(--color-gray);
  line-height: 1.8;
  font-size: 1.05rem;
}


/* ===================================
   Scroll Reveal & Animation Customization
   =================================== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
  will-change: opacity, transform;
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delay for grid items */
.scroll-reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.scroll-reveal:nth-child(3) {
  transition-delay: 0.2s;
}

.scroll-reveal:nth-child(4) {
  transition-delay: 0.3s;
}

/* Why Choose Section Background */
.section:nth-of-type(2) {
  background-color: #fafafa;
  background-image: radial-gradient(#d4d8c8 1px, transparent 1px);
  background-size: 24px 24px;
}


/* ===================================
   Vision & Mission Card Animations
   =================================== */
.mission-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mission-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 40px rgba(107, 114, 84, 0.2) !important;
}

.mission-card:hover svg {
  transform: scale(1.1) rotate(5deg);
  transition: transform 0.3s ease;
}

/* Icon pulse animation */
@keyframes iconPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.mission-card:hover>div>div:first-child {
  animation: iconPulse 1.5s ease-in-out infinite;
}

/* ===================================
   Mobile Optimization Overrides
   =================================== */

@media (max-width: 991px) {
  :root {
    --spacing-lg: 3rem;
    --spacing-xl: 4.5rem;
  }
}

@media (max-width: 768px) {
  .header {
    width: 95%;
    padding: 0.4rem 1.2rem;
    top: 10px;
    border-radius: 30px;
  }

  .nav {
    padding: 0.5rem 0;
  }

  .logo {
    height: 42px;
  }

  /* Improved Mobile Menu */
  .nav-wrapper {
    display: flex !important;
    position: fixed;
    top: 65px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 65px);
    background: var(--color-nav);
    backdrop-filter: blur(15px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-lg);
    gap: 1.2rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    border-radius: 0 0 30px 30px;
  }

  .nav-wrapper.active {
    left: 0;
  }

  .nav-menu {
    position: static;
    height: auto;
    width: 100%;
    background: transparent;
    backdrop-filter: none;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
  }

  .nav-link {
    font-size: 1.1rem;
    width: 100%;
    max-width: 250px;
    text-align: center;
    padding: 0.8rem;
  }

  .nav-toggle {
    display: flex;
  }

  /* Grid Stacking */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  /* Footer Mobile Optimization */
  .footer-layout {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2.5rem !important;
  }

  .footer-brand {
    text-align: center;
    margin-bottom: 0;
    width: 100%;
  }

  .footer-brand .logo-container {
    margin: 0 auto 1.5rem !important;
  }

  .footer-links-group {
    width: 100%;
    justify-content: center;
    gap: 2.5rem !important;
    flex-direction: row;
    display: flex;
    flex-wrap: wrap;
  }

  .link-column {
    min-width: 120px;
    flex: 1 1 120px;
  }

  .social-links-grid {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  :root {
    --spacing-md: 1.2rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 3.5rem;
  }

  h1 {
    font-size: 2.2rem !important;
  }

  h2 {
    font-size: 1.8rem !important;
  }

  h3 {
    font-size: 1.4rem !important;
  }

  .container {
    padding: 0 1.2rem;
  }

  .hero-content {
    padding: 0 1rem;
  }

  /* Adjust Logo for extra small screens */
  .logo {
    height: 38px;
  }

  .footer-brand .logo {
    max-width: 240px !important;
  }
}

/* ===================================
   Footer Social Icons Styling
   =================================== */
.social-links-grid {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.social-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  color: white;
}

.social-icon-link:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.social-icon-link svg {
  width: 20px;
  height: 20px;
  stroke: white;
}

/* ===================================
   Floating WhatsApp Button
   =================================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: white;
}

@keyframes pulse-whatsapp {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
  }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
    bottom: 15px;
    right: 15px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}