:root {
  --primary-color: #111827;
  --accent-color: #7cb365;
  --accent-light: #eef5ec;
  --text-color: #4b5563;
  --text-light: #6b7280;
  --bg-white: #ffffff;
  --bg-gray: #f8fafc;
  --font-family: "Inter", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  color: var(--text-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  color: var(--primary-color);
  line-height: 1.2;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 1200px) {
  .container {
    padding: 0 5%;
  }
}

img {
  max-width: 100%;
  display: block;
  border-radius: 1.25rem;
  box-shadow:
    0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
  object-fit: cover;
}

.section-1 img {
  height: 480px;
  width: 100%;
}

.section-2 img {
  height: 540px;
  width: 100%;
}

.split {
  display: flex;
  align-items: center;
  gap: 5rem;
  padding: 6rem 0;
}

.split > * {
  flex: 1;
}

.text-content {
  max-width: 520px;
}

/* Section 1 Styles */
.section-1 {
  background-color: var(--bg-gray);
}

.section-1 h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.section-1 .highlight {
  color: var(--accent-color);
}

.section-1 p {
  font-size: 1.125rem;
  color: var(--text-color);
  max-width: 480px;
}

/* Section 2 Styles */
.section-2 {
  background-color: var(--bg-white);
}

.section-2 h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.section-2 .paragraphs {
  margin-bottom: 2.5rem;
}

.section-2 .paragraphs p {
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  color: var(--text-color);
}

.section-2 .paragraphs strong {
  color: var(--primary-color);
}

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-item .icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background-color: var(--accent-light);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-item .icon svg {
  width: 1.125rem;
  height: 1.125rem;
}

.feature-text h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.feature-text p {
  font-size: 0.8125rem;
  color: var(--text-light);
  line-height: 1.5;
}

@media (max-width: 992px) {
  .split,
  .split.reverse {
    flex-direction: column;
    gap: 3rem;
    padding: 4rem 5%;
  }

  .split > *,
  .split.reverse > *,
  .dean-profile,
  .dean-text,
  .ach-text,
  .ach-list {
    width: 100%;
  }

  .section-1 h1 {
    font-size: 2.5rem;
  }

  .section-2 h2 {
    font-size: 1.75rem;
  }

  .features {
    grid-template-columns: 1fr;
  }
}

/* Shared Header Styles */
.section-header.center {
  text-align: center;
  margin-bottom: 3.5rem;
}

.overline {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-header p {
  color: var(--text-light);
  font-size: 0.9375rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Dean's Message Section */
.section-dean {
  background-color: var(--bg-white);
}

.dean-split {
  gap: 4rem;
  align-items: flex-start;
}

.dean-profile {
  flex: 0.18; /* Further reduced to make the photo smaller */
}

.dean-card {
  position: relative;
  background: white;
  padding: 0.5rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  z-index: 1;
  max-width: 100%; /* Add max-width 100% to contain the image */
}

.dean-card::before {
  content: "";
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: -1rem;
  bottom: -1rem;
  background-color: var(--accent-light);
  border-radius: 1rem;
  z-index: -1;
}

.dean-card img {
  border-radius: 0.75rem;
  width: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center top;
  max-height: 280px;
  box-shadow: none;
}

.dean-info h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.dean-info p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.5;
}

.dean-text {
  flex: 0.82;
  display: flex;
  flex-direction: column;
}

.quote-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.quote-header svg {
  flex-shrink: 0;
}

.dean-text h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
}

.dean-divider {
  width: 80px;
  height: 3px;
  background-color: var(--accent-color);
  margin-bottom: 2rem;
}

.dean-text p {
  color: var(--text-color);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.dean-intro {
  font-weight: 600;
  color: var(--primary-color) !important;
  font-size: 1rem !important;
}

@media (max-width: 992px) {
  .dean-split {
    flex-direction: column;
    gap: 4rem;
  }

  .dean-card {
    margin: 0 auto 1.5rem; /* Center the image container */
    max-width: 200px; /* Restrict the width on mobile further */
  }
}

/* Section 3 */
.section-3 {
  padding: 6rem 0;
  background-color: var(--bg-gray);
}

.departments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.department-card {
  cursor: pointer;
  background: var(--bg-white);
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 2rem;
  transition: box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.department-card:hover {
  box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.137);
}

.department-card .card-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background-color: var(--accent-light);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.department-card .card-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.department-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.learn-more {
  text-decoration: none;
  color: var(--accent-color);
  font-weight: 600;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* Section 4 */
.section-4 {
  padding: 6rem 0 8rem;
  background-color: var(--bg-white);
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.tab {
  background: none;
  border: 1px solid transparent;
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
  border-radius: 2rem;
  transition: all 0.3s ease;
}

.tab:hover {
  color: var(--primary-color);
}

.tab.active {
  background-color: var(--accent-color);
  color: white;
}

.programmes-container {
  background-color: var(--bg-gray);
  border-radius: 1.5rem;
  padding: 1.2rem;
}

.programmes-grid {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.programmes-grid.active {
  display: grid;
}

.programme-card {
  background: var(--bg-white);
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.programme-card:hover {
  border-color: var(--accent-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.prog-icon {
  color: var(--accent-color);
  background-color: var(--accent-light);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.prog-icon svg {
  width: 1.125rem;
  height: 1.125rem;
}

.prog-title {
  flex-grow: 1;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-color);
  line-height: 1.4;
}

.prog-arrow {
  color: #9ca3af;
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.programme-card:hover .prog-arrow {
  transform: translateX(4px);
  color: var(--accent-color);
}

@media (max-width: 1024px) {
  .departments-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .programmes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .departments-grid {
    grid-template-columns: 1fr;
  }

  .programmes-grid {
    grid-template-columns: 1fr;
    padding-left: 0;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }
}

/* Section 5: Facilities */
.section-5 {
  padding: 6rem 0;
  background-color: var(--bg-gray);
}

.header-icon.mx-auto {
  margin: 0 auto 1.5rem;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background-color: var(--bg-white);
  color: var(--accent-color);
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.facility-card {
  background: var(--bg-white);
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  text-align: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.facility-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
}

.facility-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: #f3f8f0;
  border: 1px solid #e5e7eb;
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.facility-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.facility-card p {
  font-size: 0.8125rem;
  color: var(--text-light);
  line-height: 1.5;
}
.wrapper_faculty {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.faculty-banner {
  width: 80%;
  background-color: #8fb17a; /* Muted Green */
  background-image: linear-gradient(135deg, #a2c48d 0%, #a2c48d 100%);
  border-radius: 1rem;
  padding: 3rem 2rem;
  text-align: center;
  color: white;
  box-shadow: 0 10px 15px -3px rgba(124, 179, 101, 0.3);
}

.faculty-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.faculty-banner h3 {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.faculty-banner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9375rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Section 6: Achievements */
.section-6 {
  padding: 6rem 0;
  background-color: var(--bg-white);
}

.align-start {
  align-items: flex-start;
}

.ach-split {
  gap: 4rem;
}

.ach-text {
  flex: 0.45;
}

.ach-text h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.ach-divider {
  width: 100px;
  height: 3px;
  background-color: var(--accent-color);
  margin-bottom: 1.5rem;
}

.ach-text p {
  color: var(--text-light);
  font-size: 0.9375rem;
  margin-bottom: 2rem;
}

.ach-img {
  height: 400px;
  object-fit: cover;
  width: 100%;
  max-width: 100%;
  border-radius: 1.25rem;
}

.ach-list {
  flex: 0.55;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ach-item {
  background-color: var(--bg-gray);
  border-radius: 0.75rem;
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: center;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.ach-item:hover {
  border-color: #e5e7eb;
  background-color: white;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.ach-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
}

.icon-blue {
  background-color: #3b82f6;
}
.icon-emerald {
  background-color: #10b981;
}
.icon-red {
  background-color: #ef4444;
}
.icon-purple {
  background-color: #8b5cf6;
}
.icon-green {
  background-color: #84cc16;
}

.ach-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.ach-content p {
  font-size: 0.8125rem;
  color: var(--text-light);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .facilities-grid {
    grid-template-columns: 1fr;
  }

  .programmes-grid {
    grid-template-columns: 1fr;
    padding-left: 0;
  }

  .ach-split {
    flex-direction: column;
  }

  .ach-img {
    height: auto;
    max-height: 200px;
  }
}
