/* ---- styles.css ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --bs-primary: #8f5f3c;
  --bs-primary-rgb: 143, 95, 60;
  --bs-secondary: #b08967;
  --bs-secondary-rgb: 176, 137, 103;
  --bs-tertiary: #d29f76;
  --bs-tertiary-rgb: 210, 159, 118;
  --bs-accent: #4f321f;
  --bs-body-color: #3f2c1d;
  --bs-body-color-rgb: 63, 44, 29;
  --bs-bg: #f2ebe3;
  --bs-surface: #fffaf6;
  --bs-muted: #7c6752;
}

html,
body {
  font-family: 'Inter', sans-serif;
  color: var(--bs-body-color);
  background: var(--bs-bg);
  overflow-x: hidden;
  /* Fix horizontal overflow */
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Typography Constraints */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  color: #0f172a;
}

.fw-black {
  font-weight: 900;
}

.text-gradient {
  background: linear-gradient(90deg, #A47C60 0%, #b87d56 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* Navbar */
.navbar {
  transition: all 0.3s ease;
  background: rgba(245, 236, 226, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(143, 95, 60, 0.2);
}
.navbar .nav-link {
  color: #5b412e !important;
  font-weight: 600;
}
.navbar .nav-link.active,
.navbar .nav-link:hover {
  color: var(--bs-primary) !important;
}
.navbar .btn-primary,
.btn-primary {
  background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
  border: 1px solid rgba(var(--bs-primary-rgb), 0.6);
}

.navbar-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.footer-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  /* Since the footer is dark, invert the dark brown logo to white */
  filter: brightness(0) invert(1);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') no-repeat center center;
  background-size: cover;
  position: relative;
  width: 100vw;
  /* full width */
  margin-top: 0;
  padding-top: 56px;
  /* offset navbar height */
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.7) 100%);
  z-index: 0;
}

/* Make sure text in hero is perfectly white when outside of gradient */
#home h1,
#home h2,
#home h3,
#home p,
#home .hero-title,
#home .hero-title span:not(.text-gradient) {
  color: #ffffff !important;
}

/* Floating Icons */
.floating-icons {
  position: fixed;
  right: 20px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1050;
}

.float-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.float-icon:hover {
  color: white;
  transform: translateY(-5px);
}

.whatsapp {
  background-color: #25D366;
}

.call {
  background-color: #1d4ed8 !important;
}

.call i {
  color: #ffffff !important;
}

.linkedin-link {
  color: #1d4ed8 !important;
  border-color: #1d4ed8 !important;
  background-color: #eaf4ff !important;
}

.linkedin-link i {
  color: #1d4ed8 !important;
}

/* Buttons & Interactions */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Utilities */
.section-padding {
  padding-top: 5rem;
  padding-bottom: 5rem;
  width: 100%;
}

.heading-line {
  width: 60px;
  height: 4px;
  background-color: var(--bs-primary);
  border-radius: 4px;
  margin-top: 0.5rem;
}

.custom-card {
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.custom-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05) !important;
}

/* Pulse dot */
.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--bs-primary);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(104, 72, 51, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(104, 72, 51, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(104, 72, 51, 0);
  }
}

/* Reveal Animations */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.8s ease-out;
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.8s ease-out;
}

.active-reveal {
  opacity: 1;
  transform: translate(0);
}

.delay-100 {
  transition-delay: 100ms;
}

.delay-200 {
  transition-delay: 200ms;
}

.delay-300 {
  transition-delay: 300ms;
}

.delay-400 {
  transition-delay: 400ms;
}

/* Testimonials / Stats */
.stats-section {
  background: var(--bs-primary);
}

.icon-circle {
  width: 60px;
  height: 60px;
}

/* Feature Icons */
.feature-icon img {
  width: 75px;
  height: 75px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid rgba(104, 72, 51, 0.1);
  padding: 10px;
  background-color: #f8fafc;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease;
}

.feature-icon img:hover {
  transform: translateY(-3px);
  border-color: var(--bs-primary);
}

/* Founder Badge - Position at bottom right of image only */
.founder-badge {
  bottom: 15px !important;
  right: 15px !important;
  top: auto !important;
  left: auto !important;
  z-index: 10;
  margin: 0 !important;
}

/* Accordion modifications */
.accordion-button:not(.collapsed) {
  color: var(--bs-primary);
  background-color: rgba(104, 72, 51, 0.05) !important;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(104, 72, 51, 0.1);
}

/* --- Mobile view overrides --- */
@media (max-width: 991px) {
  .hero {
    min-height: calc(100vh - 56px);
    padding-top: 56px;
  }

  .navbar-collapse {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin-top: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: absolute;
    top: 100%;
    left: 1rem;
    width: calc(100vw - 2rem);
    z-index: 1000;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .display-3,
  .display-4 {
    font-size: 2.5rem !important;
  }

  .display-5,
  .display-6 {
    font-size: 2rem !important;
  }

  .hero-title {
    font-size: 2.2rem !important;
  }

  .icon-circle {
    width: 50px;
    height: 50px;
  }

  .bg-white.p-5 {
    padding: 1.5rem !important;
  }

  .feature-item {
    padding: 20px !important;
  }

  /* Reset delays on mobile so things don't load sequentially over a long page */
  .delay-100,
  .delay-200,
  .delay-300,
  .delay-400 {
    transition-delay: 0ms !important;
  }

  .text-md-start {
    text-align: center !important;
  }

  .justify-content-md-start {
    justify-content: center !important;
  }

  /* Fix container clipping */
  .container {
    width: 100%;
    max-width: 100vw;
    padding-right: 15px;
    padding-left: 15px;
    overflow-x: hidden;
  }
}