/* Reset & Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
  padding-top: 80px;
  margin: 0;
}

.logo img {
  height: 40px;
  vertical-align: middle;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: #001f3f;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #00bcd4;
}

/* Dropdown (Click-to-Toggle) Styles */
.nav-links li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #002b5c;
  border-radius: 0 0 8px 8px;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 999;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
}

.nav-links li ul.open {
  display: flex;
  opacity: 1;
  visibility: visible;
}

.nav-links li ul li a {
  display: block;
  padding: 0.75rem 1rem;
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.nav-links li ul li a:hover {
  background-color: #00bcd4;
  color: #001f3f;
}

.nav-links li:hover > ul {
  display: flex;
  opacity: 1;
  visibility: visible;
}


/* Arrow Indicators */
.dropdown-toggle::after {
  content: ' ▼';
  font-size: 0.6rem;
  color: #ccc;
}

.nav-links li > a:only-child::after {
  content: '';
}

/* Hero Section */
.hero {
  background: url('images/home-page.png') center/cover no-repeat;
  height: 400px;
  width: 100%;
}

.hero-content-below {
  background-color: #ffffff;
  padding: 3rem 1rem 2rem;
  text-align: center;
}

.hero-content-below h1 {
  color: #001f3f;
  margin-bottom: 1rem;
}

.hero-content-below p {
  color: #333;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Buttons */
.btn {
  background: linear-gradient(135deg, #2c3e50, #1abc9c);
  border: none;
  border-radius: 30px;
  color: white;
  padding: 0.8rem 1.6rem;
  font-weight: bold;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #1a2a38, #16a085);
}

/* Section Layouts */
section {
  padding: 2.5rem 1.5rem;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
}

/* About Section */
.about {
  background: url('/images/culture.png') center/cover no-repeat;
  background-blend-mode: overlay;
  background-color: rgba(255, 255, 255, 0.9);
}

.about-content {
  text-align: justify;
  max-width: 800px;
  margin: 0 auto;
  color: #222;
  font-size: 1.05rem;
}

.about-content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

/* Categories */
.categories {
  background-color: #f0f4f8;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.category-card {
  background-color: white;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.category-card h3 {
  margin-bottom: 0.5rem;
  color: #001f3f;
}

/* Contact Form */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

input, textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 100%;
}

button {
  background: linear-gradient(135deg, #2c3e50, #1abc9c);
  border: none;
  border-radius: 30px;
  color: white;
  padding: 0.8rem 1.6rem;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

button:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #1a2a38, #16a085);
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  background-color: #001f3f;
  color: white;
  margin-top: 2rem;
}

/* Content Block (Used in People / Technology Pages) */
.content-block {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-top: 2rem;
}

.content-block h2 {
  color: #001f3f;
  margin-bottom: 1rem;
}

.content-block h3 {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  color: #333;
}

.content-block p {
  margin-top: 0.5rem;
  line-height: 1.7;
}

/* Technology Page Background */
body.technology {
  background: url('/images/techy.png') center/cover no-repeat;
  background-attachment: fixed;
  background-size: cover;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    gap: 1rem;
  }
 .hero {
    height: 1px;
    padding: 0;
    margin: 0;
  }
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .btn {
    font-size: 0.95rem;
    padding: 0.6rem 1.2rem;
  }
}
.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 1.5rem 0;
    font-size: 1rem;
  }

  .checkbox-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #007bff; /* Adjust color to match your theme */
    cursor: pointer;
  }

  .checkbox-wrapper label {
    cursor: pointer;
    color: #333;
  }
  select.form-select {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: white;
  padding: 20px;
  width: 80%;
  max-width: 900px;
  height: 80%;
  overflow: auto;
  position: relative;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}

#modalClose {
  position: absolute;
  top: 10px;
  right: 20px;
  cursor: pointer;
  font-size: 24px;
}
.disclaimer-text {
  font-size: 0.6rem;
  color: #666; /* Optional: makes it look more subtle */
  line-height: 1.4;
}
/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Responsive adjustments for navbar and layout */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #001f3f;
    width: 100%;
    text-align: center;
    padding: 1rem 0;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
  }

  .nav-links.active {
    display: flex;
  }

  .category-grid {
    grid-template-columns: 1fr !important;
  }

  .hero-content-below h1 {
    font-size: 1.8rem;
  }

  .hero-content-below p {
    font-size: 1rem;
  }

  .btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  p, li {
    font-size: 1rem;
  }
}
@media (max-width: 768px) {
  .about-content {
    padding: 1rem;
    font-size: 1rem;
    line-height: 1.7;
  }

  .about-content img {
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
  }

  .about-content h1 {
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 1rem;
  }

  .about-content p {
    text-align: left;
  }
}
