/* Admission Page Styles */
.admission-page {
  font-family: "Arial", sans-serif;
}

/* Hero Section */
.admission-hero {
  background-size: cover;
  color: white;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 80px; /* To account for fixed header */
}

.admission-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(
    31,
    41,
    55,
    0.7
  ); /* Dark overlay to ensure text readability */
  z-index: 1;
}

.admission-hero .container {
  position: relative;
  z-index: 2;
}

.admission-hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.admission-hero .lead {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
  color: #e5e7eb;
}

/* Join Us Section */
.join-us-section {
  padding: 100px 0;
  background: linear-gradient(to bottom, #f8fafc, #ffffff);
  position: relative;
  overflow: hidden;
}

.join-us-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: url("/images/pattern-bg.png") repeat;
  opacity: 0.05;
  pointer-events: none;
}

.join-us-section .container {
  max-width: 1200px;
  position: relative;
}

.join-us-section h2 {
  font-size: 3rem;
  color: #1f2937;
  margin-bottom: 2rem;
  font-weight: 800;
  text-align: center;
  position: relative;
  padding-bottom: 20px;
}

.join-us-section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #2563eb;
  border-radius: 2px;
}

.join-us-section .content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 60px;
  position: relative;
}

.join-us-section .text-content {
  padding-right: 20px;
}

.join-us-section .highlight-box {
  background: #f8fafc;
  border-left: 4px solid #2563eb;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.join-us-section .description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #4b5563;
  margin-bottom: 30px;
}

.join-us-section .features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.join-us-section .feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.join-us-section .feature-icon {
  width: 40px;
  height: 40px;
  background: #eef2ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  flex-shrink: 0;
}

.join-us-section .feature-text {
  font-size: 1rem;
  color: #374151;
  font-weight: 500;
}

.join-us-section .cta-button {
  display: inline-flex;
  align-items: center;
  padding: 15px 35px;
  background: #2563eb;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.join-us-section .cta-button:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.join-us-section .image-content {
  position: relative;
}

.join-us-section .image-content::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 3px solid #2563eb;
  border-radius: 12px;
  z-index: 1;
}

.join-us-section .image-grid {
  position: relative;
  z-index: 2;
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.join-us-section .principal-profile {
  text-align: center;
  position: relative;
}

.join-us-section .principal-image {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 25px;
  border: 4px solid #2563eb;
  padding: 5px;
  background: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.join-us-section .principal-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.2);
}

.join-us-section .principal-info {
  padding: 20px;
  background: #f8fafc;
  border-radius: 12px;
  margin-top: 20px;
}

.join-us-section .principal-info h3 {
  color: #1f2937;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.join-us-section .principal-info .designation {
  color: #2563eb;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.join-us-section .principal-info .message {
  color: #4b5563;
  font-size: 1.1rem;
  line-height: 1.7;
  font-style: italic;
  position: relative;
  padding: 0 20px;
}

.join-us-section .principal-info .message::before,
.join-us-section .principal-info .message::after {
  content: '"';
  font-size: 2rem;
  color: #2563eb;
  position: absolute;
  opacity: 0.3;
}

.join-us-section .principal-info .message::before {
  left: 0;
  top: -10px;
}

.join-us-section .principal-info .message::after {
  right: 0;
  bottom: -10px;
}

.join-us-section .main-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.join-us-section .main-image:hover {
  transform: scale(1.02);
}

.join-us-section .image-examples {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.join-us-section .example-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.join-us-section .example-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

@media (max-width: 1024px) {
  .join-us-section .content {
    gap: 40px;
  }

  .join-us-section .features {
    grid-template-columns: 1fr;
  }

  .join-us-section .main-image {
    height: 350px;
  }

  .join-us-section .example-image {
    height: 120px;
  }
}

@media (max-width: 768px) {
  .join-us-section {
    padding: 60px 0;
  }

  .join-us-section .content {
    grid-template-columns: 1fr;
  }

  .join-us-section h2 {
    font-size: 2.5rem;
  }

  .join-us-section .text-content {
    padding-right: 0;
    text-align: center;
  }

  .join-us-section .feature-item {
    justify-content: center;
  }

  .join-us-section .image-content {
    margin-top: 40px;
  }

  .join-us-section .image-examples {
    grid-template-columns: repeat(2, 1fr);
  }

  .join-us-section .main-image {
    height: 300px;
  }

  .join-us-section .example-image {
    height: 140px;
  }

  .join-us-section .principal-image {
    width: 220px;
    height: 220px;
  }

  .join-us-section .principal-info h3 {
    font-size: 1.5rem;
  }

  .join-us-section .principal-info .message {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .join-us-section .image-examples {
    grid-template-columns: 1fr;
  }

  .join-us-section .main-image {
    height: 250px;
  }

  .join-us-section .example-image {
    height: 200px;
  }

  .join-us-section .principal-image {
    width: 180px;
    height: 180px;
  }

  .join-us-section .principal-info {
    padding: 15px;
  }
}

/* Enquiry Form Section */
.enquiry-form {
  padding: 80px 0;
  background-color: #f9fafb;
}

.enquiry-form .container {
  max-width: 800px;
}

.enquiry-form h2 {
  text-align: center;
  color: #1f2937;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  font-weight: 600;
}

.admission-form {
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #4b5563;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

button.cta-button {
  width: 100%;
  padding: 1rem;
  background-color: #2563eb;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

button.cta-button:hover {
  background-color: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

/* Admission Process Section */
.admission-process {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.step {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.step-number {
  font-size: 24px;
  font-weight: bold;
  color: #2563eb;
  margin-bottom: 15px;
}

.step-content p {
  color: #4b5563;
  line-height: 1.6;
}

/* Brochures Section */
.brochures {
  padding: 60px 0;
  text-align: center;
  background-color: white;
}

.brochure-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.brochure-button {
  padding: 12px 25px;
  background-color: #3498db;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.brochure-button:hover {
  background-color: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
}

/* Testimonials Section */
.testimonials {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testimonial-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.quote {
  font-style: italic;
  margin-bottom: 20px;
  color: #4b5563;
  line-height: 1.6;
}

.author {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.author strong {
  color: #1f2937;
}

.author span {
  color: #6b7280;
  font-size: 0.9em;
}

/* Section Headings */
.section-heading {
  text-align: center;
  margin-bottom: 40px;
}

.section-heading h2 {
  font-size: 2.5rem;
  color: #1f2937;
  margin-bottom: 1rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .admission-hero {
    padding: 60px 0;
  }

  .admission-hero h1 {
    font-size: 36px;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .brochure-links {
    flex-direction: column;
    align-items: stretch;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .section-heading h2 {
    font-size: 2rem;
  }

  .enquiry-form {
    padding: 40px 0;
  }

  .admission-form {
    padding: 20px;
  }

  .form-group {
    margin-bottom: 1rem;
  }
}
