/* ADDITIONAL COMPONENTS FOR KUNDOOR MARKAZ MODERN DESIGN */

/* FACULTY SECTION */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-2xl);
}

.faculty-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  text-align: center;
}

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

.faculty-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
  background-color: var(--color-bg-secondary);
}

.faculty-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.faculty-card:hover .faculty-image img {
  transform: scale(1.05);
}

.faculty-info {
  padding: var(--spacing-lg);
}

.faculty-name {
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: var(--spacing-xs);
  text-transform: capitalize;
}

.faculty-title {
  font-size: 0.95rem;
  color: var(--color-accent);
  margin-bottom: var(--spacing-sm);
  text-transform: capitalize;
}

/* MISSION & VISION */
.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-2xl);
}

.mv-card {
  background-color: #FFFFFF;
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all var(--transition-base);
  border-top: 4px solid var(--color-primary);
}

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

.mv-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, #007A9A 100%);
  color: #FFFFFF;
  font-size: 2rem;
  border-radius: var(--radius-full);
}

.mv-card h3 {
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
  text-transform: capitalize;
}

/* GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-2xl);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: var(--spacing-md);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  color: #FFFFFF;
  font-size: 1.125rem;
  font-weight: 600;
}

/* CONTACT FORM */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
  margin-top: var(--spacing-2xl);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.contact-item {
  display: flex;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  background-color: var(--color-bg-secondary);
  border-radius: var(--radius-lg);
}

.contact-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  font-size: 1.5rem;
}

.contact-details h4 {
  color: var(--color-primary);
  margin-bottom: var(--spacing-xs);
}

.contact-details p {
  margin-bottom: 0;
  color: var(--color-text-secondary);
}

.contact-form {
  background-color: #FFFFFF;
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--spacing-lg);
}

.form-label {
  display: block;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-xs);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.875rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  transition: all var(--transition-base);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 84, 107, 0.1);
}

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

/* ADMISSION PAGE */
.admission-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-2xl);
}

.admission-step {
  background-color: #FFFFFF;
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--color-primary) 0%, #007A9A 100%);
  color: #FFFFFF;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto var(--spacing-md);
}

.admission-step h3 {
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
}

/* STATS SECTION */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-2xl);
}

.stat-card {
  text-align: center;
  padding: var(--spacing-lg);
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: var(--spacing-xs);
}

.stat-label {
  font-size: 1rem;
  color: var(--color-text-secondary);
  text-transform: capitalize;
}

/* TESTIMONIALS */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-2xl);
}

.testimonial-card {
  background-color: #FFFFFF;
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
}

.testimonial-quote {
  font-size: 3rem;
  color: var(--color-accent);
  opacity: 0.2;
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.testimonial-text {
  font-style: italic;
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-md);
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-info h4 {
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.testimonial-info p {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* BREADCRUMBS */
.breadcrumbs {
  padding: var(--spacing-md) 0;
  background-color: var(--color-bg-secondary);
  margin-top: var(--header-height);
}

.breadcrumbs-list {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  flex-wrap: wrap;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--color-text-secondary);
}

.breadcrumb-item a {
  color: var(--color-primary);
  transition: color var(--transition-base);
}

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

.breadcrumb-separator {
  color: var(--color-text-light);
}

/* PAGE HEADER */
.page-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #FFFFFF;
  padding: var(--spacing-3xl) 0;
  margin-top: var(--header-height);
  text-align: center;
}

.page-header h1 {
  color: #FFFFFF;
  margin-bottom: var(--spacing-sm);
}

.page-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 768px) {
  .contact-grid,
  .admission-steps {
    grid-template-columns: 1fr;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  /* Faculty Section - Mobile Optimized */
  .faculty-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .faculty-image {
    height: 200px;
  }
  
  .faculty-info {
    padding: var(--spacing-md);
  }
  
  .faculty-name {
    font-size: 1.1rem;
  }
  
  /* Mission & Vision - Mobile */
  .mission-vision-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .mv-card {
    padding: var(--spacing-lg);
  }
  
  /* Gallery - Mobile */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  /* Contact Form - Mobile */
  .contact-form {
    padding: var(--spacing-lg);
  }
  
  /* Stats - Mobile */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }
  
  /* Principal Section - Mobile */
  .principal-section {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .principal-image {
    max-width: 250px;
    margin: 0 auto;
  }
  
  .principal-message {
    padding: var(--spacing-lg);
  }
}

@media (max-width: 480px) {
  /* Extra small screens */
  .faculty-grid {
    gap: var(--spacing-md);
  }
  
  .faculty-image {
    height: 180px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .mv-icon {
    width: 60px;
    height: 60px;
    font-size: 1.75rem;
  }
}

/* LOADING SPINNER */
.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--color-bg-secondary);
  border-top-color: var(--color-primary);
  border-radius: var(--radius-full);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ALERT MESSAGES */
.alert {
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-md);
}

.alert-success {
  background-color: #d1fae5;
  color: #065f46;
  border-left: 4px solid #10b981;
}

.alert-error {
  background-color: #fee2e2;
  color: #991b1b;
  border-left: 4px solid #ef4444;
}

.alert-info {
  background-color: #dbeafe;
  color: #1e40af;
  border-left: 4px solid #3b82f6;
}

/* PRINCIPAL MESSAGE SECTION */
.principal-section {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: var(--spacing-2xl);
  align-items: start;
  margin-top: var(--spacing-2xl);
}

.principal-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background-color: #FFFFFF;
  padding: var(--spacing-md);
  text-align: center;
}

.principal-image img {
  width: 100%;
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-sm);
}

.principal-name {
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.principal-designation {
  font-size: 0.875rem;
  color: var(--color-accent);
  text-transform: capitalize;
}

.principal-message {
  background-color: #FFFFFF;
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.principal-message h2 {
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
}

.principal-message p {
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
}

@media (max-width: 968px) {
  .principal-section {
    grid-template-columns: 1fr;
  }
}
