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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  color: #333333;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

p {
  text-align: justify;
  hyphens: auto;
}

/* Colors from React project */
.bg-primary-dark {
  background-color: #6f6a58 !important;
}

.bg-cream {
  background-color: #FFFAF1 !important;
}

.text-primary-dark {
  color: #6f6a58 !important;
}

.text-cream {
  color: #FFFAF1 !important;
}

.text-accent {
  color: #413F2C !important;
}

.bg-accent {
  background-color: #413F2C !important;
}

.head-color {
  color: #413F2C;
  font-weight: bold;
}

.sub-head-color {
  color: #413F2C;
  line-height: 1.4;
}

.dist-color {
  color: #413F2C;
  font-weight: normal;
}

/* Custom Utilities */
.min-h-screen {
  min-height: 100vh;
}

.h-screen {
  height: 100vh;
}

.object-cover {
  object-fit: cover;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-3xl {
  border-radius: 1.5rem;
}

.rounded-40 {
  border-radius: 40px;
}

.shadow-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Navbar */
.navbar-custom {
  background-color: #6f6a58;
  padding: 0 24px;
  height: 120px;
  transition: transform 0.3s ease;
}

.navbar-custom .nav-link {
  color: #FFFAF1;
  font-size: 1.25rem;
  transition: all 0.3s;
}

.navbar-custom .nav-link.active {
  color: #FFFAF1;
}

.navbar-custom .nav-link:hover {
  color: #FFFAF1;
  opacity: 0.8;
  transform: scale(1.1);
}

.logo {
  height: 100px;
  width: auto;
  margin-right: 10px;
}

/* Hero Image Custom Style */
.custom-hero-img {
  max-height: calc(100vh - 80px);
  object-fit: cover;
  object-position: top;
  width: 100% !important;
  height: 100% !important;
}

/* About Intro Parallax Setup */
.sticky-top-h {
  position: sticky;
  top: 0;
  height: 100vh;
}

/* Footer Styles */
.footer-top {
  display: flex;
  justify-content: space-between;
  padding: 100px 50px !important;
  background: #FFFAF1 !important;
}

/* Benefits Section Styles */
.benefit-card {
  padding: 2.5rem !important;
  max-width: 36rem;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.footer-logo {
  height: 280px !important;
  width: auto !important;
  margin-bottom: 0px;
}

.footer-col {
  width: 40%;
}

.footer-col h3 {
  border-left: 4px solid #6f6a58 !important;
  padding-left: 10px;
  margin-bottom: 20px;
  color: #6f6a58;
  font-weight: 700;
}

.footer-col p {
  padding: 5px 0;
}

.footer-bottom {
  background: #6f6a58 !important;
  color: white;
  display: flex;
  justify-content: space-between;
  padding: 15px 40px;
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    padding: 20px !important;
  }

  .footer-col {
    width: 100% !important;
    margin-bottom: 20px;
  }

  .footer-logo {
    height: 80px !important;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }
}

/* Flip Card styles */
.flip-card {
  perspective: 1200px;
  border-radius: 1.5rem;
  overflow: hidden;
}

.flip-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.4s ease-out;
}

.flip-card:hover img {
  transform: scale(1.08);
}

/* Benefits sliding bg */
.group-hover-bg {
  position: absolute;
  inset: 0;
  background-color: #FFFAF1;
  transform: translateX(-100%);
  transition: transform 1s ease-in-out;
  z-index: 0;
}

.benefit-card:hover .group-hover-bg {
  transform: translateX(0);
}

.benefit-card:hover .benefit-text {
  color: #413F2C !important;
}

/* Impact Hover */
.impact-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.impact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, .1) !important;
}

.impact-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background-color: #FFFAF1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.impact-card:hover .impact-icon-wrapper {
  background-color: #6f6a58;
}

.impact-icon-wrapper svg {
  stroke: #6f6a58;
  transition: stroke 0.3s ease;
}

.impact-card:hover .impact-icon-wrapper svg {
  stroke: #FFFAF1 !important;
}

/* Contact floating card */
.contact-bg {
  background-size: cover;
  background-position: top;
}

.backdrop-blur {
  backdrop-filter: blur(12px);
  background-color: rgba(255, 250, 241, 0.9);
}

/* Icons Size */
.lucide-icon {
  width: 80px;
  height: 80px;
  color: #413F2C;
  transition: all 0.5s;
}

.lucide-icon:hover {
  color: #8a7777;
  transform: scale(1.1);
}

/* Gallery Images */
.gallery-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-img:hover {
  transform: scale(1.1);
}

.testimonial-text {
  font-size: 0.875rem;
  line-height: 1.625;
  font-weight: 500;
  color: #413F2C;
  text-align: justify;
}

/* Custom utilities extracted from Tailwind */
.text-\[\#FFFAF1\] {
  color: #FFFAF1;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.bg-\[\#6f6a58\] {
  background-color: #6f6a58;
}

.z-50 {
  z-index: 50;
}

.relative {
  position: relative;
}

/* Tailwind Base Reset */
*,
::before,
::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb;
}

::before,
::after {
  --tw-content: '';
}