/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: calc(100vh - 80px);
  background: linear-gradient(135deg, #FFD4CC 0%, var(--accent) 40%, var(--brand) 60%, #3D3D3D 100%);
  color: #ffffff;
  padding: 4rem 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, rgba(37, 99, 235, 0) 70%);
  filter: blur(48px);
  border-radius: var(--border-radius-full);
  z-index: 1;
}

.hero-grid {
  position: relative;
  z-index: 2;
  align-items: center;
}

.hero-content {
  max-width: 620px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(37, 99, 235, 0.15);
  color: var(--brand);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(37, 99, 235, 0.3);
  margin-bottom: 1.5rem;
  animation: pulse-border 2s infinite;
}

.hero-badge span {
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  border-radius: var(--border-radius-full);
  display: inline-block;
  box-shadow: 0 0 8px var(--accent);
}


.hero h1 {
  color: #ffffff;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  }

  .hero h1 span {
    color: #FFB3A3;
    background: linear-gradient(90deg, var(--brand), var(--accent-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

.hero p {
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}



/* Hero Right: School Graphic Representation */
.hero-graphic {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-section {
  position: relative;
  overflow: hidden;
}


.graphic-container {
  position: relative;
  height: 500px;
  width: 100%;
  max-width: 450px;
  aspect-ratio: 1;
  border-radius: var(--border-radius-lg);
  background: linear-gradient(180deg, var(--brand-light), #FFFFFF);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
}

.graphic-header {
  border-bottom: 1px solid rgba(37, 99, 235, 0.1);
  padding-bottom: 1rem;
}

.graphic-logo {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-main);
}

.graphic-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 1rem;
}

.graphic-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.Links{
  color: var(--accent);
  font-size: 1.25rem;
  font-family: var(--font-headings);
  font-weight: 800;
}

.link{
  color:#000000;
  font-size: 0.75rem;
  text-decoration: underline;
  margin-bottom: 0;

}

.link:visited{
  color: var(--primary);
}


.g-stat {
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.15);
  padding: 1rem;
  border-radius: var(--border-radius-md);
  text-align: center;
}

.g-stat h4 {
  color: var(--brand);
  font-size: 1.5rem;
  font-weight: 800;
}

.g-stat p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.graphic-badge {
  background: var(--brand);
  color: #ffffff;
  text-align: center;
  padding: 0.75rem;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

@keyframes pulse-border {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 79, 109, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 79, 109, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 79, 109, 0);
  }
}

/* ==========================================================================
   Stats Bar Section
   ========================================================================== */
.stats-bar {
  background-color: #FFFFFF;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  gap: 2rem;
}


.stat-item h3 {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 0.25rem;
}

.stat-item p {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}

.about-section-1 {
    position: sticky;
}

.about-experience-badge-1 {
    position: fixed;
    top: 120px;
    right: -10px;
    width: 160px;
    height: 130px;
    background: #f30303;
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
    z-index: 999;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    color: #000000;
}

.badge{
  font-family:Georgia, 'Times New Roman', Times, serif;
  font-size: 1.5rem;
  font-weight: 800;
}

.badge p {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0;
  font-family:header, Georgia, 'Times New Roman', Times, serif;
}

/* ==========================================================================
   About Section
   ========================================================================== */

.carousel {
    width: 90%;
    max-width: 900px;
    height: 450px;
    margin: 40px auto;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
}

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

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    border: none;
    background: rgba(37, 99, 235, 0.7);
    color: white;
    font-size: 35px;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.about-image {
  position: relative;
}

.about-img-container {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
  background-color: var(--bg-main);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-headings);
  font-size: 1.5rem;
  font-weight: 700;
}

.about-experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--brand);
  color: #ffffff;
  padding: 1.5rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  max-width: 140px;
}

.about-experience-badge span {
  display: block;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
}

.about-experience-badge p {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0;
}

.about-content h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.about-features {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.95rem;
}

.about-features li svg {
  color: var(--brand);
  flex-shrink: 0;
}

/* ==========================================================================
   Courses Section (Classes Section)
   ========================================================================== */
.courses {
  background-color: #FFFFFF;
}
.programs-header {
  color: var(--brand);
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-weight: 800;
  margin-bottom: 1rem;
}

.degree{
  margin-top: 2rem;
}

.course-card {
  background-color: var(--bg-main);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.2);
}

.compact-card {
  padding: 1.2rem 1.4rem;
  min-height: auto;
}

.compact-card .course-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
}

.compact-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}

.compact-card p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.compact-card details {
  margin-top: 0.5rem;
}

.compact-card details summary {
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 0.35rem;
}

.compact-card details summary::-webkit-details-marker {
  display: none;
}

.compact-card details summary::before {
  content: '▶';
  display: inline-block;
  margin-right: 0.45rem;
  transform: rotate(0deg);
  transition: transform 0.2s ease;
}

.compact-card details[open] summary::before {
  transform: rotate(90deg);
}

.compact-card details ul {
  margin-top: 0.45rem;
  padding-left: 1.1rem;
}

.compact-card details ul li {
  font-size: 0.82rem;
  margin-bottom: 0.25rem;
}

.course-icon {
  width: 56px;
  height: 56px;
  background-color: rgba(37, 99, 235, 0.15);
  color: var(--brand);
  border-radius: var(--border-radius-md);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.course-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.course-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.course-meta {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  margin-top: auto;
}

.course-list {
  list-style: none;
}

.course-list li {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.course-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: var(--brand);
  border-radius: var(--border-radius-full);
}

/* ==========================================================================
   Facilities Section
   ========================================================================== */
.facility-card {
  background-color: var(--bg-main);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: var(--transition-normal);
}

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

.facility-img {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.8), rgba(255, 212, 204, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
}

.facility-content {
  padding: 1.5rem;
}

.facility-content h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.facility-content p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* ==========================================================================
   Contact Section & Custom Map Layout
   ========================================================================== */
.contact-grid {
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  background-color: var(--bg-main);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  border: 1px solid rgba(37, 99, 235, 0.18);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--brand);
  color: #ffffff;
  border-radius: var(--border-radius-md);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-details h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  color: var(--text-main);
}

.contact-details p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Campus Map Placeholder Styling */
.campus-map {
  background-color: var(--bg-main);
  min-height: 320px;
  border-radius: var(--border-radius-md);
  margin-top: 1.5rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: white;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
}

.campus-map iframe {
  width: 100%;
  min-height: 240px;
  border: 0;
  border-radius: 12px;
  z-index: 0;
}

.campus-map::after {
  content: none;
}

.map-marker {
  position: relative;
  z-index: 2;
  color: var(--danger);
  animation: bounce 1.5s infinite alternate;
}

.map-text {
  position: relative;
  z-index: 2;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.95rem;
}

@keyframes bounce {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-8px);
  }
}

/* Contact Form Card */
.contact-form-card {
  background-color: var(--bg-card);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
}

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

/* Form control styles moved to global styles.css */

/* ==========================================================================
   Responsive Modifiers
   ========================================================================== */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 3rem 0;
    text-align: center;
  }
  
  .hero-content {
    margin: 0 auto;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-img-container {
    margin-bottom: 2rem;
  }
  
  .about-experience-badge {
    right: 10px;
  }
  
  .contact-form-card {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
}

/* Additional responsive fixes for tablet and mobile */
@media (max-width: 1024px) {
  .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: center;
  }

  .graphic-container {
    max-width: 380px;
    height: auto;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 2.5rem 0;
    text-align: center;
  }

  .hero::before {
    display: none;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-grid {
    display: block;
  }

  .graphic-container {
    max-width: 320px;
    margin: 1.25rem auto 0 auto;
    aspect-ratio: auto;
    height: auto;
    padding: 1rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-img-container,
  .course-card,
  .facility-card {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.6rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .graphic-container {
    max-width: 260px;
    padding: 0.75rem;
  }

  .g-stat h4 {
    font-size: 1.1rem;
  }

  .about-experience-badge-1,
  .about-experience-badge {
    display: none;
  }

  .course-card {
    padding: 1.25rem;
  }

  .facility-img {
    font-size: 1rem;
  }
}
