/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: #333;
  background-color: #f8f9fa;
  overflow-x: hidden;
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0c0f15;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spinner {
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid #1ec6ff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: #0f1e40;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  position: relative;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo img {
  width: 40px;
  margin-right: 10px;
}

.nav-logo span {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.2rem;
}

/* Hamburger Menu for Mobile */
#menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
}

/* Navigation links */
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: #1ec6ff;
}

/* Dropdown styles */
nav li {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #0f1e40;
  min-width: 200px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  border-radius: 4px;
  padding: 10px 0;
  margin-top: 0;
  z-index: 1100;
}

.dropdown-content a {
  display: block;
  padding: 10px 20px;
  color: #ffffff;
  text-decoration: none;
  transition: background-color 0.3s;
}

.dropdown-content a:hover {
  background-color: rgba(30, 198, 255, 0.2);
  color: #1ec6ff;
}

nav li:hover .dropdown-content,
.dropdown-content:hover {
  display: block;
}

/* Buttons */
.btn-primary {
  background-color: #1ec6ff;
  color: #ffffff;
  padding: 15px 30px;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background-color: #40d2ff;
  transform: scale(1.05);
}

/* Sections */
section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  margin-top: 60px;
  font-weight: 700;
  color: #0f1e40;
}

section h2:first-of-type {
  margin-top: 0;
}

section p {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Contact Section */
.contact-info a {
  color: #1ec6ff;
  text-decoration: none;
  font-weight: 500;
}

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

address {
  font-style: normal;
  line-height: 1.6;
  margin: 10px 0;
  color: #555;
}

/* Footer */
footer {
  background-color: #0f1e40;
  color: #ffffff;
  text-align: center;
  padding: 20px 0;
}

footer p {
  font-size: 0.9rem;
}

.footer-year {
  font-weight: 500;
}

/* Back-to-top Button */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #1ec6ff;
  color: #fff;
  padding: 10px 15px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 1500;
}

#back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .menu-icon {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 15px;
    right: 20px;
    cursor: pointer;
  }

  .menu-icon span {
    display: block;
    width: 30px;
    height: 3px;
    margin: 5px 0;
    background-color: #ffffff;
    transition: background-color 0.3s, transform 0.3s;
  }

  nav ul {
    flex-direction: column;
    width: 100%;
    background-color: #0f1e40;
    position: absolute;
    top: 70px;
    left: 0;
    display: none;
  }

  nav ul li {
    text-align: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  /* Show menu when checkbox is checked */
  #menu-toggle:checked + .menu-icon + nav ul {
    display: flex;
  }

  .dropdown-content {
    position: static;
    display: none;
    box-shadow: none;
    margin-top: 0;
    padding: 0;
    background-color: rgba(30, 198, 255, 0.1);
  }

  nav li:hover .dropdown-content {
    display: none;
  }

  .dropdown-content.active {
    display: block;
  }

  section h2 {
    font-size: 2rem;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.hidden {
  display: none;
}

.visible {
  display: block;
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.grid {
  display: grid;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

/* Spacing Utilities */
.m-0 { margin: 0; }
.m-1 { margin: 0.25rem; }
.m-2 { margin: 0.5rem; }
.m-3 { margin: 1rem; }
.m-4 { margin: 1.5rem; }
.m-5 { margin: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 3rem; }

.pt-0 { padding-top: 0; }
.pt-1 { padding-top: 0.25rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-3 { padding-top: 1rem; }
.pt-4 { padding-top: 1.5rem; }
.pt-5 { padding-top: 3rem; }

.pb-0 { padding-bottom: 0; }
.pb-1 { padding-bottom: 0.25rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-3 { padding-bottom: 1rem; }
.pb-4 { padding-bottom: 1.5rem; }
.pb-5 { padding-bottom: 3rem; }

/* Typography Utilities */
.font-weight-300 { font-weight: 300; }
.font-weight-400 { font-weight: 400; }
.font-weight-500 { font-weight: 500; }
.font-weight-600 { font-weight: 600; }
.font-weight-700 { font-weight: 700; }

.font-size-sm { font-size: 0.875rem; }
.font-size-base { font-size: 1rem; }
.font-size-lg { font-size: 1.125rem; }
.font-size-xl { font-size: 1.25rem; }
.font-size-2xl { font-size: 1.5rem; }
.font-size-3xl { font-size: 2rem; }

/* Color Utilities */
.text-primary { color: #1ec6ff; }
.text-secondary { color: #0f1e40; }
.text-white { color: #ffffff; }
.text-gray { color: #555; }
.text-light-gray { color: #999; }

.bg-primary { background-color: #1ec6ff; }
.bg-secondary { background-color: #0f1e40; }
.bg-white { background-color: #ffffff; }
.bg-light { background-color: #f8f9fa; }
.bg-gray { background-color: #555; }

/* Border Utilities */
.border { border: 1px solid #dee2e6; }
.border-primary { border-color: #1ec6ff; }
.border-secondary { border-color: #0f1e40; }
.border-radius { border-radius: 4px; }
.border-radius-sm { border-radius: 2px; }
.border-radius-lg { border-radius: 8px; }
.border-radius-circle { border-radius: 50%; }

/* Shadow Utilities */
.shadow-sm { box-shadow: 0 1px 2px rgba(0,0,0,0.1); }
.shadow { box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.shadow-lg { box-shadow: 0 4px 8px rgba(0,0,0,0.15); }
.shadow-xl { box-shadow: 0 8px 16px rgba(0,0,0,0.2); }

/* Transition Utilities */
.transition { transition: all 0.3s ease; }
.transition-fast { transition: all 0.15s ease; }
.transition-slow { transition: all 0.5s ease; }

/* Width and Height Utilities */
.w-25 { width: 25%; }
.w-50 { width: 50%; }
.w-75 { width: 75%; }
.w-100 { width: 100%; }
.w-auto { width: auto; }

.h-25 { height: 25%; }
.h-50 { height: 50%; }
.h-75 { height: 75%; }
.h-100 { height: 100%; }
.h-auto { height: auto; }