/* --- Local Font Integration --- */
@font-face {
  font-family: "AnikFont";
  src: url("anik.woff2") format("woff2"), url("anik.woff") format("woff"),
    url("anik.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* --- Base Body Styles --- */
body {
  font-family: "AnikFont", "Hind Siliguri", sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* 🔥 horizontal overflow fix */
}

/* --- Responsive Image Fix --- */
img {
  max-width: 100%;
  height: auto;
}

/* --- Responsive Container --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* --- CSS Variables for Theming --- */
:root {
  --primary: #c7891a;
  --primary-dark: #a16c0b;
  --primary-light: #e6a532;
}

/* --- Theme Color Utilities --- */
.theme-bg {
  background-color: var(--primary);
}
.theme-text {
  color: var(--primary);
}
.gradient-bg {
  background: linear-gradient(to right, var(--primary-dark), var(--primary));
}

/* --- Section Title --- */
.section-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--primary-dark);
  word-wrap: break-word; /* 🔥 long text break fix */
}
@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

/* --- Interactive Elements --- */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px -5px rgba(183, 122, 15, 0.3);
}
.btn-primary {
  background-color: var(--primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.btn-secondary {
  background-color: #fef3c7;
  color: var(--primary-dark);
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-secondary:hover {
  background-color: #fde68a;
  transform: scale(1.05);
}

/* --- Navigation --- */
.sticky-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* --- Hero Section Typing Animation --- */
.typing-cursor {
  display: inline-block;
  width: 3px;
  background-color: white;
  animation: blink 0.7s infinite;
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}






/* --- Cost Calculator Table --- */
.table-row-active {
  background-color: #fef9c3;
}

/* --- Back to Top Button --- */
#back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  z-index: 100;
}

/* --- Form Validation --- */
.form-error {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}
