/* ==========================================================================
   GYANARJAN VIDYAPEETH WORDPRESS THEME - CORE STYLESHEET
   ========================================================================== */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #F4F9FC;
  color: #1e293b;
  -webkit-font-smoothing: antialiased;
}

.gv-container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* TOP BAR */
.gv-topbar {
  background-color: #071D42;
  color: #ffffff;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gv-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.gv-topbar-left, .gv-topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.gv-topbar a {
  color: #5BB4E5;
  text-decoration: none;
}

.gv-topbar a:hover {
  text-decoration: underline;
}

/* HEADER */
.site-header {
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.gv-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

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

.gv-logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.gv-school-name {
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #142C5C;
  display: block;
}

.gv-tagline {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 12px;
  color: #1E5B45;
  display: block;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 20px;
}

.main-navigation a {
  text-decoration: none;
  color: #475569;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}

.main-navigation a:hover {
  color: #142C5C;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid #cbd5e1;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
}

/* BUTTONS */
.gv-btn-enquire, .gv-btn-primary {
  background-color: #FFD447;
  color: #142C5C;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.06);
  border: none;
  cursor: pointer;
  transition: transform 0.15s, background-color 0.15s;
}

.gv-btn-enquire:hover, .gv-btn-primary:hover {
  background-color: #ffcd2b;
  transform: translateY(-1px);
}

.gv-btn-secondary {
  background-color: #ffffff;
  color: #142C5C;
  border: 1px solid #cbd5e1;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.gv-btn-navy {
  background-color: #142C5C;
  color: #ffffff;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-block;
}

.gv-btn-block {
  width: 100%;
  justify-content: center;
}

/* HERO */
.gv-hero-section {
  background: linear-gradient(180deg, #EBF5FB 0%, #F4F9FC 100%);
  padding: 60px 0 80px;
  border-bottom: 1px solid #e2e8f0;
}

.gv-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.gv-eyebrow {
  display: inline-block;
  background: #142C5C;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.gv-hero-title {
  font-family: Georgia, serif;
  font-size: 46px;
  line-height: 1.15;
  color: #142C5C;
  margin: 0 0 16px;
}

.gv-hero-lead {
  font-size: 18px;
  font-weight: 600;
  color: #1E5B45;
  margin: 0 0 8px;
}

.gv-hero-desc {
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 24px;
}

.gv-hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.gv-hero-meta {
  display: flex;
  gap: 18px;
  font-size: 12px;
  color: #64748b;
  border-top: 1px solid #cbd5e1;
  padding-top: 16px;
}

.gv-media-wrapper {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 20px 30px -10px rgba(7, 29, 66, 0.2);
  border: 4px solid #ffffff;
  aspect-ratio: 4/5;
  background-color: #071D42;
}

.gv-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.gv-floating-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.95);
  padding: 6px 14px;
  border-radius: 9999px;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 12px;
  font-weight: 700;
  color: #142C5C;
}

.gv-floating-card {
  position: absolute;
  bottom: 24px;
  right: 20px;
  background: #FFD447;
  color: #142C5C;
  padding: 12px 18px;
  border-radius: 16px;
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 700;
  font-size: 14px;
  transform: rotate(-3deg);
  border: 2px solid #ffffff;
}

/* HIGHLIGHTS SECTION */
.gv-highlights-section {
  padding: 40px 0;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.gv-highlights-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.gv-highlight-card {
  background: #F4F9FC;
  padding: 20px 14px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid #e2e8f0;
}

.gv-hl-icon {
  font-size: 24px;
  margin-bottom: 8px;
}

.gv-hl-val {
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  color: #142C5C;
}

.gv-hl-title {
  font-family: Georgia, serif;
  font-size: 13px;
  font-weight: 700;
  color: #142C5C;
  margin-top: 4px;
}

.gv-hl-sub {
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
}

/* ABOUT SECTION */
.gv-about-section {
  padding: 70px 0;
  background: #ffffff;
}

.gv-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.gv-section-kicker {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #1E5B45;
  letter-spacing: 0.05em;
  display: block;
}

.gv-section-heading {
  font-family: Georgia, serif;
  font-size: 32px;
  color: #142C5C;
  margin: 6px 0 16px;
}

.gv-para {
  color: #475569;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.gv-video-tour-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 16/9;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  background: #000;
}

.gv-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.gv-video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background: linear-gradient(0deg, rgba(7, 29, 66, 0.9) 0%, transparent 60%);
}

.gv-play-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #ffffff;
  color: #142C5C;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 22px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.gv-video-caption h3 {
  color: #ffffff;
  margin: 0;
  font-size: 18px;
  font-family: Georgia, serif;
}

.gv-video-caption p {
  color: #cbd5e1;
  font-size: 12px;
  margin: 4px 0 0;
}

/* ACADEMICS SECTION */
.gv-academics-section {
  padding: 70px 0;
  background: #F4F9FC;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.gv-section-header-center {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

.gv-academics-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.gv-feature-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
}

.gv-card-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #1E5B45;
  display: inline-block;
  margin-bottom: 8px;
}

.gv-feature-card h3 {
  font-family: Georgia, serif;
  font-size: 22px;
  color: #142C5C;
  margin: 0 0 10px;
}

.gv-feature-card p {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
}

.gv-link-more {
  color: #142C5C;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  display: inline-block;
  margin-top: 14px;
}

/* CAREERS SECTION */
.gv-careers-section {
  padding: 70px 0;
  background: #ffffff;
}

.gv-careers-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
}

.gv-careers-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.gv-career-box {
  background: #F4F9FC;
  padding: 24px 18px;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.gv-code-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  color: #ffffff;
  align-self: flex-start;
  margin-bottom: 12px;
}

.gv-ca { background: #1E5B45; }
.gv-acca { background: #C02626; }
.gv-cma { background: #0284C7; }
.gv-cfa { background: #0891B2; }
.gv-cs { background: #3B82F6; }

.gv-career-box h4 {
  font-family: Georgia, serif;
  font-size: 16px;
  color: #142C5C;
  margin: 0 0 6px;
}

.gv-career-box p {
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
}

/* ADMISSION BANNER */
.gv-admission-banner-section {
  background: #071D42;
  color: #ffffff;
  padding: 60px 0;
}

.gv-banner-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.gv-banner-kicker {
  background: #1E5B45;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}

.gv-banner-title {
  font-family: Georgia, serif;
  font-size: 36px;
  margin: 12px 0 6px;
}

.gv-banner-session {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 22px;
  color: #FFD447;
  margin: 0 0 10px;
}

.gv-banner-text {
  color: #cbd5e1;
  font-size: 14px;
}

/* FOOTER */
.site-footer {
  background: #071D42;
  color: #94a3b8;
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.gv-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.5fr;
  gap: 36px;
  margin-bottom: 36px;
}

.gv-footer-title {
  font-family: Georgia, serif;
  color: #ffffff;
  font-size: 20px;
  letter-spacing: 0.1em;
  margin: 0 0 4px;
}

.gv-footer-tagline {
  color: #5BB4E5;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 12px;
  margin: 0 0 12px;
}

.gv-footer-desc {
  font-size: 13px;
  line-height: 1.6;
}

.gv-footer-badges {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.gv-badge {
  background: rgba(255,255,255,0.08);
  color: #cbd5e1;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
}

.gv-footer-heading {
  color: #ffffff;
  font-family: Georgia, serif;
  font-size: 16px;
  margin: 0 0 16px;
}

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

.gv-footer-links-list li {
  margin-bottom: 8px;
}

.gv-footer-links-list a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 13px;
}

.gv-footer-links-list a:hover {
  color: #ffffff;
}

.gv-footer-contact-items p {
  margin: 0 0 8px;
  font-size: 13px;
}

.gv-footer-disclaimer {
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 11px;
  line-height: 1.6;
  color: #64748b;
}

.gv-footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  font-size: 12px;
}

.gv-footer-bottom a {
  color: #94a3b8;
  text-decoration: none;
}

/* SUBPAGE STYLES */
.gv-page-hero {
  background: linear-gradient(135deg, #071D42 0%, #142C5C 100%);
  color: #ffffff;
  padding: 50px 0;
  margin-bottom: 40px;
}

.gv-page-title {
  font-family: Georgia, serif;
  font-size: 38px;
  margin: 6px 0;
}

.gv-page-subtitle {
  font-family: Georgia, serif;
  font-style: italic;
  color: #FFD447;
  font-size: 18px;
  margin: 0;
}

.gv-card {
  background: #ffffff;
  padding: 36px;
  border-radius: 24px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  border: 1px solid #e2e8f0;
  margin-bottom: 30px;
}

.gv-subpage-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
}

.gv-sidebar-card {
  background: #ffffff;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
}

/* FORMS */
.gv-form-wrapper {
  margin-top: 24px;
}

.gv-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.gv-form-group {
  margin-bottom: 16px;
}

.gv-form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.gv-form-group input, .gv-form-group select, .gv-form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
}

.gv-form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: #475569;
  margin-bottom: 20px;
}

.gv-alert {
  padding: 14px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 13px;
}

.gv-alert-success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.gv-alert-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 991px) {
  .gv-hero-grid, .gv-about-grid, .gv-academics-cards-grid, .gv-subpage-grid {
    grid-template-columns: 1fr;
  }
  .gv-highlights-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .gv-careers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gv-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .main-navigation {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
}

@media (max-width: 640px) {
  .gv-hero-title {
    font-size: 32px;
  }
  .gv-highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gv-careers-grid {
    grid-template-columns: 1fr;
  }
  .gv-form-row {
    grid-template-columns: 1fr;
  }
  .gv-footer-grid {
    grid-template-columns: 1fr;
  }
}

/* MODAL STYLES */
.gv-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 29, 66, 0.75);
  backdrop-filter: blur(4px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}

.gv-modal-card {
  background: #ffffff;
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  padding: 32px 28px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  animation: gvFadeInScale 0.25s ease-out;
}

@keyframes gvFadeInScale {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.gv-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  transition: all 0.2s ease;
}

.gv-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}
