/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', sans-serif;
}

body {
    background-color: #f4f4f4;
    color: #333;
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    color: black;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo img {
    height: 60px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1rem;
}

.nav-links li a {
    color: black;
    text-decoration: none;
    position: relative;
    transition: 0.3s;
    padding: 0.4rem;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
}

.nav-links li a:hover {
    color: #444;
}

.nav-links li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: black;
    transition: width 0.3s;
}

.nav-links li a:hover::after {
    width: 100%;
}

.login-icon {
    margin-left: 1.5rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin-top: 75px; /* adjust for navbar height */
}

.slideshow-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.hero-content {
    position: absolute;
    top: 45%;
    left: 7%;
    transform: translateY(-50%);
    color: black;
    z-index: 2;
    text-align: left;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 2rem;
    max-width: 1000px;
    border-radius: 10px;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 1.2rem;
}

.hero-content button {
    background-color: red;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s;
    border-radius: 5px;
}

.hero-content button:hover {
    background-color: darkred;
}

/* Section 2 - Program Info (Professional Look) */
.program-info {
    background: #fdfdfd;
    padding: 5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.program-info h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 2rem;
    position: relative;
}

.program-info h2::after {
    content: "";
    width: 70px;
    height: 4px;
    background: #ff3e3e;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin-top: 3rem;
}

.feature-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    font-size: 2.5rem;
    color: #ff3e3e;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: #222;
}

.feature-card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/* Footer */
footer {
    background-color: #111;
    color: white;
    text-align: center;
    padding: 2rem 1rem;
}

.footer-content p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
    opacity: 0.8;
}

/* About Section  */
/* Team Section */
.team-section {
    padding: 5rem 2rem;
    text-align: center;
    background: #fff;
}

.team-section h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 3rem;
    position: relative;
}

.team-section h2::after {
    content: "";
    width: 70px;
    height: 4px;
    background: #ff3e3e;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.team-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.team-card-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-card {
    position: relative;
    width: 220px;
    height: 260px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.team-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-card:hover img {
    transform: scale(1.05);
}

.overlay {
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    width: 100%;
    text-align: center;
    padding: 1rem 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-card:hover .overlay {
    opacity: 1;
}

/* Permanent Name Outside */
.name-box {
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    font-weight: 300;
    text-align: center;
    padding: 0.9rem 0;
    font-size: 1rem;
    border-radius: 8px;
    margin-top: 0.6rem;
    width: 220px;
}
.auth-page {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: #444444;
    font-family: Arial, sans-serif;
  }
  
  .auth-container {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
  }
  
  .auth-logo {
    width: 150px;
    cursor: pointer;
    margin-bottom: 20px;
  }
  
  .auth-container input {
    width: 90%;
    padding: 10px;
    margin: 10px auto;
    border: 1px solid #ccc;
    border-radius: 8px;
  }
  
  .auth-container button {
    width: 95%;
    padding: 12px;
    border: none;
    background: black;
    color: white;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
  }
  
  .auth-container .auth-links {
    margin-top: 10px;
  }
  
  .auth-container .auth-links a {
    margin: 0 8px;
    color: #007BFF;
    text-decoration: none;
  }
  
  .popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
  }
  
  .popup-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
  }
  
  .popup-content input {
    width: 80%;
    margin: 10px 0;
    padding: 10px;
  }
  
  .popup-content button {
    background: black;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
  }
  
  .popup-content .close {
    float: right;
    font-size: 24px;
    cursor: pointer;
  }
  
  /* Dynamic  */

  
  
  /*  Courses Container */
.dynamic-courses-container {
    display: flex;
    justify-content: space-around;
    margin: 100px auto;
    max-width: 1200px;
    gap: 10px; 

  }
  
  .course-box {
    position: relative;
    width: 45%;
    margin: 15px 0;
    text-align: center;
  }
  
  .course-box img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
  }
  
  .course-name-overlay {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 1.2rem;
    padding: 10px 0px;
    text-transform: uppercase;
    display: none;
  }
  
  .course-box:hover .course-name-overlay {
    display: block;
  }
  
  .course-box:hover img {
    transform: scale(1.05); /* Zoom effect on hover */
  }


  /* Ensure the body takes the full height of the screen */
body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Full screen height */
  }
  
  /* Footer */
  footer {
    background-color: #000000;
    color: white;
    padding: 20px 20px;  /* Adjusted padding */
    text-align: center;
    margin-top: auto; /* Push footer to the bottom */
  }
  
  .footer-content {
    margin: 0;
    padding: 0;
  }
  
  /* Styles for Course Detail Page */
.course-detail-container {
    text-align: center;
    margin-top: 100px;
  }
  
  /* Course Title */
  .course-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
  }
  
  /* Course Image */
  .course-image img {
    width: 40%; /* You can adjust the size of the image */
    margin-bottom: 30px;
  }
  
  /* CLO Buttons */
  .clo-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
  }
  
  /* CLO Button */
  .clo-btn-container {
    position: relative;
  }
  
  .clo-btn {
    background-color: #c20000;
    color: white;
    font-size: 16px;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .clo-btn:hover {
    background-color: #720404;
  }
  
  /* Dropdown Content */
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    width: max-content; /* Auto-size based on content */
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    white-space: nowrap; /* Prevent text wrapping */
  }
  
  
  .clo-btn-container:hover .dropdown-content {
    display: block;
  }
  
  .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }
  
  .dropdown-content a:hover {
    background-color: #ddd;
  }
  
  /* Popup for displaying files */
  .file-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
  }
  
  .file-popup iframe {
    width: 80%;
    height: 80%;
  }
  
  .file-popup .close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 36px;
    color: white;
    cursor: pointer;
  }
  
  /* General Course Detail Style */
.course-detail {
    text-align: center;
    margin-top: 50px;
  }
  
  .course-title {
    font-size: 2em;
    margin-bottom: 20px;
  }
  
  .course-image img {
    width: 80%;
    max-width: 600px;
    margin-bottom: 20px;
  }
  
  /* CLO Dropdown Styling */
  
  .dropdown {
    position: relative;
    display: inline-block;
  }
  
  .dropbtn {
    background-color: #c20000;
    color: white;
    font-size: 16px;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-right: 5px; /* Right side gap */
    /* margin-bottom: 10px; */ /* Bottom gap, agar buttons neeche neeche hain */
  }
  
  .dropdown:hover .dropbtn {
    background-color: #720404;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    width: max-content; /* Auto-width based on content */
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    white-space: nowrap;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }
  
  .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    
  }
  
  .dropdown-content a:hover {
    background-color: #ddd;
  }
  
  body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    gap: 40px;
}

.image-section {
    flex: 1;
    text-align: center;
}

.aircraft-img {
    width: 100%;
    max-width: 400px;
    border-radius: 15px;
    transition: transform 0.4s, box-shadow 0.4s;
}

.aircraft-img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.text-section {
    flex: 1;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.text-section h2 {
    margin-bottom: 20px;
    color: #333;
}

.text-section p {
    color: #555;
    line-height: 1.6;
}

.text-section button {
    margin-top: 25px;
    padding: 10px 20px;
    background-color: #007bff;
    border: none;
    color: white;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.text-section button:hover {
    background-color: #0056b3;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #c20000;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #720404;
}

.section-container {
    width: 90%;
    margin: 0 auto;
    padding: 20px;
}

.main-heading {
    text-align: center;
    font-size: 36px;
    color: #333;
    margin-bottom: 10px;
}

.sub-heading {
    text-align: center;
    font-size: 24px;
    color: #666;
    margin-bottom: 20px;
}

.center-image {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.centered-img {
    max-width: 80%;
    height: auto;
    border-radius: 8px;
}
.progress-section {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.progress-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 40px;
}

.progress-item img {
  width: 300px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.text-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
}

.text-block p {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
  text-align: justify;
}
