/* ==== RESET ==== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ==== BODY ==== */
body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: radial-gradient(circle at top left, #fdfdfd, #f5f7fa);
  color: #222;
  overflow-x: hidden;
}

/* Subtle moving texture background */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url("https://www.transparenttextures.com/patterns/cubes.png");
  opacity: 0.08;
  animation: moveParticles 90s linear infinite;
  z-index: -1;
  filter: blur(1px);
}

/* ==== TOP BAR ==== */
.top-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  animation: fadeDown 1s ease;
}

.top-bar img {
  height: 55px;
  filter: drop-shadow(0 0 10px rgba(0, 140, 255, 0.3));
  transition: transform 0.4s ease, filter 0.4s ease;
}

.top-bar img:hover {
  transform: scale(1.18) rotate(4deg);
  filter: drop-shadow(0 0 18px rgba(0, 140, 255, 0.6));
}

/* ==== NAVBAR ==== */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px) saturate(150%);
  text-align: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 25px rgba(0,0,0,0.05);
  z-index: 1000;
  animation: fadeDown 1.2s ease;
}

.navbar .nav-links {
  list-style: none;
  display: inline-flex;
  gap: 40px;
}

.navbar a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: 0.3s ease;
  position: relative;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
}

.navbar a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #007aff, #00c2b7);
  transition: width 0.35s ease;
}

.navbar a:hover {
  color: #d07826;
}

.navbar a:hover::after {
  width: 100%;
}

.navbar .has-dropdown{
  position: relative;
}

.navbar .has-dropdown > .dd-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/*Submenu  Panel*/
.navbar .dropdown {
  position: absolute;
  top: 115%;
  left: 0;
  min-width: 260px;
  padding: 12px;
  background: #ffffff; /* solid white background */
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  list-style: none;
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 999;
}

/* Dropdown links */
.navbar .dropdown li a {
  display: block;
  padding: 10px 15px;
  color: #0d1b4c; /* dark blue text */
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 6px;
}

/* Hover effect */
.navbar .dropdown li a:hover {
  background: #0d1b4c;  /* dark blue hover bg */
  color: #ffffff;       /* white text on hover */
  transform: translateX(6px);
}


.navbar .dropdown li a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: #780b0b;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.navbar .dropdown li a:hover,
.navbar .dropdown li a:focus {
  background: rgba(0,255,224,0.12);
  color: #000000;
  transform: translateX(3px);
}

/* show on hover (desktops) */
@media (hover:hover) {
  .navbar .has-dropdown:hover > .dropdown {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }
}

/* keyboard focus support */
.navbar .has-dropdown:focus-within > .dropdown {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* open state (mobile via JS) */
.navbar .has-dropdown.open > .dropdown {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* tweak for small screens: make submenu full-width under link */
@media (max-width: 900px) {
  .navbar .dropdown {
    position: static;
    width: 100%;
    margin-top: 8px;
    box-shadow: none;
    border-radius: 10px;
    transform: none;
    opacity: 1;           /* visible when .open is added */
    pointer-events: auto; /* controlled by .open */
    display: none;        /* hide by default on mobile */
  }
  .navbar .has-dropdown.open > .dropdown {
    display: block;
  }
}

/* ==== HERO ==== */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 100px 120px;
  background: linear-gradient(135deg, #0d0d1a, #12122b);
  position: relative;
  overflow: hidden;
  min-height: 90vh;
}

/* Floating orb background */
.hero::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,140,255,0.15), transparent 70%);
  top: -160px;
  left: -160px;
  border-radius: 50%;
  animation: floatBg 10s infinite alternate ease-in-out;
  filter: blur(120px);
}

.hero::after {
  content: "";
  position: absolute;
  right: -150px;
  bottom: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,194,183,0.15), transparent 70%);
  border-radius: 50%;
  filter: blur(100px);
  animation: floatBg 12s infinite alternate-reverse ease-in-out;
}

.hero-text {
  max-width: 50%;
  animation: slideLeft 1.5s ease;
}

.hero-text h1 {
  font-size: 3.6rem;
  color: #fffdfd;
  line-height: 1.2;
  font-weight: 700;
}

.hero-text h1 span {
  background: linear-gradient(90deg, #007aff, #00c2b7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text h3 {
  margin: 20px 0;
  font-size: 1.3rem;
  color: #fdfdfd;
  font-weight: 400;
}

.hero-text .highlight {
  margin-top: 15px;
  color: #007aff;
  font-weight: bold;
  font-size: 1rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.hero-text .theme {
  margin-top: 18px;
  font-size: 1.1rem;
  color: #666;
  font-style: italic;
  letter-spacing: 0.5px;
}

/* Hero images */
.hero-images {
  display: grid;
  grid-template-columns: repeat(2, 220px);
  gap: 28px;
  animation: slideRight 1.5s ease;
  perspective: 1200px;
}

.hero-images img {
  width: 220px;
  height: auto;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 0 25px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.7s ease, box-shadow 0.7s ease;
  cursor: pointer;
}

.hero-images img:hover {
  transform: scale(1.1) rotateY(14deg) rotateX(7deg);
  box-shadow: 0 12px 40px rgba(0,140,255,0.3), 0 6px 30px rgba(0,194,183,0.25);
}

/* ==== PARTNERS ==== */
.partners {
  text-align: center;
  padding: 80px 20px;
  background: #fafafa;
  animation: fadeUp 1.2s ease;
}

.partners h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #111;
  font-weight: bold;
  text-shadow: 0 0 12px rgba(0,140,255,0.2);
}

.partners h2 span {
  color: #00c2b7;
}

.partners-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 70px;
}

.partners-logos img {
  height: 45px;
  filter: grayscale(100%) brightness(0.6);
  transition: 0.4s;
}

.partners-logos img:hover {
  filter: grayscale(0) brightness(1);
  transform: scale(1.2);
  box-shadow: 0 0 20px rgba(0,140,255,0.4);
  border-radius: 8px;
}

/* ====== Footer ====== */
.footer {
  background: rgb(2, 23, 40);
  color: #ffffff;
  text-align: center;
  padding: 20px 15px;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  border-top: 1px solid rgba(0,0,0,0.1);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  padding: 0;
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.footer-nav li a {
  text-decoration: none;
  color: #ffffff;
  transition: color 0.3s ease;
}

.footer-nav li a:hover {
  color: #007aff;
}

.footer-logo img {
  width: 95px;
  height: auto;
}

.footer-logo p {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: bold;
}

.footer-contact p {
  margin: 0;
  font-size: 11px;
}

.footer-contact a {
  color: #ffffff;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgb(255, 253, 253);
  margin-top: 10px;
  padding-top: 6px;
  font-size: 10px;
  color: #ffffff;
}

/* Typing animation */
#typing-text {
  display: inline-block;
  border-right: 2px solid #007aff;
  padding-right: 5px;
  white-space: nowrap;
  overflow: hidden;
  font-weight: bold;
  font-size: 1.3rem;
  animation: blink 0.7s infinite;
}

/* ==== ANIMATIONS ==== */
@keyframes blink {
  50% { border-color: transparent; }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideLeft {
  from { opacity: 0; transform: translateX(-60px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideRight {
  from { opacity: 0; transform: translateX(60px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes floatBg {
  from { transform: translateY(0) translateX(0); }
  to { transform: translateY(50px) translateX(50px); }
}

@keyframes moveParticles {
  from { background-position: 0 0; }
  to { background-position: 1200px 1200px; }
}

/* ==== ABOUT PAGE STYLING ==== */
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f7f9fc;
  color: #333;
}

/* About Section */
/* ==== ABOUT PAGE STYLING (ADVANCED) ==== */
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: #0d0d1a; /* Dark futuristic background */
  color: #eaeaea;
  overflow-x: hidden;
}

/* About Section */
.about {
  padding: 80px 10%;
  background: linear-gradient(135deg, #0d0d1a, #12122b);
}

/* Container */
.about-container {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

/* Each Card */
.about-card {
  display: flex;
  align-items: center;
  gap: 50px;
  opacity: 0;
  transform: translateY(60px);
  transition: all 1s ease;
}

.about-card.show {
  opacity: 1;
  transform: translateY(0);
}

/* Reverse layout */
.about-card.reverse {
  flex-direction: row-reverse;
}

/* Image Styling */
.about-img {
  width: 420px;
  max-width: 100%;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  transition: transform 0.6s ease, filter 0.6s ease, box-shadow 0.6s ease;
  animation: float 4s ease-in-out infinite;
}

/* Hover Glow Effect */
.about-card:hover .about-img {
  transform: scale(1.07);
  filter: brightness(1.1) contrast(1.1);
  box-shadow: 0 20px 60px rgba(0, 255, 255, 0.5);
}

/* Floating Animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Content */
.about-content {
  flex: 1;
}
.about-content h3 {
  font-size: 2rem;
  color: #2ad7a9;
  margin-bottom: 15px;
  opacity: 0;
  transform: translateX(-40px);
  transition: all 1s ease;
}
.about-content p {
  text-align: justify;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #e8bf43;
  opacity: 0;
  transform: translateX(40px);
  transition: all 1.2s ease;
}

.about-card.show .about-content h3,
.about-card.show .about-content p {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive */
@media (max-width: 900px) {
  .about-card {
    flex-direction: column !important;
    text-align: center;
  }
  .about-img {
    width: 100%;
  }
  .about-content h3, .about-content p {
    text-align: center;
  }
}

/* ==== RESPONSIVE DESIGN ==== */

/* Tablets & small laptops */
@media (max-width: 1200px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 70px 40px;
  }
  .hero-text {
    max-width: 100%;
    margin-bottom: 40px;
  }
  .hero-images {
    grid-template-columns: repeat(2, 160px);
    gap: 20px;
  }
  .hero-images img {
    width: 160px;
  }
}

/* Mobile devices */
@media (max-width: 768px) {
  .top-bar {
    flex-direction: column;
    gap: 15px;
    padding: 10px;
  }

  .navbar .nav-links {
    flex-direction: column;
    gap: 20px;
  }

  .hero {
    padding: 60px 20px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .hero-text h1 {
    font-size: 2.4rem;
  }
  .hero-text h3 {
    font-size: 1.1rem;
  }
  .hero-images {
    grid-template-columns: repeat(1, 200px);
    gap: 20px;
  }
  .hero-images img {
    width: 200px;
  }

  .partners-logos {
    gap: 30px;
  }
  .partners-logos img {
    height: 35px;
  }

  .about {
    padding: 50px 20px;
  }
  .about-content h3 {
    font-size: 1.6rem;
  }
  .about-content p {
    font-size: 1rem;
  }

  .footer-content {
    gap: 15px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 10px;
  }
}

/* Extra small devices (phones < 480px) */
@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 2rem;
  }
  .hero-text h3 {
    font-size: 1rem;
  }
  .hero-images img {
    width: 160px;
  }
  .about-img {
    width: 100%;
  }
}

/* Hamburger button (hidden on desktop) */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.menu-toggle:hover {
  transform: scale(1.2);
}

/* Mobile nav behavior */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .navbar .nav-links {
    flex-direction: column;
    gap: 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
  }

  .navbar .nav-links.open {
    max-height: 500px; /* enough space for links */
  }
}


