/* 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;
}

/* Header */
header {
  text-align: center;
  padding: 40px 20px 20px;
  background: linear-gradient(to right, #002b5b, #003f7f);
  color: #00CED1;
  margin-top: 8%;
  animation: fadeIn 1s ease forwards;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  animation: fadeInUp 1s ease forwards;
}

header p {
  font-size: 1.1rem;
  color: #E8EEF3;
  animation: fadeInUp 1.2s ease forwards;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Section Title */
.section-title {
  text-align: center;
  font-size: 2rem;
  color: #00CED1;
  margin-bottom: 30px;
  animation: fadeIn 1.2s ease forwards;
}

/* Services Box Layout */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-box {
  background-color: #002b5b;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 0 12px rgba(0, 206, 209, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  animation: fadeInUp 1.4s ease forwards;
}

.service-box:hover,
.service-box:focus-within {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 206, 209, 0.35);
}

.service-box h3 {
  color: #00CED1;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.service-box p {
  font-size: 1rem;
  color: #E8EEF3;
}

/* CTA Section */
.cta {
  background-color: #003f7f;
  padding: 40px 20px;
  text-align: center;
  animation: fadeIn 1.6s ease forwards;
}

.cta h2 {
  color: #00CED1;
  font-size: 2rem;
  margin-bottom: 20px;
}

.cta a {
  display: inline-block;
  background-color: #00CED1;
  color: #002B5B;
  font-weight: bold;
  padding: 12px 30px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta a:hover,
.cta a:focus {
  background-color: #00a2a3;
  transform: scale(1.05);
  outline: none;
}
.service-box img {
  margin-top: 6%;
  height: 170px;
  width: 300px;
  /* object-fit: contain; */
  transition: filter 0.3s ease, transform 0.3s ease;
  /* border-radius: 10%; */
}
/* Footer */
footer {
  background-color: #001f3f;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  animation: fadeIn 1.8s ease forwards;
}

footer a {
  color: #00CED1;
  text-decoration: none;
  margin: 0 5px;
  transition: color 0.3s ease;
}

footer a:hover,
footer a:focus {
  color: #00a2a3;
  outline: none;
}

footer img {
  vertical-align: middle;
  margin-left: 8px;
  width: 24px;
  height: 24px;
  transition: transform 0.2s ease;
}

footer a:hover img,
footer a:focus img {
  transform: scale(1.1);
}

/* Particle placeholders */
.particles {
  position: relative;
  height: 100px;
  overflow: hidden;
}

.particles span {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #00CED1;
  border-radius: 50%;
  animation: float 4s ease-in-out infinite;
  opacity: 0.6;
}

.particles span:nth-child(1) {
  top: 20px;
  left: 15%;
  animation-delay: 0s;
}

.particles span:nth-child(2) {
  top: 40px;
  left: 45%;
  animation-delay: 1.5s;
}

.particles span:nth-child(3) {
  top: 25px;
  left: 75%;
  animation-delay: 3s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-20px);
    opacity: 1;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  nav ul {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  header h1 {
    font-size: 2rem;
  }

  .service-box {
    padding: 20px;
  }
}
