
/* =========================================
   AARAH GIFTZ × RKM SMALL SAVINGS
   DIWALI CHIT 2026–2027
   Main Stylesheet
========================================= */

/* 01. ROOT VARIABLES */

:root {
  --orange: #f45b0b;
  --orange-dark: #cf3900;
  --amber: #f9a51a;
  --cream: #fff7ed;
  --ivory: #fffdf9;
  --espresso: #26150f;
  --brown: #6b2518;
  --maroon: #781a19;
  --text: #302019;
  --muted: #82736a;
  --border: #f2d9c2;
  --white: #ffffff;

  --gradient: linear-gradient(
    135deg,
    #ff9f1c,
    #f45b0b,
    #c93600
  );

  --shadow: 0 12px 35px rgba(104, 49, 13, 0.09);

  --radius: 20px;
  --transition: 0.3s ease;
}


/* 02. RESET */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: 'Inter', 'Noto Sans Tamil', sans-serif;
  background: var(--ivory);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

body,
button,
input,
select,
textarea {
  font-family: 'Inter', 'Noto Sans Tamil', sans-serif;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
}

.container {
  width: min(1180px, 90%);
  margin: auto;
}

.section-padding {
  padding: 100px 0;
}


/* 03. LOADER */

.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--cream);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.6s ease,
              visibility 0.6s ease;
}

.loader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
}

.loader-content img {
  width: 160px;
  height: 90px;
  object-fit: contain;
  margin: auto;
}

.loader-content p {
  color: var(--brown);
  font-size: 13px;
  margin-top: 18px;
}

.loader-line {
  width: 140px;
  height: 3px;
  background: #f5d8be;
  border-radius: 20px;
  margin: 20px auto 0;
  overflow: hidden;
  position: relative;
}

.loader-line::after {
  content: "";
  position: absolute;
  width: 45%;
  height: 100%;
  background: var(--gradient);
  animation: loading 1.2s infinite ease-in-out;
}

@keyframes loading {
  from {
    left: -45%;
  }

  to {
    left: 100%;
  }
}


/* 04. HEADER */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(242, 217, 194, 0.7);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
}

.nav-container {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand-logos {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

.brand-logos img {
  width: 105px;
  height: 55px;
  object-fit: contain;
}

.logo-divider {
  height: 42px;
  width: 1px;
  background: var(--border);
}

.navigation {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-link {
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}

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

.nav-cta {
  background: var(--gradient);
  color: var(--white);
  padding: 11px 19px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: var(--transition);
}

.nav-cta:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--cream);
  padding: 10px;
}

.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  background: var(--espresso);
  margin: 5px auto;
  transition: var(--transition);
}


/* 05. HERO SECTION */

.hero {
  min-height: 610px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;

  background:
    radial-gradient(
      circle at 15% 25%,
      rgba(255, 166, 48, 0.28),
      transparent 30%
    ),
    radial-gradient(
      circle at 85% 35%,
      rgba(255, 115, 12, 0.18),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #fff0d9,
      #fffaf2 50%,
      #fce4c7
    );
}

.hero::before,
.hero::after {
  content: "✦";
  position: absolute;
  color: rgba(229, 121, 26, 0.22);
  font-size: 160px;
  pointer-events: none;
}

.hero::before {
  left: 4%;
  top: 10%;
}

.hero::after {
  right: 5%;
  bottom: 5%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255,255,255,0.2),
      transparent
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 75px 0;
}

.hero-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  margin-bottom: 35px;
}

.hero-logos img {
  width: 155px;
  height: 85px;
  object-fit: contain;
}

.hero-logos span {
  width: 1px;
  height: 65px;
  background: #e6b58d;
}

.hero-overline {
  color: var(--orange-dark);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.hero h1 {
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 800;
  color: var(--maroon);
  line-height: 1.4;
}

.hero-year {
  font-size: clamp(30px, 5vw, 55px);
  font-weight: 800;
  color: var(--orange);
  letter-spacing: 4px;
  margin-top: 5px;
}

.hero-description {
  max-width: 600px;
  margin: 20px auto 30px;
  color: var(--brown);
  font-size: 17px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 700;
  transition: var(--transition);
}

.btn-primary {
  color: var(--white);
  background: var(--gradient);
  box-shadow: 0 8px 20px rgba(244, 91, 11, 0.18);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(244, 91, 11, 0.28);
}

.btn-outline {
  border: 1px solid var(--orange);
  color: var(--orange-dark);
  background: rgba(255,255,255,0.6);
}

.btn-outline:hover {
  background: var(--orange);
  color: white;
}

.hero-note {
  display: inline-block;
  margin-top: 35px;
  padding: 8px 20px;
  border-radius: 30px;
  background: rgba(255,255,255,0.7);
  color: var(--brown);
  font-size: 12px;
  font-weight: 600;
}


/* 06. SECTION HEADINGS */

.section-heading {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 55px;
}

.section-tag {
  color: var(--orange);
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 800;
  display: inline-block;
  margin-bottom: 12px;
}

.section-heading h2,
.intro h2,
.contact-info h2 {
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: clamp(25px, 4vw, 38px);
  font-weight: 800;
  color: var(--maroon);
  line-height: 1.5;
}

.section-heading p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 10px;
}


/* 07. INTRO */

.intro {
  background: var(--ivory);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 60px;
  align-items: center;
}

.intro h2 {
  margin-bottom: 18px;
}

.intro p {
  font-family: 'Noto Sans Tamil', sans-serif;
  color: var(--muted);
  font-size: 15px;
}

.intro-highlight {
  padding: 35px;
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid var(--border);
  text-align: center;
}

.highlight-icon {
  font-size: 48px;
  color: var(--orange);
}

.intro-highlight h3 {
  color: var(--maroon);
  font-family: 'Noto Sans Tamil', sans-serif;
  margin: 10px 0;
  font-size: 19px;
}

.intro-highlight p {
  font-size: 13px;
}


/* 08. SAVINGS SCHEMES */

.schemes {
  background: var(--cream);
}

.savings-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.scheme-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 23px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  overflow: hidden;
}

.scheme-card:hover {
  transform: translateY(-8px);
  border-color: var(--orange);
}

.scheme-card.featured {
  border: 2px solid var(--orange);
}

.popular-tag {
  position: absolute;
  right: 0;
  top: 0;
  padding: 6px 14px;
  border-radius: 0 0 0 15px;
  color: white;
  background: var(--gradient);
  font-size: 9px;
  font-weight: 800;
}

.scheme-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.scheme-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--orange);
  font-weight: 800;
  font-size: 19px;
}

.scheme-label {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}

.scheme-card h3 {
  font-size: 42px;
  color: var(--orange);
  font-weight: 800;
  margin-bottom: 5px;
}

.scheme-card p {
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: 13px;
  color: var(--brown);
  font-weight: 600;
  min-height: 48px;
}

.scheme-benefit {
  background: var(--cream);
  border-radius: 10px;
  padding: 10px;
  margin-top: 12px;
  color: var(--orange-dark);
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.scheme-link {
  display: inline-block;
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  margin-top: 20px;
}


/* 09. DIWALI COMBO */

.combo {
  background: var(--ivory);
}

.combo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.combo-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.combo-card:hover {
  transform: translateY(-5px);
}

.combo-image {
  height: 100%;
  min-height: 350px;
  background: var(--cream);
  overflow: hidden;
}

.combo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.combo-details {
  padding: 30px;
}

.combo-label {
  font-size: 10px;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: 1.5px;
}

.combo-details h3 {
  font-size: 48px;
  color: var(--maroon);
  margin: 8px 0;
}

.combo-details ul {
  list-style: none;
  margin: 20px 0;
}

.combo-details li {
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.combo-details li::before {
  content: "✓";
  color: var(--orange);
  font-weight: 800;
  margin-right: 10px;
}

.combo-details .btn {
  font-size: 11px;
  padding: 12px 18px;
  width: 100%;
}


/* 10. BENEFITS */

.benefits {
  background: var(--cream);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.benefit-card {
  text-align: center;
  padding: 35px 20px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.benefit-card > span {
  font-size: 38px;
}

.benefit-card h3 {
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: 16px;
  margin: 15px 0 8px;
  color: var(--maroon);
}

.benefit-card p {
  font-size: 12px;
  color: var(--muted);
}


/* 11. HOW TO JOIN */

.how-to {
  background: var(--ivory);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.step-card {
  padding: 35px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
}

.step-card > span {
  display: inline-flex;
  width: 45px;
  height: 45px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  background: var(--gradient);
  font-weight: 800;
}

.step-card h3 {
  font-family: 'Noto Sans Tamil', sans-serif;
  color: var(--maroon);
  font-size: 17px;
  margin: 20px 0 10px;
}

.step-card p {
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: 13px;
  color: var(--muted);
}


/* 12. FAQ */

.faq {
  background: var(--cream);
}

.faq-container {
  max-width: 850px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.faq-item summary {
  padding: 20px 24px;
  cursor: pointer;
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--brown);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--orange);
  font-size: 22px;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  font-family: 'Noto Sans Tamil', sans-serif;
  padding: 0 24px 20px;
  font-size: 13px;
  color: var(--muted);
}


/* 13. CONTACT */

.contact {
  background: var(--ivory);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.contact-info h2 {
  margin-bottom: 20px;
}

.contact-info > p {
  font-family: 'Noto Sans Tamil', sans-serif;
  color: var(--muted);
  margin-bottom: 30px;
  font-size: 14px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid var(--border);
}

.contact-link > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--orange);
  font-size: 22px;
}

.contact-link small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 1px;
  font-weight: 700;
}

.contact-link strong {
  font-size: 15px;
  color: var(--maroon);
}

.contact-form {
  padding: 38px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form h3 {
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: 22px;
  color: var(--maroon);
  margin-bottom: 25px;
}

.contact-form label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--brown);
  margin: 15px 0 7px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid var(--border);
  background: var(--cream);
  border-radius: 10px;
  outline: none;
  color: var(--text);
  font-size: 13px;
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(244, 91, 11, 0.08);
}

.contact-form textarea {
  min-height: 100px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  margin-top: 20px;
}

.form-note {
  color: var(--muted);
  font-size: 10px;
  text-align: center;
  margin-top: 12px;
}


/* 14. FOOTER */

.footer {
  background: #26150f;
  color: white;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  padding-top: 65px;
  padding-bottom: 55px;
}

.footer-brand .brand-logos {
  margin-bottom: 25px;
}

.footer-brand .brand-logos img {
  width: 100px;
  filter: brightness(1.1);
}

.footer-brand p {
  font-family: 'Noto Sans Tamil', sans-serif;
  color: #d7c6ba;
  font-size: 12px;
  max-width: 320px;
}

.footer h4 {
  color: var(--amber);
  font-size: 12px;
  letter-spacing: 1.5px;
  margin-bottom: 22px;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-links a,
.footer-contact a {
  color: #e6d9d0;
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: 12px;
  transition: var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 20px 5%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px 35px;
  text-align: center;
  color: #c9b9ad;
  font-size: 11px;
}


/* 15. SCROLL TO TOP */

.scroll-top {
  position: fixed;
  right: 25px;
  bottom: 25px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  color: white;
  font-size: 24px;
  box-shadow: var(--shadow);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: var(--transition);
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-5px);
}


/* 16. RESPONSIVE TABLET */

@media (max-width: 1000px) {

  .navigation {
    gap: 15px;
  }

  .nav-link {
    font-size: 11px;
  }

  .savings-grid,
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .combo-grid {
    grid-template-columns: 1fr;
  }

  .combo-card {
    max-width: 700px;
    margin: auto;
  }

  .intro-grid,
  .contact-grid {
    gap: 35px;
  }

}


/* 17. RESPONSIVE MOBILE */

@media (max-width: 768px) {

  .section-padding {
    padding: 70px 0;
  }

  .nav-container {
    min-height: 70px;
  }

  .brand-logos {
    gap: 9px;
  }

  .brand-logos img {
    width: 78px;
    height: 45px;
  }

  .logo-divider {
    height: 30px;
  }

  .menu-toggle {
    display: block;
  }

  .navigation {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--ivory);
    padding: 20px 5%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
  }

  .navigation.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-link {
    padding: 13px 5px;
    font-size: 13px;
    border-bottom: 1px solid var(--border);
  }

  .nav-cta {
    text-align: center;
    margin-top: 15px;
  }

  .hero {
    min-height: 570px;
  }

  .hero-content {
    padding: 60px 0;
  }

  .hero-logos img {
    width: 120px;
    height: 65px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero-description {
    font-size: 14px;
    padding: 0 10px;
  }

  .intro-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .intro-highlight {
    padding: 25px;
  }

  .savings-grid,
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .scheme-card {
    padding: 20px 15px;
  }

  .scheme-card h3 {
    font-size: 34px;
  }

  .scheme-top {
    flex-wrap: wrap;
    gap: 7px;
  }

  .scheme-label {
    font-size: 8px;
  }

  .scheme-card p {
    font-size: 11px;
  }

  .combo-card {
    grid-template-columns: 1fr;
  }

  .combo-image {
    min-height: 230px;
    max-height: 260px;
  }

  .combo-details {
    padding: 25px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .step-card {
    padding: 25px;
  }

  .contact-form {
    padding: 25px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

}


/* 18. SMALL MOBILE */

@media (max-width: 420px) {

  .hero h1 {
    font-size: 36px;
  }

  .hero-year {
    font-size: 30px;
    letter-spacing: 2px;
  }

  .hero-logos img {
    width: 105px;
  }

  .hero-buttons {
    flex-direction: column;
    padding: 0 15px;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .section-heading h2 {
    font-size: 25px;
  }

  .savings-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .scheme-card {
    padding: 25px;
  }

  .scheme-card p {
    font-size: 13px;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 5px;
  }

}


/* 19. ACCESSIBILITY */

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}


/* SCROLL REVEAL ANIMATIONS */

.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}
