/* ===== CSS Reset & Variables ===== */
:root {
  --primary: #00d9ff;
  --primary-dark: #00a8cc;
  --dark-bg: #0f1419;
  --dark-card: #1a1f2e;
  --dark-border: #2a3142;
  --text-light: #e0e6ed;
  --text-muted: #a0a8b8;
  --accent-red: #ff3333;
  --success: #00d99f;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-weight: 700;
}

h1 {
  font-size: 3rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--primary);
  text-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
}

h3 {
  font-size: 1.4rem;
}

p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* ===== Container ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Navigation ===== */
.navbar {
  background-color: rgba(15, 20, 25, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--dark-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  text-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: var(--text-light);
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== Hero Section ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(15, 20, 25, 0.95) 100%);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(0, 217, 255, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(0, 168, 204, 0.1) 0%, transparent 50%);
  z-index: -1;
}

.hero-content {
  text-align: center;
  z-index: 1;
  animation: fadeInUp 0.8s ease;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

.hero .tagline {
  font-size: 1.3rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.hero .highlight {
  font-size: 1.1rem;
  color: var(--accent-red);
  font-weight: 800;
  margin: 1.5rem 0;
  animation: pulse 2s infinite;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.85rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #000;
  box-shadow: 0 8px 25px rgba(0, 217, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 217, 255, 0.5);
  color: #000;
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary);
  color: #000;
  transform: translateY(-3px);
}

/* ===== Services Section ===== */
.services {
  padding: 5rem 0;
  background-color: var(--dark-bg);
}

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

.service-card {
  background: linear-gradient(135deg, var(--dark-card) 0%, rgba(26, 31, 46, 0.8) 100%);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid var(--dark-border);
  transition: all 0.3s ease;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 15px 40px rgba(0, 217, 255, 0.2);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.service-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== About Section ===== */
.about {
  padding: 5rem 0;
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.05) 0%, transparent 100%);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 2rem;
}

.about-text {
  color: var(--text-muted);
}

.about-text > p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.about-list {
  list-style: none;
}

.about-list li {
  padding: 0.75rem 0;
  font-size: 1.05rem;
  color: var(--text-light);
  transition: all 0.3s ease;
}

.about-list li:hover {
  color: var(--primary);
  padding-left: 1rem;
}

.placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--dark-card) 0%, rgba(26, 31, 46, 0.6) 100%);
  border: 2px dashed var(--dark-border);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-muted);
}

/* ===== Contact Section ===== */
.contact {
  padding: 5rem 0;
  background-color: var(--dark-bg);
}

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

.contact-info {
  background: linear-gradient(135deg, var(--dark-card) 0%, rgba(26, 31, 46, 0.8) 100%);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid var(--dark-border);
  text-align: center;
  transition: all 0.3s ease;
}

.contact-info:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 217, 255, 0.15);
}

.contact-info h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 0.5rem;
}

.contact-info a {
  font-weight: 700;
  font-size: 1.1rem;
}

.contact-info .small {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-form {
  background: linear-gradient(135deg, var(--dark-card) 0%, rgba(26, 31, 46, 0.8) 100%);
  padding: 2.5rem;
  border-radius: 15px;
  border: 1px solid var(--dark-border);
  max-width: 600px;
  margin: 3rem auto 0;
}

.form-group {
  margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.3);
  color: var(--text-light);
  font-family: inherit;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(0, 217, 255, 0.3);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted);
}

.contact-form button {
  width: 100%;
  margin-top: 1rem;
}

.form-message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  display: none;
}

.form-message.success {
  display: block;
  background-color: rgba(0, 217, 159, 0.2);
  color: var(--success);
  border: 1px solid var(--success);
}

.form-message.error {
  display: block;
  background-color: rgba(255, 51, 51, 0.2);
  color: var(--accent-red);
  border: 1px solid var(--accent-red);
}

/* ===== Footer ===== */
.footer {
  background-color: rgba(15, 20, 25, 0.8);
  border-top: 2px solid var(--dark-border);
  padding: 3rem 0 1rem;
}

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

.footer-section h4 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul a {
  color: var(--text-muted);
  transition: all 0.3s ease;
}

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

.emergency {
  color: var(--accent-red);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.emergency-link {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-red);
  padding: 0.5rem 1rem;
  border: 2px solid var(--accent-red);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.emergency-link:hover {
  background-color: var(--accent-red);
  color: #000;
}

.footer-bottom {
  border-top: 1px solid var(--dark-border);
  padding-top: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

.footer-bottom a {
  color: var(--text-muted);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* ===== Mobile Responsive ===== */
@media (max-width: 768px) {
  .navbar .container {
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: rgba(15, 20, 25, 0.98);
    gap: 0;
    border-bottom: 2px solid var(--dark-border);
    border-top: 2px solid var(--dark-border);
  }

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

  .nav-menu li {
    border-bottom: 1px solid var(--dark-border);
  }

  .nav-menu a {
    display: block;
    padding: 1rem;
    text-align: center;
  }

  .nav-menu a::after {
    display: none;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

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

  h2 {
    font-size: 1.8rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .btn {
    padding: 0.75rem 2rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

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

  .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  .contact-form {
    padding: 1rem;
  }

  .navbar .container {
    padding: 0.8rem 15px;
  }

  .logo {
    font-size: 1.2rem;
  }
}
