/* Base Styles */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}





* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Navbar Styling */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #004080;
    color: white;
    position: relative;
    z-index: 1000; /* High z-index for navbar */
}

.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ffcc00;
}

/* Burger Menu */
.burger {
    display: none;
    cursor: pointer;
    z-index: 1001; /* Above overlay */
}

.burger div {
    width: 30px;
    height: 4px;
    background-color: white;
    margin: 5px;
    transition: transform 0.3s ease-in-out;
}

/* Overlay Menu */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 64, 128, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 0.3s ease-in-out;
    z-index: 999; /* Below navbar but above content */
}

.overlay.active {
    display: flex;
    z-index: 1000; /* When active, show above navbar */
}

.close-icon {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: white;
    cursor: pointer;
    z-index: 1001;
}

.overlay-menu {
    list-style: none;
    text-align: center;
}

.overlay-menu li {
    margin: 20px 0;
}

.overlay-menu a {
    text-decoration: none;
    color: white;
    font-size: 24px;
    font-weight: bold;
    transition: color 0.3s;
}

.overlay-menu a:hover {
    color: #ffcc00;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .burger {
        display: block;
    }
    
    .overlay.active {
        display: flex;
    }
}







  
    /* Desktop Hero Section */
 /* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    background: url('images/hospital.jpg') center center/cover no-repeat;
    overflow: hidden;
    z-index: 1; /* Below navbar */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateX(-100%);
    text-align: center;
    color: #fff;
    z-index: 2;
    opacity: 0;
    animation: textSlideIn 1.5s forwards;
    animation-delay: 0.5s;
    padding: 20px;
}
    .hero-content h2 {
      font-size: 3em;
      font-weight: 700;
      margin-bottom: 20px;
      text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    }
    .cta-button {
      display: inline-block;
      padding: 15px 30px;
      background: #ff5722;
      color: #fff;
      text-decoration: none;
      font-size: 1.2em;
      font-weight: 600;
      border-radius: 5px;
      transition: background 0.3s ease;
    }
    .cta-button:hover {
      background: #e64a19;
    }
    /* Doctor image styling and animation */
   .hero-doctor {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100vh;
    width: auto;
    opacity: 0;
    transform: translateX(100%);
    z-index: 2;
    animation: doctorSlideIn 1.5s forwards;
    animation-delay: 0.5s;
}
    /* Animation keyframes */
    @keyframes textSlideIn {
      from {
        transform: translate(-50%, -50%) translateX(-100%);
        opacity: 0;
      }
      to {
        transform: translate(-80%, -50%) translateX(0);
        opacity: 1;
      }
    }
    @keyframes doctorSlideIn {
      from {
        transform: translateX(100%);
        opacity: 0;
      }
      to {
        transform: translateX(0);
        opacity: 1;
      }
    }
    /* Mobile styles */
    @media (max-width: 768px) {
    
      /* Hide the h2 text on small devices */
       .hero-content h2 {
      font-size: 1.3em;
      font-weight: 300;
       padding-right:120px;
	   margin-top:-180px;
      text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
	   z-index: 3;
	  
    }
    .hero-doctor {
      position: absolute;
	  margin:-20px;
      right: 0;
      bottom: 0;
      height: 100vh;
      width: auto;
      opacity: 0;
      transform: translateX(100%);
      z-index: 1;
      animation: doctorSlideIn 1.5s forwards;
      animation-delay: 0.5s;
    }
	
	 .cta-button {
      display: inline-block;
      padding: 15px 30px;
	  margin-right:120px;
	  margin-top:-10px;
      background: #ff5722;
      color: #fff;
      text-decoration: none;
      font-size: 1.2em;
      font-weight: 600;
      border-radius: 5px;
      transition: background 0.3s ease;
	   z-index: 4;
    }
    .cta-button:hover {
      background: #e64a19;
    }
    }
  
  
  
  
  
  
 section {
      padding: 60px 20px;
      text-align: center;
   
     
    }
    section.active {
      opacity: 1;
      transform: translateY(0);
    }
    h2, h3 {
      margin-bottom: 15px;
    }
    p {
      margin-bottom: 10px;
    }
	
	
	
	
	
	
	
	
	
	








	
	
	
	
	
	
	
	
	

  

    /* Section 3: Course Details */
    .section-courses {
      background: #eaeaea;
    }
    .courses-container {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 20px;
      margin-top: 20px;
    }
    .course-card {
      background: #fff;
      padding: 20px;
      border-radius: 8px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
      flex: 1 1 300px;
      max-width: 400px;
    }
    .course-card h3 {
      margin-bottom: 10px;
      font-size: 1.5em;
    }

    /* Section 4: Additional Info */
    .section-additional {
      background: #fff;
    }
    .additional-container {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 20px;
      margin-top: 20px;
    }
    .info-card {
      background: #eaeaea;
      padding: 15px 20px;
      border-radius: 8px;
      flex: 1 1 200px;
      max-width: 250px;
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 1em;
    }

    /* Responsive */
    @media (max-width: 768px) {
      .courses-container,
      .additional-container {
        flex-direction: column;
        align-items: center;
      }
    }
	
	
	
	
	
	
	
	
	 /* Footer Styles */
    footer {
      background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
      color: #fff;
      padding: 40px 20px;
    }
    
    .footer-content {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: flex-start;
      max-width: 1200px;
      margin: 0 auto;
      padding-bottom: 20px;
      border-bottom: 1px solid rgba(255,255,255,0.3);
    }
    
    .footer-section {
      flex: 1 1 300px;
      margin: 10px;
    }
    
    .footer-section h3 {
      font-size: 1.5em;
      margin-bottom: 15px;
      position: relative;
    }
    
    .footer-section h3::after {
      content: '';
      display: block;
      width: 50px;
      height: 3px;
      background: #fff;
      margin-top: 5px;
      border-radius: 3px;
    }
    
    .footer-section p,
    .footer-section ul {
      font-size: 1em;
      margin-bottom: 10px;
      line-height: 1.5;
    }
    
    .footer-section ul {
      list-style: none;
    }
    
    .footer-section ul li {
      margin-bottom: 8px;
    }
    
    .footer-section ul li a {
      color: #fff;
      text-decoration: none;
      transition: color 0.3s ease;
    }
    
    .footer-section ul li a:hover {
      color: #fdbb2d;
    }
    
    .social-icons {
      display: flex;
      gap: 10px;
      margin-top: 10px;
    }
    
   .social-icons a {
  color: #fff;
  font-size: 32px;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #fdbb2d;
}

    
    .footer-bottom {
      text-align: center;
      margin-top: 20px;
      font-size: 0.9em;
    }
    
    @media (max-width: 768px) {
      .footer-content {
        flex-direction: column;
        align-items: center;
      }
      .footer-section {
        margin: 20px 0;
      }
    }