:root {
  --primary-color: #00a0dc;     /* Professional blue */
  --accent-color: #ffd700;      /* Refined gold */
  --text-light: #ffffff;
  --text-accent: #e6f7ff;       /* Light blue for text */
  --hover-color: #0088cc;       /* Darker blue for hover */
  --shadow-color: rgba(0, 260, 220, 0.3);
}

html {
  overflow-y: scroll;
  height: 100%;
  width: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  background-image: linear-gradient(to top, rgba(0,0,0,0.5)50%,rgba(0,0,0,0.5)50%), url('Web Images/background.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  width: 100%;
  position: relative;
  overflow-x: hidden;
  font-family: 'Arial', sans-serif;
  min-width: 320px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Navbar container */
.nav-wrapper {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  background-color: transparent;
  transition: all 0.3s ease;
}

.nav-wrapper:hover {
  background-color: rgba(0, 0, 0, 0.95);
}

/* Navbar layout using Flexbox */
.navbar {
  max-width: 1500px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Logo styling */
.logo {
  width: 100px;
  height: 100px;
  min-width: 100px;
  object-fit: cover;
  border-radius: 50%;
  cursor: pointer;
  user-select: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 15px var(--shadow-color);
}

.logo:hover {
  transform: scale(1.1);
  box-shadow: 0 0 25px var(--shadow-color);
}

/* Navigation links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin-left: auto;
  padding: 0;
  flex-wrap: nowrap;
}

.nav-links li {
  white-space: nowrap;
}

.nav-links li a {
  position: relative;
  display: inline-block;
  color: var(--text-light);
  text-decoration: none;
  font-weight: bold;
  font-size: 24px;
  padding: 10px 25px;
  border: 3px solid var(--primary-color);
  border-radius: 25px;
  overflow: hidden;
  z-index: 1;
  background: transparent;
  transition: all 0.3s ease;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.nav-links li a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  height: 100%;
  width: 100%;
  background-color: var(--primary-color);
  z-index: -1;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 22px;
}

.nav-links li a:hover {
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--shadow-color);
}

.nav-links li a:hover::before {
  left: 0;
}

/* Image popup overlay */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.popup img {
  max-width: 80%;
  max-height: 80%;
  border-radius: 10px;
  cursor: pointer;
}

/* Remove blue outline when image is clicked */
.logo:focus,
.logo:active,
.logo:focus-visible {
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.SBPI {
  font-size: 48px;
  font-weight: bold;
  margin-left: 20px;
  color: var(--accent-color);
  white-space: nowrap;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-intro {
  max-width: 1000px;
  width: 85%;
  margin: 220px auto 100px auto;
  padding: 40px 30px;
  background-color: rgba(0, 0, 0, 0.85);
  color: var(--text-light);
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 15px 40px var(--shadow-color);
  box-sizing: border-box;
  position: relative;
  transform: translateZ(0);
  backface-visibility: hidden;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  animation: fadeIn 1s ease-out;
}

.hero-intro:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px var(--shadow-color);
  border-color: var(--primary-color);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-intro h1 {
  font-size: 36px;
  margin-bottom: 25px;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-intro h1 span {
  color: var(--primary-color);
  text-shadow: 0 0 10px var(--shadow-color);
}

.hero-intro p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 25px;
  color: var(--text-accent);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-intro .tagline {
  font-style: italic;
  font-size: 16px;
  color: var(--accent-color);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  position: relative;
  display: inline-block;
  padding: 12px 25px;
  background-color: rgba(0, 160, 220, 0.1);
  border-radius: 8px;
  margin-top: 15px;
  border: 1px solid var(--primary-color);
}

.nav-wrapper h1 span {
  display: inline-block;
  color: var(--accent-color);
  transition: all 0.3s ease;
}

.nav-wrapper h1 span:hover {
  transform: scale(1.2) rotate(5deg);
  color: var(--primary-color);
  text-shadow: 0 0 10px var(--shadow-color);
}

/* Improved mobile navigation */
@media screen and (max-width: 768px) {
  .nav-wrapper {
    background-color: transparent !important;
    transition: background-color 0.3s;
  }
  .nav-wrapper:hover,
  .nav-wrapper:active,
  .nav-wrapper:focus-within {
    background-color: #111 !important;
  }
  .navbar {
    padding: 12px 0 0 0;
  }
  main, .hero-intro {
    margin-top: 80px !important;
    padding-left: 7vw !important;
    padding-right: 7vw !important;
    max-width: 95vw !important;
    box-sizing: border-box;
  }
  .logo {
    width: 60px;
    height: 60px;
    min-width: 60px;
    margin-bottom: 5px;
  }

  .SBPI {
    font-size: 22px;
    margin: 0;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 12px;
    line-height: 1.3;
  }

  .nav-links {
    width: 100%;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    margin: 8px 0;
    padding: 0 10px;
  }

  .nav-links li {
    flex: 1;
    max-width: 105px;
  }

  .nav-links li a {
    font-size: 14px;
    padding: 8px 12px;
    width: 100%;
    display: block;
    text-align: center;
    box-sizing: border-box;
    border-width: 2px;
  }

  .hero-intro {
    width: 88%;
    margin: 160px auto 40px;
    padding: 30px 20px;
  }

  .hero-intro h1 {
    font-size: 24px;
    margin-bottom: 20px;
    padding: 0 5px;
  }

  .hero-intro p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    padding: 0 5px;
  }

  .hero-intro .tagline {
    font-size: 14px;
    padding: 10px 15px;
    margin: 0 5px;
  }
}

/* Small mobile devices */
@media screen and (max-width: 480px) {
  .nav-wrapper {
    background-color: transparent !important;
  }
  .nav-wrapper:hover,
  .nav-wrapper:active,
  .nav-wrapper:focus-within {
    background-color: #111 !important;
  }
  .navbar {
    padding: 10px 0 0 0;
  }
  main, .hero-intro {
    margin-top: 65px !important;
    padding-left: 5vw !important;
    padding-right: 5vw !important;
    max-width: 98vw !important;
    box-sizing: border-box;
  }
  .logo {
    width: 50px;
    height: 50px;
    min-width: 50px;
  }

  .SBPI {
    font-size: 20px;
    padding: 0 8px;
  }

  .nav-links {
    gap: 8px;
    padding: 0 8px;
  }

  .nav-links li {
    max-width: 95px;
  }

  .nav-links li a {
    font-size: 13px;
    padding: 6px 10px;
  }

  .hero-intro {
    width: 92%;
    margin: 140px auto 30px;
    padding: 25px 15px;
  }

  .hero-intro h1 {
    font-size: 22px;
    margin-bottom: 15px;
  }

  .hero-intro p {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .hero-intro .tagline {
    font-size: 13px;
    padding: 8px 12px;
  }

  .footer {
    padding: 20px 10px;
  }

  .social-icons {
    gap: 20px;
    margin-bottom: 15px;
  }

  .social-icons a {
    font-size: 20px;
  }

  .copyright {
    font-size: 12px;
    padding: 0 10px;
    line-height: 1.4;
  }
}

/* Landscape mode optimization */
@media screen and (max-height: 500px) and (orientation: landscape) {
  .navbar {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding: 8px;
    gap: 8px;
  }

  .logo {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }

  .SBPI {
    font-size: 18px;
    margin-left: 8px;
    padding: 0 6px;
  }

  .nav-links {
    width: auto;
    margin: 0;
    padding: 0 6px;
  }

  .nav-links li a {
    padding: 5px 8px;
    font-size: 13px;
  }

  .hero-intro {
    margin: 120px auto 30px;
    padding: 20px 15px;
  }
}

/* Touch optimization */
@media (hover: none) {
  .nav-links li a:active {
    transform: translateY(1px);
    background-color: var(--primary-color);
  }

  .logo:active {
    transform: scale(0.98);
  }

  .nav-wrapper h1 span:active {
    color: var(--primary-color);
  }

  .hero-intro:active {
    transform: translateY(1px);
  }
}

/* High-DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

@media screen and (min-width: 320px) {
  body {
    min-width: 320px;
  }
  
  .navbar {
    min-width: 320px;
  }
}

/* Footer Styles */
.footer {
  background-color: rgba(0, 0, 0, 0.85);
  padding: 30px 0;
  text-align: center;
  position: relative;
  bottom: 0;
  width: 100%;
  margin-top: 50px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 0 0 20px 0;
  padding: 0;
  list-style: none;
}

.social-icons a {
  color: var(--text-light);
  font-size: 24px;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  color: var(--primary-color);
  transform: translateY(-5px);
}

.copyright {
  color: var(--text-light);
  font-size: 14px;
  margin: 0;
  padding: 0;
  opacity: 0.8;
}

.copyright span {
  color: var(--primary-color);
}

/* Responsive footer */
@media screen and (max-width: 768px) {
  .footer {
    padding: 20px 0;
  }
  
  .social-icons {
    gap: 15px;
    margin-bottom: 15px;
  }
  
  .social-icons a {
    font-size: 20px;
  }

  .copyright {
    font-size: 12px;
  }
}

/* Hamburger and mobile menu styles */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 1000;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  margin: 5px auto;
  background: var(--accent-color);
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Update media queries for mobile */
@media screen and (max-width: 900px) {
  .nav-links {
    display: none !important;
  }
  .hamburger {
    display: block !important;
  }
  
  /* Hide title completely in mobile */
  .SBPI {
    display: none !important;
  }
  
  /* Adjust logo and navbar for removed title */
  .logo {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    margin: 0 !important;
  }
  
  .navbar {
    padding: 10px 15px !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  .hero-intro {
    margin-top: 120px !important;
  }
}

@media screen and (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
  .hamburger {
    display: none !important;
  }
}

/* Update mobile menu styles to match other pages */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  padding: 80px 20px 20px;
  z-index: 999;
  backdrop-filter: blur(10px);
}

.mobile-menu.open {
  display: block;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu ul li {
  margin: 15px 0;
  text-align: center;
  opacity: 0;
  animation: fadeIn 0.5s ease-out forwards;
}

.mobile-menu ul li:nth-child(1) { animation-delay: 0.1s; }
.mobile-menu ul li:nth-child(2) { animation-delay: 0.2s; }
.mobile-menu ul li:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-menu ul li a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 18px;
  display: block;
  padding: 12px 25px;
  border: 2px solid var(--accent-color);
  border-radius: 25px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.mobile-menu ul li a:hover,
.mobile-menu ul li a:focus {
  background: var(--accent-color);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
}


  

