:root {
  --primary-blue: #1d8884;
  --primary-red: #E42525;
  /* --dark-green: #04552c; */
  --mint: #9fd4c0;
  --white: #ffffff;
  --light-bg: #f5faf7;
  --text-dark: #222222;
  --border-color: #e5e5e5;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
 
/* RESET */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins",sans-serif;
  padding-top: 100px;
}
/* HEADER */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99999;
  background: #fff;
}
/* TOP HEADER */
.top-header {
  background:#1d8884;
  border-top: 2px solid var(--primary-red);
  padding: 8px 0;
  font-family: 'Poppins', sans-serif;
}
.top-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.left-top,
.right-top {
  display: flex;
  align-items: center;
  gap: 25px;
}
/* BUTTON */
.announcement-btn {
  background: rgb(228, 37, 37);
  color: #f2eeee;
  border: none;
  padding: 8px 18px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
}
.top-link,
.right-top a {
 color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.right-top a:hover {
  color: var(--mint);
}
/* NAVBAR */
.custom-navbar {
  background: #fff;
  padding: 8px 0;
  height: 70px;
  border-bottom: 1px solid #e7e7e7;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
/* LOGO */
.navbar-brand img {
  height: 75px;
  padding: 2px;
}
/* NAV */
.navbar-nav {
  gap: 2px;
}
.nav-link {
  color: #111;
font-size:14px !important;
  /* font-weight: 650 !important; */
  position: relative;
  padding: 10px 12px !important;
  /* font-weight: 700; */
  font-family: "Poppins", sans-serif;
}
.nav-link:hover {
  color: #04552c;
}
.active-link {
  color: #04552c !important;
}


/* ===================================
   MOBILE TOP HEADER
=================================== */
@media (max-width:576px){

    .top-header{
        padding:10px 0;
    }

    .top-wrapper{
        display:flex;
        align-items:center;
        gap:12px;
    }

    /* Announcement Button */

    .left-top{
        flex-shrink:0;
    }

    .announcement-btn{
        padding:5px 10px;
        font-size:10px;
        font-weight:600;
        border-radius:4px;
        white-space:nowrap;
        margin-top: 2px;
    }

    /* Right Side Links */

    .right-top{
        display:flex;
        align-items:center;
        gap:20px;               /* Gap between all links */
        overflow-x:auto;
        flex-wrap:nowrap;
        scrollbar-width:none;
        -ms-overflow-style:none;
        margin-top: -8px;
    }

    .right-top::-webkit-scrollbar{
        display:none;
    }

    .top-link,
    .right-top a{
        font-size:10px;
        font-weight:600;
        white-space:nowrap;
        flex-shrink:0;
        text-decoration:none;
    }

    /* Extra space after Admission Enquiry */

    .top-link{
        margin-right:10px;
    }

    /* Extra space between AICTE and FEEDBACK
       (only if they are separate links) */

    .right-top a:nth-child(2){
        margin-right:8px;
    }
}
@media (max-width:576px){

    .left-top{
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
    }

    .right-top{
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
        flex-wrap: wrap;
    }
}

/* DROPDOWN */
.dropdown-menu {
  border: none;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
.dropdown-item {
  padding: 10px 15px;
  border-radius: 5px;
  font-size: 14px;
}
.dropdown-item:hover {
  background:#1d8884;
  color: #fff;
}
/* RIGHT */
.right-navbar {
  display: flex;
  align-items: center;
  gap: 25px;
}
/* APPLY BUTTON */
/* .apply-btn {
  background: var(--primary-red);
  color: #fff;
  font-size: 12px;
  border: none;
  padding: 14px 35px;
  border-radius: 5px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
} */
 .apply-btn {
  background: #1d8884 !important;
  color: #fff;
  font-size: 13px;
  border: none;
  width: 150px;      /* Equal width */
  height: 46px;      /* Equal height */
  border-radius: 5px;
  /* font-weight: 700; */
  cursor: pointer;
  transition: 0.3s;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center;
  /* line-height: 1.2; */
  
}
.apply-btn a{
  text-decoration: none;
  color: white;
}
.apply-btn a:hover {
  color: #E42525;
}
/* .apply-btn:hover {
  background: var(--light-red);
} */

.button-group {
  display: flex;
  gap: 8px;
  align-items: center;
  /* margin-left:40px; */
}

/* HERO */
.hero-section {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f5f5f5;
}
.hero-section h1 {
  font-size: 60px;
  font-weight: 800;
}
.mobile-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.5);
  z-index:9998;
  opacity:0;
  visibility:hidden;
  transition:.3s;
}

.mobile-overlay.active{
  opacity:1;
  visibility:visible;
}
/* RESPONSIVE */
/* =========================================
   LARGE DEVICES
========================================= */
/* =========================================
   TABLET & MOBILE NAVBAR
========================================= */

@media (max-width: 1199px) {

  body{
    padding-top:120px;
  }

  .custom-navbar{
    height:auto;
    padding:10px 0;
  }

  .navbar-brand img{
    height:55px;
  }

  .navbar-toggler{
    border:none;
    box-shadow:none !important;
  }

  .navbar-toggler:focus{
    box-shadow:none !important;
  }

  /* OFFCANVAS MENU */

  .navbar-collapse{
    position:fixed;
    top:0;
    left:-100%;
    width:320px;
    height:100vh;
    background:#fff;
    z-index:99999;
    overflow-y:auto;
    transition:0.4s ease;
    padding:20px 0;
    margin-top:0;
    border-radius:0;
    box-shadow:0 0 30px rgba(0,0,0,.15);
  }

  .navbar-collapse.show{
    left:0;
  }

  .navbar-nav{
    width:100%;
    gap:0;
  }

  .navbar-nav .nav-item{
    width:100%;
    border-bottom:1px solid #eee;
  }

  .navbar-nav .nav-link{
    width:100%;
    padding:18px 25px !important;
    font-size:17px;
    color:#2f3945;
    display:flex;
    justify-content:space-between;
    align-items:center;
  }

  .navbar-nav .nav-link:hover{
    background:#f8f8f8;
  }

  .dropdown-menu{
    position:static !important;
    width:100%;
    border:none;
    border-radius:0;
    box-shadow:none;
    padding:0;
    margin:0;
  }

  .dropdown-item{
    padding:12px 40px;
    font-size:15px;
    border-bottom:1px solid #f3f3f3;
  }

  .dropdown-item:hover{
    background:#1d8884;
    color:#fff;
  }

  .right-navbar{
    width:100%;
    padding:20px;
    margin-top:0;
  }

  .apply-btn{
    width:100%;
    height:48px;
    display:flex;
    align-items:center;
    justify-content:center;
  }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width:576px){

  body{
    padding-top:110px;
  }

  .navbar-collapse{
    width:280px;
  }

  .navbar-brand img{
    height:48px;
  }

  .navbar-nav .nav-link{
    padding:16px 20px !important;
    font-size:16px;
  }

  .dropdown-item{
    padding:12px 30px;
    font-size:14px;
  }

  .apply-btn{
    font-size:14px;
  }
}

/* =========================================
   EXTRA SMALL
========================================= */

@media (max-width:400px){

  .navbar-collapse{
    width:260px;
  }

  .navbar-brand img{
    height:42px;
  }

  .navbar-nav .nav-link{
    font-size:15px;
  }
}
/* ============================
   MOBILE OFFCANVAS MENU
============================ */

@media (max-width:1199px){

  body{
    padding-top:120px;
  }

  /* Overlay */
  .mobile-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.55);
    z-index:9998;
    opacity:0;
    visibility:hidden;
    transition:.4s;
  }

  .mobile-overlay.active{
    opacity:1;
    visibility:visible;
  }

  /* Sidebar Menu */
  .navbar-collapse{
    position:fixed;
    top:0;
    left:-320px;
    width:320px;
    height:100vh;
    background:#fff;
    z-index:99999;
    overflow-y:auto;
    transition:.4s ease;
    margin-top:0;
    padding-top:80px;
    box-shadow:0 0 25px rgba(0,0,0,.15);
  }

  .navbar-collapse.show{
    left:0;
  }

  /* Logo */
  .navbar-brand img{
    height:55px;
  }

  /* Menu */
  .navbar-nav{
    width:100%;
    gap:0;
  }

  .navbar-nav .nav-item{
    width:100%;
    border-bottom:1px solid #ececec;
  }

  .navbar-nav .nav-link{
    width:100%;
    padding:16px 22px !important;
    font-size:15px;
    font-weight:500;
    color:#222;
    display:flex;
    justify-content:space-between;
    align-items:center;
  }

  .navbar-nav .nav-link:hover{
    background:#f7f7f7;
    color:#1d8884;
  }

  /* Dropdown */
  .dropdown-menu{
    position:static !important;
    border:none;
    border-radius:0;
    box-shadow:none;
    background:#fafafa;
    padding:0;
  }

  .dropdown-item{
    padding:12px 40px;
    font-size:14px;
    color:#444;
    border-bottom:1px solid #f1f1f1;
  }

  .dropdown-item:hover{
    background:#1d8884;
    color:#fff;
  }

  /* Apply Button */
  .button-group{
    padding:20px;
    width:100%;
  }

  .apply-btn{
    width:100%;
    height:48px;
    font-size:14px;
  }

  /* Hamburger */
  .navbar-toggler{
    border:none;
    box-shadow:none !important;
  }

  .navbar-toggler:focus{
    box-shadow:none !important;
  }
}

/* Mobile */

@media (max-width:576px){

    .top-wrapper{
        display:grid;
        grid-template-columns: 1fr;
        gap:1px;
    }

    .left-top{
        display:flex;
        align-items:center;
        /* gap:5px; */
        justify-content:flex-start;
    }

    .top-marquee{
        width:100%;
        overflow:hidden;
    }

    .right-top{
        display:flex;
        flex-wrap:wrap;
        /* gap:5px; */
        justify-content:flex-start;
    }
}

/* Extra Small */

@media (max-width:400px){

  .navbar-collapse{
    width:260px;
    left:-260px;
  }

  .navbar-brand img{
    height:42px;
  }
}
.nav-link:hover {
  color: #04552c;
}

/* ADD THIS BELOW */
.nav-link:focus,
.nav-link:focus-visible,
.nav-link:active,
.dropdown-toggle:focus,
.dropdown-toggle:focus-visible,
.dropdown-toggle:active {
  outline: none !important;
  box-shadow: none !important;
}


/* Marquee Container */
.top-marquee{
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    min-width: 0; /* Important for flex layouts */
}

/* Moving Text */
.marquee-track{
    display: inline-block;
    padding-left: 100%;
    color: whitesmoke;
    font-size: 15px;
    /* font-weight: 600; */
    animation: marqueeScroll 15s linear infinite;
}

/* Animation */
@keyframes marqueeScroll{
    from{
        transform: translateX(0);
    }
    to{
        transform: translateX(-100%);
    }
}

/* Responsive */
@media (max-width: 992px){
    .top-marquee{
        width: 100%;
        margin: 8px 0;
    }

    .marquee-track{
        font-size: 13px;
        animation-duration: 12s;
    }
}

@media (max-width: 576px){
    .top-marquee{
        max-width: 100%;
    }

    .marquee-track{
        font-size: 12px;
        animation-duration: 10s;
    }
}
.marquee-track a{
  text-decoration: none;
  color: white;
  cursor: pointer;
}
@media (min-width:1200px){

    .navbar-nav{
        flex-wrap:nowrap;
    }

    .navbar-nav .nav-link{
        font-size:14px !important;
    }
}

/* ========= MOBILE SIDEBAR ========= */
@media(max-width:1199px){

.navbar-collapse{
    position: absolute !important;
    top: 100% !important;
    left: -100%;
    width: 65%;
    max-width: 300px;
    height: calc(100vh - 100%) !important;
    background: #fff;
    overflow-y: auto;
    z-index: 9999;
    transition: .4s ease;
    padding-top: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
    border-top: 1px solid #eee;
}

.navbar-collapse.show{
    left:0;
}

/* Overlay */
.mobile-overlay{
    position:fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:rgba(0,0,0,.55);
    z-index: 9998;
    opacity:0;
    visibility:hidden;
    transition:.4s;
}

.mobile-overlay.active{
    opacity:1;
    visibility:visible;
}

/* Logo Section - Hidden since header is kept on top */
.mobile-header{
    display: none !important;
}

/* Toggler Close Icon Styling */
.navbar-toggler:not(.collapsed) .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(29,136,132,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M6 6l18 18M6 24L24 6'/%3E%3C/svg%3E") !important;
}

/* Menu */
.navbar-nav{
    width:100%;
}

.navbar-nav .nav-item{
    border-bottom:1px solid #ececec;
}

.navbar-nav .nav-link{
    padding:14px 20px !important;
    font-size:15px;
    font-weight:600;
    color:black;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.navbar-nav .nav-link:hover{
    background:#f7f7f7;
}

/* Active Item */
.navbar-nav .active-link{
    border-left: none !important;
    border-bottom: 3px solid var(--primary-blue) !important;
    background: var(--light-bg) !important;
    color: var(--primary-blue) !important;
}

/* Dropdown */
.dropdown-menu{
    position:static!important;
    border:none;
    box-shadow:none;
    background:#fafafa;
}

.dropdown-item{
    padding:15px 45px;
    border-bottom:1px solid #eee;
}

/* Apply Button */
.button-group{
    padding:20px;
}

.apply-btn{
    width:100%;
}
@media(max-width:576px){
    .navbar-collapse{
        top: 110px;
        height: calc(100vh - 110px);
    }
    .mobile-overlay{
        top: 110px;
    }
}
}
.mobile-close{
    background:none;
    border:none;
    font-size:32px;
    color:#1d8884;
    cursor:pointer;
}
@media (min-width:1200px){
    .navbar .dropdown:hover .dropdown-menu{
        display:block;
        margin-top:0;
    }
    .active-link::after {
        content: "";
        position: absolute;
        left: 14px;
        bottom: 0;
        width: 50px;
        height: 3px;
        background: var(--primary-blue);
    }
}
/* ==========================
   DESKTOP / LAPTOP (1308px)
========================== */
@media (max-width:1366px){

    html,
    body{
        overflow-x:hidden;
    }

    .container,
    .container-lg,
    .container-xl,
    .container-xxl{
        max-width:100%;
        padding-left:20px;
        padding-right:20px;
    }

    .navbar-brand img{
        height:65px;
    }

    .navbar-nav .nav-link{
        font-size:13px !important;
        padding:10px 8px !important;
    }

    .button-group{
        gap:8px;
    }

    .apply-btn{
        width:120px;
        height:42px;
        font-size:12px;
    }

    .hero-section{
        min-height:calc(100vh - 120px);
    }

    .hero-section img,
    .hero-banner img{
        width:100%;
        height:auto;
        object-fit:cover;
    }
}

