/* Section IDs for scrolling targets */
#courses,
#short-courses,
#examinations,
#facilities,
#learning-approach {
  scroll-margin-top: 100px; /* Adjust based on your header height */
}

#examinations {
  scroll-margin-top: 150px; /* Adjust based on your header height */
}

/* Hero Section */
.hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-image: linear-gradient(rgba(0, 89, 95, 0.3), rgba(0, 49, 58, 0.3)), url('students12.jpg');
  background-size: cover;
  background-position: 70% center;
  background-repeat: no-repeat;
  padding:  0 20px;
}

.hero__content {
  position: relative;
  width: 100%;
  height: 100%;
  width: 1200px;
  display: flex;
  align-items: flex-end;
}

.hero__content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero__title {
  color: white;
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.801);
  margin-bottom: 20px;
}

/* Responsive Hero Section */
@media (max-width: 768px) {
  .hero {
    height: 50vh;
    min-height: 400px;
  }
  
  .hero__title {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 40vh;
    min-height: 300px;
  }
  
  .hero__title {
    font-size: 2rem;
  }
}

/* Section Header Styles */
.section-header {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000;
    margin: 20px 0;
    line-height: 1.2;
}

.section-underline {
    height: 4px;
    background: #e63946;
    width: 100px;
    margin: 0;
    border-radius: 2px;
}

.section-intro {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    max-width: 800px;
    margin: 10px 0;
}

/* Responsive Design for Section Header */
@media (max-width: 1200px) {
    .section-header {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .section-header {
        margin: 0 auto 50px;
        padding: 0 30px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-underline {
        width: 80px;
        height: 3px;
    }
    
    .section-intro {
        font-size: 1.1rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .section-header {
        margin: 0 auto 40px;
        padding: 0 20px;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin: 0 0 12px 0;
    }
    
    .section-underline {
        width: 60px;
        height: 3px;
        margin: 0 auto 18px;
    }
    
    .section-intro {
        font-size: 1rem;
        line-height: 1.5;
    }
}

  /* Departments Section */
  .departments {
      padding: 80px 0;
      background: #fff;
  }

  .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
  }


  .section-intro {
      font-size: 1.1rem;
      line-height: 1.6;
      color: #666;
  }

  .departments-container {
      max-width: 1000px;
      margin: 0 auto;
  }

  .department {
      margin-bottom: 15px;
      border: 1px solid #e9ecef;
      border-radius: 8px;
      overflow: hidden;
  }

  .department-header {
      width: 100%;
      background: var(--blue);
      color: white;
      border: none;
      padding: 25px 30px;
      text-align: left;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      transition: background 0.3s ease;
  }

  .department-header:hover {
      background: #0d8bc9;
  }

  .department-header h3 {
      font-size: 1.2rem;
      font-weight: 700;
      margin: 0;
      text-transform: uppercase;
      letter-spacing: 0.5px;
  }

  .dropdown-icon {
      font-size: 0.8rem;
      transition: transform 0.3s ease;
  }

  .department.active .dropdown-icon {
      transform: rotate(180deg);
  }

  .department-content {
      padding: 30px;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      background: white;
  }

  .department.active .department-content {
      max-height: 2000px;
  }

  .department-description {
      font-size: 1rem;
      line-height: 1.6;
      color: #666;
      margin-bottom: 25px;
      padding-bottom: 20px;
      border-bottom: 1px solid #e9ecef;
  }

  .courses-list {
      display: flex;
      flex-direction: column;
      gap: 20px;
  }

  .course-item {
      background: #f8f9fa;
      padding: 20px;
      border-radius: 6px;
      border-left: 4px solid var(--blue);
  }

  .course-item h4 {
      font-size: 1.1rem;
      font-weight: 600;
      color: #333;
      margin: 0 0 15px 0;
  }

  .course-details {
      display: flex;
      flex-wrap: wrap;
      gap: 15px;
      align-items: center;
  }

  .course-details span {
      padding: 6px 12px;
      border-radius: 4px;
      font-size: 0.85rem;
      font-weight: 600;
  }

  .requirement {
      background: #e3f2fd;
      color: #1976d2;
      border: 1px solid #bbdefb;
  }

  .exam-body {
      background: #f3e5f5;
      color: #7b1fa2;
      border: 1px solid #e1bee7;
  }

  .duration {
      background: #e8f5e8;
      color: #388e3c;
      border: 1px solid #c8e6c9;
  }

  .level {
      background: #fff3e0;
      color: #f57c00;
      border: 1px solid #ffe0b2;
  }

  /* Short Courses Section */
  .short-courses {
      padding: 80px 0;
      background: #f8f9fa;
  }

  .short-courses-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 25px;
      margin-top: 40px;
  }

  .short-course-category {
      background: white;
      border-radius: 8px;
      padding: 25px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }

  .short-course-category h3 {
      color: var(--blue);
      margin-top: 0;
      margin-bottom: 20px;
      padding-bottom: 15px;
      border-bottom: 2px solid var(--light-blue);
  }

  .short-course-list {
      list-style-type: none;
      padding: 0;
      margin: 0;
  }

  .short-course-list li {
      padding: 12px 0;
      border-bottom: 1px solid #eee;
      display: flex;
      justify-content: space-between;
  }

  .short-course-list li:last-child {
      border-bottom: none;
  }

  .course-name {
      font-weight: 500;
  }

  .course-duration {
      color: #666;
      font-size: 0.9rem;
  }

  /* Examinations Section */
.examinations-section {
    padding: 0;
    background: #fff;
}


.examinations-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.examinations-text {
    padding-right: 20px;
}

.examinations-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 25px;
}

.examinations-text p:last-child {
    margin-bottom: 0;
}

.examinations-text strong {
    color: #333;
    font-weight: 600;
}

.exam-bodies {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.exam-bodies h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0d8bc9;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e63946;
}

.exam-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.exam-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 12px 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.exam-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.exam-item:last-child {
    margin-bottom: 0;
}

.exam-icon {
    width: 50px;
    height: 50px;
    background: #0d8bc9;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.exam-details {
    flex: 1;
}

.exam-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 5px 0;
}

.exam-full-name {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 968px) {
    .examinations-content {
        gap: 40px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .examinations-section {
        padding: 60px 0;
    }
    
    .examinations-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .examinations-text {
        padding-right: 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .examinations-text p {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .exam-bodies {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .examinations-section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .section-underline {
        width: 120px;
        height: 3px;
    }
    
    .exam-bodies {
        padding: 20px;
    }
    
    .exam-item {
        padding: 10px 12px;
    }
    
    .exam-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-right: 12px;
    }
    
    .exam-name {
        font-size: 1rem;
    }
    
    .exam-full-name {
        font-size: 0.85rem;
    }
}

/* Facilities Section */
.facilities {
    padding: 80px 0;
    background: #fff;
}

.facilities .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Facilities Grid */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.facility-item {
    position: relative;
    overflow: hidden;
}

.facility-text {
    background: #f8f9fa;
    display: flex;
    align-items: center;
    padding: 0;
}

.facility-content {
    padding: 50px 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.facility-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000;
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.facility-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

.facility-image {
    height: 400px;
    overflow: hidden;
}

.facility-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.facility-image:hover img {
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .facilities-grid {
        grid-template-columns: 1fr;
    }
    
    .facility-item {
        grid-column: 1 !important;
    }
    
    .facility-text {
        order: 1;
        height: auto;
    }
    
    .facility-image {
        order: 2;
        height: 300px;
    }
    
    .facility-content {
        padding: 40px 30px;
    }
    
    .facility-content h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .facilities {
        padding: 60px 0;
    }
    
    .facility-content {
        padding: 30px 25px;
    }
    
    .facility-content h3 {
        font-size: 1.2rem;
        margin: 0 0 15px 0;
    }
    
    .facility-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .facility-image {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .facilities {
        padding: 40px 0;
    }
    
    .facility-content {
        padding: 25px 20px;
    }
    
    .facility-content h3 {
        font-size: 1.1rem;
    }
    
    .facility-content p {
        font-size: 0.9rem;
    }
    
    .facility-image {
        height: 200px;
    }
}


/* Learning Approach Section */
.learning-approach {
  padding: 80px 0;
  background: white;
}

.approach-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.approach-text h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 20px;
}

.approach-text > p {
  font-size: 1rem;
  line-height: 1.8;
  color: #666;
  margin-bottom: 40px;
}

.approach-features {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.feature {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feature i {
  width: 50px;
  height: 50px;
  background: var(--blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.feature h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 8px 0;
}

.feature p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.approach-image {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e9ecef;
}

.approach-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}


/* CTA Section */
.academics-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--blue), #0d8bc9);
  color: white;
  text-align: center;
}

.cta-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.cta-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta-content > p {
  font-size: 1rem;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button {
  padding: 15px 35px;
  border: none;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-button.primary {
  background: white;
  color: var(--blue);
}

.cta-button.secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.cta-button:hover {
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .academic-sections .container {
    padding: 0 40px;
  }
}

@media (max-width: 768px) {
  .academic-sections .container {
    padding: 0 20px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .programs-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .program-card {
    padding: 30px 20px;
  }
  
  .approach-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .approach-image img {
    height: 300px;
  }
  
  .calendar-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .levels-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .level-card {
    padding: 30px 20px;
  }
  
  .level-featured {
    order: -1;
  }
  
  .facilities-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .event {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .cta-button {
    width: 200px;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .academic-sections .container {
    padding: 0 15px;
  }
  
  .programs-overview,
  .certification-levels,
  .learning-approach,
  .facilities,
  .academic-calendar,
  .academics-cta {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 1.7rem;
  }
  
  .section-intro {
    font-size: 1rem;
    margin-bottom: 40px;
  }
  
  .program-card {
    padding: 25px 15px;
  }
  
  .program-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .approach-text h2 {
    font-size: 1.8rem;
  }
  
  .feature {
    gap: 15px;
  }
  
  .feature i {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .calendar-text h2 {
    font-size: 1.8rem;
  }
  
  .cta-content h2 {
    font-size: 1.7rem;
  }
  
  .cta-content > p {
    font-size: 1rem;
  }
}


