/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Inter', sans-serif;
  color: #fff;
  background: linear-gradient(to bottom, #000000 0%, #000a2a 40%, #001a4d 100%);
  background-attachment: fixed;
  background-size: cover;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  padding: 0px 40px;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: transparent;
  border-bottom: none;
  flex-wrap: wrap;
  transition: all 0.3s ease;
}

/* Header with blur effect when scrolled */
header.scrolled {
  background-color: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo img {
  width: clamp(220px, 33vw, 259px);
}

nav {
  display: flex;
  gap: clamp(15px, 3vw, 25px);
  align-items: center;
  flex-wrap: wrap;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: clamp(14px, 2vw, 16px);
  transition: all 0.3s ease;
  position: relative;
  padding: 8px 0;
}

nav a:hover {
  color: #fff;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #fff;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* Dropdown Menu Styles */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  color: #fff;
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  outline: none;
  text-decoration: none;
  padding: 8px 0;
}

.dropdown-content {
  position: absolute;
  background: rgba(0, 2, 61, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  min-width: 160px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  z-index: 1001;
  border-radius: 12px;
  top: calc(100% + 10px);
  left: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-content a {
  color: #fff;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 15px;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-content a:last-child {
  border-bottom: none;
}

.dropdown-content a:hover {
  background: rgba(74, 144, 226, 0.2);
  color: #4a90e2;
  transform: translateX(5px);
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.dropdown-content:hover {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) scale(1) !important;
}

/* Ensure nav links align well with dropdown */
nav .dropdown {
  margin: 0 8px;
}

/* Contact Section */
.contact-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  min-height: 100vh;
  text-align: center;
}

.contact-section h1 {
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 800;
  margin-bottom: 1rem;
}

.contact-section p {
  font-size: clamp(14px, 2vw, 18px);
  color: #aaa;
  max-width: 700px;
  margin-bottom: 2.5rem;
}

/* Contact Form Box */
.contact-form {
  background: rgba(15, 15, 25, 0.9);
  border: 1px solid #222;
  border-radius: 16px;
  box-shadow: 0 0 30px rgba(0,0,0,0.4);
  padding: 2.5rem;
  max-width: 700px;
  width: 100%;
  display: grid;
  gap: 1.2rem;
  backdrop-filter: blur(6px);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 1px solid #333;
  border-radius: 8px;
  background: #111;
  color: #fff;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #1e90ff;
  box-shadow: 0 0 0 2px rgba(30, 144, 255, 0.3);
}

.contact-form button {
  background: #1e90ff;
  color: #fff;
  border: none;
  padding: 1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.contact-form button:hover {
  background: #0066cc;
  transform: translateY(-2px);
}

/* Contact Details */
.contact-details {
  margin-top: 3rem;
  font-size: clamp(14px, 2vw, 16px);
  color: #ccc;
}

.contact-details p {
  margin: 0.5rem 0;
}

.contact-details a {
  color: #1e90ff;
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

/* Custom Footer Styles */
.custom-footer {
  background: linear-gradient(135deg, #000000 0%, #000a2a 40%, #001a4d 100%);
  color: #fff;
  padding: 0;
  font-family: 'Inter', sans-serif;
  position: relative;
  overflow: hidden;
}

.custom-footer .footer-cta {
  text-align: center;
  padding: 48px 20px 32px 20px;
  background: rgba(30, 0, 80, 0.18);
}

.custom-footer .footer-cta h2 {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.custom-footer .footer-cta p {
  font-size: clamp(13px, 2vw, 16px);
  color: #e0e0e0;
  margin-bottom: 18px;
}

.custom-footer .footer-cta-form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.custom-footer .footer-cta-form input[type="email"] {
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  outline: none;
  font-size: 1rem;
  min-width: 220px;
  background: #fff;
  color: #222;
  transition: box-shadow 0.2s;
}

.custom-footer .footer-cta-form input[type="email"]:focus {
  box-shadow: 0 0 0 2px #4a90e2;
}

.custom-footer .footer-cta-form button {
  padding: 10px 28px;
  border-radius: 999px;
  border: none;
  background: #4a90e2;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.custom-footer .footer-cta-form button:hover {
  background: #fff;
  color: #4a90e2;
  transform: scale(1.05);
}

.custom-footer .footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  padding: 40px 40px 24px 40px;
  gap: 32px;
  background: transparent;
}

.custom-footer .footer-col {
  min-width: 140px;
  margin-bottom: 18px;
}

.custom-footer .brand-col {
  min-width: 160px;
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.1;
  color: #fff;
}

.custom-footer .footer-logo {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(20px, 3.5vw, 28px);
  letter-spacing: 0.15em;
  line-height: 1.2;
  color: #fff;
  text-transform: uppercase;
}

.custom-footer .footer-logo span {
  color: #4a90e2;
}

.custom-footer .footer-col h4 {
  font-size: clamp(11px, 1.5vw, 13px);
  color: #bbb;
  margin-bottom: 0.7rem;
  letter-spacing: 0.1rem;
  font-weight: 600;
}

.custom-footer .footer-col a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: clamp(12px, 1.8vw, 14px);
  margin-bottom: 0.5rem;
  border-radius: 999px;
  padding: 7px 0px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.custom-footer .footer-col a:hover {
  color: #fff;
  transform: scale(1.03);
  cursor: pointer;
}

.custom-footer .footer-socials {
  display: flex;
  gap: 11px;
  margin-top: 4px;
}

.custom-footer .footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.custom-footer .footer-socials a:hover {
  background: #fff;
  color: #4a90e2;
  transform: scale(1.15);
}

.custom-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px 12px 40px;
  font-size: clamp(11px, 1.5vw, 13px);
  color: #bbb;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: transparent;
}

.custom-footer .footer-bottom a {
  color: #bbb;
  text-decoration: none;
  margin-left: 18px;
  transition: color 0.2s;
}

.custom-footer .footer-bottom a:hover {
  color: #fff;
}

/* Responsive */
@media (max-width: 1024px) {
  .custom-footer .footer-main {
    flex-wrap: wrap;
    gap: 24px;
    padding: 32px 16px 18px 16px;
  }
  .custom-footer .footer-bottom {
    padding: 14px 16px 10px 16px;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
  }
  nav a {
    margin: 0;
    padding: 6px 0;
  }
  .contact-form {
    padding: 1.8rem;
  }
  .custom-footer .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 24px 10px 12px 10px;
  }
  .custom-footer .footer-col, .custom-footer .brand-col {
    min-width: 0;
    width: 100%;
    margin-bottom: 10px;
  }
  .custom-footer .footer-cta {
    padding: 32px 10px 20px 10px;
  }
}

@media (max-width: 480px) {
  .logo img {
    width: clamp(132px, 28vw, 165px);
  }
  .contact-section {
    padding: 6rem 1rem 3rem;
  }
  .custom-footer .footer-main {
    padding: 14px 4px 8px 4px;
  }
  .custom-footer .footer-cta {
    padding: 22px 4px 12px 4px;
  }
  .custom-footer .footer-bottom {
    flex-direction: column;
    gap: 6px;
    padding: 8px 4px 6px 4px;
    font-size: 11px;
  }
}