/* =====================================================
   GOVERNMENT SENIOR SECONDARY SCHOOL MADHORAJPURA JAIPUR
   Modern Educational Institution Website Styles
   ===================================================== */

/* CSS Variables */
:root {
  --primary-blue: #1e3a8a;
  --primary-dark: #172554;
  --primary-light: #3b82f6;
  --accent-gold: #d97706;
  --accent-light: #fbbf24;
  --text-dark: #1f2937;
  --text-medium: #4b5563;
  --text-light: #6b7280;
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-gray: #f1f5f9;
  --border-color: #e2e8f0;
  --success: #059669;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --transition: all 0.3s ease;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
}

/* Reset & Base Styles */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-dark);
}

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

ul, ol {
  list-style: none;
}

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =====================================================
   TOP BAR
   ===================================================== */
.top-bar {
  background: var(--primary-dark);
  color: var(--bg-white);
  padding: 8px 0;
  font-size: 0.85rem;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 25px;
}

.top-bar-left span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-left svg {
  width: 16px;
  height: 16px;
  fill: var(--accent-gold);
}

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

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--accent-gold);
  transform: translateY(-2px);
}

.social-links svg {
  width: 14px;
  height: 14px;
  fill: var(--bg-white);
}

/* =====================================================
   HEADER & NAVIGATION
   ===================================================== */
.header {
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

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

.logo-icon {
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.logo-text h1 {
  font-size: 1.1rem;
  color: var(--primary-blue);
  line-height: 1.2;
}

.logo-text span {
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.nav-link {
  padding: 10px 16px;
  font-weight: 500;
  color: var(--text-medium);
  border-radius: var(--radius-md);
  transition: var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-blue);
  background: rgba(30, 58, 138, 0.08);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--accent-gold);
  border-radius: 2px;
}

.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dropdown-toggle svg {
  width: 14px;
  height: 14px;
  transition: var(--transition);
}

.dropdown:hover .dropdown-toggle svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  padding: 8px 0;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  color: var(--text-medium);
  font-weight: 500;
  transition: var(--transition);
}

.dropdown-menu a:hover {
  background: rgba(30, 58, 138, 0.08);
  color: var(--primary-blue);
  padding-left: 22px;
}

.header-cta {
  background: var(--primary-blue);
  color: var(--bg-white);
  padding: 10px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: var(--transition);
}

.header-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.mobile-toggle span {
  width: 25px;
  height: 2px;
  background: var(--primary-blue);
  border-radius: 2px;
  transition: var(--transition);
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 50%, #1e40af 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-text {
  color: var(--bg-white);
}

.hero-badge {
  display: inline-block;
  background: rgba(217, 119, 6, 0.2);
  color: var(--accent-light);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--bg-white);
}

.hero-title span {
  color: var(--accent-gold);
}

.hero-description {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 30px;
  max-width: 500px;
}

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

.btn-primary {
  background: var(--accent-gold);
  color: var(--text-dark);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(217, 119, 6, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--bg-white);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--bg-white);
  transform: translateY(-3px);
}

.hero-visual {
  position: relative;
}

.hero-image-container {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero-image-container::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  border: 3px solid var(--accent-gold);
  border-radius: var(--radius-xl);
  z-index: -1;
}

.hero-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  font-size: 1.2rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.stat-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-gold);
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

/* =====================================================
   NOTICE MARQUEE
   ===================================================== */
.notice-marquee {
  background: var(--accent-gold);
  color: var(--text-dark);
  padding: 10px 0;
  overflow: hidden;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 30px;
  animation: marquee 30s linear infinite;
}

.marquee-label {
  background: var(--primary-blue);
  color: var(--bg-white);
  padding: 6px 15px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
}

.marquee-text {
  white-space: nowrap;
  font-weight: 500;
}

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

/* =====================================================
   SECTION STYLES
   ===================================================== */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-subtitle {
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 15px;
}

.section-description {
  color: var(--text-medium);
  max-width: 600px;
  margin: 0 auto;
}

/* =====================================================
   FEATURES SECTION
   ===================================================== */
.features {
  background: var(--bg-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--bg-white);
  padding: 35px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--primary-blue);
  transition: var(--transition);
}

.feature-card:hover::before {
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--bg-white);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.feature-card p {
  color: var(--text-medium);
  font-size: 0.95rem;
}

/* =====================================================
   PRINCIPAL MESSAGE
   ===================================================== */
.principal-section {
  background: var(--bg-white);
}

.principal-content {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 50px;
  align-items: center;
}

.principal-image-wrapper {
  position: relative;
}

.principal-image {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-blue));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.principal-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--accent-gold);
  color: var(--text-dark);
  padding: 15px 25px;
  border-radius: var(--radius-md);
  font-weight: 600;
  box-shadow: var(--shadow-lg);
}

.principal-message h3 {
  font-size: 1.75rem;
  margin-bottom: 8px;
  color: var(--primary-blue);
}

.principal-message .role {
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 20px;
  display: block;
}

.principal-message p {
  color: var(--text-medium);
  margin-bottom: 15px;
  line-height: 1.8;
}

.principal-signature {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.principal-signature span {
  font-family: 'Poppins', cursive;
  font-size: 1.5rem;
  color: var(--primary-blue);
}

/* =====================================================
   ACADEMICS PREVIEW
   ===================================================== */
.academics-preview {
  background: var(--bg-light);
}

.streams-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.stream-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 35px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 2px solid transparent;
}

.stream-card:hover {
  border-color: var(--primary-blue);
  transform: translateY(-5px);
}

.stream-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
}

.stream-icon svg {
  width: 36px;
  height: 36px;
}

.stream-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.stream-card .subjects {
  color: var(--text-medium);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.stream-card .btn-link {
  color: var(--primary-blue);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.stream-card .btn-link:hover {
  color: var(--accent-gold);
  gap: 10px;
}

/* =====================================================
   NEWS & EVENTS
   ===================================================== */
.news-events {
  background: var(--bg-white);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.news-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.news-image {
  height: 200px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
}

.news-content {
  padding: 25px;
}

.news-date {
  display: inline-block;
  background: var(--accent-gold);
  color: var(--text-dark);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.news-content h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

.news-content h3 a:hover {
  color: var(--primary-blue);
}

.news-content p {
  color: var(--text-medium);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.news-link {
  color: var(--primary-blue);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.news-link:hover {
  color: var(--accent-gold);
  gap: 8px;
}

/* =====================================================
   GALLERY PREVIEW
   ===================================================== */
.gallery-preview {
  background: var(--bg-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-blue));
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  font-size: 2rem;
  transition: var(--transition);
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-xl);
}

.gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-more {
  background: var(--primary-blue);
  color: var(--bg-white);
  font-weight: 600;
  font-size: 1rem;
}

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonials {
  background: var(--primary-dark);
  color: var(--bg-white);
}

.testimonials .section-subtitle {
  color: var(--accent-gold);
}

.testimonials .section-title {
  color: var(--bg-white);
}

.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-card {
  padding: 30px;
}

.testimonial-text {
  font-size: 1.25rem;
  line-height: 1.8;
  margin-bottom: 25px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.author-avatar {
  width: 60px;
  height: 60px;
  background: var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text-dark);
}

.author-info h4 {
  color: var(--bg-white);
  font-size: 1rem;
  margin-bottom: 3px;
}

.author-info span {
  color: var(--accent-gold);
  font-size: 0.85rem;
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta-section {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
  padding: 60px 0;
  text-align: center;
  color: var(--bg-white);
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--bg-white);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 25px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--primary-dark);
  color: var(--bg-white);
  padding: 60px 0 30px;
}

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

.footer-about .logo {
  margin-bottom: 20px;
}

.footer-about .logo-text h1 {
  color: var(--bg-white);
}

.footer-about .logo-text span {
  color: rgba(255, 255, 255, 0.6);
}

.footer-about p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent-gold);
  transform: translateY(-3px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: var(--bg-white);
}

.footer-links h4,
.footer-contact h4 {
  color: var(--bg-white);
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h4::after,
.footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--accent-gold);
  border-radius: 2px;
}

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

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: var(--accent-gold);
  padding-left: 5px;
}

.footer-contact ul li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact ul li svg {
  width: 20px;
  height: 20px;
  fill: var(--accent-gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

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

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-bottom-links a:hover {
  color: var(--accent-gold);
}

/* =====================================================
   PAGE HEADER
   ===================================================== */
.page-header {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
  padding: 80px 0 60px;
  text-align: center;
  color: var(--bg-white);
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header-content {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
  color: var(--accent-gold);
}

.page-header h1 {
  font-size: 2.5rem;
  color: var(--bg-white);
  margin-bottom: 10px;
}

.page-header p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
}

/* =====================================================
   ABOUT PAGE STYLES
   ===================================================== */
.history-timeline {
  position: relative;
  padding: 30px 0;
}

.history-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: var(--primary-blue);
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: 50px;
  position: relative;
  margin-bottom: 40px;
  width: 50%;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: 50px;
  margin-left: 50%;
}

.timeline-content {
  background: var(--bg-white);
  padding: 25px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  max-width: 400px;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 30px;
  width: 20px;
  height: 20px;
  background: var(--accent-gold);
  border-radius: 50%;
  border: 4px solid var(--bg-white);
  box-shadow: var(--shadow-md);
}

.timeline-item:nth-child(even)::before {
  right: auto;
  left: -10px;
}

.timeline-year {
  display: inline-block;
  background: var(--primary-blue);
  color: var(--bg-white);
  padding: 5px 15px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  margin-bottom: 10px;
}

.timeline-content h3 {
  margin-bottom: 8px;
  color: var(--text-dark);
}

.timeline-content p {
  color: var(--text-medium);
  font-size: 0.9rem;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.mission-card,
.vision-card {
  background: var(--bg-white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--transition);
}

.mission-card:hover,
.vision-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.mission-card {
  border-top: 4px solid var(--primary-blue);
}

.vision-card {
  border-top: 4px solid var(--accent-gold);
}

.mission-card .icon,
.vision-card .icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mission-card .icon {
  background: rgba(30, 58, 138, 0.1);
  color: var(--primary-blue);
}

.vision-card .icon {
  background: rgba(217, 119, 6, 0.1);
  color: var(--accent-gold);
}

.mission-card .icon svg,
.vision-card .icon svg {
  width: 36px;
  height: 36px;
}

.mission-card h3,
.vision-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.mission-card p,
.vision-card p {
  color: var(--text-medium);
  line-height: 1.8;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.value-item {
  background: var(--bg-white);
  padding: 30px 20px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.value-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.value-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-light));
  border-radius: 50%;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
}

.value-icon svg {
  width: 28px;
  height: 28px;
}

.value-item h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.value-item p {
  color: var(--text-medium);
  font-size: 0.9rem;
}

/* =====================================================
   ADMISSIONS PAGE STYLES
   ===================================================== */
.admissions-intro {
  background: var(--bg-light);
}

.admission-process {
  background: var(--bg-white);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: var(--border-color);
}

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--primary-blue);
  color: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 20px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-md);
}

.process-step h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.process-step p {
  color: var(--text-medium);
  font-size: 0.9rem;
}

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

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

.requirement-card {
  background: var(--bg-white);
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.requirement-card h3 {
  font-size: 1.25rem;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.requirement-card h3 svg {
  width: 24px;
  height: 24px;
  color: var(--primary-blue);
}

.checklist {
  list-style: none;
}

.checklist li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-medium);
  border-bottom: 1px solid var(--bg-gray);
}

.checklist li:last-child {
  border-bottom: none;
}

.checklist li svg {
  width: 20px;
  height: 20px;
  color: var(--success);
  flex-shrink: 0;
}

.fee-structure {
  background: var(--bg-white);
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.fee-table thead {
  background: var(--primary-blue);
  color: var(--bg-white);
}

.fee-table th,
.fee-table td {
  padding: 15px 20px;
  text-align: left;
}

.fee-table tbody tr {
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.fee-table tbody tr:hover {
  background: var(--bg-gray);
}

.fee-table tbody tr:last-child {
  border-bottom: none;
}

/* =====================================================
   FACULTY PAGE STYLES - UPDATED WITH IMAGE SUPPORT
   ===================================================== */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.faculty-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faculty-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.faculty-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
  position: relative;
}

.faculty-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.faculty-image svg {
  width: 60px;
  height: 60px;
  fill: #6b7280;
  opacity: 0.5;
}

.faculty-info {
  width: 100%;
}

.faculty-info h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--text-dark);
  font-weight: 600;
}

.faculty-info .position {
  color: var(--primary-blue);
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.faculty-info .qualification {
  color: var(--text-medium);
  font-size: 0.9rem;
  margin-bottom: 12px;
  line-height: 1.5;
}

.faculty-info .subject {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-light));
  color: var(--bg-white);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 8px;
}

/* Responsive adjustments for faculty cards */
@media (max-width: 768px) {
  .faculty-image {
    width: 100px;
    height: 100px;
  }
  
  .faculty-image svg {
    width: 50px;
    height: 50px;
  }
  
  .faculty-info h3 {
    font-size: 1.1rem;
  }
  
  .faculty-card {
    padding: 25px 15px;
  }
}

@media (max-width: 480px) {
  .faculty-image {
    width: 90px;
    height: 90px;
  }
  
  .faculty-info h3 {
    font-size: 1rem;
  }
  
  .faculty-info .position {
    font-size: 0.9rem;
  }
  
  .faculty-info .qualification {
    font-size: 0.85rem;
  }
}
/* =====================================================
   GALLERY PAGE STYLES
   ===================================================== */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  background: var(--bg-white);
  border: 2px solid var(--border-color);
  border-radius: 50px;
  font-weight: 600;
  color: var(--text-medium);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  color: var(--bg-white);
}

.gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-page-item {
  position: relative;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-blue));
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  font-size: 3rem;
  transition: var(--transition);
}

.gallery-page-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-xl);
}

.gallery-page-item .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  transform: translateY(100%);
  transition: var(--transition);
}

.gallery-page-item:hover .overlay {
  transform: translateY(0);
}

.gallery-page-item .overlay h4 {
  color: var(--bg-white);
  font-size: 1rem;
  margin-bottom: 5px;
}

.gallery-page-item .overlay p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
}

/* =====================================================
   ACHIEVEMENTS PAGE STYLES
   ===================================================== */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.achievement-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  transition: var(--transition);
}

.achievement-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.achievement-image {
  width: 150px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  font-size: 3rem;
  flex-shrink: 0;
}

.achievement-content {
  padding: 25px;
  flex: 1;
}

.achievement-content .badge {
  display: inline-block;
  background: var(--primary-blue);
  color: var(--bg-white);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.achievement-content h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.achievement-content p {
  color: var(--text-medium);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.achievement-content .date {
  color: var(--text-light);
  font-size: 0.85rem;
}

/* =====================================================
   CONTACT PAGE STYLES
   ===================================================== */
.contact-section {
  background: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 35px;
  box-shadow: var(--shadow-md);
}

.contact-info-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(30, 58, 138, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
}

.contact-item-content h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.contact-item-content p {
  color: var(--text-medium);
}

.contact-form-wrapper {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 35px;
  box-shadow: var(--shadow-md);
}

.contact-form-wrapper h3 {
  font-size: 1.5rem;
  margin-bottom: 25px;
  color: var(--text-dark);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

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

.map-container {
  height: 400px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-blue));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
}

/* =====================================================
   NOTICE BOARD PAGE STYLES
   ===================================================== */
.notice-search {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.notice-search input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 1rem;
}

.notice-search button {
  padding: 14px 30px;
  background: var(--primary-blue);
  color: var(--bg-white);
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.notice-search button:hover {
  background: var(--primary-dark);
}

.notice-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.notice-item {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 25px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 25px;
  transition: var(--transition);
  border-left: 4px solid transparent;
}

.notice-item:hover {
  border-left-color: var(--accent-gold);
  box-shadow: var(--shadow-md);
}

.notice-item.new {
  border-left-color: var(--success);
}

.notice-date {
  text-align: center;
  min-width: 70px;
}

.notice-date .day {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-blue);
  display: block;
  line-height: 1;
}

.notice-date .month {
  color: var(--text-medium);
  font-size: 0.85rem;
}

.notice-content {
  flex: 1;
}

.notice-content h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--text-dark);
}

.notice-content p {
  color: var(--text-medium);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.notice-meta {
  display: flex;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-light);
}

.notice-action {
  flex-shrink: 0;
}

.notice-action .download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--bg-gray);
  border-radius: var(--radius-md);
  font-weight: 600;
  color: var(--text-dark);
  transition: var(--transition);
}

.notice-action .download-btn:hover {
  background: var(--primary-blue);
  color: var(--bg-white);
}

/* =====================================================
   RESPONSIVE STYLES
   ===================================================== */
@media (max-width: 1200px) {
  .hero-content {
    gap: 30px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .streams-grid {
    grid-template-columns: 1fr;
  }
  
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  
  .process-steps::before {
    display: none;
  }
}

@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg-white);
    flex-direction: column;
    padding: 80px 20px 20px;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    overflow-y: auto;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-link {
    width: 100%;
    text-align: left;
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding-left: 20px;
    display: none;
  }
  
  .dropdown:hover .dropdown-menu {
    display: block;
  }
  
  .header-cta {
    display: none;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-visual {
    display: none;
  }
  
  .principal-content {
    grid-template-columns: 1fr;
  }
  
  .principal-image-wrapper {
    max-width: 300px;
    margin: 0 auto;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .timeline-item,
  .timeline-item:nth-child(even) {
    width: 100%;
    padding: 0 0 0 50px;
    margin-left: 0;
    justify-content: flex-start;
  }
  
  .timeline-item::before,
  .timeline-item:nth-child(even)::before {
    left: -10px;
  }
  
  .history-timeline::before {
    left: 20px;
  }
}

@media (max-width: 768px) {
  .top-bar-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero {
    min-height: auto;
    padding: 60px 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .mission-vision-grid {
    grid-template-columns: 1fr;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .page-header {
    padding: 50px 0 40px;
  }
  
  .page-header h1 {
    font-size: 2rem;
  }
  
  .process-steps {
    grid-template-columns: 1fr;
  }
  
  .requirements-grid {
    grid-template-columns: 1fr;
  }
  
  .achievements-grid {
    grid-template-columns: 1fr;
  }
  
  .achievement-card {
    flex-direction: column;
  }
  
  .achievement-image {
    width: 100%;
    height: 150px;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-item:first-child {
    grid-column: span 1;
  }
  
  .notice-item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .notice-action {
    width: 100%;
  }
  
  .notice-action .download-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  
  .feature-card,
  .stream-card,
  .news-card {
    padding: 25px;
  }
  
  .stat-item {
    padding: 15px;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .footer-social {
    gap: 8px;
  }
  
  .footer-social a {
    width: 35px;
    height: 35px;
  }
}

/* =====================================================
   ANIMATIONS
   ===================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-fadeIn {
  animation: fadeIn 0.4s ease forwards;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-0 {
  margin-bottom: 0;
}

.mt-30 {
  margin-top: 30px;
}

.bg-gray {
  background: var(--bg-gray);
}

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