
:root{
  --green1:#33AA1C;
  --green2:#268C52;
  --green3:#078C03;
  --teal:#36B2AB;
  --red:#D90416;
  --blue:#020659;
  --light:#F2F2F2;
  --black:#000000;
}

/* RESET */
body{
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--light);
}

/* TOP STRIP */
.top-strip {
  background: #f5f5f5;
  font-size: 14px;
  padding: 5px 0;
}

.top-links a {
  margin-left: 15px;
  text-decoration: none;
  color: #000;
}

/* BRAND BAR */
.brand-bar {
  padding: 12px 0;
}

.logo-img {
  /* height: 70px; */
}

.brand-text h4 {
  margin: 0;
  font-weight: 700;
  letter-spacing: 1px;
}

.brand-text small {
  font-style: italic;
}

/* BADGES */
.badge-group img {
  height: 55px;
  margin-left: 10px;
}

/* NAVBAR */
.main-nav {
  background: #0b2c49;
}

.main-nav .nav-link {
  color: white;
  font-weight: 500;
  padding: 12px 18px;
}

.main-nav .nav-link:hover {
  background: #1b4f8c;
  color: #fff;
}

.nav-link a {
  font-size: 14px;
}
/* DROPDOWN */
.dropdown-menu {
  border-radius: 0;
}

.dropdown-item {
  text-transform: uppercase;
}


/* DROPDOWN MENU BOX */
.dropdown-menu {
  border-radius: 0;
  border: none;
  padding: 0;
  min-width: 260px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.18);
}

/* DROPDOWN ITEMS */
.dropdown-item {
  padding: 12px 18px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #444 !important;
  text-transform: uppercase !important;
  border-bottom: 2px solid #2ecc71 !important; /* green divider like image */
  transition: 0.2s ease !important;
}

dropdown-item:active {
  background-color: #2ecc71 !important;
}


/* DROPDOWN HOVER */
.dropdown-item:hover {
  background: #f6f6f6;
  color: #0b2c49;
}


.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}

/* REMOVE LAST BORDER */


/* HOVER EFFECT */
.dropdown-item:hover {
  background: #f6f6f6;
  color: #0b2c49;
}


/* HERO IMAGE */
.hero img{
  width:100%;
  height:520px;
  object-fit:cover;
}

/* RESPONSIVE */
@media(max-width:768px){
  .hero img{height:300px;}
  .header-title h2{font-size:20px;}
}


.top-strip {
  font-size: 14px;
  padding: 6px 0;
  border-bottom: 1px solid #9fcce5;
}

/* LOGO */
.logo-img {
  height: 100px;
}

/* BRAND TEXT */
.brand-text h4 {
  font-weight: 700;
  line-height: 1.2;
}

/* BADGE LOGOS */
.badge-group img {
  height: 55px;
  margin-left: 10px;
}

/* MAIN NAVBAR */
.main-nav {
  background: #0b2c49; /* dark blue like image */
  padding: 0;
}

/* NAV LINKS */
.main-nav .nav-link {
  color: #ffffff !important;
  font-weight: 600;
  font-size: 13.5px;
  text-transform: uppercase;
  padding: 14px 18px;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
}

/* HOVER UNDERLINE GREEN */
.main-nav .nav-link:hover,
.main-nav .nav-item:hover > .nav-link {
  border-bottom: 3px solid #2ecc71;
  color: #ffffff !important;
}

/* DROPDOWN MENU BOX */
.dropdown-menu {
  border-radius: 0;
  border: none;
  padding: 0;
  min-width: 260px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.18);
}

/* DROPDOWN ITEMS */
.dropdown-item {
  padding: 12px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: #222;
  text-transform: uppercase;
  border-bottom: 2px solid #2ecc71; /* green divider like image */
  transition: 0.2s ease;
}



/* DROPDOWN HOVER */
.dropdown-item:hover {
  background: #f6f6f6;
  color: #0b2c49;
}

/* MOBILE FIX */
.navbar-toggler {
  
  border: none;
  padding: 6px 10px;
}

@media (max-width: 991px) {
  .main-nav .nav-link {
    padding: 12px;
    
  }
}
/* MAIN DROPDOWN CONTAINER */
.dropdown-menu {
  background: #ffffff;
  border-radius: 0;
  border: none;
  padding: 0;
  min-width: 280px;
  margin-top: 0;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* DROPDOWN ITEMS — MATCH IMAGE */
.dropdown-item {
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #444;
  text-transform: uppercase;
  border-bottom: 1.5px solid #2ecc71; /* GREEN LINE */
  background: white;
  transition: 0.15s ease;
}



/* HOVER STYLE LIKE IMAGE */
.dropdown-item:hover {
  background: #f7f7f7;
  color: #0b2c49;
}


/* LOGO SIZE */
.logo-img {
  /* height: 65px; */
  width: auto;
}

/* NAVBAR LINKS */
.main-nav {
  background: #020659; /* brand blue */
}

.main-nav .nav-link {
  color: #ffffff;
  font-weight: 500;
  padding: 10px 14px;
}

.main-nav .nav-link:hover {
  color: #33AA1C;
}

/* Dropdown arrow white */
.main-nav .dropdown-toggle::after {
  border-top-color: #ffffff;
}

@media (max-width: 768px) {
  .badge-group {
    display: none !important;
  }
  .brand-text h4 {
    font-size: 10px !important;
  }
  .logo-img {
    height: 40px !important;
}

}

.mobile-navbar {
  background: #ffffff;
  padding: 6px 12px;
  border-bottom: 1px solid #eee;
  z-index: 9999;
}

/* Logo */
.mobile-logo {
  height: 42px;
}

/* Push hamburger to far right */
.navbar-toggler {
  margin-left: auto;
}

/* Fix mobile spacing */
.navbar-brand {
  max-width: 80%;
}

    /* EXACT IMAGE HEIGHT LIKE REFERENCE SITE */
.convocation-slider,
.convocation-slider .carousel-inner,
.convocation-slider .carousel-item {
  height: 470px; /* 👈 matches reference image */
}

.slider-img {
  height: 470px;
  width: 100%;
  object-fit: cover;
}

/* Subtle dark overlay (same as original site) */
.convocation-slider .carousel-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.22);
}

/* Controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #020659;
  border-radius: 50%;
  padding: 22px;
}

/* Mobile adjustment (reference site also reduces height) */
@media (max-width: 768px) {
  .convocation-slider,
  .convocation-slider .carousel-inner,
  .convocation-slider .carousel-item,
  .slider-img {
    height: 300px;
  }
}

/* COURSES SECTION */
.courses-section {
  position: relative;
  background: url("images/AWARDED-BEST-PHARMACY-INSTITUTION.png")
              center/cover no-repeat;
  padding: 80px 0;
}

.courses-section .overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 89, 0.75); /* brand blue overlay */
}

.section-title {
  color: #ffffff;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 1px;
}

/* COURSE GRID */
.course-grid {
  max-width: 1100px;
  margin: 0 auto;
}

/* COURSE CARD */
.course-card {
  padding: 35px;
  text-align: center;
  min-height: 270px;
}

.course-card h5 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}

.course-card p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* COLOR VARIANTS */
.course-card.light {
  background: #ffffff;
  color: #000000;
}

.course-card.teal {
  background: #36B2AB;
  color: #ffffff;
}

/* BUTTON */
.course-btn {
  border: 1px solid #33AA1C;
  color: #33AA1C;
  padding: 6px 18px;
  font-size: 13px;
  text-decoration: none;
}

.course-btn:hover {
  background: #33AA1C;
  color: #ffffff;
}

.course-btn.white {
  border-color: #ffffff;
  color: #ffffff;
}

.course-btn.white:hover {
  background: #ffffff;
  color: #020659;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .course-card {
    min-height: auto;
  }
}

/* CAMPUS HAPPENINGS */
.campus-happenings {
  padding: 70px 0;
  background: #ffffff;
}

.section-heading {
  font-size: 28px;
  font-weight: 500;
  color: #020659;
  position: relative;
  margin-bottom: 35px;
}

.section-heading::after {
  content: "";
  width: 50px;
  height: 3px;
  background: #33AA1C;
  position: absolute;
  left: 0;
  bottom: -10px;
}

/* LEFT LIST */
.happenings-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.happenings-list li {
  border-bottom: 1px solid #e0e0e0;
}

.happenings-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  color: #000000;
  text-decoration: none;
  font-size: 15px;
}

.happenings-list a span {
  color: #D90416;
  font-size: 20px;
}

.happenings-list a:hover {
  color: #33AA1C;
}

/* RIGHT EVENTS – NO EXTRA SPACE */
.event-box {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;   /* reduced spacing */
}

.event-box img {
  width: 160px;
  height: 200px;
  object-fit: cover;
  margin-right: 12px;    /* small controlled gap like image */
}

/* Remove any default spacing */
.event-content {
  padding: 0;
  margin: 0;
}

.event-content h6 {
  font-size: 14px;
  font-weight: 600;
  color: #020659;
  margin: 0 0 4px 0;     /* tight like reference */
}

.event-content a {
  font-size: 14px;
  color: #D90416;
  text-decoration: none;
  margin: 0;
}

/* Mobile */
@media (max-width: 768px) {
  .event-box {
    flex-direction: column;
  }

  .event-box img {
    width: 100%;
    height: 200px;
    margin-right: 0;
    margin-bottom: 6px;
  }
}

/* HERO CTA SECTION */
.hero-cta {
  position: relative;
  background: url("https://images.unsplash.com/photo-1581092334651-ddf26d9a09d0")
              center/cover no-repeat;
  padding: 90px 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 89, 0.7); /* brand blue overlay */
}

/* CONTENT */
.hero-content {
  position: relative;
  color: #ffffff;
  max-width: 900px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #F2F2F2;
}

/* HERO BUTTON – EXACT IMAGE STYLE */
.hero-btn {
  display: inline-block;
  border: 1.5px solid #ffffff;   /* thin white border */
  color: #ffffff;
  padding: 10px 28px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.8px;
  background: transparent;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 0;              /* 🔥 square corners */
  transition: all 0.3s ease;
}

/* Hover – subtle, not heavy */
.hero-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-color: #ffffff;
}

/* INFO HIGHLIGHTS SECTION */
.info-highlights {
  padding: 70px 0;
  background: #ffffff;
}

/* EACH COLUMN */
.info-box {
  padding: 0 30px;
  position: relative;
}

/* Vertical divider */
.info-box:not(:last-child) {
  border-right: 1px solid #e6e6e6;
}

/* Accent line */
.accent-line {
  display: block;
  width: 3px;
  height: 28px;
  background: #36B2AB; /* brand teal */
  margin-bottom: 18px;
}

/* Heading */
.info-box h4 {
  font-size: 18px;
  font-weight: 500;
  color: #000000;
  margin-bottom: 12px;
}

/* Paragraph */
.info-box p {
  font-size: 15px;
  line-height: 1.7;
  color: #000000;
  margin-bottom: 14px;
}

/* Link */
.info-link {
  font-size: 15px;
  color: #D90416; /* brand red */
  text-decoration: none;
  font-weight: 500;
}

.info-link span {
  font-size: 18px;
  margin-left: 4px;
}

.info-link:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .info-box {
    padding: 25px 15px;
    border-right: none !important;
    border-bottom: 1px solid #e6e6e6;
  }

  .info-box:last-child {
    border-bottom: none;
  }
}


/* FOOTER */
.site-footer {
  background: #020659; /* brand blue */
  color: #F2F2F2;
  padding: 50px 0 20px;
  font-size: 14px;
}

/* Top Section */
.footer-top h5 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 12px;
  position: relative;
}

.footer-top h5::after {
  content: "";
  width: 40px;
  height: 2px;
  background: #36B2AB; /* brand teal */
  position: absolute;
  left: 0;
  bottom: -6px;
}

.footer-top p {
  margin-top: 18px;
  line-height: 1.7;
  color: #F2F2F2;
}

/* Social Icons */
.footer-social a {
  color: #F2F2F2;
  font-size: 18px;
  margin-left: 15px;
  text-decoration: none;
}

.footer-social a:hover {
  color: #33AA1C;
}

/* Divider */
.site-footer hr {
  border-color: rgba(255,255,255,0.25);
  margin: 30px 0 15px;
}

/* Bottom */
.footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: #F2F2F2;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-social {
    margin-top: 20px;
    text-align: left;
  }

  .footer-bottom {
    text-align: center;
  }
}

.footer-social a {
  color: #F2F2F2;
  font-size: 17px;
  margin-left: 14px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #33AA1C;
}


/* CONTACT TITLE */
.contact-wrap {
  padding: 0px 0 40px;
  background: #fff;
  text-align: center;
}

.contact-wrap h2 {
  font-weight: 700;
  letter-spacing: 1px;
}

.contact-underline {
  width: 45px;
  height: 2px;
  background: #33AA1C;
  margin: 8px auto 50px;
}

/* FORM */
.contact-form {
  max-width: 900px;
  margin: 0 auto;
}

.contact-form .form-control {
  height: 42px;
  border-radius: 0;
  font-size: 14px;
}

.contact-form textarea.form-control {
  height: 145px;
  resize: none;
}

.contact-submit {
  margin-top: 35px;
}

.contact-submit button {
  background: #33AA1C;
  color: #fff;
  border: none;
  padding: 6px 22px;
  font-size: 13px;
  border-radius: 4px;
}

/* INFO CARDS */
.info-cards {
  padding: 70px 0 90px;
  background: #fff;
}

.info-card {
  background: #fff;
  border-radius: 18px;
  padding: 45px 30px;
  text-align: center;
  box-shadow: 0 12px 25px rgba(0,0,0,0.08);
  height: 100%;
}

.info-icon {
  width: 48px;
  height: 48px;
  border: 1.8px dashed #6c63ff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 18px;
  color: #6c63ff;
}

.info-card h5 {
  font-weight: 600;
  margin-bottom: 12px;
}

.info-card p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}
