* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: linear-gradient(135deg, #f5f9ff, #e3efff);
  color: #304bc0;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

header {
  width: 100%;
  background: linear-gradient(135deg, #ffffff, #dce4f5);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.topbar {
  max-width: 1300px;
  margin: auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo {
  width: 58px;
  height: 58px;
  
  color: #fff;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: bold;
 
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.college-title h1 {
  font-size: 24px;
  color: #04016b;
  line-height: 1.2;
}

.college-title p {
  font-size: 13px;
  color: #555;
  margin-top: 4px;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #2402a0;
  background: none;
  border: none;
}

nav {
  margin-left: auto;
}

.navbar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar > li {
  position: relative;
}

.navbar > li > a,
.navbar > li > button {
  display: block;
  padding: 12px 16px;
  border: none;
  background: none;
  font-size: 15px;
  color: #222;
  cursor: pointer;
  border-radius: 8px;
  transition: 0.3s;
}

.navbar > li > a:hover,
.navbar > li > button:hover {
  background: #2402a0;
  color: #fff;
}

.dropdown-menu,
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  display: none;
  padding: 8px 0;
}

.dropdown-menu li,
.submenu li {
  position: relative;
}

.dropdown-menu li a,
.submenu li a,
.dropdown-menu li button {
  width: 100%;
  text-align: left;
  padding: 12px 18px;
  display: block;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  transition: 0.3s;
}

.dropdown-menu li a:hover,
.submenu li a:hover,
.dropdown-menu li button:hover {
  background: #c5dcf2;
  color: #2402a0;
}

.has-submenu .submenu {
  top: 0;
  left: 100%;
}

.navbar li:hover > .dropdown-menu,
.dropdown-menu li:hover > .submenu {
  display: block;
}



@media (max-width: 992px) {
 

  .menu-toggle {
    display: block;
  }

  nav {
    width: 100%;
  }

  .navbar {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #fff;
    padding-top: 10px;
  }

  .navbar.active {
    display: flex;
  }

  .navbar > li {
    width: 100%;
  }

  .navbar > li > a,
  .navbar > li > button {
    width: 100%;
    text-align: left;
    border-radius: 0;
  }

  .dropdown-menu,
  .submenu {
    position: static;
    display: none;
    box-shadow: none;
    border-radius: 0;
    padding-left: 16px;
    background: #f7fff8;
  }

  .navbar li.open > .dropdown-menu,
  .dropdown-menu li.open > .submenu {
    display: block;
  }

  .has-submenu .submenu {
    left: 0;
  }
}

@media (max-width: 768px) {
  .topbar {
    padding: 12px 15px;
  }

  .college-title h1 {
    font-size: 20px;
  }

  .college-title p {
    font-size: 12px;
  }
  

}

@media (max-width: 480px) {
  .logo {
    width: 48px;
    height: 48px;
    font-size: 18px;
  }

  .college-title h1 {
    font-size: 17px;
  }

}

/* ================= GNM ADMISSION SECTION ================= */
.gnm-admission-section {
  padding: 80px 20px;
  background: linear-gradient(180deg, #eef5ff 0%, #f9fbff 100%);
}

.gnm-admission-container {
  max-width: 1250px;
  margin: auto;
}

.gnm-admission-heading {
  text-align: center;
  margin-bottom: 45px;
}

.gnm-badge {
  display: inline-block;
  background: linear-gradient(135deg, #2402a0, #4b7bec);
  color: #fff;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.gnm-admission-heading h2 {
  font-size: 40px;
  color: #08145c;
  margin-bottom: 14px;
  line-height: 1.2;
}

.gnm-admission-heading p {
  max-width: 760px;
  margin: auto;
  font-size: 17px;
  color: #54627a;
  line-height: 1.7;
}

.gnm-hero-card {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 35px;
}

.gnm-hero-left,
.gnm-hero-right {
  background: #fff;
  border-radius: 26px;
  padding: 35px;
  box-shadow: 0 18px 45px rgba(35, 64, 145, 0.12);
  border: 1px solid rgba(36, 2, 160, 0.08);
}

.gnm-hero-left h3,
.gnm-contact-card h3,
.gnm-info-card h3,
.gnm-steps-card h3 {
  font-size: 24px;
  color: #08145c;
  margin-bottom: 14px;
}

.gnm-hero-left p,
.gnm-contact-card p,
.gnm-step p {
  color: #5e6a7f;
  line-height: 1.8;
  font-size: 15px;
}

.gnm-highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.gnm-highlight-box {
  background: linear-gradient(135deg, #f6f9ff, #e8f0ff);
  border: 1px solid #dce7ff;
  border-radius: 18px;
  padding: 20px;
  transition: 0.3s ease;
}

.gnm-highlight-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(36, 2, 160, 0.12);
}

.gnm-highlight-box span {
  display: block;
  font-size: 13px;
  color: #66728a;
  margin-bottom: 8px;
  font-weight: 600;
}

.gnm-highlight-box strong {
  font-size: 18px;
  color: #0d1b72;
  line-height: 1.5;
}

.gnm-contact-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gnm-contact-item {
  background: #f8faff;
  border: 1px solid #e4ecff;
  border-radius: 16px;
  padding: 16px 18px;
  margin-top: 14px;
}

.gnm-contact-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #6a7690;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.gnm-contact-item a,
.gnm-contact-item p {
  font-size: 16px;
  color: #0d1b72;
  font-weight: 600;
  word-break: break-word;
}

.gnm-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 35px;
}

.gnm-info-card {
  background: #fff;
  border-radius: 24px;
  padding: 30px 28px;
  box-shadow: 0 14px 35px rgba(23, 54, 130, 0.1);
  border: 1px solid rgba(36, 2, 160, 0.08);
  transition: 0.3s ease;
}

.gnm-info-card:hover {
  transform: translateY(-6px);
}

.gnm-info-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 26px;
  background: linear-gradient(135deg, #e7eeff, #d8e6ff);
  margin-bottom: 18px;
}

.gnm-info-card ul {
  padding-left: 18px;
  margin-top: 15px;
}

.gnm-info-card ul li {
  margin-bottom: 12px;
  color: #5d6880;
  line-height: 1.7;
  list-style: disc;
}

.gnm-steps-card {
  background: linear-gradient(135deg, #ffffff, #f2f7ff);
  border-radius: 28px;
  padding: 35px;
  box-shadow: 0 18px 45px rgba(35, 64, 145, 0.12);
  border: 1px solid rgba(36, 2, 160, 0.08);
}

.gnm-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 22px;
}

.gnm-step {
  background: #fff;
  border-radius: 20px;
  padding: 24px 20px;
  border: 1px solid #e6ecff;
  position: relative;
  overflow: hidden;
  transition: 0.3s ease;
}

.gnm-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(36, 2, 160, 0.12);
}

.gnm-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2402a0, #4b7bec);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.gnm-step h4 {
  font-size: 18px;
  color: #0c1769;
  margin-bottom: 10px;
}

@media (max-width: 1100px) {
  .gnm-hero-card,
  .gnm-info-grid,
  .gnm-steps {
    grid-template-columns: 1fr 1fr;
  }

  .gnm-hero-right {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .gnm-admission-section {
    padding: 60px 15px;
  }

  .gnm-admission-heading h2 {
    font-size: 30px;
  }

  .gnm-admission-heading p {
    font-size: 15px;
  }

  .gnm-hero-card,
  .gnm-info-grid,
  .gnm-steps,
  .gnm-highlight-grid {
    grid-template-columns: 1fr;
  }

  .gnm-hero-left,
  .gnm-hero-right,
  .gnm-info-card,
  .gnm-steps-card {
    padding: 24px;
  }

  .gnm-hero-right {
    grid-column: auto;
  }
}

@media (max-width: 480px) {
  .gnm-admission-heading h2 {
    font-size: 24px;
  }

  .gnm-highlight-box strong {
    font-size: 16px;
  }

  .gnm-step h4,
  .gnm-info-card h3,
  .gnm-hero-left h3,
  .gnm-contact-card h3,
  .gnm-steps-card h3 {
    font-size: 20px;
  }
}

/* FOOTER */
.footer {
  background: #0a0a2a;
  color: #fff;
  padding: 50px 20px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.footer-col h3,
.footer-col h4 {
  margin-bottom: 15px;
  color: #ffffff;
}

.footer-col p {
  font-size: 14px;
  color: #ccc;
  line-height: 1.6;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #ccc;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #ffffff;
}

.social-icons {
  margin-top: 10px;
}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
  color: #fff;
  background: #2402a0;
  padding: 10px;
  border-radius: 50%;
  transition: 0.3s;
}

.social-icons a:hover {
  background: #fff;
  color: #2402a0;
}

/* Map */
.footer-col.map iframe {
  width: 100%;
  height: 150px;
  border: 0;
  border-radius: 10px;
}

/* Bottom */
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid #444;
  font-size: 14px;
  color: #aaa;
}

/* Responsive */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
}

/* Footer Logo */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-logo h3 {
  font-size: 16px;
  margin: 0;
  color: #fff;
}

.footer-logo img {
  width: 50px;
  height: 50px;
  object-fit: contain;

  /* Make dark logo visible on dark background */
  filter: brightness(0) invert(1);
}