/* Prevent horizontal scroll on all elements */
*,
*::before,
*::after {
  box-sizing: border-box;
  max-width: 100%;
}

/* Container and wrapper fixes */
.container,
.site-wrapper,
.site-main {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* Image responsiveness */
img {
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
}

/* Table responsiveness */
table {
  width: 100%;
  max-width: 100%;
  table-layout: fixed;
  word-wrap: break-word;
}

/* Pre and code elements */
pre,
code {
  max-width: 100%;
  overflow-x: auto;
  word-wrap: break-word;
  white-space: pre-wrap;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f7fa !important;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

/* Top Scroll CSS */

html {
  scroll-behavior: smooth;
}

.scroll-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 45px !important;
  height: 45px !important;
  background: transparent;
  color: #3d66bd;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  /* box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); */
  transition: all 0.3s ease;
  z-index: 9999;
}

/* ICON */
.scroll-top i {
  font-size: 50px !important;
}

/* HOVER */
.scroll-top:hover {
  transform: translateY(-3px);
}

/* Global page background */
#page,
.site-wrapper,
.site-main,
#primary {
  background-color: #f5f7fa !important;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* Typography */
.ekit-heading--title,
h1,
h2,
h3,
h4,
h5,
h6 {
  text-transform: none !important;
}

sup {
  text-transform: none !important;
  font-size: 0.6em !important;
}

.top-header-bar {
  width: 100%;
  background: #2e5ec4;
  padding: 8px 10px;
}

.header-inner {
  max-width: 1400px;
  margin: auto;
  border-radius: 8px;
  padding: 10px 20px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 15px;
}

.clg-logo {
  height: 85px;
  width: auto;
}
/* CENTER TEXT */
.header-center {
  text-align: center;
  color: #fff;
}

.header-center h1 {
  font-size: clamp(18px, 2vw, 30px);
  font-weight: 700;
  line-height: 1.2;
}

.header-center p {
  font-weight: 700;
  font-size: 15px;
  margin-top: 4px;
}

/* MAIN ACCREDITATION ROW */
.accreditation-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 4px;
}

.accreditation-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  font-size: 15px;
  font-weight: 700;
}

.nba-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
}

.nba-logo {
  height: 70px;
}

.naac-logo {
  height: 55px;
}

@media (max-width: 768px) {
  .header-inner {
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: center;
  }

  .header-left {
    justify-content: center;
  }

  .clg-logo {
    height: 60px;
  }
  .nba-logo {
    height: 35px;
  }
  .naac-logo {
    height: 60px;
  }

  .header-center h1 {
    font-size: 15px;
  }

  .header-center p,
  .nba-row {
    font-size: 11px;
  }
}

.college-fallback {
  width: 40px;
  height: 40px;
  background: #2b59ff;
  border-radius: 6px;
  display: none;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  border: 2px solid #ffd700;
}

.college-fallback span {
  font-size: 8px;
  font-weight: bold;
  color: #1552ca;
  text-align: center;
  line-height: 1;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-links span {
  color: #ccebff;
  font-size: 12px;
  margin-right: 10px;
}

.social-link {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
  background: rgba(255, 215, 0, 0.2);
  border-color: #ffd700;
  transform: translateY(-1px);
}

.social-link i {
  font-size: 14px;
}

/* Main Header */
.header-two {
  background: #f8f9fa;
  border-bottom: 2px solid #e9ecef;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 76px;
  z-index: 99999;
}

.header-two .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}

.menu-two {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

/* Logo */
.logo-wrap {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  margin-right: 40px;
}

.site-title {
  margin: 0;
}

.site-title a {
  color: #1552ca !important;
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  white-space: nowrap !important;
}

.site-title a:hover {
  color: #0d3d8a !important;
}

/* Navigation */
.main-navigation {
  flex: 1;
  max-width: none;
}

/* Desktop navigation - default visible */
@media (min-width: 769px) {
  .main-navigation {
    display: block !important;
  }

  .mobile-menu-toggle {
    display: none !important;
  }
}

/* MOBILE MENU FIX - URGENT */
@media (max-width: 1359px) {
  .main-navigation {
    position: fixed !important;
    top: 120px !important;
    right: 10px !important;
    left: auto !important;
    width: calc(100vw - 20px) !important;
    max-width: 380px !important;
    background: white !important;
    border: 2px solid #1552ca !important;
    border-radius: 10px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    z-index: 999999 !important;
    display: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .main-navigation.mobile-menu-open {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .main-navbar {
    overflow: visible !important;
    width: 100% !important;
  }

  .menu-home-container {
    width: 100% !important;
  }

  .menu-home-container ul {
    display: flex !important;
    flex-direction: column !important;
    padding: 10px 0 !important;
    margin: 0 !important;
    gap: 0 !important;
    list-style: none !important;
    width: 100% !important;
  }

  .menu-item {
    width: 100% !important;
    margin: 0 !important;
  }

  .navbar-box {
    display: block !important;
    width: 100% !important;
    padding: 15px 20px !important;
    margin: 0 !important;
    color: #333 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    border-bottom: 1px solid #eee !important;
    background: transparent !important;
    text-align: left !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
  }

  .navbar-box:hover {
    background: #f0f8ff !important;
    color: #1552ca !important;
  }

  .navbar-box:last-child {
    border-bottom: none !important;
  }

  .mobile-menu-toggle {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-around !important;
    width: 30px !important;
    height: 25px !important;
    cursor: pointer !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    z-index: 1000000 !important;
  }

  .mobile-menu-toggle span {
    display: block !important;
    height: 3px !important;
    width: 100% !important;
    background: #333 !important;
    border-radius: 2px !important;
    transition: all 0.3s ease !important;
  }
}

.main-navbar {
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.main-navbar::-webkit-scrollbar {
  display: none;
}

.menu-home-container ul {
  display: flex;
  flex-wrap: nowrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 5px;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
}

.menu-item {
  flex-shrink: 0;
}

.navbar-box {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 8px 12px !important;
  margin: 0 !important;
  color: #333 !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  display: inline-block !important;
  text-transform: uppercase !important;
  font-family: "Arial", "Helvetica", sans-serif !important;
  font-size: 13px !important;
  letter-spacing: 0.5px !important;
  white-space: nowrap !important;
  box-shadow: none !important;
  transition: color 0.3s ease !important;
}

.navbar-box:hover {
  color: #1552ca !important;
}

.navbar-box.active {
  background: transparent !important;
  border: none !important;
  color: #1552ca !important;
  font-weight: 700 !important;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  cursor: pointer;
  padding: 0;
  background: transparent;
  border: none;
  outline: none;
}

.mobile-menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile menu animation states */
.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Main content */
main {
  background-color: #f5f7fa !important;
  min-height: 60vh;
}

.content-section {
  background: #f5f7fa;
  padding: 20px;
}

/* Footer */
.footer {
  background: rgb(18, 31, 59) !important;
  color: #ccebff !important;
  padding: 50px 0 30px 0;
  margin-top: 50px;
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-widget h2 {
  color: #ffd700 !important;
  font-size: 20px;
  font-weight: 600;
  border-bottom: 2px solid #ffd700;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.footer-widget ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.footer-widget li {
  margin-bottom: 10px;
}

.footer-widget a {
  color: #ccebff !important;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s ease;
}

.footer-widget a:hover {
  color: #ffd700 !important;
}

.footer-widget p {
  color: #ccebff !important;
  line-height: 1.7;
  margin-bottom: 12px;
  font-size: 15px;
}

.footer-widget strong {
  color: #ffffff !important;
}

.footer i,
.footer .fa {
  transform: scaleX(1) !important;
  display: inline-block !important;
  margin-right: 8px;
}

.copyright {
  text-align: center;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #ccebff !important;
  font-size: 14px;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #001f3f;
}

::-webkit-scrollbar-thumb {
  background: #1552ca;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0056c8;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #1552ca #001f3f;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .navbar-box {
    padding: 10px 12px !important;
    font-size: 11px !important;
  }
}

@media (max-width: 1359px) {
  body,
  html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }

  .top-header-content {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .top-header-bar {
    padding: 10px 0;
    width: 100%;
    overflow-x: hidden;
  }

  .top-header-bar .container {
    padding: 0 15px;
    width: 100%;
    max-width: 100%;
  }

  .header-two {
    position: relative;
    top: auto;
    width: 100%;
    overflow-x: hidden;
  }

  .header-two .container {
    padding: 0 15px;
    width: 100%;
    max-width: 100%;
  }

  .menu-two {
    position: relative;
    width: 100%;
    max-width: 100%;
  }

  .logo-wrap .site-title a {
    font-size: 1.5rem !important;
  }

  .mobile-menu-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
    padding: 0;
    background: transparent;
    border: none;
    outline: none;
    z-index: 1001;
    position: relative;
  }

  .mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .mobile-menu-toggle {
    display: flex !important;
  }

  .main-navigation {
    position: fixed !important;
    top: 120px !important;
    right: 10px !important;
    left: auto !important;
    width: calc(100vw - 20px) !important;
    max-width: 380px !important;
    background: white !important;
    border: 2px solid #1552ca !important;
    border-radius: 10px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    display: none !important;
    z-index: 999999 !important;
    opacity: 0 !important;
    transform: translateY(-10px) !important;
    transition: all 0.3s ease !important;
    margin-top: 0 !important;
    visibility: hidden !important;
  }

  .main-navigation.mobile-menu-open {
    display: block !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
  }

  .menu-home-container ul {
    display: flex !important;
    flex-direction: column !important;
    padding: 10px 0 !important;
    gap: 0 !important;
  }

  .navbar-box {
    display: block !important;
    padding: 12px 13px !important;
    font-size: 13px !important;
    margin: 0 !important;
    text-align: left !important;
    border-bottom: 1px solid #f0f0f0 !important;
    border-radius: 0 !important;
    width: 100%;
    box-sizing: border-box;
  }

  .navbar-box:last-child {
    border-bottom: none !important;
  }

  .navbar-box:hover {
    background: #f8f9fa !important;
  }

  .navbar-box.active {
    background: #1552ca !important;
    color: #fff !important;
  }

  .menu-home-container ul {
    display: flex !important;
    flex-direction: column !important;
    padding: 10px 0 !important;
    gap: 0 !important;
  }

  .navbar-box {
    display: block !important;
    padding: 12px 13px !important;
    font-size: 13px !important;
    margin: 0 !important;
    text-align: left !important;
    border-bottom: 1px solid #f0f0f0 !important;
    border-radius: 0 !important;
  }

  .navbar-box:last-child {
    border-bottom: none !important;
  }

  .navbar-box:hover {
    background: #f8f9fa !important;
  }

  .navbar-box.active {
    background: #1552ca !important;
    color: #fff !important;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Desktop navigation for screens larger than 1359px */
@media (min-width: 1360px) {
  .mobile-menu-toggle {
    display: none !important;
  }

  .main-navigation {
    display: block !important;
    position: static !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    width: auto !important;
    max-width: none !important;
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
  }

  .menu-home-container ul {
    flex-direction: row !important;
    gap: 5px !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .navbar-box {
    display: inline-block !important;
    width: auto !important;
    padding: 8px 12px !important;
    border-bottom: none !important;
    background: transparent !important;
    font-size: 13px !important;
    text-align: center !important;
  }
}

@media (max-width: 480px) {
  .navbar-box {
    padding: 6px 10px !important;
    font-size: 9px !important;
  }

  .site-title a {
    font-size: 1.2rem !important;
  }

  .social-links span {
    display: none;
  }
}
/* Footer Styling - Solid Color */
.footer {
  background: rgb(18, 31, 59) !important;
  background-color: rgb(18, 31, 59) !important;
  background-image: none !important;
  color: #ccebff !important;
  padding: 50px 0 30px 0 !important;
}

.footer .container {
  max-width: 95% !important;
  width: 95% !important;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  width: 100%;
}

.footer-widget {
  flex: 1;
  min-width: 280px;
  margin-bottom: 30px;
}

.footer-widget h2 {
  color: #ffd700 !important;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  border-bottom: 2px solid #ffd700;
  padding-bottom: 10px;
}

.footer-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-widget ul li {
  margin-bottom: 10px;
}

.footer-widget a {
  color: #ccebff !important;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-widget a:hover {
  color: #ffd700 !important;
}

.footer-widget .fa {
  margin-right: 8px;
}

.footer-widget .fa-phone {
  transform: scaleX(-1);
  display: inline-block;
}

.footer-widget p {
  color: #ccebff !important;
  line-height: 1.6;
  margin-bottom: 15px;
}

.footer-widget strong {
  color: #ffffff !important;
  display: block;
  margin-bottom: 5px;
}

.copyright {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.copyright p {
  color: #ccebff !important;
  margin: 0;
  font-size: 0.9rem;
}

.copyright strong {
  color: #ffd700 !important;
}

/* Mobile Footer Responsiveness */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 20px;
  }

  .footer-widget {
    min-width: auto;
    margin-bottom: 20px;
  }

  .footer {
    padding: 30px 0 20px 0 !important;
  }
}
