/* admissions.css - Admissions page specific styles */

/* --- Simplified Background --- */
body {
  background: #f8f9fa;
  position: relative;
}

[data-theme="dark"] body {
  background: #121212;
}

/* Content wrapper with semi-transparent background */
.content-wrapper {
  background: #ffffff;
  min-height: 100vh;
}

[data-theme="dark"] .content-wrapper {
  background: #1e1e1e;
}

/* Section backgrounds */
.section {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 2rem;
  margin: 1.5rem auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  max-width: 1200px;
}

[data-theme="dark"] .section {
  background: rgba(45, 45, 45, 0.9);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up {
  transform: translateY(30px);
}

.fade-in-left {
  transform: translateX(-30px);
}

.fade-in-right {
  transform: translateX(30px);
}

.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* Admissions Intro Section */
.intro-section {
  text-align: center;
}

.intro-content {
  max-width: 800px;
  margin: 0 auto;
}

/* Fees Section */
.fees-section {
  text-align: center;
}

.fees-content {
  max-width: 800px;
  margin: 0 auto;
}

.fees-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0,0,0,0.06);
  border-radius: 8px;
  overflow: hidden;
}

.fees-table th, .fees-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.fees-table th {
  background-color: var(--color3);
  color: white;
  font-weight: 500;
}

.fees-table tr:last-child td {
  border-bottom: none;
}

.fees-table tr:nth-child(even) {
  background-color: rgba(178, 200, 231, 0.2);
}

[data-theme="dark"] .fees-table tr:nth-child(even) {
  background-color: rgba(178, 200, 231, 0.1);
}

/* Discounts Section */
.discounts-section {
  text-align: center;
}

.discounts-content {
  max-width: 800px;
  margin: 0 auto;
}

.discounts-list {
  list-style-type: none;
  margin: 2rem 0;
  text-align: left;
  max-width: 700px;
  margin: 2rem auto;
}

.discounts-list li {
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
  display: flex;
  align-items: center;
}

.discounts-list li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color1);
  font-weight: bold;
  font-size: 1.5rem;
}

/* Procedures Section */
.procedures-section {
  text-align: center;
}

.procedures-content {
  max-width: 800px;
  margin: 0 auto;
}

.procedures-list {
  list-style-type: none;
  margin: 2rem 0;
  text-align: left;
  max-width: 700px;
  margin: 2rem auto;
}

.procedures-list li {
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
  display: flex;
  align-items: center;
}

.procedures-list li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color1);
  font-weight: bold;
  font-size: 1.5rem;
}

/* Downloads Section */
.downloads-section {
  text-align: center;
}

.downloads-content {
  max-width: 800px;
  margin: 0 auto;
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.download-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  text-align: center;
  margin: 0 auto;
  max-width: 280px;
  border-top: 4px solid var(--color1);
}

[data-theme="dark"] .download-card {
  background: rgba(45, 45, 45, 0.95);
}

.download-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.download-card i {
  font-size: 2.5rem;
  color: var(--color1);
  margin-bottom: 1rem;
}

.download-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.5rem;
  background-color: var(--color3);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.download-btn:hover {
  background-color: var(--color1);
  transform: translateY(-2px);
}

/* --- Updated Footer with transparency layers --- */
footer {
  background: transparent;
  position: relative;
  padding: 0;
  margin-top: 4rem;
}

.footer-layers {
  position: relative;
  width: 100%;
}

/* Solid color layer around content */
.footer-solid {
  background: var(--color3);
  padding: 3rem 2rem 1.2rem;
}

/* Semi-transparent layer */
.footer-semi-transparent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(28, 83, 165, 0.7);
  z-index: -1;
}

/* More transparent layer */
.footer-transparent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(28, 83, 165, 0.4);
  z-index: -2;
}

/* Dark theme footer colors */
[data-theme="dark"] .footer-solid {
  background: var(--footer-bg);
}

[data-theme="dark"] .footer-semi-transparent {
  background: rgba(13, 42, 92, 0.7);
}

[data-theme="dark"] .footer-transparent {
  background: rgba(13, 42, 92, 0.4);
}

/* Update footer content structure */
.footer-content {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto 2.5rem;
  align-items: start;
}

.copyright {
  position: relative;
  z-index: 10;
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 1.5rem;
  width: 100%;
  font-size: 0.85rem;
  opacity: 0.8;
}

.footer-logos {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3rem;
}

.school-logo {
  height: 95px;
  width: auto;
  object-fit: contain;
}

.cambridge-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
}

.footer-contact-map {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.footer-contact {
  margin-bottom: 1.2rem;
}

.footer-contact h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  color: var(--color2);
}

.footer-contact p {
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
}

.footer-contact i {
  margin-right: 10px;
  width: 18px;
  color: var(--color1);
}

.map-container {
  height: 250px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 1100px) {
  .footer-contact-map {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer-logos {
    align-items: center;
    order: -1;
  }
  
  .map-container {
    height: 220px;
  }
  
  .downloads-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section-heading {
    font-size: 1.8rem;
  }
  
  .fees-table {
    font-size: 0.9rem;
  }
  
  .fees-table th, .fees-table td {
    padding: 0.8rem;
  }
}

@media (max-width: 600px) { 
  .section-heading {
    font-size: 1.6rem;
  }
  
  .section {
    padding: 1.5rem;
  }
  
  .download-card {
    padding: 1.5rem;
  }
  
  .fees-table {
    font-size: 0.8rem;
  }
  
  .fees-table th, .fees-table td {
    padding: 0.6rem;
  }
}


/* Transport Section Styles */
.transport-section {
  text-align: center;
}

.transport-content {
  max-width: 800px;
  margin: 0 auto;
}

.transport-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.06);
  text-align: left;
  border-top: 4px solid var(--color1);
}

[data-theme="dark"] .transport-card {
  background: rgba(45, 45, 45, 0.95);
}

.transport-icon {
  text-align: center;
  margin-bottom: 1.5rem;
}

.transport-icon i {
  font-size: 3rem;
  color: var(--color1);
}

.transport-details h3 {
  color: var(--color3);
  margin-bottom: 1rem;
  text-align: center;
}

.transport-routes {
  margin: 2rem 0;
}

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

.route-group h4 {
  color: var(--color1);
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.route-locations {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.location-tag {
  background: linear-gradient(135deg, var(--color1), var(--color3));
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

[data-theme="dark"] .location-tag {
  background: linear-gradient(135deg, #3a7a5f, #2a4a8c);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.transport-info {
  background: rgba(178, 200, 231, 0.2);
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
}

[data-theme="dark"] .transport-info {
  background: rgba(178, 200, 231, 0.1);
}

.transport-info p {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: flex-start;
}

.transport-info p:last-child {
  margin-bottom: 0;
}

.transport-info strong {
  color: var(--color3);
  min-width: 120px;
  display: inline-block;
}

[data-theme="dark"] .transport-info strong {
  color: var(--color2);
}

.transport-note {
  background: rgba(82, 166, 117, 0.1);
  padding: 1rem;
  border-radius: 6px;
  border-left: 4px solid var(--color1);
  font-style: italic;
  margin-top: 1.5rem;
}

[data-theme="dark"] .transport-note {
  background: rgba(82, 166, 117, 0.15);
}

.transport-note i {
  color: var(--color1);
  margin-right: 0.5rem;
}

/* Responsive adjustments for transport section */
@media (max-width: 768px) {
  .transport-card {
    padding: 1.5rem;
  }
  
  .route-locations {
    justify-content: center;
  }
  
  .location-tag {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
  
  .transport-info p {
    flex-direction: column;
  }
  
  .transport-info strong {
    min-width: auto;
    margin-bottom: 0.3rem;
  }
}

@media (max-width: 480px) {
  .transport-routes {
    text-align: center;
  }
  
  .route-group h4 {
    text-align: center;
  }
}

/* Banking Details Styles */
.banking-details {
  background: rgba(178, 200, 231, 0.2);
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1rem 0;
}

[data-theme="dark"] .banking-details {
  background: rgba(178, 200, 231, 0.1);
}

.banking-details p {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.banking-details p:last-child {
  margin-bottom: 0;
}

.banking-details strong {
  color: var(--color3);
  min-width: 150px;
  display: inline-block;
}

[data-theme="dark"] .banking-details strong {
  color: var(--color2);
}