/* 
  MULTAZEM QURAN LEARNING INSTITUTE - PREMIUM LUXURY STYLESHEET
  Theme Colors:
    Primary Dark: #0D0D0D, #2C1D11 (Dark Brown)
    Golden Accents: #C8A34D, #E5C158, #B38F3B
    Background: #FAF5EB (Soft Cream), #FFFDF7
    Card BG: #FFFFFF
  Typography: Cinzel, Cormorant Garamond, Playfair Display, Poppins
*/

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,600&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --primary-black: #0D0D0D;
  --dark-brown: #2C1D11;
  --medium-brown: #3D2817;
  --golden-primary: #C8A34D;
  --golden-light: #E5C158;
  --golden-dark: #B38F3B;
  --golden-glow: rgba(200, 163, 77, 0.35);
  --soft-cream: #FAF5EB;
  --cream-light: #FFFDF7;
  --white: #FFFFFF;
  --text-dark: #1E1711;
  --text-muted: #5C4B3D;
  --border-golden: rgba(200, 163, 77, 0.3);
  --border-golden-bright: #C8A34D;
  --shadow-luxury: 0 15px 35px rgba(44, 29, 17, 0.08);
  --shadow-golden: 0 12px 30px rgba(200, 163, 77, 0.22);
  --radius-main: 16px;
  --radius-pill: 50px;
  --transition-smooth: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

/* BASE & RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--soft-cream);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  background-image: radial-gradient(rgba(200, 163, 77, 0.05) 1px, transparent 0);
  background-size: 32px 32px;
}

/* RESPONSIVE TYPOGRAPHY */
h1, h2, h3, h4, .font-cinzel {
  font-family: 'Cinzel', serif;
  color: var(--dark-brown);
  letter-spacing: 0.5px;
  word-wrap: break-word;
}

.font-playfair {
  font-family: 'Playfair Display', serif;
}

.font-cormorant {
  font-family: 'Cormorant Garamond', serif;
}

p {
  color: var(--text-muted);
  font-size: clamp(0.88rem, 1.2vw + 0.5rem, 1.025rem);
  line-height: 1.65;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

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

/* ISLAMIC PATTERN OVERLAY */
.islamic-bg-pattern {
  position: relative;
}
.islamic-bg-pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#C8A34D 0.75px, transparent 0.75px), radial-gradient(#C8A34D 0.75px, #FAF5EB 0.75px);
  background-size: 30px 30px;
  background-position: 0 0, 15px 15px;
  opacity: 0.06;
  pointer-events: none;
}

/* CONTAINER & LAYOUT */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: clamp(50px, 8vw, 100px) 0;
}

/* GOLDEN BORDER ACCENT & SHINE */
.golden-border-card {
  background: var(--white);
  border: 1px solid var(--border-golden);
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-luxury);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.golden-border-card:hover {
  border-color: var(--golden-primary);
  box-shadow: var(--shadow-golden);
  transform: translateY(-6px);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: clamp(10px, 2vw, 14px) clamp(20px, 3vw, 32px);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(0.82rem, 1.2vw, 0.95rem);
  letter-spacing: 0.5px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
  text-transform: uppercase;
  white-space: nowrap;
  min-height: 44px;
  position: relative;
  overflow: hidden;
}

/* BUTTON SHINE / RIPPLE ANIMATION */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-golden {
  background: linear-gradient(135deg, var(--golden-primary) 0%, var(--golden-light) 50%, var(--golden-dark) 100%);
  color: var(--primary-black);
  box-shadow: 0 6px 20px rgba(200, 163, 77, 0.3);
}

.btn-golden:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(200, 163, 77, 0.45);
  background: linear-gradient(135deg, var(--golden-light) 0%, var(--golden-primary) 100%);
}

.btn-dark {
  background-color: var(--dark-brown);
  color: var(--golden-light);
  border: 1px solid var(--border-golden);
}

.btn-dark:hover {
  background-color: var(--primary-black);
  border-color: var(--golden-primary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(44, 29, 17, 0.3);
}

.btn-outline-golden {
  background: transparent;
  color: var(--dark-brown);
  border: 2px solid var(--golden-primary);
}

.btn-outline-golden:hover {
  background-color: var(--golden-primary);
  color: var(--primary-black);
  transform: translateY(-3px);
  box-shadow: var(--shadow-golden);
}

.btn-whatsapp {
  background: #25D366;
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #20BA5A;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
}

/* SECTION HEADER */
.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto clamp(36px, 6vw, 60px) auto;
}

.section-subtitle {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 700;
  color: var(--golden-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  position: relative;
}

.section-subtitle::before, .section-subtitle::after {
  content: '✦';
  font-size: 0.85rem;
  margin: 0 8px;
  vertical-align: middle;
  color: var(--golden-light);
}

.section-title {
  font-size: clamp(1.65rem, 4vw + 0.5rem, 2.5rem);
  color: var(--dark-brown);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.25;
}

.section-title span {
  color: var(--golden-primary);
  background: linear-gradient(135deg, #B38F3B 0%, #E5C158 50%, #C8A34D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.golden-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 12px auto;
}

.golden-divider .line {
  height: 1px;
  width: 50px;
  background: linear-gradient(90deg, transparent, var(--golden-primary), transparent);
}

.golden-divider .symbol {
  color: var(--golden-primary);
  font-size: 1.1rem;
}

/* HEADER & NAVBAR */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: clamp(12px, 2vw, 18px) 0;
  transition: var(--transition-smooth);
  background: rgba(250, 245, 235, 0.98);
  border-bottom: 1px solid var(--border-golden);
}

.header.scrolled {
  background: #FAF5EB;
  padding: 10px 0;
  box-shadow: 0 4px 20px rgba(44, 29, 17, 0.1);
  border-bottom: 1px solid var(--golden-primary);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.logo-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--golden-primary);
  padding: 2px;
  background: var(--dark-brown);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-golden);
  overflow: hidden;
  flex-shrink: 0;
}

.logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.brand-text-wrapper {
  display: flex;
  flex-direction: column;
}

.brand-text-wrapper .brand-name {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.88rem, 2.2vw, 1.1rem);
  font-weight: 800;
  color: var(--dark-brown);
  line-height: 1.1;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.brand-text-wrapper .brand-sub {
  font-size: clamp(0.6rem, 1.5vw, 0.75rem);
  color: var(--golden-dark);
  letter-spacing: 1px;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark-brown);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--golden-primary);
  transition: var(--transition-smooth);
}

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

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* MOBILE TOGGLE (HAMBURGER BUTTON) */
.mobile-toggle {
  display: none;
  background: var(--dark-brown);
  border: 1px solid var(--golden-primary);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  color: var(--golden-light);
  font-size: 1.15rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(44, 29, 17, 0.15);
  transition: var(--transition-smooth);
}

.mobile-toggle:hover {
  background: var(--primary-black);
  color: #FFFFFF;
  border-color: var(--golden-light);
}

/* BRAND NEW MOBILE DRAWER & BACKDROP */
.mobile-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  z-index: 99998;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.mobile-backdrop.open,
.mobile-backdrop.active {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.mobile-drawer {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 290px;
  max-width: 82vw;
  height: 100vh;
  height: 100dvh;
  background: #1d140f;
  z-index: 99999;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 16px;
  box-shadow: 10px 0 35px rgba(0, 0, 0, 0.8);
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
  border-right: 1px solid rgba(200, 163, 77, 0.4);
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  visibility: hidden;
}

.mobile-drawer.open,
.mobile-drawer.active {
  transform: translateX(0) !important;
  visibility: visible !important;
  display: flex !important;
}

@keyframes drawerSlideIn {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(200, 163, 77, 0.25);
}

.drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.drawer-logo-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid #C8A34D;
  background: #0D0D0D;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.drawer-logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drawer-brand-info .d-title {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 0.82rem;
  font-weight: 800;
  color: #FFFDF7;
  line-height: 1.1;
}

.drawer-brand-info .d-sub {
  display: block;
  font-size: 0.58rem;
  color: #E5C158;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(200, 163, 77, 0.18);
  border: 1px solid #C8A34D;
  color: #E5C158;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.drawer-close:hover {
  background: #C8A34D;
  color: #1b140f;
}

.drawer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-link {
  display: block;
  padding: 12px 14px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #E2D2BE;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.25s ease;
}

.drawer-link:hover {
  color: #E5C158;
  background: rgba(200, 163, 77, 0.15);
  padding-left: 20px;
}

.drawer-link.active {
  color: #E5C158;
  background: rgba(200, 163, 77, 0.2);
  border-left: 4px solid #C8A34D;
  font-weight: 700;
}

.drawer-bottom {
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid rgba(200, 163, 77, 0.2);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer-reg {
  font-size: 0.74rem;
  color: #C8A34D;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.5px;
}

.drawer-btn {
  width: 100%;
  padding: 10px 14px;
  font-size: 0.82rem;
  text-align: center;
  border-radius: 8px;
}

/* ===========================
   HEADER BRAND
=========================== */

.brand-text-wrapper{
    display:flex;
    flex-direction:column;
    justify-content:center;
    line-height:1.1;
    min-width:0;
}

.brand-name{
    font-family:'Cinzel',serif;
    font-size:20px;
    font-weight:800;
    color:#fff;
    line-height:1.1;
    white-space:nowrap;
}

.brand-sub{
    display:block;
    font-size:12px;
    color:#C8A34D;
    font-weight:600;
    letter-spacing:1px;
    line-height:1.1;
    white-space:nowrap;
    margin-top:2px;
}

/* ===========================
   MOBILE DRAWER BRAND
=========================== */

.drawer-brand{
    display:flex;
    align-items:center;
    gap:12px;
    width:100%;
}

.drawer-logo-circle{
    width:50px;
    height:50px;
    border-radius:50%;
    overflow:hidden;
    border:2px solid #C8A34D;
    flex-shrink:0;
}

.drawer-logo-circle img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.drawer-brand-info{
    display:flex;
    flex-direction:column;
    justify-content:center;
    min-width:0;
    flex:1;
}

.drawer-brand-info .d-title{
    display:block !important;
    font-family:'Cinzel',serif;
    font-size:15px;
    font-weight:800;
    color:#fff;
    line-height:1.15;
    white-space:nowrap;
}

.drawer-brand-info .d-sub{
    display:block !important;
    font-size:11px;
    font-weight:600;
    color:#C8A34D;
    line-height:1.15;
    margin-top:2px;
    white-space:nowrap;
    visibility:visible !important;
    opacity:1 !important;
}

/* ===========================
   MOBILE
=========================== */

@media (max-width:768px){

.brand-text-wrapper{
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
}

.brand-name{
    font-size:14px !important;
    line-height:1.1 !important;
}

.brand-sub{
    display:block !important;
    font-size:9px !important;
    visibility:visible !important;
    opacity:1 !important;
    color:#C8A34D !important;
}

.drawer-brand-info .d-title{
    font-size:14px !important;
}

.drawer-brand-info .d-sub{
    display:block !important;
    font-size:10px !important;
    visibility:visible !important;
    opacity:1 !important;
}

}

@media (max-width:480px){

.brand-name{
    font-size:13px !important;
}

.brand-sub{
    font-size:8px !important;
}

.drawer-brand-info .d-title{
    font-size:13px !important;
}

.drawer-brand-info .d-sub{
    font-size:9px !important;
}

}
/* HERO BANNER */
.hero-section {
  min-height: 100vh;
  padding-top: clamp(110px, 15vw, 150px);
  padding-bottom: clamp(60px, 8vw, 90px);
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, rgba(250, 245, 235, 0.98) 0%, rgba(247, 242, 230, 0.95) 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
}

.hero-content {
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(200, 163, 77, 0.12);
  border: 1px solid var(--border-golden);
  border-radius: var(--radius-pill);
  color: var(--golden-dark);
  font-family: 'Cinzel', serif;
  font-size: clamp(0.75rem, 1.5vw, 0.85rem);
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(1.85rem, 5vw + 0.8rem, 3.4rem);
  font-weight: 800;
  color: var(--dark-brown);
  line-height: 1.18;
  margin-bottom: 18px;
}

.hero-title span {
  color: var(--golden-primary);
  background: linear-gradient(135deg, #B38F3B 0%, #E5C158 50%, #C8A34D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 600px;
  line-height: 1.65;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-trust-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(16px, 3vw, 28px);
  padding-top: 20px;
  border-top: 1px solid var(--border-golden);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(0.8rem, 1.5vw, 0.9rem);
  font-weight: 600;
  color: var(--dark-brown);
}

.trust-item i {
  color: var(--golden-primary);
  font-size: 1.1rem;
}

.hero-media {
  position: relative;
  z-index: 2;
}

.hero-image-frame {
  position: relative;
  border-radius: 20px;
  padding: 10px;
  background: linear-gradient(135deg, var(--golden-primary) 0%, rgba(200, 163, 77, 0.2) 100%);
  box-shadow: 0 20px 50px rgba(44, 29, 17, 0.15);
}

.hero-image-frame img {
  border-radius: 14px;
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
}

.floating-card-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius-main);
  border: 1px solid var(--border-golden);
  box-shadow: var(--shadow-golden);
  display: flex;
  align-items: center;
  gap: 14px;
  animation: floatAnim 4s ease-in-out infinite;
  max-width: calc(100% - 20px);
}

.floating-card-badge i {
  font-size: 1.8rem;
  color: var(--golden-primary);
}

.badge-info h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.badge-info p {
  font-size: 0.78rem;
  margin: 0;
}

/* STATISTICS SECTION (MUST BE 2 COLUMNS ON MOBILE) */
.stats-section {
  background: var(--dark-brown);
  color: var(--white);
  padding: clamp(40px, 6vw, 60px) 0;
  position: relative;
  border-top: 2px solid var(--golden-primary);
  border-bottom: 2px solid var(--golden-primary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-card {
  padding: 16px 10px;
  border-right: 1px solid rgba(200, 163, 77, 0.2);
}

.stat-card:last-child {
  border-right: none;
}

.stat-icon {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  color: var(--golden-light);
  margin-bottom: 10px;
}

.stat-number {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--golden-light);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: clamp(0.78rem, 1.5vw, 0.9rem);
  color: #E2D2BE;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* FEATURES / WHY CHOOSE US */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 30px);
}

.feature-card {
  padding: clamp(24px, 4vw, 36px) clamp(20px, 3vw, 28px);
  text-align: center;
}

.feature-icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(200, 163, 77, 0.15) 0%, rgba(200, 163, 77, 0.05) 100%);
  border: 1px solid var(--golden-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px auto;
  color: var(--golden-primary);
  font-size: 1.8rem;
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-wrapper {
  background: var(--golden-primary);
  color: var(--primary-black);
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 20px var(--golden-glow);
}

.feature-title {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  font-weight: 700;
  margin-bottom: 10px;
}

/* COURSES PREVIEW & GRID (NO IMAGES - LARGE ICONS ONLY) */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 30px);
}

.course-card {
  padding: clamp(24px, 4vw, 36px) clamp(20px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF5EB 100%);
}

.course-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.course-icon {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  background: var(--dark-brown);
  border: 1px solid var(--golden-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--golden-light);
  font-size: 1.8rem;
  box-shadow: 0 6px 16px rgba(44, 29, 17, 0.15);
  transition: var(--transition-smooth);
}

.course-card:hover .course-icon {
  background: var(--golden-primary);
  color: var(--primary-black);
  transform: translateY(-4px);
}

.course-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(200, 163, 77, 0.15);
  color: var(--golden-dark);
  border: 1px solid var(--border-golden);
  text-transform: uppercase;
}

.course-title {
  font-size: clamp(1.18rem, 2vw, 1.35rem);
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark-brown);
}

.course-desc {
  font-size: clamp(0.85rem, 1.5vw, 0.92rem);
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.55;
}

.course-features-list {
  margin-bottom: 20px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-golden);
}

.course-features-list li {
  font-size: clamp(0.8rem, 1.2vw, 0.85rem);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.course-features-list li i {
  color: var(--golden-primary);
  font-size: 0.8rem;
}

/* FOUNDER SECTION (NEW REPLACEMENT) */
.founder-card {
  background: var(--white);
  border: 2px solid var(--golden-primary);
  border-radius: 20px;
  padding: clamp(24px, 5vw, 45px);
  box-shadow: var(--shadow-golden);
}

.founder-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
}

.founder-img-wrapper {
  border-radius: 16px;
  border: 2px solid var(--golden-primary);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-luxury);
  background: var(--dark-brown);
  aspect-ratio: 4/5;
  max-width: 420px;
  margin: 0 auto;
}

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

.founder-info h3 {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  color: var(--dark-brown);
  margin-bottom: 6px;
}

.founder-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--golden-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.founder-meta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.founder-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(200, 163, 77, 0.12);
  color: var(--dark-brown);
  border: 1px solid var(--border-golden);
}

.founder-badge i {
  color: var(--golden-primary);
}

.founder-bio {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.65;
}

.founder-quote-box {
  background: var(--soft-cream);
  border-left: 4px solid var(--golden-primary);
  padding: 18px 22px;
  border-radius: 0 12px 12px 0;
  margin-bottom: 24px;
  font-style: italic;
  position: relative;
}

.founder-quote-box p {
  color: var(--dark-brown);
  font-size: clamp(0.88rem, 1.5vw, 0.98rem);
  font-weight: 500;
  margin: 0;
}

/* REGISTERED ACADEMY CARD */
.registration-card {
  background: linear-gradient(135deg, var(--dark-brown) 0%, #1A120A 100%);
  color: var(--white);
  border: 2px solid var(--golden-primary);
  border-radius: 20px;
  padding: clamp(24px, 5vw, 45px);
  box-shadow: 0 20px 50px rgba(44, 29, 17, 0.25);
  position: relative;
  overflow: hidden;
}

.registration-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
}

.reg-image-placeholder {
  border-radius: 16px;
  border: 2px dashed var(--golden-primary);
  overflow: hidden;
  position: relative;
  min-height: 240px;
  background: rgba(255, 255, 255, 0.05);
}

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

.reg-badge-number {
  display: inline-block;
  padding: 6px 18px;
  background: var(--golden-primary);
  color: var(--primary-black);
  font-family: 'Cinzel', serif;
  font-weight: 800;
  font-size: clamp(0.85rem, 1.8vw, 1.05rem);
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
  letter-spacing: 1px;
}

.reg-details h3 {
  color: var(--golden-light);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 12px;
}

.reg-details p {
  color: #E2D2BE;
  margin-bottom: 18px;
}

/* CERTIFICATES SECTION */
.certificate-card {
  background: linear-gradient(135deg, #FFFDF7 0%, #FAF5EB 100%);
  border: 2px solid var(--golden-primary);
  border-radius: 20px;
  padding: clamp(24px, 5vw, 40px);
  box-shadow: var(--shadow-golden);
}

.cert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
}

.cert-img-holder {
  border-radius: 16px;
  border: 1px solid var(--border-golden);
  overflow: hidden;
  box-shadow: var(--shadow-luxury);
  max-height: 320px;
}

.cert-img-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ADMISSION & CONTACT FORMS */
.form-card {
  background: var(--white);
  border: 1px solid var(--border-golden);
  border-radius: 20px;
  padding: clamp(20px, 4vw, 45px);
  box-shadow: var(--shadow-luxury);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(14px, 2vw, 20px);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-size: clamp(0.82rem, 1.2vw, 0.88rem);
  font-weight: 600;
  color: var(--dark-brown);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border-golden);
  background: var(--cream-light);
  font-family: 'Poppins', sans-serif;
  font-size: clamp(0.88rem, 1.2vw, 0.95rem);
  color: var(--text-dark);
  outline: none;
  transition: var(--transition-smooth);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--golden-primary);
  box-shadow: 0 0 12px rgba(200, 163, 77, 0.3);
  background: var(--white);
}

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

/* CONTACT INFO CARDS */
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 28px);
  margin-bottom: 40px;
}

.contact-info-card {
  padding: clamp(22px, 3vw, 32px);
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border-golden);
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-luxury);
  transition: var(--transition-smooth);
}

.contact-info-card:hover {
  transform: translateY(-6px);
  border-color: var(--golden-primary);
  box-shadow: var(--shadow-golden);
}

.contact-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(200, 163, 77, 0.15);
  border: 1px solid var(--golden-primary);
  color: var(--golden-dark);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
}

.contact-title {
  font-size: clamp(1.1rem, 2vw, 1.2rem);
  margin-bottom: 8px;
}

/* FOOTER */
.footer {
  background: var(--dark-brown);
  color: var(--soft-cream);
  padding-top: clamp(50px, 8vw, 80px);
  padding-bottom: 30px;
  border-top: 3px solid var(--golden-primary);
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(24px, 4vw, 40px);
  margin-bottom: 50px;
}

.footer-brand p {
  color: #D2C2AE;
  margin-top: 16px;
  font-size: clamp(0.85rem, 1.2vw, 0.92rem);
}

.footer-heading {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--golden-light);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--golden-primary);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #D2C2AE;
  font-size: clamp(0.85rem, 1.2vw, 0.92rem);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--golden-light);
  transform: translateX(5px);
}

.newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.newsletter-input {
  flex: 1;
  padding: 10px 14px;
  min-height: 42px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-golden);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  outline: none;
  font-size: 0.88rem;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(200, 163, 77, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: clamp(0.8rem, 1.2vw, 0.88rem);
  color: #B5A38F;
  flex-wrap: wrap;
  gap: 12px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-golden);
  color: var(--golden-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.social-link:hover {
  background: var(--golden-primary);
  color: var(--primary-black);
  transform: translateY(-3px);
}

/* ANIMATIONS & KEYFRAMES */
@keyframes floatAnim {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 15px rgba(200, 163, 77, 0.3); }
  50% { box-shadow: 0 0 30px rgba(200, 163, 77, 0.7); }
}

@keyframes floatLight {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.02); }
}

@keyframes rotateSubtle {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes bounceSubtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* SCROLL REVEAL UTILITY CLASSES */
.animate-fade-up {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-fade-down {
  opacity: 0;
  transform: translateY(-35px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-fade-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-fade-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-zoom {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-zoom-out {
  opacity: 0;
  transform: scale(1.12);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.animate-float {
  animation: floatAnim 4s ease-in-out infinite;
}

.animate-glow {
  animation: pulseGlow 3s ease-in-out infinite;
}

.animate-bounce {
  animation: bounceSubtle 2.5s ease-in-out infinite;
}

.animate-in {
  opacity: 1 !important;
  transform: translate(0) scale(1) !important;
}

/* RESPONSIVE MEDIA QUERIES (320px to 1400px) */

/* 1400px+ */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* 1200px */
@media (max-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  .courses-grid, .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* DESKTOP STYLES (KEEP DESKTOP UNCHANGED) */
@media (min-width: 993px) {
  .mobile-toggle, .mobile-phone-btn {
    display: none !important;
  }
  .mobile-drawer, .mobile-backdrop {
    display: none !important;
  }
  nav .nav-menu {
    display: flex !important;
  }
}

/* 992px & BELOW: BRAND NEW MOBILE NAVBAR & HAMBURGER POSITIONING */
@media (max-width: 992px) {
  .container {
    max-width: 960px;
  }

  /* HIDE DESKTOP INLINE MENU */
  nav .nav-menu {
    display: none !important;
  }
  
  /* NAVBAR FIXED 70px HEIGHT */
  .header {
    height: 70px !important;
    padding: 0 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    display: flex !important;
    align-items: center !important;
    background: #FAF5EB !important;
    border-bottom: 1px solid var(--border-golden) !important;
  }

  .nav-container {
    height: 70px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
    padding: 0 16px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* LOGO & AUTOMATICALLY RESIZING BRAND NAME */
  .logo-brand {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    max-width: calc(100% - 130px) !important;
    flex-shrink: 0 !important;
  }

  .logo-circle {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    border: 2px solid var(--golden-primary) !important;
    padding: 2px !important;
    background: var(--dark-brown) !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
  }

  .brand-text-wrapper .brand-name {
    font-size: clamp(0.72rem, 3.2vw, 0.95rem) !important;
    font-weight: 800 !important;
    color: var(--dark-brown) !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .brand-text-wrapper .brand-sub {
    font-size: clamp(0.55rem, 2vw, 0.68rem) !important;
    color: var(--golden-dark) !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    letter-spacing: 0.5px !important;
  }

  /* HIDE DESKTOP HEADER ACTIONS ON MOBILE TO PREVENT OVERLAP */
  .header-actions {
    display: none !important;
  }

  /* MOBILE HEADER ACTIONS CONTAINER (ALIGNED ON RIGHT) */
  .mobile-header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
  }

  /* MOBILE PHONE BUTTON */
  .mobile-phone-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: static !important;
    width: 38px !important;
    height: 38px !important;
    background: #2C1D11 !important;
    border: 1px solid #C8A34D !important;
    border-radius: 8px !important;
    color: #E5C158 !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(44, 29, 17, 0.2) !important;
    transition: var(--transition-smooth) !important;
    text-decoration: none !important;
  }

  .mobile-phone-btn:hover {
    background: #0D0D0D !important;
    color: #FFFFFF !important;
    border-color: #E5C158 !important;
  }

  /* HAMBURGER TOGGLE BUTTON */
  .mobile-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: static !important;
    width: 38px !important;
    height: 38px !important;
    background: #2C1D11 !important;
    border: 1px solid #C8A34D !important;
    border-radius: 8px !important;
    color: #E5C158 !important;
    font-size: 1.15rem !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(44, 29, 17, 0.2) !important;
    transition: var(--transition-smooth) !important;
  }

  .mobile-toggle:hover {
    background: #0D0D0D !important;
    color: #FFFFFF !important;
    border-color: #E5C158 !important;
  }

  /* GRID RESPONSIVENESS AT 992px */
  .hero-grid, .founder-grid, .registration-grid, .cert-grid, .contact-layout-grid {
    grid-template-columns: 1fr;
  }
  .courses-grid, .features-grid, .contact-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 768px (TABLET TO MOBILE) */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }

  .stat-card {
    border-right: none;
    border-bottom: 1px solid rgba(200, 163, 77, 0.2);
    padding: 14px 8px;
  }

  .stat-card:last-child {
    grid-column: span 2;
    border-bottom: none;
  }

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

  .form-group.full-width {
    grid-column: span 1;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }

  .floating-card-badge {
    position: relative;
    bottom: 0;
    left: 0;
    margin-top: 16px;
    max-width: 100%;
  }
}

/* 576px (SMALL MOBILE) */
@media (max-width: 576px) {
  .courses-grid, .features-grid, .contact-cards-grid, .social-grid-3 {
    grid-template-columns: 1fr !important;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

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

/* 480px & 414px & 390px & 375px & 360px & 320px RESPONSIVE BREAKPOINTS */
@media (max-width: 480px) {
  .logo-brand {
    max-width: calc(100% - 100px) !important;
  }

  .founder-quote-box {
    padding: 14px 16px;
  }
}

@media (max-width: 414px) {
  .container {
    padding: 0 12px;
  }

  .btn {
    padding: 10px 16px;
    font-size: 0.8rem;
  }

  .stat-number {
    font-size: 1.6rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }
}

@media (max-width: 375px) {
  .brand-text-wrapper .brand-sub {
    font-size: 0.55rem !important;
  }
}

@media (max-width: 360px) {
  .logo-brand {
    gap: 6px !important;
  }

  .brand-text-wrapper .brand-sub {
    display: none !important;
  }

  .stat-card {
    padding: 10px 4px;
  }
}

@media (max-width: 320px) {
  .logo-brand {
    max-width: calc(100% - 90px) !important;
  }
}
