:root {
  /* Colors (Bhagwa / Saffron Theme) */
  --color-primary: #FF7F00;      /* Bhagwa (Saffron Orange) */
  --color-secondary: #E65100;    /* Dark Bhagwa */
  --color-dark: #6D2400;         /* Deep Brownish Orange */
  --color-white: #FFFFFF;
  --color-light: #FFF5EE;        /* Light Saffron tinted gray */
  --color-dark-bg: #3E1400;      /* Extra Dark Bhagwa */
  --color-text: #222222;
  --color-text-muted: #666666;
  --color-border: #FFD1A3;       /* Light Saffron Border */

  /* Typography */
  --font-primary: 'Poppins', sans-serif;
  
  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;
  --top-bar-height: 40px;

  /* Transition */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

/* Global Resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-radius: 0 !important; /* Strict no rounded corners rule */
}

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

body {
  font-family: var(--font-primary);
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

/* Typography Classes */
h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--color-dark);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 15px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-dark);
  font-weight: 700;
  line-height: 1.2;
}

h3, h4, h5, h6 {
  color: var(--color-dark);
  font-weight: 700;
  line-height: 1.3;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  text-transform: uppercase;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--color-primary);
}

.text-center { text-align: center; }
.text-center .section-title::after { left: 50%; transform: translateX(-50%); }

/* Layout Utilities */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.bg-light {
  background-color: var(--color-light);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-normal);
  font-family: var(--font-primary);
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-dark);
  color: var(--color-white);
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

.btn-secondary:hover {
  background-color: var(--color-dark);
  color: var(--color-white);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

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

/* Page Loader */
#page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-white);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

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

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.loader-logo {
  max-width: 180px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(1); opacity: 0.8; }
}

.loader-spinner {
  width: 40px;
  height: 40px;
  background-color: var(--color-primary);
  animation: flip 1.2s infinite ease-in-out;
  border-radius: 0 !important;
}

@keyframes flip {
  0% { transform: perspective(120px) rotateX(0deg) rotateY(0deg); }
  50% { transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg); }
  100% { transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg); }
}

/* Scroll Progress */
#scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: var(--color-primary);
  z-index: 10000;
  width: 0%;
  transition: width 0.1s;
}

/* Top Information Bar */
.top-bar {
  background-color: var(--color-dark);
  color: var(--color-white);
  height: var(--top-bar-height);
  font-size: 0.85rem;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  overflow: hidden;
  white-space: nowrap;
}

.news-ticker-label {
  background-color: var(--color-primary);
  padding: 0 10px;
  height: var(--top-bar-height);
  display: flex;
  align-items: center;
  font-weight: 600;
  text-transform: uppercase;
}

.news-ticker {
  overflow: hidden;
  width: 300px;
}

.news-ticker ul {
  display: flex;
  animation: ticker 15s linear infinite;
}

.news-ticker li {
  padding-right: 50px;
}

@keyframes ticker {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.social-icons a {
  color: var(--color-white);
  margin-left: 10px;
  transition: color var(--transition-fast);
}

.social-icons a:hover {
  color: var(--color-primary);
}

/* Header & Navigation */
.main-header {
  background-color: rgba(255, 255, 255, 0.95);
  height: 90px;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.main-header .header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  transition: all 0.4s ease;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.main-header.scrolled {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  height: 70px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.main-header.scrolled .header-inner {
    border-bottom: 1px solid transparent;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header-logo-img {
  max-height: 60px;
  width: auto;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.1));
}

.main-header.scrolled .header-logo-img {
  max-height: 45px;
}

.nav-menu {
  display: flex;
  gap: 25px;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: capitalize;
  color: #444;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s;
}

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

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

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.search-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--color-dark);
  cursor: pointer;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-dark);
  cursor: pointer;
}

/* Fullscreen Search Overlay */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(30, 11, 4, 0.95);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.close-search {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 2rem;
  cursor: pointer;
}

.search-form {
  width: 100%;
  max-width: 600px;
  position: relative;
}

.search-form input {
  width: 100%;
  padding: 20px;
  font-size: 1.5rem;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--color-white);
  color: var(--color-white);
  font-family: var(--font-primary);
}

.search-form input:focus {
  outline: none;
  border-bottom-color: var(--color-primary);
}

.search-form button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* =========================================
   BENTO FOOTER REDESIGN
   ========================================= */
.bento-footer {
  background-color: #0d0d0d;
  color: #E0E0E0;
  padding: 60px 0 20px 0;
  font-family: var(--font-secondary);
}

.bento-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 20px;
  margin-bottom: 40px;
}

.bento-card {
  background: #181818;
  border-radius: 20px;
  padding: 35px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 111, 0, 0.2);
}

/* Brand Card (Saffron) */
.brand-card {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
  border: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.brand-card:hover {
  box-shadow: 0 15px 30px rgba(255, 111, 0, 0.3);
  border-color: transparent;
}

.brand-card-content {
  position: relative;
  z-index: 2;
}

.bento-logo-link {
  display: block;
  margin-bottom: 20px;
  text-decoration: none;
}

.footer-logo-img {
  max-width: 100%;
  max-height: 70px;
  width: auto;
  filter: drop-shadow(0px 4px 6px rgba(0,0,0,0.2));
  transition: transform 0.3s ease;
}

.bento-logo-link:hover .footer-logo-img {
  transform: scale(1.03);
}

.bento-desc {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.bento-socials {
  display: flex;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.b-social {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.b-social:hover {
  background: white;
  color: var(--color-primary);
  transform: translateY(-3px) scale(1.05);
}

.brand-bg-accent {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

/* Link Cards */
.link-card h4, .contact-card h4 {
  color: white;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 25px;
}

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

.bento-links li a {
  color: #AAAAAA;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.bento-links li a:hover {
  color: var(--color-primary);
  transform: translateX(5px);
}

/* Contact Card */
.bento-contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.bento-contact-list li {
  color: #AAAAAA;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.bento-contact-list li i {
  color: var(--color-primary);
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

/* Newsletter inside Bento */
.bento-newsletter form {
  display: flex;
  background: #0d0d0d;
  border-radius: 12px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.bento-newsletter form:focus-within {
  border-color: var(--color-primary);
}

.bento-newsletter input {
  flex-grow: 1;
  background: transparent;
  border: none;
  padding: 12px 15px;
  color: white;
  font-size: 0.9rem;
}

.bento-newsletter input:focus {
  outline: none;
}

.bento-newsletter button {
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: 8px;
  width: 45px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.3s ease;
}

.bento-newsletter button:hover {
  background: var(--color-secondary);
}

/* Footer Bottom */
.bento-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #777;
  font-size: 0.9rem;
}

.b-bottom-links {
  display: flex;
  gap: 20px;
}

.b-bottom-links a {
  color: #777;
  text-decoration: none;
  transition: color 0.3s ease;
}

.b-bottom-links a:hover {
  color: var(--color-primary);
}

/* Scroll to top */
#scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 999;
  border-radius: 50%;
}

#scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

#scroll-top:hover {
  background-color: var(--color-dark);
  transform: translateY(-5px);
}

/* Responsive Footer */
@media (max-width: 1200px) {
  .bento-footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  }
}

@media (max-width: 991px) {
  .bento-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .brand-card {
    grid-column: 1 / -1;
  }
  
  .top-bar {
    display: none;
  }
  .main-header {
    height: auto;
    padding: 10px 0;
  }
  .main-header .container {
    flex-wrap: nowrap;
    gap: 12px;
    min-height: 56px;
  }
  .nav-menu {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--color-border);
    padding: 0;
  }
  .header-actions {
    gap: 10px;
    margin-left: auto;
  }
  .header-actions .btn {
    display: none;
  }
}
/* =========================================
   WHATSAPP POPUP STYLES
   ========================================= */
.wa-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.wa-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.wa-popup-content {
  background: var(--color-dark-bg);
  width: 90%;
  max-width: 450px;
  border-radius: 20px;
  padding: 40px;
  position: relative;
  transform: translateY(50px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 20px 50px rgba(255, 111, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.wa-popup-overlay.active .wa-popup-content {
  transform: translateY(0);
}

.wa-popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.wa-popup-close:hover {
  background: var(--color-primary);
  transform: rotate(90deg);
}

.wa-popup-icon {
  font-size: 3rem;
  color: #25D366; /* WhatsApp Green */
  margin-bottom: 15px;
}

.wa-popup-content h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.wa-popup-content p {
  color: #AAAAAA;
  font-size: 0.95rem;
  margin-bottom: 25px;
}

.wa-popup-form input,
.wa-popup-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px 15px;
  color: white;
  margin-bottom: 15px;
  font-family: var(--font-secondary);
}

.wa-popup-form input:focus,
.wa-popup-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.wa-popup-form button {
  width: 100%;
  background: #25D366;
  color: white;
  border: none;
  padding: 15px;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.wa-popup-form button:hover {
  background: #1ebd5a;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .bento-footer-grid {
    grid-template-columns: 1fr;
  }
  .bento-footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  .section {
    padding: 45px 0;
  }
  .section-title {
    font-size: 1.9rem;
  }
  #scroll-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }
  .mobile-drawer {
    width: min(320px, 85vw);
  }
}

@media (max-width: 575px) {
  .main-header .container {
    padding: 0 14px;
  }
  .header-logo-img {
    max-height: 50px;
  }
  .mobile-menu-btn {
    width: 42px;
    height: 42px;
  }
}

/* Shared page hero mobile behavior */
.hero-section,
.inner-hero,
.cat-hero,
.events-hero,
.modern-hero,
.story-hero {
  min-height: 420px;
  background-size: cover;
  background-position: center;
}

@media (max-width: 992px) {
  .hero-section,
  .inner-hero,
  .cat-hero,
  .events-hero,
  .modern-hero,
  .story-hero {
    min-height: auto;
    padding: 60px 0;
  }
  .hero-section .slide-container,
  .cat-hero-content,
  .events-hero-content,
  .modern-hero-content,
  .inner-hero-content,
  .story-hero-content {
    padding: 0 20px;
  }
  .hero-section .slide-title,
  .cat-title,
  .events-title,
  .inner-hero-title,
  .story-title,
  .modern-hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.1;
  }
  .hero-section .slide-text,
  .cat-subtitle,
  .events-subtitle,
  .breadcrumbs,
  .story-hero p,
  .inner-hero p,
  .modern-hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
  }
}

@media (max-width: 768px) {
  .hero-section,
  .inner-hero,
  .cat-hero,
  .events-hero,
  .modern-hero,
  .story-hero {
    padding: 50px 0;
  }
  .hero-section .slide-title,
  .cat-title,
  .events-title,
  .inner-hero-title,
  .story-title,
  .modern-hero-title {
    font-size: clamp(1.8rem, 7vw, 2.35rem);
  }
  .hero-section .slide-actions,
  .header-actions,
  .events-filter-bar,
  .solid-tabs {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-section .slide-actions .btn,
  .header-actions .btn,
  .solid-tab {
    width: 100%;
  }
}

@media (max-width: 575px) {
  .hero-section,
  .inner-hero,
  .cat-hero,
  .events-hero,
  .modern-hero,
  .story-hero {
    padding: 40px 0;
  }
  .hero-section .slide-title,
  .cat-title,
  .events-title,
  .inner-hero-title,
  .story-title,
  .modern-hero-title {
    font-size: 2rem;
  }
  .hero-section .slide-actions,
  .header-actions,
  .solid-tabs {
    gap: 10px;
  }
}

/* Mobile Drawer Menu (Injected dynamically) */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: -100%;
  width: 300px;
  height: 100vh;
  background-color: var(--color-white);
  box-shadow: 2px 0 15px rgba(0,0,0,0.1);
  z-index: 1001;
  transition: left var(--transition-normal);
  overflow-y: auto;
}

.mobile-drawer.open {
  left: 0;
}

.mobile-drawer-header {
  padding: 20px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-drawer {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-dark);
}

.mobile-nav-menu {
  padding: 20px;
}

.mobile-nav-menu li {
  margin-bottom: 15px;
}

.mobile-nav-menu a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-dark);
  display: block;
  text-transform: uppercase;
}

.mobile-nav-menu a.active {
  color: var(--color-primary);
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.drawer-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* Vaishnavi Foundation Section */
.foundation-section { padding: 120px 0; background: linear-gradient(135deg, #0b1c3c 0%, #1a365d 100%); position: relative; overflow: hidden; }
.foundation-section::before { content: ''; position: absolute; top: -150px; right: -150px; width: 400px; height: 400px; background: rgba(255,126,0,0.1); border-radius: 50%; filter: blur(60px); }
.foundation-container { max-width: 1300px; margin: 0 auto; display: flex; align-items: center; padding: 0 5%; position: relative; z-index: 2; }
.foundation-content { flex: 1; background: #ffffff; padding: 70px 60px; border-radius: 30px; z-index: 3; box-shadow: 0 30px 60px rgba(0,0,0,0.4); margin-right: -80px; position: relative; }
.foundation-content::before { content: ''; position: absolute; top: 0; left: 0; width: 8px; height: 100%; background: var(--color-primary); border-radius: 30px 0 0 30px; }
.foundation-image { flex: 1.2; position: relative; border-radius: 30px; overflow: hidden; box-shadow: 0 25px 50px rgba(0,0,0,0.5); z-index: 1; border: 8px solid rgba(255,255,255,0.1); }
.foundation-image img { width: 100%; height: auto; display: block; transition: transform 0.7s ease; }
.foundation-image:hover img { transform: scale(1.08); }
.foundation-badge { display: inline-block; background: rgba(255,126,0,0.15); color: var(--color-primary); padding: 8px 20px; border-radius: 50px; font-size: 0.95rem; font-weight: 700; text-transform: uppercase; margin-bottom: 25px; letter-spacing: 1px; }
.foundation-content h2 { font-size: 3.5rem; color: var(--color-dark); margin-bottom: 25px; font-weight: 800; line-height: 1.1; letter-spacing: -1px; }
.foundation-content h2 span { color: var(--color-primary); }
.foundation-content p { font-size: 1.2rem; color: var(--color-text); line-height: 1.8; margin-bottom: 40px; }
@media(max-width:1100px) {
    .foundation-content { padding: 50px 40px; margin-right: -40px; }
}
@media(max-width:992px) { 
    .foundation-container { flex-direction: column; text-align: center; } 
    .foundation-content { margin-right: 0; margin-bottom: -50px; padding: 40px 30px; border-radius: 20px; }
    .foundation-content::before { width: 100%; height: 6px; border-radius: 20px 20px 0 0; }
    .foundation-image { width: 100%; border-radius: 20px; }
}

/* ==============================================
   PREMIUM MOBILE HEADER & MENU (Apple/Awwwards Style)
   ============================================== */

/* Premium Header Base */
.glass-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(229, 83, 20, 0.3); /* Thin golden/brand border */
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    z-index: 1000;
}
.header-inner {
    height: 70px; /* Fixed height for premium feel */
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.header-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}
.premium-logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: #111;
    line-height: 1.1;
    display: none; /* Only show on mobile if needed, or keep hidden to prefer just logo. Let's show it on mobile to look app-like */
}
.premium-logo-text span {
    color: #e55314;
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Animated Hamburger */
.premium-hamburger {
    background: transparent;
    border: none;
    cursor: pointer;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 20px;
    padding: 0;
    z-index: 1001; /* Above drawer */
    position: relative;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}
.premium-hamburger span {
    display: block;
    width: 100%;
    height: 2.5px;
    background-color: #111;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: left center;
}
.premium-hamburger:hover span {
    background-color: #e55314; /* Golden/Brand hover */
}
.premium-hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    width: 24px;
}
.premium-hamburger.active span:nth-child(2) {
    width: 0;
    opacity: 0;
}
.premium-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    width: 24px;
}

/* Full Screen Premium Drawer Overlay */
.premium-menu-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(5px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}
.premium-menu-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Premium Fullscreen Drawer */
.premium-mobile-drawer {
    position: fixed;
    top: 70px; /* Right below the header */
    right: 0;
    bottom: 0;
    width: 100%; /* Full screen overlay style */
    background: linear-gradient(145deg, rgba(255,255,255,0.98), rgba(248,249,250,0.95));
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
    padding: 30px 25px;
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
    overflow-y: auto;
}
.premium-mobile-drawer.open {
    transform: translateX(0);
}

/* Drawer Background Particles */
.drawer-bg-particles {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(circle at 80% 20%, rgba(229,83,20,0.05) 0%, transparent 40%),
                      radial-gradient(circle at 20% 80%, rgba(229,83,20,0.05) 0%, transparent 40%);
    z-index: -1;
    pointer-events: none;
}

/* Menu Items */
.drawer-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.premium-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}
.premium-nav-menu li {
    margin-bottom: 15px;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.premium-mobile-drawer.open .premium-nav-menu li {
    opacity: 1;
    transform: translateX(0);
    transition-delay: calc(0.05s * var(--i));
}
.premium-nav-menu a {
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #111;
    display: block;
    padding: 10px 20px;
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}
.premium-nav-menu a::before {
    content: '';
    position: absolute;
    left: 20px;
    bottom: 10px;
    width: 0;
    height: 3px;
    background: #e55314; /* Golden brand color */
    border-radius: 2px;
    transition: width 0.3s ease;
}
.premium-nav-menu a:hover,
.premium-nav-menu a:active {
    background: rgba(229,83,20,0.05);
    color: #e55314;
    padding-left: 30px;
}
.premium-nav-menu a:hover::before,
.premium-nav-menu a.active::before {
    width: 30px;
}
.premium-nav-menu a.active {
    color: #e55314;
}

/* CTA Buttons inside drawer */
.drawer-cta {
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.premium-mobile-drawer.open .drawer-cta {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(0.05s * var(--i));
}
.btn-drawer-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 20px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}
.btn-drawer-cta.primary {
    background: linear-gradient(135deg, #e55314 0%, #ff7e5f 100%);
    color: #fff;
    box-shadow: 0 10px 20px rgba(229,83,20,0.3);
}
.btn-drawer-cta.secondary {
    background: rgba(0,0,0,0.05);
    color: #111;
    border: 1px solid rgba(0,0,0,0.1);
}
.btn-drawer-cta:active {
    transform: scale(0.96);
}

/* Drawer Footer / Socials */
.drawer-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.premium-mobile-drawer.open .drawer-footer {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(0.05s * var(--i));
}
.drawer-social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
}
.drawer-social-icons a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #fff;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-decoration: none;
}
.drawer-social-icons a:active {
    background: #e55314;
    color: #fff;
    transform: scale(0.9);
}

/* Page Scale Effect (Apple Style Background Scale) */
body.menu-open-scale {
    background: #000;
}
body.menu-open-scale > * {
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
body.menu-open-scale main {
    transform: scale(0.95);
    border-radius: 20px;
    overflow: hidden;
    filter: blur(2px);
}

/* Responsive Activation */
@media (max-width: 992px) {
    .premium-hamburger {
        display: flex;
    }
    .desktop-nav {
        display: none !important;
    }
    .top-bar {
        display: none !important; /* Hide top bar on mobile for cleaner look */
    }
    .premium-logo-text {
        display: block; /* Show text next to logo for premium app feel */
    }
}
@media (max-width: 400px) {
    .premium-logo-text {
        font-size: 0.95rem;
    }
    .premium-nav-menu a {
        font-size: 1.6rem;
    }
}

/* Premium Header Fixes for Full-Screen Aesthetic */
@media (max-width: 992px) {
    .main-header.glass-header {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.75) !important; /* More transparent to show hero under it */
        backdrop-filter: blur(25px) !important;
        -webkit-backdrop-filter: blur(25px) !important;
        border-bottom: 1px solid rgba(255,255,255,0.2) !important;
    }
    
    /* Make sure the hero sits directly at the top of the screen */
    body {
        padding-top: 0 !important;
    }
    
    /* The hero cinematic should have no top border radius so it sits flush at the top of the screen */
    .hero-cinematic {
        border-radius: 0 !important; 
        margin-top: 0 !important;
    }
    
    /* Ensure the mobile drawer starts below the fixed header */
    .premium-mobile-drawer {
        top: 70px !important;
    }
}

/* Also ensure the glass header on desktop overlaps the hero nicely if desired */
.glass-header {
    position: fixed !important;
    width: 100%;
}
.hero-cinematic {
    margin-top: 0 !important;
}
