/* Base Reset & Fonts */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: #0e1a2b;
  color: white;
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Navigation */
nav {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(14, 26, 43, 0.95);
  backdrop-filter: blur(10px);
  z-index: 999;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  animation: slideInDown 0.6s ease-out forwards;
}

@keyframes slideInDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.logo {
  width: 80px;
  height: auto;
  border-radius: 19%;
}

.logo-text {
  color: #40E0D0	;
  padding-left: 20px;
  padding-top: 25px;
  font-size: 25px;
  font-weight: bold;
  letter-spacing: 1px;
}

.logo-container {
  display: flex;
  text-align: center;
  justify-content: center;
  margin-top: -15px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

nav ul li {
  position: relative;
  cursor: pointer;
  transition: color 0.3s;
}

nav ul li:hover {
  color: #00d9ff;
}

nav ul li::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: #00d9ff;
  transition: width 0.3s ease-in-out;
}

nav ul li:hover::after {
  width: 100%;
}

/* Dropdown Menu */
nav ul li.dropdown {
    position: relative;
  }

  nav ul li.dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background-color: rgba(14, 26, 43, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 6px 12px rgba(0, 206, 209, 0.15);
    z-index: 1000;
  }

  nav ul li.dropdown:hover .dropdown-menu {
    display: block;
  }

  nav ul li.dropdown .dropdown-menu li {
    padding: 10px 16px;
    white-space: nowrap;
    transition: background 0.3s;
  }

  nav ul li.dropdown .dropdown-menu li:hover {
    background-color: rgba(0, 217, 255, 0.1);
  }

  nav ul li.dropdown .dropdown-menu li a {
    display: block;
    color: white;
  }

/* Hero Section */
section {
  margin-left: -5%;
  padding: 2rem;
  text-align: center;
  background: #0e1a2b;
  margin-top: 6%;
  animation: fadeIn 1s ease-in;
}

section h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #0d47a1;
  animation: slideUp 1s ease;
}

section p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.cta {
  background-color: #0d47a1;
  color: #fff;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

.cta:hover {
  background-color: #1565c0;
  transform: scale(1.05);
}

/* About Section */
.about {
  font-size: 2rem;
  text-align: center;
  color: rgba(0, 255, 255, 0.7);
  margin-top: 2rem;
  animation: fadeIn 1s ease;
}

.about-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 1rem;
  gap: 2rem;
  align-items: center;
}

.about-image img {
  max-width: 450px;
  width: 100%;
  border-radius: 50px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  height: 480px;
}

.about-image img:hover {
  transform: scale(1.05);
}

.about-content {
  max-width: 600px;
}

.highlight {
  display: flex;
  gap: 2rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.feature {
  background-color: #ffffff;
  width: 28%;
  font-style: oblique;
  padding: 1rem;
  border-radius: 8px;
  animation: slideUp 1s ease;
  transition: transform 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
}

.feature h4 {
  color: #0065fd;
  font-size: 1.5rem;
}

.feature p {
  color: #05449c;
}

/* Partners Section */
.partners-section {
  text-align: center;
  background-color:#0e1a2b;
  padding: 2rem 1rem;
  margin-top: 2rem;
}

.partners-section h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #0d47a1;
  animation: fadeIn 1s ease;
}

.partners-section p {
  margin-bottom: 2rem;
}

.scrolling-wrapper {
  overflow: hidden;
  width: 100%;
  height: 100%;
  position: relative;
  
}

.scrolling-logos {
  display: flex;
  animation: scroll-left 30s linear infinite;
  gap: 100px;
}

.partner-logo img {
  height: 160px;
  width: 160px;
  object-fit: contain;
  transition: filter 0.3s ease, transform 0.3s ease;
  border-radius: 20px;
}

.partner-logo img:hover {
  filter: grayscale(0%);
  transform: scale(1.1);
}

.partner-logo {
  min-width: 100px;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Footer */
footer {
  background-color: #001f3f;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  animation: fadeIn 1s ease;
}

footer a {
  color: #00CED1;
  text-decoration: none;
  margin: 0 5px;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #00a2a3;
}

footer img {
  vertical-align: middle;
  margin-left: 8px;
  width: 24px;
  height: 24px;
  transition: transform 0.2s ease;
}

footer a:hover img {
  transform: scale(1.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }

  nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  nav ul {
    flex-direction: column;
    width: 100%;
    gap: 15px;
    margin-top: 10px;
  }

  section {
    margin-left: 0;
    padding-top: 5rem;
  }

  .about-section {
    flex-direction: column;
  }

  .highlight {
    justify-content: center;
  }

  .feature {
    width: 90%;
  }

  .scrolling-logos {
    animation-duration: 20s;
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}
