/* ===================== Reset & Global ===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
}

/* ===================== Top White Line ===================== */
.header-top {
    height: 15px;
    background-color: #fff;
}

/* ===================== Announcement Bar ===================== */
.header-announcement {
    background: linear-gradient(90deg, #6a0dad, #9c27b0, #ba68c8);
    padding: 8px 0;
    text-align: center;
}

.announcement-container {
    max-width: 1200px;
    margin: 0 auto;
    color: #fff;
    font-weight: bold;
    font-size: 14px;
}

/* ===================== Middle Header ===================== */
.header-middle {
    background-color: #fff;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
    position: relative;
}

.middle-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.middle-left .logo img {
    height: 90px;
    width: auto;
}

.middle-left .college-info h1 {
    font-size: 26px;
    color: #333;
}

.middle-left .college-info p {
    margin-top: 4px;
    font-size: 16px;
    font-style: italic;
    color: #555;
}

/* ===================== Right Buttons + Search ===================== */
.middle-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.middle-right .btn {
    padding: 10px 22px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.middle-right .email-btn {
    background: linear-gradient(90deg, #555, #888);
}

.middle-right .admission-btn {
    background: linear-gradient(90deg, #6a0dad, #ba68c8);
}

.middle-right .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(255,255,255,0.7);
}

/* ===================== Search Container ===================== */
.search-container {
    display: flex;
    align-items: center;
}

.search-container input {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 5px 0 0 5px;
    outline: none;
    width: 180px;
    transition: width 0.3s ease, box-shadow 0.3s ease;
}

.search-container input:focus {
    width: 250px;
    border-color: #6a0dad;
    box-shadow: 0 0 10px rgba(106,13,173,0.5);
}

.search-container button {
    padding: 8px 12px;
    border: none;
    background-color: #6a0dad;
    color: #fff;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-container button:hover {
    background-color: #9c27b0;
    box-shadow: 0 0 10px #9c27b0;
}

/* ===================== Bottom Navigation ===================== */
.header-bottom {
    background: linear-gradient(90deg, #FFD700 0%, #FFC200 50%, #FFE066 100%);
    border-top: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-bottom-inner .navigation ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.header-bottom-inner .navigation ul li {
    position: relative; /* Needed for submenu positioning */
}

.header-bottom-inner .navigation ul li a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    padding: 10px 8px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.header-bottom-inner .navigation ul li a:hover,
.header-bottom-inner .navigation ul li a.active {
    color: #6a0dad;
    border-bottom: 3px solid #6a0dad;
}

/* ===================== Horizontal Submenu ===================== */
.submenu-horizontal {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    padding: 12px 18px;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    white-space: nowrap;

    /* horizontal layout */
    display: flex;
    gap: 20px;

    /* smooth animation */
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    visibility: hidden;
    z-index: 999;
}

.submenu-horizontal a {
    color: #333;
    text-decoration: none;
    font-size: 15px;
    padding: 8px 14px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.submenu-horizontal a:hover {
    background: linear-gradient(90deg, #6a0dad, #ba68c8);
    color: #fff;
}

/* Show submenu on hover */
.has-submenu:hover .submenu-horizontal {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}


/* ===================== Hamburger ===================== */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: 0.3s;
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===================== Video Section ===================== */
.video-section {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
}

.video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
}

.video-content h2 {
    font-size: 40px;
    color: #fff;
    margin-bottom: 15px;
}

.video-content p {
    font-size: 18px;
    color: #fff;
    margin-bottom: 25px;
}

.video-content .btn {
    margin: 5px;
    padding: 12px 28px;
    background: linear-gradient(90deg, #6a0dad, #ba68c8);
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.video-content .btn:hover {
    transform: scale(1.05);
}

/* ===================== About College ===================== */
.about-college {
    padding: 80px 20px;
    background-color: #f9f9f9;
}

.about-college .container {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.about-text h2 {
    font-size: 36px;
    color: #6a0dad;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.about-text .about-btn {
    padding: 12px 25px;
    background: linear-gradient(90deg, #6a0dad, #ba68c8);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
}

/* ===================== Leadership Section ===================== */
.leadership-section {
    padding: 80px 20px;
    background-color: #f4f4f4;
    text-align: center;
}

.leadership-section h2 {
    font-size: 36px;
    color: #6a0dad;
    margin-bottom: 50px;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.card {
    background: #fff;
    border-radius: 10px;
    padding: 30px 20px;
    flex: 1 1 300px;
    max-width: 350px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.card img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 22px;
    color: #333;
}

.card .designation {
    font-size: 16px;
    color: #888;
    margin-bottom: 20px;
}

.card .message {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    text-align: justify;
}

/* ===================== Courses Section ===================== */
.courses-section {
    padding: 80px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.courses-section h2 {
    font-size: 36px;
    color: #6a0dad;
    margin-bottom: 50px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.course-col {
    background: #fff;
    border-radius: 10px;
    padding: 25px 20px;
    flex: 1 1 300px;
    max-width: 350px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-col:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.course-col h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 10px;
}

.course-col .course-description {
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
}

.course-col .course-list {
    text-align: left;
    list-style: disc;
    padding-left: 20px;
    color: #444;
    font-size: 15px;
    line-height: 1.6;
}

/* ===================== Footer ===================== */
footer {
    background: #111;
    color: #fff;
    padding: 60px 20px 20px;
}

footer .footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

footer .footer-col {
    flex: 1 1 200px;
    min-width: 200px;
}

footer .footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

footer .footer-col p, footer .footer-col a, footer .footer-col li {
    font-size: 14px;
    color: #ccc;
    text-decoration: none;
    line-height: 1.8;
}

footer .footer-col a:hover {
    color: #6a0dad;
}

footer ul {
    list-style: none;
    padding-left: 0;
}

/* Bottom Footer */
.footer-bottom {
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid #444;
    padding-top: 15px;
    font-size: 13px;
    color: #aaa;
}

/* ===================== Responsive ===================== */
@media (max-width: 992px) {
    .header-middle { flex-direction: column; text-align: center; }
    .middle-left { flex-direction: column; gap: 10px; }
    .middle-right { display: none; }
    .hamburger { display: flex; }

    .row, .cards, .about-college .container, footer .footer-container {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 600px) {
    .video-content h2 { font-size: 24px; }
    .video-content p { font-size: 14px; }
    .course-col h3 { font-size: 18px; }
    .course-col .course-description,
    .course-col .course-list { font-size: 14px; }
    .about-text h2 { font-size: 24px; }
    .about-text p { font-size: 14px; }
    footer .footer-container { flex-direction: column; align-items: center; }
}

    /* Dropdown */
    .dropdown {
      position: relative;
    }
    .dropdown-content {
      display: none;
      position: absolute;
      background: #fff;
      color: #000;
      min-width: 220px;
      box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
      z-index: 10;
      border-radius: 6px;
      overflow: hidden;
    }
    .dropdown-content a {
      color: #003366;
      padding: 12px 16px;
      text-decoration: none;
      display: block;
      transition: background 0.3s;
    }
    .dropdown-content a:hover {
      background-color: #f1f1f1;
    }
    .dropdown:hover .dropdown-content {
      display: block;
    }

    /* Slideshow */
    .slideshow {
      position: relative;
      width: 100%;
      height: 400px;
      overflow: hidden;
    }
    .slides {
      display: flex;
      width: 300%;
      height: 100%;
      animation: slide 15s infinite;
    }
    .slides img {
      width: 100%;
      height: 400px;
      object-fit: cover;
    }
    @keyframes slide {
      0% { transform: translateX(0%); }
      30% { transform: translateX(0%); }
      33% { transform: translateX(-100%); }
      63% { transform: translateX(-100%); }
      66% { transform: translateX(-200%); }
      96% { transform: translateX(-200%); }
      100% { transform: translateX(0%); }
    }
    .slideshow h2 {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      color: #fff;
      font-size: 42px;
      text-shadow: 3px 3px 6px rgba(0,0,0,0.7);
      z-index: 2;
      font-weight: bold;
    }

    /* Containers */
    .container {
      padding: 50px 40px;
      text-align: center;
    }
    .container h2 {
      font-size: 28px;
      color: #003366;
      margin-bottom: 25px;
      position: relative;
    }
    .container h2::after {
      content: "";
      display: block;
      width: 80px;
      height: 3px;
      background: #0055a5;
      margin: 10px auto 0;
      border-radius: 2px;
    }

    /* Cards */
    .cards {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 25px;
    }
    .card {
      background: #fff;
      padding: 25px;
      border-radius: 12px;
      box-shadow: 0 5px 12px rgba(0,0,0,0.1);
      transition: transform 0.3s, box-shadow 0.3s;
    }
    .card:hover {
      transform: translateY(-8px);
      box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }
    .card h3 {
      margin-top: 15px;
      font-size: 20px;
      color: #003366;
    }

    /* Leadership Section */
    #leadership {
      background: linear-gradient(to right, #e6f0ff, #f9f9f9);
      border-top: 4px solid #0055a5;
      border-bottom: 4px solid #0055a5;
    }
    #leadership .card img {
      width: 120px;
      height: 120px;
      border-radius: 50%;
      object-fit: cover;
      margin: 0 auto 15px;
      display: block;
      border: 4px solid #0055a5;
    }
    #leadership p {
      font-size: 15px;
      color: #444;
    }
    #leadership p em {
      color: #0055a5;
      font-weight: bold;
    }

    /* Footer */
    footer {
      background: #003366;
      color: #fff;
      text-align: center;
      padding: 30px 20px;
      margin-top: 40px;
    }
    footer h3 {
      font-size: 18px;
      margin-bottom: 10px;
    }
    footer p {
      font-size: 14px;
      line-height: 1.5;
    }
    footer iframe {
      border-radius: 8px;
    }
    footer .bottom-bar {
      margin-top: 20px;
      font-size: 13px;
      color: #ccc;
      border-top: 1px solid rgba(255,255,255,0.3);
      padding-top: 12px;
     }
    .video-banner {
    position: relative;
    width: 100%;
    height: 500px; /* you can change this or use 100vh for full screen */
    overflow: hidden;
    }

    .video-banner video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    }

    .video-banner h2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 42px;
    text-shadow: 3px 3px 8px rgba(0,0,0,0.7);
    }


    /* Course Cards Different Colors */
    #btech { background: #e6f2ff; }
    #polytechnic { background: #fff0e6; }
    #mtech { background: #f2e6ff; }
    #mba { background: #e6ffe6; }
    #dped { background: #fff9e6; }
  
  /* Courses Section */
#courses {
  padding: 60px 20px;
  text-align: center;
}

#courses h2 {
  font-size: 32px;
  margin-bottom: 40px;
  font-weight: 700;
  color: #333;
}

/* Grid Layout */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  justify-content: center;
}

/* Individual Card */
.card {
  background: #fff;
  border-radius: 12px;
  padding: 25px 20px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #6a0dad;
  border-bottom: 2px solid #eee;
  padding-bottom: 6px;
}

/* Bullet Style for Branches */
.card ul {
  list-style-type: disc;
  padding-left: 20px;
  margin: 0;
}

.card ul li {
  font-size: 15px;
  color: #444;
  margin-bottom: 6px;
  line-height: 1.6;
} 