/* ==========================================================================
   ACHARYA INSTITUTES - MAIN STYLESHEET (acharya-main.css)
   Color System: Navy (#223983) + Orange (#f49323 / #f68121) + #e9e4e1
   Typography: Open Sans + Vast Shadow + Overlay fonts
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,400&family=Vast+Shadow&display=swap');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');

/* --- Global Theme & Variables --- */
:root {
  --acharya-navy: #223983;
  --acharya-navy-dark: #162659;
  --acharya-navy-light: #2d4ba8;
  --acharya-orange: #f49323;
  --acharya-orange-secondary: #f68121;
  --acharya-orange-dark: #d9770c;
  --acharya-blue-accent: #2754ba;
  --acharya-topbar-bg: #e9e4e1;
  --acharya-overlay-black: rgba(0, 0, 0, 0.9);
  --acharya-text-dark: #222222;
  --acharya-text-muted: #555555;
  --acharya-border-light: #e2e8f0;
}

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--acharya-text-dark);
  background-color: #fcfcfc;
  margin: 0;
  padding: 0;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* --- Typography Classes --- */
.vast-shadow {
  font-family: 'Vast Shadow', serif;
}

.heading-1 {
  font-family: 'Open Sans', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--acharya-navy);
  letter-spacing: -0.5px;
}

.heading-2 {
  font-family: 'Open Sans', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--acharya-navy);
  margin-bottom: 0.75rem;
  position: relative;
}

.heading-2.decorated::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--acharya-orange);
  margin-top: 10px;
  border-radius: 2px;
}

.heading-2.decorated-center::after {
  content: '';
  display: block;
  width: 70px;
  height: 4px;
  background: var(--acharya-orange);
  margin: 12px auto 0 auto;
  border-radius: 2px;
}

.heading-4 {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--acharya-navy);
}

.blue-2 {
  color: var(--acharya-navy) !important;
}

.orange-text {
  color: var(--acharya-orange) !important;
}

.overlay-text {
  font-family: "Futura Condensed Medium", "Arial Narrow", -apple-system, sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* --- Topbar Section --- */
.topbar-strip {
  background-color: var(--acharya-topbar-bg);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.85rem;
  padding: 6px 0;
  position: relative;
  z-index: 1020;
}

.topbar-strip a {
  color: #333333;
  font-weight: 600;
  margin-left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}

.topbar-strip a:hover {
  color: var(--acharya-orange);
}

.topbar-phone-icon {
  color: var(--acharya-orange);
  font-size: 1rem;
}

.topbar-whatsapp-icon {
  color: #25D366;
  font-size: 1.1rem;
}

.hotline-badge {
  background: linear-gradient(135deg, #fa0910, #f49323);
  color: #ffffff !important;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
  animation: pulse-badge 1.8s infinite;
}

@keyframes pulse-badge {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(250, 9, 16, 0.4); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 8px rgba(250, 9, 16, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(250, 9, 16, 0); }
}

.search-trigger-btn {
  background: #ffffff;
  border: 1px solid #d0d0d0;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.82rem;
  color: #555;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.search-trigger-btn:hover {
  background: #f49323;
  color: #ffffff;
  border-color: #f49323;
}

/* --- Main Navbar Section --- */
.main-navbar {
  background-color: var(--acharya-navy) !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
  padding: 0.5rem 1rem;
  position: sticky;
  top: 0;
  z-index: 1030;
  transition: all 0.3s ease;
}

.main-navbar .navbar-brand {
  font-weight: 800;
  font-size: 1.45rem;
  color: #ffffff !important;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
}

.navbar-brand-logo {
  height: 48px;
  width: auto;
  border-radius: 4px;
}

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

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.brand-subtitle {
  font-size: 0.68rem;
  text-transform: uppercase;
  color: var(--acharya-orange);
  letter-spacing: 1.2px;
  font-weight: 700;
}

.main-navbar .nav-link {
  color: #ffffff !important;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.8rem 0.65rem !important;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  position: relative;
  transition: color 0.25s ease, background-color 0.25s ease;
  text-decoration: none !important;
}

.main-navbar .nav-link::after {
  display: none !important;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-item.active .nav-link {
  color: var(--acharya-orange) !important;
  text-decoration: none !important;
}

/* Navbar Dropdowns */
.main-navbar .dropdown-menu {
  background-color: #ffffff;
  border: none;
  border-top: 3px solid var(--acharya-orange);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 8px 0;
  margin-top: 0;
  font-size: 0.88rem;
  min-width: 230px;
}

.main-navbar .dropdown-item {
  color: #333333;
  font-weight: 600;
  padding: 9px 20px;
  transition: color 0.22s ease, background-color 0.22s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none !important;
}

.main-navbar .dropdown-item:hover {
  background-color: #eef2ff;
  color: var(--acharya-navy);
  text-decoration: none !important;
}

.main-navbar .dropdown-item i {
  font-size: 0.75rem;
  color: var(--acharya-orange);
}

/* Navbar CTA Buttons */
.nav-cta-btn {
  background: var(--acharya-orange);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  padding: 7px 18px !important;
  border-radius: 4px;
  border: 1px solid var(--acharya-orange);
  margin-left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
}

.nav-cta-btn:hover {
  background: #db7d14;
  border-color: #db7d14;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(244, 147, 35, 0.45);
}

.nav-events-btn {
  background: transparent;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  padding: 7px 14px !important;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  margin-left: 6px;
  transition: all 0.25s ease;
}

.nav-events-btn:hover {
  border-color: var(--acharya-orange);
  color: var(--acharya-orange) !important;
  background: rgba(255, 255, 255, 0.08);
}

/* --- Hero Banner Carousel --- */
.hero-carousel-section {
  position: relative;
  background: #111;
}

.hero-carousel .carousel-item {
  height: 560px;
  min-height: 480px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(16, 28, 68, 0.88) 0%, rgba(34, 57, 131, 0.65) 60%, rgba(0,0,0,0.3) 100%);
  display: flex;
  align-items: center;
}

.hero-content {
  color: #ffffff;
  max-width: 720px;
  padding: 20px;
}

.hero-tag {
  display: inline-block;
  background: var(--acharya-orange);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 15px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.hero-description {
  font-size: 1.1rem;
  color: #f0f3fa;
  margin-bottom: 25px;
  font-weight: 400;
  line-height: 1.6;
}

.hero-btn-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-carousel .carousel-indicators li {
  width: 32px;
  height: 6px;
  border-radius: 3px;
  background-color: rgba(255,255,255,0.5);
  margin: 0 5px;
}

.hero-carousel .carousel-indicators .active {
  background-color: var(--acharya-orange);
  width: 48px;
}

/* --- Secondary Image Carousel (#acharya-life-sm) --- */
.acharya-life-section {
  position: relative;
  background: #ffffff;
  padding: 0;
  overflow: hidden;
  border-bottom: 4px solid var(--acharya-navy);
}

#acharya-life-sm .carousel-item {
  height: 280px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.campus-events-overlay-btn {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--acharya-orange);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 28px;
  border-radius: 30px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border: 2px solid #ffffff;
  z-index: 10;
  transition: all 0.3s ease;
}

.campus-events-overlay-btn:hover {
  background: #17275b;
  color: #ffffff !important;
  transform: translateX(-50%) scale(1.05);
}

/* --- Tagline & Intro Section --- */
.tagline-section {
  background: #ffffff;
  padding: 60px 0;
  text-align: center;
  position: relative;
}

.tagline-logo-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f0f4ff;
  color: var(--acharya-navy);
  border: 1px solid #d4def7;
  padding: 8px 22px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tagline-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--acharya-navy);
  margin-bottom: 20px;
}

.tagline-lead {
  font-size: 1.15rem;
  color: #4a5568;
  max-width: 850px;
  margin: 0 auto 30px auto;
  line-height: 1.8;
}

.commencement-cta-box {
  background: linear-gradient(135deg, #223983 0%, #162659 100%);
  color: #ffffff;
  padding: 22px 30px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  box-shadow: 0 10px 30px rgba(34, 57, 131, 0.25);
  max-width: 800px;
  width: 100%;
}

.commencement-cta-box h5 {
  margin: 0;
  font-weight: 700;
  font-size: 1.1rem;
}

.commencement-cta-box p {
  margin: 0;
  font-size: 0.88rem;
  color: #d1dcff;
}

/* --- Mobile Diverse / Inquisitive / Pioneering Strip --- */
.values-strip-section {
  background: #f7f9fd;
  padding: 45px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.value-card {
  text-align: center;
  padding: 20px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  border-bottom: 3px solid var(--acharya-orange);
  transition: transform 0.3s ease;
  margin-bottom: 15px;
}

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

.value-icon-circle {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: #eef3ff;
  color: var(--acharya-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px auto;
}

.value-icon-circle .material-icons {
  font-size: 32px;
  color: var(--acharya-navy);
}

.value-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--acharya-navy);
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.9rem;
  color: #666666;
  margin: 0;
}

/* --- Footer Section --- */
.site-footer {
  background-color: #141d3b;
  color: #b0b8cf;
  padding-top: 60px;
  font-size: 0.9rem;
  border-top: 5px solid var(--acharya-orange);
}

.site-footer h5 {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}

.site-footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--acharya-orange);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: #b0b8cf;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--acharya-orange);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
}

.footer-contact-item i {
  color: var(--acharya-orange);
  font-size: 1.1rem;
  margin-top: 4px;
}

.accreditation-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.badge-item {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #ffffff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Social Icon Row */
.footer-social-row {
  background: #0d1326;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.social-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  font-size: 1.1rem;
  margin: 0 6px;
  transition: all 0.3s ease;
}

.social-circle:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.social-facebook { background-color: #7d7d7d; }
.social-facebook:hover { background-color: #3b5998; }
.social-twitter { background-color: #2d8cff; }
.social-instagram { background-color: #1e4080; }
.social-instagram:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social-google { background-color: #00a859; }
.social-youtube { background-color: #fa0910; }
.social-whatsapp { background-color: #25D366; }
.social-telegram { background-color: #0088cc; }

.copyright-bar {
  background: #080c18;
  padding: 16px 0;
  font-size: 0.82rem;
  color: #838ea8;
}

.copyright-bar a {
  color: #a4b1d0;
  margin: 0 8px;
}

.copyright-bar a:hover {
  color: var(--acharya-orange);
}

/* Responsive Overrides */
@media (max-width: 991px) {
  .heading-1 { font-size: 2rem; }
  .heading-2 { font-size: 1.6rem; }
  .hero-carousel .carousel-item { height: 420px; }
  .hero-title { font-size: 2rem; }
  .commencement-cta-box { flex-direction: column; text-align: center; }
}

@media (max-width: 767px) {
  .hero-carousel .carousel-item { height: 360px; }
  .hero-title { font-size: 1.6rem; }
  .hero-description { font-size: 0.95rem; }
  .topbar-strip .topbar-links-right { display: none; }
}
