/* =============================================
   SAKET GYANPEETH — STYLESHEET
   ============================================= */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Mulish', sans-serif;
  color: #444;
  background: #fff;
  line-height: 1.75;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color .25s;
}

ul {
  list-style: none;
}

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

p {
  margin-bottom: .9em;
}

p:last-child {
  margin-bottom: 0;
}

h1,
h2,
h3,
h4 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.3;
}

/* ---------- Variables ---------- */
:root {
  --gold: #F1A91C;
  --gold-dark: #c98510;
  --navy: #271709;
  --cream: #fffbf2;
  --border: #e8ddc8;
  --text: #555;
  --shadow: 0 4px 24px rgba(0, 0, 0, .09);
}

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

/* ---------- TOP BAR ---------- */
.top-bar {
  background: var(--navy);
  padding: .55rem 0;
  font-size: .85rem;
}

.top-bar-inner {
  display: flex;
  justify-content: flex-end;
  gap: 2rem;
}

.top-social {
  display: flex;
  gap: 1rem;
}

.top-social a {
  color: rgba(255, 255, 255, .75);
  font-size: .95rem;
  transition: color .2s;
}

.top-social a:hover {
  color: var(--gold);
}
.top-info {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-info a {
  color: rgba(255, 255, 255, .75);
  display: flex;
  align-items: center;
  gap: .45rem;
  transition: color .2s;
}

.top-info a:hover {
  color: var(--gold);
}

.top-info a i {
  color: var(--gold);
  font-size: .8rem;
}

/* ---------- NAVBAR ---------- */
.navbar {
  background: #fff;
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .07);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 1.5rem;
}

/* Logo */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.nav-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
}

/* Nav links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav-link {
  display: block;
  padding: .5rem .9rem;
  font-size: .93rem;
  font-weight: 600;
  color: var(--navy);
  border-radius: 6px;
  transition: background .2s, color .2s;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-dark);
  background: var(--cream);
}

/* Dropdown Menu */
.has-dropdown {
  position: relative;
}

.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 260px;
  box-shadow: var(--shadow);
  border-radius: 8px;
  padding: .5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .3s ease;
  z-index: 1001;
  border: 1px solid var(--border);
}

.has-dropdown:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-menu li {
  margin: 0;
}

.sub-menu a {
  display: block;
  padding: .75rem 1.25rem;
  font-size: .88rem;
  color: var(--text);
  font-weight: 600;
  transition: background .2s, color .2s;
  white-space: normal;
  border-bottom: 1px solid var(--cream);
  line-height: 1.4;
}

.sub-menu li:last-child a {
  border-bottom: none;
}

.sub-menu a:hover {
  background: var(--cream);
  color: var(--gold-dark);
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 9px 10px;
  cursor: pointer;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

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

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

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

/* ---------- HERO SECTION ---------- */
.hero {
  background: linear-gradient(135deg, rgba(39, 23, 9, 0.85) 0%, rgba(62, 40, 22, 0.8) 55%, rgba(26, 15, 8, 0.9) 100%), url('../images/hero-bg.png') center/cover no-repeat;
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 4rem 1.25rem;
}

/* subtle pattern overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 70% 40%, rgba(241, 169, 28, .08) 0%, transparent 60%),
    radial-gradient(circle at 20% 70%, rgba(87, 80, 160, .12) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-welcome {
  font-size: clamp(.9rem, 2vw, 1rem);
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2.2rem, 6vw, 3.75rem);
  font-weight: 700;
  color: #fff;
  font-family: 'Quicksand', sans-serif;
  line-height: 1.15;
}

.hero-title .cursor {
  display: inline-block;
  color: var(--gold);
  animation: blink 1s step-end infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0
  }
}

/* ---------- FOUNDERS SECTION ---------- */
.founders {
  background: var(--cream);
  padding: 4.5rem 0;
  border-top: 1px solid var(--border);
}

.founders .section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
}

.founders-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.founder-card {
  text-align: center;
  max-width: 260px;
}

.founder-avatar {
  width: 320px;
  height: 250px;
  border-radius: 5%;
  margin: 0 auto 1.1rem;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.2rem;
  color: #fff;
  box-shadow: 0 8px 24px rgba(241, 169, 28, .3);
  overflow: hidden;
}

.founder-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-name {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .25rem;
}

.founder-role {
  font-size: .85rem;
  color: var(--gold-dark);
  font-weight: 600;
}

.founder-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--border);
  font-size: 1.5rem;
  align-self: center;
}

/* ---------- ABOUT SECTION ---------- */
.about-section {
  padding: 5rem 0;
  background: #fff;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: center;
}

.about-image-box {
  position: relative;

}

.about-image-box img {
  width: 100%;
  border-radius: 14px;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  object-fit: contain;
}

.about-badge {
  position: absolute;
  bottom: -1.2rem;
  right: -1.2rem;
  background: var(--gold);
  color: #fff;
  border-radius: 12px;
  padding: 1rem 1.4rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.about-badge .num {
  display: block;
  font-family: 'Quicksand', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.about-badge .lbl {
  font-size: .78rem;
  opacity: .9;
  margin-top: .2rem;
}

.about-content .section-label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: .6rem;
  padding-left: 1.3rem;
  position: relative;
}

.about-content .section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: .85rem;
  height: 3px;
  background: var(--gold);
  border-radius: 99px;
}

.about-content h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 1.25rem;
}

.about-content h2 span {
  color: var(--gold-dark);
}

.about-content p {
  color: var(--text);
  font-size: .97rem;
}

.motto {
  display: inline-block;
  margin-top: 1.2rem;
  background: var(--cream);
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: .75rem 1.2rem;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  font-style: italic;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .72);
  padding-top: 3.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-col h3 {
  font-family: 'Quicksand', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.2rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.footer-col p,
.footer-col a {
  font-size: .875rem;
  color: rgba(255, 255, 255, .68);
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin-bottom: .6rem;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-col i {
  color: var(--gold);
  margin-top: .25rem;
  flex-shrink: 0;
  font-size: .85rem;
}

.footer-col ul li {
  margin-bottom: .5rem;
}

.footer-col ul a {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: rgba(255, 255, 255, .65);
  transition: color .2s, padding-left .2s;
}

.footer-col ul a:hover {
  color: var(--gold);
  padding-left: .4rem;
}

.footer-col ul a::before {
  content: '›';
  color: var(--gold);
  font-size: 1rem;
  line-height: 1;
}

.footer-bottom {
  text-align: center;
  padding: 1.2rem 0;
  font-size: .82rem;
  color: rgba(255, 255, 255, .4);
}

/* ---------- SCROLL TOP ---------- */
.scroll-top {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s, visibility .3s, background .2s;
  box-shadow: 0 4px 16px rgba(241, 169, 28, .4);
  z-index: 999;
}

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

.scroll-top:hover {
  background: var(--gold-dark);
}

/* ---------- PAGE HEADER (inner pages) ---------- */
.page-header {
  background: linear-gradient(135deg, rgba(39, 23, 9, 0.9) 0%, rgba(62, 40, 22, 0.85) 60%, rgba(201, 133, 16, 0.85) 100%), url('../images/about-bg.png') center/cover no-repeat;
  padding: 3.5rem 0 2.5rem;
  text-align: center;
}

.page-header h1 {
  color: #fff;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: .6rem;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: .5rem;
  font-size: .875rem;
  color: rgba(255, 255, 255, .6);
}

.breadcrumb a {
  color: var(--gold);
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb span {
  color: rgba(255, 255, 255, .5);
}

/* ---------- INNER PAGE CONTENT ---------- */
.page-content {
  padding: 4rem 0;
}

.page-content h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  margin-bottom: 1rem;
  color: var(--navy);
}

.page-content p {
  color: var(--text);
  font-size: .97rem;
}

/* ---------- REVEAL ANIMATION ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-image-box {
    max-width: 480px;
    margin: 0 auto;
  }

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

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
    padding: .5rem 0;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-link {
    padding: .85rem 1.5rem;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-link:last-of-type {
    border-bottom: none;
  }

  .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: var(--cream);
    padding: 0;
    border-bottom: 1px solid var(--border);
  }

  .sub-menu a {
    padding: .85rem 1.5rem .85rem 2.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .sub-menu li:last-child a {
    border-bottom: none;
  }

  .founders-grid {
    gap: 1.5rem;
  }

  .founder-divider {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .top-bar-inner {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 70vh;
  }

  .about-badge {
    bottom: -.75rem;
    right: -.75rem;
  }
}