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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
  background: #f8fafc;
  color: #2d3748;
}

/* Common Animations */
@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3) translateY(50px);
  }
  50% {
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 4px 15px rgba(66, 153, 225, 0.4);
  }
  50% {
    box-shadow: 0 4px 25px rgba(66, 153, 225, 0.8);
  }
}

@keyframes shimmer {
  0%,
  100% {
    transform: translateY(0);
    filter: brightness(1);
  }
  50% {
    transform: translateY(-12px);
    filter: brightness(1.5);
  }
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(248, 250, 252, 0.95);
  backdrop-filter: blur(20px);
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  border-bottom: 1px solid rgba(45, 55, 72, 0.1);
  animation: slideDown 0.6s ease;
}

.logo-gradient {
  width: 120px;
  height: auto;
  opacity: 0.9;
  transition: all 0.3s ease;
  filter: brightness(0.8) sepia(1) hue-rotate(180deg) saturate(4);
}

.logo-gradient:hover {
  opacity: 1;
  filter: brightness(1) sepia(1) hue-rotate(180deg) saturate(5) drop-shadow(0 0 8px rgba(66, 153, 225, 0.4));
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: black;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.3s;
  position: relative;
}

.nav-links a:hover {
  color: #2d3748;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #4299e1, #1f2b42);
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.highlighted-nav {
  color: #fff !important;
  font-weight: 700 !important;
  background: linear-gradient(135deg, #4299e1, #1f2b42) !important;
  padding: 8px 20px !important;
  border-radius: 25px !important;
  animation: pulse-glow 2s infinite !important;
  box-shadow: 0 4px 15px rgba(66, 153, 225, 0.4) !important;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #2d3748;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(248, 250, 252, 0.98);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: right 0.4s ease;
  z-index: 999;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu ul {
  list-style: none;
  text-align: center;
  margin-bottom: 9rem;
}

.mobile-menu ul li {
  margin: 2rem 0;
}

.mobile-menu ul li a {
  text-decoration: none;
  color: #2d3748;
  font-size: 20px;
  font-weight: 700;
  transition: all 0.3s;
  position: relative;
}

.mobile-menu ul li a:hover {
  color: #4299e1;
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #4299e1, #1f2b42);
  width: 0%;
  z-index: 2000;
  transition: width 0.15s ease-out;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 35px;
  right: 35px;
  background: linear-gradient(135deg, #4299e1, #1f2b42);
  color: #fff;
  border: none;
  outline: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  box-shadow: 0 8px 25px rgba(66, 153, 225, 0.4);
  opacity: 1;
  transform: scale(0.8);
  transition: all 0.3s ease;
  z-index: 2001;
}

.back-to-top:hover {
  transform: scale(1);
  box-shadow: 0 10px 30px rgba(66, 153, 225, 0.6);
}

.back-to-top.show {
  opacity: 1;
  transform: scale(1);
}

/* Scroll animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Fullscreen loader overlay */
#pageLoader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e0, #a0aec0);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

#pageLoader.active {
  opacity: 1;
  pointer-events: all;
}

/* Loader text styling */
.loader-text {
  display: flex;
  font-family: "Inter", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 5px;
}

.loader-text span {
  display: inline-block;
  background: linear-gradient(45deg, #4299e1, #0a1225, #2d3748);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 1.5s infinite;
}

/* Stagger letters for wave effect */
.loader-text span:nth-child(1) { animation-delay: 0s; }
.loader-text span:nth-child(2) { animation-delay: 0.1s; }
.loader-text span:nth-child(3) { animation-delay: 0.2s; }
.loader-text span:nth-child(4) { animation-delay: 0.3s; }
.loader-text span:nth-child(5) { animation-delay: 0.4s; }
.loader-text span:nth-child(6) { animation-delay: 0.5s; }
.loader-text span:nth-child(7) { animation-delay: 0.6s; }
.loader-text span:nth-child(8) { animation-delay: 0.7s; }
.loader-text span:nth-child(9) { animation-delay: 0.8s; }
.loader-text span:nth-child(10) { animation-delay: 0.9s; }

/* Footer */
footer {
  background: #f8fafc;
  color: #2d3748;
  padding: 4rem 5%;
  text-align: center;
  border-top: 1px solid rgba(45, 55, 72, 0.1);
}

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

.footer-section h3 {
  margin-bottom: 1rem;
  color: #4299e1;
  font-size: 1.2rem;
}

.footer-section p,
.footer-section a {
  color: black;
  line-height: 1.9;
  text-decoration: none;
  display: block;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: #4299e1;
}



.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-bottom{
    padding: 15px;
  background: linear-gradient(45deg, #4299e1, #0a1225, #2d3748);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
  }

  .footer-content {
    padding: 0 1rem;
    text-align: center;
  }


}







/* Additional header styles for About Us page */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
   
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 999;
}

.navv {
    display: flex;
    list-style-type: none;
}

/* Additional navigation styles */
nav a {
    margin: 0 1rem;
    text-decoration: none;
    color: #1b2a41;
    font-weight: 500;
    transition: 0.3s;
}

nav a:hover {
    color: #0a2441;
}

/* Additional hamburger menu styles */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #1b2a41;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Additional mobile menu styles */
.navv {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    max-width: 300px;
    background: #fff;
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.4s ease;
    overflow-y: auto;
}

.navv.active {
    right: 0;
}

.navv li {
    margin: 1rem 0;
}

nav a {
    margin: 0;
    font-size: 1.1rem;
    display: block;
    padding: 0.5rem 0;
}

/* Additional responsive styles */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
}