:root {
  --primary-color: #87cefa; /* skyblue */
  --secondary-color: #00a3ff; /* deeper sky blue */
  --accent-color: #e6f7ff; /* very light sky */
  --light-color: #ffffff;
  --dark-color: #1f2937;
  --success-color: #28a745;
  --error-color: #dc3545;
  --transition: all 0.3s ease;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --blur: 5px;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #ffffff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2563eb;
}

.nav-logo i {
  margin-right: 0.5rem;
  font-size: 1.8rem;
  color: #10b981;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: #374151;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #2563eb;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #10b981;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #374151;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  max-height: 800px;
  background: white;
  overflow: hidden;
}

.hero-container {
  display: flex;
  height: 100%;
  position: relative;
}

.white-space {
  width: 55%;
  height: 100%;
  background: white;
  z-index: 2;
}

.hero-image-fade {
  width: 98%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.3) 15%,
    rgba(0, 0, 0, 1) 50%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.3) 15%,
    rgba(0, 0, 0, 1) 50%
  );
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 9.5%;
  /* Half of the white space */
  transform: translateY(-50%);
  width: 40%;
  max-width: 500px;
  padding: 2rem;
  color: #333;
  z-index: 3;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
  color: #012036;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  margin-bottom: 2rem;
  line-height: 1.6;
  color: #555;
}

.cta-button {
  display: inline-block;
  width: fit-content;
  /* padding: 0.5rem 1rem; */
  background-color: #2a7fba;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Animations (same as before) */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
  animation-delay: var(--delay, 0s);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero {
    height: 70%;
  }

  .white-space {
    display: none;
    width: 100%;
    height: 100%;
    background: rgba(248, 243, 243, 0.466);
  }

  .hero-container {
    display: 0;
    background: transparent;
    height: 50%;
    width: 100%;
    position: relative;
  }

  .hero-image-fade {
    width: 100%;
  }

  .hero-content {
    margin-top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    text-align: center;
    background: rgba(255, 255, 255, 0);
    border-radius: 12px;
    padding: 1.5rem;
  }

  .hero-image {
    mask-image: linear-gradient(
      to top,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.3) 45%,
      rgba(0, 0, 0, 0.8) 60%
    );
    -webkit-mask-image: linear-gradient(
      to top,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.3) 56%,
      rgba(0, 0, 0, 0.8) 90%
    );
    width: 100%;
  }
}

/* Page Header */
.page-header {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: white;
  text-align: center;
  padding: 150px 20px 80px;
}

.page-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.careers-header {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.nursing-header {
  background: linear-gradient(
      135deg,
      rgba(13, 92, 117, 0.85) 0%,
      rgba(8, 40, 60, 0.9) 100%
    ),
    url("../images/graduation.JPG") center / cover no-repeat;
}

.nursing-motto {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 8px 24px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Section Styles */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
}

/* About Preview Section */
.about-preview {
  background: #f8fafc;
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  font-size: 1.1rem;
  color: #64748b;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.learn-more-btn {
  display: inline-block;
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid #2563eb;
  transition: all 0.3s ease;
}

.learn-more-btn:hover {
  color: #1d4ed8;
  border-color: #1d4ed8;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 0.5rem;
}

.stat-item p {
  color: #64748b;
  font-weight: 500;
}

/* Services Grid */
.services {
  background: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #f1f5f9;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.service-icon i {
  font-size: 2rem;
  color: white;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1rem;
}

.service-card p {
  color: #64748b;
  line-height: 1.6;
}

/* Testimonials */
.testimonials {
  background: #f8fafc;
}

.testimonial-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-container {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.testimonial-slide {
  display: none;
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.testimonial-slide.active {
  display: block;
}

.testimonial-content p {
  font-size: 1.2rem;
  color: #64748b;
  font-style: italic;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author h4 {
  color: #1e293b;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.testimonial-author span {
  color: #64748b;
  font-size: 0.9rem;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #2563eb;
}

/* Quick Links */
.quick-links {
  background: white;
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.quick-link-card {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.quick-link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.quick-link-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.quick-link-icon i {
  font-size: 1.8rem;
  color: white;
}

.quick-link-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1rem;
}

.quick-link-card p {
  color: #64748b;
  margin-bottom: 1.5rem;
}

.quick-link-btn {
  display: inline-block;
  background: #2563eb;
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.quick-link-btn:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background: #1e293b;
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-logo i {
  margin-right: 0.5rem;
  font-size: 1.8rem;
  color: #10b981;
}

.footer-section p {
  color: #94a3b8;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.footer-section h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #10b981;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: #374151;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #10b981;
  transform: translateY(-2px);
}

.contact-info p {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  color: #94a3b8;
}

.contact-info i {
  margin-right: 0.75rem;
  color: #10b981;
  width: 16px;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  text-align: center;
  color: #94a3b8;
}

/* About Page Styles */

/* Main Section Container */
.mv-section {
  padding: 4rem 0;
  background-color: #f8f9fa;
  font-family: "Open Sans", sans-serif;
}

.mv-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Grid Layout */
.mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* Card Styles */
.mv-card {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Icon Styles */
.mv-icon {
  font-size: 2.5rem;
  color: #2a7fba;
  margin-bottom: 1.5rem;
}

/* Text Styles */
.mv-title {
  color: #2a7fba;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.mv-text {
  color: #555;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Values List Specific Styles */
.mv-values-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.mv-value-item {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
  color: #444;
  font-weight: 500;
}

/* Individual Card Color Variations */
.mv-mission {
  border-top: 4px solid #2a7fba;
}

.mv-vision {
  border-top: 4px solid #5cb85c;
}

.mv-values {
  border-top: 4px solid #d9534f;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .mv-grid {
    grid-template-columns: 1fr;
  }

  .mv-card {
    padding: 1.5rem;
  }
}
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Team Section Styles */
.team {
  padding: 4rem 0;
  background-color: #f8f9fa;
}

.team .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.2rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #7f8c8d;
  font-weight: 300;
}

/* Team Grid Layout */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  justify-items: center;
}

/* Team Card Styles */
.team-card {
  position: relative;
  width: 100%;
  max-width: 280px;
  height: 350px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Team Image Container */
.team-image {
  position: relative;
  width: 100%;
  height: 100%;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: all 0.5s ease;
}

/* RED Overlay Styles */
.team-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(204, 0, 0, 0.85);
  /* Deep red with 85% opacity */
  color: white;
  padding: 1.5rem;
  transform: translateY(100%);
  transition: all 0.4s ease;
  opacity: 0;
}

/* Gradient alternative (uncomment to use) */
/* .team-info {
  background: linear-gradient(to top, rgba(204, 0, 0, 0.9), rgba(153, 0, 0, 0.7));
} */

.team-card:hover .team-info {
  transform: translateY(0);
  opacity: 1;
}

/* Team Info Content */
.team-info h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
}

.team-position {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
  color: #f8f8f8;
}

.team-description {
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  color: #f0f0f0;
}

.team-credentials {
  font-size: 0.8rem;
  font-style: italic;
  color: #f5d3d3;
  /* Light red text for credentials */
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .team {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card {
    max-width: 100%;
    height: 400px;
  }
}

/* Animation for smoother hover effect */
@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.team-card:hover .team-info {
  animation: slideUp 0.4s ease forwards;
}

/* Timeline */
.timeline {
  background: #f8fafc;
}

.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-container::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #2563eb;
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-year {
  background: #2563eb;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  position: relative;
  z-index: 2;
}

.timeline-content {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  flex: 1;
  margin: 0 2rem;
}

.timeline-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: #64748b;
  line-height: 1.6;
}

/* FAQ Section */
.faq-section {
  padding: 4rem 0;
  background-color: #f8f9fa;
  font-family: "Open Sans", sans-serif;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-title {
  color: #2a7fba;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: #666;
  font-size: 1.1rem;
}

/* FAQ Accordion */
.faq-accordion {
  margin-top: 2rem;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  background: white;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #f0f8ff;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #2a7fba;
  font-weight: 600;
}

.faq-icon {
  transition: transform 0.3s ease;
  color: #2a7fba;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 1.5rem 1.5rem;
  color: #555;
  line-height: 1.6;
}

/* Active state */
.faq-question[aria-expanded="true"] + .faq-answer {
  max-height: 500px;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .faq-question {
    padding: 1rem;
  }

  .faq-question h3 {
    font-size: 1rem;
  }
}

/* Form Styles */
/* Appointment CTA Section */
.appointment-cta-section {
  padding: 4rem 0;
  background-color: var(--light-color);
}

.cta-card {
  background: white;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.cta-card:hover {
  transform: translateY(-5px);
}

.cta-content {
  margin-bottom: 2rem;
}

.benefits-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.1rem;
  color: var(--secondary-color);
}

.benefit-item i {
  color: var(--primary-color);
  font-size: 1.3rem;
}

.cta-button {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.cta-button:active {
  transform: translateY(0);
}

/* Pulse Animation */
@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(var(--blur));
  z-index: 1000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: block;
  opacity: 1;
}

/* Appointment Modal */
/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 0;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  width: 90%;
  max-width: 800px;
  animation: modalFadeIn 0.3s;
  max-height: 90vh;
  overflow-y: auto;
}

.large-modal {
  max-width: 900px;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  padding: 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background: white;
  z-index: 10;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
  color: #333;
}

.close {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s;
}

.close:hover {
  color: #333;
}

.modal-body {
  padding: 20px;
}

/* Appointment Modal - Fixed */
.appointment-modal {
  display: none;
  position: fixed;
  z-index: 1001;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 700px;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.appointment-form {
  padding: 30px;
}

.close-modal {
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: #333;
  cursor: pointer;
  transition: color 0.2s;
}

.close-modal:hover {
  color: #e74c3c;
}

.error-message {
  display: none;
  color: #e74c3c;
  font-size: 0.85rem;
  margin-top: 5px;
}

/* Progress Steps - Improved */
.progress-steps {
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  position: relative;
  margin-bottom: 20px;
}

.progress-steps::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 4px;
  background: #eee;
  z-index: 0;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
  position: relative;
}

.step span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #eee;
  color: #777;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 3px solid white;
}

.step p {
  font-size: 0.85rem;
  color: #777;
  margin: 0;
  text-align: center;
  transition: all 0.3s ease;
}

.step.active span {
  background: #4a6fa5;
  color: white;
  border-color: white;
}

.step.active p {
  color: #333;
  font-weight: 500;
}

.step.completed span {
  background: #4a6fa5;
  color: white;
}

.progress-bar {
  height: 4px;
  background: #eee;
  border-radius: 2px;
  margin: 0 20px 30px;
  position: relative;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: #4a6fa5;
  border-radius: 2px;
  transition: width 0.3s ease;
  position: absolute;
  left: 0;
  top: 0;
}

/* Form Steps - Fixed */
.form-step {
  display: none;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.3s ease;
  height: 0;
  overflow: hidden;
}

.form-step.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
  height: auto;
  overflow: visible;
  animation: none;
  /* Remove previous animation */
}

/* Form Elements - Enhanced */
.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-row .form-group {
  flex: 1;
  min-width: 0;
  /* Prevent flex items from overflowing */
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #4a6fa5;
  box-shadow: 0 0 0 3px rgba(74, 111, 165, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* File Upload - Improved */
.file-upload {
  margin-top: 8px;
}

.file-upload input[type="file"] {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}

.file-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  border: 2px dashed #ddd;
  border-radius: 6px;
  background: #f9f9f9;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.file-upload-label:hover {
  border-color: #4a6fa5;
  background: #f5f8ff;
}

.file-upload-label i {
  font-size: 2rem;
  color: #4a6fa5;
  margin-bottom: 10px;
}

.file-format {
  font-size: 0.8rem;
  color: #777;
  margin-top: 8px;
}

.file-preview {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #4a6fa5;
  word-break: break-all;
}

/* Form Actions - Better spacing */
.form-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.prev-step,
.next-step,
.submit-btn {
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  border: none;
}

.prev-step {
  background: #f1f1f1;
  color: #333;
}

.prev-step:hover {
  background: #e1e1e1;
}

.next-step,
.submit-btn {
  background: #4a6fa5;
  color: white;
}

.next-step:hover,
.submit-btn:hover {
  background: #3a5f95;
  transform: translateY(-2px);
}

/* Review Section - More readable */
.review-section {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #eee;
}

.review-group {
  margin-bottom: 20px;
}

.review-group h4 {
  margin: 0 0 15px 0;
  color: #4a6fa5;
  font-size: 1.1rem;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}

.review-item {
  display: flex;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.review-label {
  font-weight: 500;
  min-width: 150px;
  color: #555;
  margin-right: 10px;
}

/* Success Message - More prominent */
.form-success {
  text-align: center;
  padding: 40px 20px;
  background: #f9f9f9;
  border-radius: 8px;
  margin: 20px 0;
}

.success-icon {
  font-size: 4rem;
  color: #28a745;
  margin-bottom: 20px;
}

.form-success h3 {
  color: #333;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.form-success p {
  color: #555;
  margin-bottom: 10px;
  line-height: 1.6;
}

.close-success {
  background: #4a6fa5;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 6px;
  margin-top: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.close-success:hover {
  background: #3a5f95;
  transform: translateY(-2px);
}

/* Nursing School Styles */
.school-about {
  padding: 5rem 0;
  background-color: #f9fafc;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.section-heading {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  position: relative;
  padding-bottom: 1rem;
}

.section-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #3498db, #9b59b6);
  border-radius: 2px;
}

.lead-text {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #4a5568;
  margin-bottom: 2rem;
}

/* Timeline Styling */
.timeline {
  position: relative;
  padding-left: 2rem;
  margin: 2rem 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #3498db, #9b59b6);
}

.timeline-item {
  position: relative;
  margin-bottom: 1.5rem;
}

.timeline-marker {
  position: absolute;
  left: -2rem;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #3498db;
  border: 3px solid white;
  box-shadow: 0 0 0 2px #3498db;
}

.timeline-content {
  padding: 0.5rem 1rem 1rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.timeline-content h3 {
  color: #3498db;
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.timeline-content p {
  color: #4a5568;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Mission Card */
.mission-card {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  margin: 2rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e6f0fa 100%);
  border-radius: 12px;
  border-left: 4px solid #3498db;
}

.mission-icon {
  font-size: 1.75rem;
  color: #3498db;
}

.mission-text h3 {
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.mission-text p {
  color: #4a5568;
  line-height: 1.6;
}

/* Stats Cards */
.school-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-card {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: #3498db;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.9rem;
  color: #4a5568;
  margin-bottom: 0.75rem;
}

.stat-bar {
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
}

.stat-bar::after {
  content: "";
  display: block;
  height: 100%;
  width: calc(var(--width) * 1%);
  background: linear-gradient(90deg, #3498db, #9b59b6);
  border-radius: 3px;
}

/* Image Section */
.about-image {
  position: relative;
}

.image-container {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.main-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.image-container:hover .main-image {
  transform: scale(1.03);
}

.image-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #2c3e50;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.image-badge i {
  color: #f1c40f;
}

.alumni-note {
  margin-top: 2rem;
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  position: relative;
}

.alumni-note i:first-child {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 2rem;
  color: #e2e8f0;
  z-index: 0;
}

.alumni-note p {
  position: relative;
  z-index: 1;
  font-style: italic;
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.alumni-name {
  font-weight: 600;
  color: #2c3e50;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
  }

  .school-stats {
    grid-template-columns: 1fr;
  }
}

/* Programs */
.programs {
  background: #f9fafc;
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 15px;
  font-weight: 700;
}

.section-subtitle {
  color: #7f8c8d;
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.program-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  border-top: 4px solid #3498db;
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.hiv-program {
  border-top-color: #e74c3c;
}

.program-icon {
  font-size: 2.5rem;
  color: #3498db;
  margin-bottom: 20px;
}

.hiv-program .program-icon {
  color: #e74c3c;
}

.program-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #2c3e50;
}

.program-details {
  margin-bottom: 20px;
  color: #7f8c8d;
}

.program-details span {
  font-weight: 600;
  color: #34495e;
}

.program-description {
  color: #34495e;
  margin-bottom: 20px;
  line-height: 1.6;
}

.program-features {
  margin-bottom: 25px;
}

.program-features li {
  margin-bottom: 10px;
  color: #34495e;
  display: flex;
  align-items: flex-start;
}

.program-features i {
  margin-right: 10px;
  color: #2ecc71;
  font-size: 0.9rem;
  margin-top: 3px;
}

.program-cta {
  display: inline-flex;
  align-items: center;
  color: #3498db;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.program-cta:hover {
  color: #2980b9;
}

.program-cta i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.program-cta:hover i {
  transform: translateX(5px);
}

.featured {
  border-top-color: #2ecc71;
}

.program-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: #2ecc71;
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .programs-grid {
    grid-template-columns: 1fr;
  }
}

/* Brochure Section Styles */
.brochure-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
}

.brochure-card {
  display: flex;
  background: white;
  border-radius: 16px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}

.brochure-content {
  flex: 1;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brochure-content h2 {
  font-size: 2.2rem;
  color: #2c3e50;
  margin-bottom: 20px;
  font-weight: 700;
}

.brochure-content p {
  color: #7f8c8d;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  background: #3498db;
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: fit-content;
}

.download-btn i {
  margin-right: 10px;
  font-size: 1.1rem;
}

.download-btn:hover {
  background: #2980b9;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
}

.download-btn:active {
  transform: translateY(-1px);
}

.brochure-image {
  flex: 1;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.brochure-image::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(52, 152, 219, 0.1) 0%,
    rgba(52, 152, 219, 0) 70%
  );
  animation: pulse 8s infinite linear;
}

.brochure-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: perspective(1000px) rotateY(-10deg);
  transition: transform 0.5s ease;
  z-index: 1;
}

.brochure-image:hover img {
  transform: perspective(1000px) rotateY(0deg);
}

@keyframes pulse {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Loading Indicator */
.loading {
  display: none;
  margin-left: 10px;
}

.download-btn.loading .loading {
  display: inline-block;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Success Message */
.success-message {
  display: none;
  color: #27ae60;
  font-weight: 600;
  margin-top: 15px;
  align-items: center;
}

.success-message i {
  margin-right: 8px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .brochure-card {
    flex-direction: column;
  }

  .brochure-content {
    padding: 40px 30px;
  }

  .brochure-image {
    padding: 30px;
  }

  .brochure-image img {
    max-width: 80%;
    transform: perspective(1000px) rotateY(0deg);
  }
}

@media (max-width: 576px) {
  .brochure-content {
    padding: 30px 20px;
  }

  .brochure-content h2 {
    font-size: 1.8rem;
  }

  .download-btn {
    width: 100%;
    padding: 12px 20px;
  }
}

/* Modern Styling for campus visit section  */
.campus-visit {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.section-title {
  font-size: 2.25rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #7f8c8d;
  margin-bottom: 2rem;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 1.5rem;
  color: #3498db;
  background: #e8f4fc;
  padding: 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-text h3 {
  font-size: 1.25rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.feature-text p {
  color: #7f8c8d;
  line-height: 1.5;
}

.stats-container {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: bold;
  color: #3498db;
}

.stat-label {
  font-size: 0.9rem;
  color: #7f8c8d;
}

/* Form Styling */
.form-card {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.form-title {
  font-size: 1.75rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.form-subtitle {
  color: #7f8c8d;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.modern-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: flex;
  gap: 1.25rem;
}

.form-row .form-group {
  flex: 1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9rem;
  color: #2c3e50;
  font-weight: 500;
}

.form-group input,
.modern-select {
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.modern-select:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.modern-select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
}

.checkbox-group {
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
}

.checkbox-group input {
  width: auto;
}

.modern-button {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: white;
  border: none;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.modern-button:hover {
  background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

@media (max-width: 768px) {
  .visit-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    flex-direction: column;
    gap: 1.25rem;
  }
}

/* Branch Pages Styles */
.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dropdown-toggle i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-toggle i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 1rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 0.75rem 1.5rem;
  color: #374151;
  text-decoration: none;
  transition: all 0.3s ease;
}

.dropdown-link:hover,
.dropdown-link.active {
  background: #f8fafc;
  color: #2563eb;
}

/* Branch Hero Sections */
.branch-hero {
  position: relative;
  padding: 6rem 0;
  background-image: linear-gradient(rgba(3, 12, 48, 0.7), rgba(3, 14, 58, 0.7)),
    url("/public/images/kibugua.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  text-align: center;
}

.branch-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 12, 48, 0.4);
}

.branch-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.branch-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.branch-badge i {
  margin-right: 0.5rem;
  font-size: 1rem;
}

.branch-title {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  line-height: 1.3;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.branch-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.branch-quick-info {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.quick-info-item {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-size: 0.9rem;
}

.quick-info-item i {
  margin-right: 0.5rem;
  font-size: 0.9rem;
}

.branch-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.cta-button.primary {
  background: linear-gradient(
    135deg,
    rgba(58, 123, 213, 0.9),
    rgba(0, 210, 255, 0.9)
  );
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-button.primary:hover {
  background: linear-gradient(
    135deg,
    rgba(58, 123, 213, 1),
    rgba(0, 210, 255, 1)
  );
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-button.secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
}

.cta-button.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .branch-hero {
    padding: 4rem 0;
  }

  .branch-title {
    font-size: 1.8rem;
  }

  .branch-subtitle {
    font-size: 1rem;
  }

  .branch-quick-info {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }

  .branch-cta-buttons {
    flex-direction: column;
    gap: 0.8rem;
  }

  .cta-button {
    width: 100%;
    text-align: center;
  }
}
/* Branch Overview */
.branch-overview {
  padding: 80px 0;
  background: #f8fafc;
}

.overview-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.overview-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2rem;
}

.overview-text p {
  font-size: 1.1rem;
  color: #64748b;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.branch-highlights {
  margin-top: 2rem;
}

.highlight-item {
  display: flex;
  align-items: start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.highlight-item i {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.highlight-item h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.highlight-item p {
  color: #64748b;
  font-size: 0.95rem;
  margin: 0;
}

.overview-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stat-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid #f1f5f9;
}

.stat-card h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 0.5rem;
}

.westside-stat h3 {
  color: #10b981;
}

.stat-card p {
  color: #64748b;
  font-weight: 500;
  margin: 0;
}

/* Specialized Services */
.specialized-services {
  padding: 80px 0;
  background: white;
}

.westside-services {
  background: #f8fafc;
}

.specialty-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #f1f5f9;
}

.westside-card {
  border-left: 4px solid #10b981;
}

.specialty-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.specialty-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.westside-icon {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.specialty-icon i {
  font-size: 2rem;
  color: white;
}

.specialty-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1rem;
}

.specialty-card p {
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.specialty-features {
  list-style: none;
  text-align: left;
}

.specialty-features li {
  color: #64748b;
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.specialty-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
}

/* Department Directory */
.department-directory {
  padding: 80px 0;
  background: #f8fafc;
}

.westside-directory {
  background: white;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.directory-column h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid #2563eb;
}

.department-list {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.department-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #f1f5f9;
  transition: all 0.3s ease;
}

.department-item:last-child {
  border-bottom: none;
}

.department-item:hover {
  background: #f8fafc;
}

.dept-name {
  font-weight: 500;
  color: #374151;
}

.dept-floor {
  background: #dbeafe;
  color: #2563eb;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Amenities Section */
.amenities-features {
  padding: 80px 0;
  background: #f8fafc;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.amenity-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.amenity-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.amenity-card i {
  font-size: 2.5rem;
  color: #10b981;
  margin-bottom: 1rem;
}

.amenity-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1rem;
}

.amenity-card p {
  color: #64748b;
  line-height: 1.6;
}

/* Location & Directions */
.location-directions {
  padding: 80px 0;
  background: white;
}

.westside-location {
  background: #f8fafc;
}

.location-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.location-info h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2rem;
}

.address-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  border-left: 4px solid #2563eb;
}

.westside-address {
  border-left-color: #10b981;
}

.address-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1rem;
}

.address {
  font-size: 1.1rem;
  color: #64748b;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.contact-details p {
  display: flex;
  align-items: center;
  color: #64748b;
  margin-bottom: 0.75rem;
}

.contact-details i {
  margin-right: 0.75rem;
  color: #2563eb;
  width: 16px;
}

.transportation-options h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1.5rem;
}

.transport-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.transport-option {
  display: flex;
  align-items: start;
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.transport-option i {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.transport-option h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.transport-option p {
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

.location-map {
  position: relative;
}

.location-map iframe {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Responsive Design for Branch Pages */
@media (max-width: 992px) {
  .branch-title {
    font-size: 3rem;
  }

  .overview-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .overview-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .location-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-dropdown .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    padding: 0;
  }

  .dropdown-link {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
  }

  .branch-hero {
    min-height: 70vh;
    padding: 100px 15px 60px;
  }

  .branch-title {
    font-size: 2.5rem;
  }

  .branch-subtitle {
    font-size: 1.1rem;
  }

  .branch-quick-info {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .quick-info-item {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .branch-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-button {
    width: 100%;
    max-width: 250px;
  }

  .overview-stats {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .stat-card {
    padding: 1.5rem;
  }

  .directory-grid {
    grid-template-columns: 1fr;
  }

  .amenities-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .transport-grid {
    gap: 1rem;
  }

  .transport-option {
    padding: 1rem;
  }
}

@media (max-width: 576px) {
  .branch-title {
    font-size: 2rem;
  }

  .branch-subtitle {
    font-size: 1rem;
  }

  .branch-badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .overview-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .specialty-card,
  .amenity-card {
    padding: 1.5rem;
  }

  .highlight-item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .transport-option {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}
