:root {
    --primary-color: #00bcd4;
    --secondary-color: #007c91;
    --dark-color: #111;
    --light-color: #f8f9fa;
    --overlay-color: rgba(0, 0, 0, 0.8);
  }
  
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-color);
    color: var(--light-color);
    line-height: 1.6;
    padding-top: 70px;
  }

  /* Navbar Styles */
  .navbar {
    background: linear-gradient(135deg, #000 0%, #001f24 100%);
    border-bottom: 1px solid var(--secondary-color);
    padding: 0.5rem 1rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
  }

  .navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
  }

  .navbar-brand img {
    height: 35px;
    width: auto;
    margin-right: 10px;
  }

  .brand-text {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
  }

  .nav-link {
    color: #aaa;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
  }

  .nav-link:hover,
  .nav-link:focus {
    color: var(--primary-color);
  }

  .nav-link.active {
    color: var(--primary-color);
  }

  .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: var(--primary-color);
  }

  /* Dropdown */
  .nav-link.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid var(--primary-color);
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
    transition: transform 0.2s ease-in-out;
  }

  .nav-item.dropdown.show .nav-link.dropdown-toggle::after {
    transform: rotate(-180deg);
  }

  /* Active dropdown styling */
  .nav-link.dropdown-toggle.active::after {
    border-top-color: var(--primary-color);
  }

  .dropdown-menu {
    background-color: #001f24;
    border: 1px solid var(--secondary-color);
  }

  .dropdown-item {
    color: #aaa;
    padding: 0.5rem 1rem;
  }

  .dropdown-item:hover {
    background-color: rgba(0, 188, 212, 0.1);
    color: var(--primary-color);
  }

  .dropdown-divider {
    border-color: var(--secondary-color);
  }

  .navbar-toggler {
    border-color: var(--primary-color);
  }

  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 188, 212, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }

/* Navbar Center Alignment */
.navbar-collapse {
justify-content: space-between;
}

  /* Login Button Styles */
  .btn-login {
border: 1.5px solid var(--primary-color) !important;
border-radius: 50px !important;
margin-left: 0.5rem;
padding: 0.375rem 1.25rem !important;
transition: all 0.3s ease;
}

.btn-login:hover,
.btn-login:focus,
.btn-login.active {
background-color: var(--primary-color) !important;
color: var(--dark-color) !important;
box-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
}

/* Remove the underline effect for the login button */
.btn-login.active::after {
display: none !important;
}

  /* Feedback Section Styles */
  .feedback-section {
    padding: 4rem 0;
  }

  .section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
  }

  .section-title h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    font-weight: 600;
    display: inline-block;
    padding-bottom: 10px;
  }

  .section-title h2::after {
    content: "";
    position: absolute;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  .feedback-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
    max-width: 800px;
  }

  .form-label {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
  }

  .form-control,
  .form-select,
  .form-control:focus,
  .form-select:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--secondary-color);
    color: var(--light-color);
    padding: 0.75rem 1rem;
    border-radius: 5px;
  }

  /* Placeholder text color */
  .form-control::placeholder {
    color: #aaa !important;
    opacity: 1;
  }

  /* Dropdown styling */
  .form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='%2300bcd4' d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
  }

  /* Dropdown options styling */
  .form-select option {
    background-color: #001f24;
    color: var(--light-color);
  }

  .form-control:focus,
  .form-select:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 188, 212, 0.25);
    border-color: var(--primary-color);
  }

  textarea.form-control {
    min-height: 150px;
  }

  .btn-submit {
    background-color: var(--primary-color);
    color: var(--dark-color);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 50px;
    transition: all 0.3s ease;
  }

  .btn-submit:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3);
  }

/* Footer Styles */
footer {
  background: linear-gradient(135deg, #000 0%, #001f24 100%);
  padding: 3rem 1rem 1.5rem;
  color: #aaa;
  border-top: 1px solid var(--secondary-color);
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
}

.footer-col h4 {
  color: var(--primary-color);
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.footer-about {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.7rem;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.social-links {
    margin: 1.5rem 0;
  }

  .social-links a {
    color: #aaa;
    font-size: 1.5rem;
    margin: 0.75rem;
    transition: color 0.3s ease;
    margin-left: 1px;
  }

  .social-links a:hover {
    color: var(--primary-color);
  }

.footer-contact p {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact i {
  width: 20px;
  text-align: center;
}

.footer-legal {
  margin-top: 1.5rem;
  font-size: 0.85rem;
}

#formAlert {
  position: fixed;
  top: 70px; /* same as navbar height */
  left: 0;
  width: 100%;
  z-index: 1050; /* above content but below modal */
  border-radius: 0;
  text-align: center;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer-col {
    margin-bottom: 1rem;
  }
  
  .footer-col h4 {
    margin-bottom: 1rem;
  }
}


  @media (max-width: 768px) {
    body {
      padding-top: 60px;
    }
    
    .section-title h2 {
      font-size: 1.8rem;
    }
    
    .feedback-card {
      padding: 1.5rem;
    }
    
    .navbar-collapse {
      background: linear-gradient(135deg, #000 0%, #001f24 100%);
      padding: 1rem;
      margin-top: 0.5rem;
      border-radius: 5px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    }
  }