/* ============================================================
   GIA – Gurudeva International Academy
   Modern Design System
   ============================================================ */

:root {
  /* Brand Palette */
  --gia-primary: #0f766e;
  --gia-primary-dark: #115e59;
  --gia-primary-light: #14b8a6;
  --gia-primary-50: #f0fdfa;
  --gia-primary-700: #0d6963;
  --gia-secondary: #d97706;
  --gia-secondary-light: #fbbf24;
  --gia-accent: #6d28d9;

  /* Neutrals */
  --gia-dark: #0f172a;
  --gia-body-bg: #f8fafc;
  --gia-card-bg: #ffffff;
  --gia-text: #1e293b;
  --gia-text-muted: #64748b;
  --gia-border: #e2e8f0;

  /* Spacing */
  --section-py: 5rem;
  --section-py-sm: 3.5rem;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, .07);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, .1);
  --shadow-xl: 0 20px 50px rgba(0, 0, 0, .12);

  /* Transitions */
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ── Base ────────────────────────────────────────────── */
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  color: var(--gia-text);
  background-color: var(--gia-body-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'DM Serif Display', Georgia, serif;
  color: var(--gia-dark);
  line-height: 1.3;
}

p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--gia-text);
}

a {
  text-decoration: none !important;
  color: var(--gia-primary);
  transition: color .2s var(--ease);
}

a:hover {
  color: var(--gia-primary-dark);
}

ul,
ol {
  margin: 0;
  padding: 0;
}

ul li {
  font-size: 1rem;
  padding-bottom: 6px;
}

img {
  max-width: 100%;
}

.text-primary {
  color: var(--gia-primary) !important;
}

.bg-primary {
  background-color: var(--gia-primary) !important;
}

#toolbarContainer {
  display: none;
}

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  border-radius: var(--radius-full);
  padding: .6rem 1.6rem;
  transition: all .25s var(--ease);
  font-size: .9rem;
  letter-spacing: .3px;
}

.btn-primary {
  background: var(--gia-primary) !important;
  border-color: var(--gia-primary) !important;
  color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--gia-primary-dark) !important;
  border-color: var(--gia-primary-dark) !important;
  box-shadow: 0 4px 14px rgba(15, 118, 110, .35);
  transform: translateY(-1px);
}

.btn-outline-primary {
  color: var(--gia-primary) !important;
  border-color: var(--gia-primary) !important;
}

.btn-outline-primary:hover {
  background: var(--gia-primary) !important;
  border-color: var(--gia-primary) !important;
  color: #fff !important;
}

.btn-secondary {
  background: var(--gia-secondary) !important;
  border-color: var(--gia-secondary) !important;
  color: #fff !important;
}

.btn-secondary:hover {
  background: #b45309 !important;
  border-color: #b45309 !important;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, .15) !important;
  color: #fff !important;
}

.btn-lg {
  padding: .75rem 2rem;
  font-size: 1rem;
}

.btn-sm {
  padding: .4rem 1.2rem;
  font-size: .85rem;
}

/* ── Section Utilities ───────────────────────────────── */
.section-space {
  padding: var(--section-py) 0;
}

.section-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gia-primary);
  margin-bottom: .75rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--gia-dark);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gia-text-muted);
  max-width: 600px;
}

.text-brand {
  color: var(--gia-primary) !important;
}

.bg-brand {
  background-color: var(--gia-primary) !important;
}

.bg-brand-light {
  background-color: var(--gia-primary-50) !important;
}

/* ── Card Component ──────────────────────────────────── */
.gia-card {
  background: var(--gia-card-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--gia-border);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

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

.gia-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.gia-card .card-body {
  padding: 1.5rem;
}

.gia-card .card-title {
  font-size: 1.15rem;
  margin-bottom: .5rem;
}

/* ── Page Header (inner pages) ───────────────────────── */
.page-header {
  padding: 3.5rem 0 !important;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: url(../gia_images/gallery1.jpg);
  background-size: cover;
  background-position: center;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #0f172aeb, #0f1729cc);
  background-size: cover;
}

.page-header h1 {
  font-size: 2rem !important;
  font-weight: 400 !important;
  color: #fff;
  position: relative;
  z-index: 1;
  margin: 0 !important;
}

.page-header .breadcrumb {
  display: inline-flex;
  background-color: rgba(255, 255, 255, .1);
  padding: 5px 20px;
  border-radius: var(--radius-full);
  margin-bottom: 0 !important;
  position: relative;
  z-index: 1;
}

/* ── Icon Box ────────────────────────────────────────── */
.icon-box {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: 1.3rem;
  background: var(--gia-primary-50);
  color: var(--gia-primary);
  transition: all .3s var(--ease);
  flex-shrink: 0;
}

.icon-box.filled {
  background: var(--gia-primary);
  color: #fff;
}

/* ── Stat Counter ────────────────────────────────────── */
.stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
}

.stat-number {
  font-family: 'DM Serif Display', serif;
  font-size: 2.5rem;
  color: var(--gia-primary);
  line-height: 1;
  margin-bottom: .25rem;
}

.stat-label {
  font-size: .85rem;
  color: var(--gia-text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── Divider ─────────────────────────────────────────── */
.section-divider {
  width: 60px;
  height: 3px;
  background: var(--gia-secondary);
  border-radius: 2px;
  margin: 1rem 0;
}

.section-divider.center {
  margin-left: auto;
  margin-right: auto;
}

/* ── Gallery Section ─────────────────────────────────── */
.gallery-section {
  background: var(--gia-dark) !important;
  position: relative;
}

/* ── CTA Section ─────────────────────────────────────── */
.cta-section {
  position: relative;
  background: linear-gradient(135deg, var(--gia-primary-dark) 0%, var(--gia-primary) 100%) !important;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,.04)"/></svg>') repeat;
  background-size: 50px 50px;
}

.cta-section h2 {
  margin-bottom: 1rem !important;
  color: #fff;
}

.cta-section p {
  color: rgba(255, 255, 255, .8);
}

/* ── Navbar overrides ────────────────────────────────── */
.navbar .nav-link {
  color: rgba(255, 255, 255, .9) !important;
  font-weight: 500;
}

.navbar ul li {
  padding-bottom: 0;
  font-size: .95rem;
}

.dropdown-item.active,
.dropdown-item:active {
  background-color: var(--gia-primary);
}

.nav-link:focus,
.nav-link:hover {
  color: var(--gia-secondary-light) !important;
}

.dropdown-item:focus,
.dropdown-item:hover {
  color: #fff !important;
  background-color: var(--gia-primary) !important;
}

.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}

li.breadcrumb-item a {
  color: var(--gia-primary) !important;
}