:root {
  --bg: #001f3f;
  --bg-light: #003366;
  --fg: #f0f8ff;
  --muted: #7aaedc;
  --accent: #00bfff;
  --accent-light: #66d9ff;
  --card: #00264d;
  --border: #004080;
}

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }

    body {
      font-family: 'Inter', sans-serif;
      background-color: var(--bg);
      color: var(--fg);
      overflow-x: hidden;
    }

    .font-display { font-family: 'DM Serif Display', serif; }

    /* Grid Pattern Background */
    .grid-pattern {
      background-image: 
        linear-gradient(rgba(0, 191, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 191, 255, 0.03) 1px, transparent 1px);
      background-size: 60px 60px;
    }

    /* Floating Shapes */
    .floating-shape {
      position: absolute;
      border-radius: 50%;
      filter: blur(80px);
      opacity: 0.15;
      pointer-events: none;
    }

    /* Scroll Reveal */
    .reveal {
      opacity: 0;
      transform: translateY(40px);
      transition: opacity 0.8s ease, transform 0.8s ease;
    }
    .reveal.active { opacity: 1; transform: translateY(0); }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }

    @media (prefers-reduced-motion: reduce) {
      .reveal { opacity: 1; transform: none; transition: none; }
    }

    /* Button Styles */
    .btn-primary {
      background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
      color: var(--bg);
      font-weight: 600;
      padding: 14px 32px;
      border-radius: 8px;
      transition: all 0.3s ease;
      box-shadow: 0 4px 20px rgba(0, 191, 255, 0.25);
      position: relative;
      overflow: hidden;
    }
    .btn-primary::before {
      content: '';
      position: absolute;
      top: 0; left: -100%; width: 100%; height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
      transition: left 0.5s ease;
    }
    .btn-primary:hover::before { left: 100%; }
    .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0, 191, 255, 0.4); }

    .btn-secondary {
      background: transparent;
      border: 2px solid var(--accent);
      color: var(--accent);
      font-weight: 600;
      padding: 12px 30px;
      border-radius: 8px;
      transition: all 0.3s ease;
    }
    .btn-secondary:hover { background: var(--accent); color: var(--bg); transform: translateY(-2px); }

    /* Card Styles */
    .feature-card {
      background: linear-gradient(145deg, var(--card) 0%, var(--bg-light) 100%);
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 32px;
      transition: all 0.4s ease;
      position: relative;
      overflow: hidden;
    }
    .feature-card::before {
      content: '';
      position: absolute; top: 0; left: 0; right: 0; height: 2px;
      background: linear-gradient(90deg, transparent, var(--accent), transparent);
      opacity: 0; transition: opacity 0.3s ease;
    }
    .feature-card:hover {
      transform: translateY(-8px);
      border-color: rgba(0, 191, 255, 0.3);
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    }
    .feature-card:hover::before { opacity: 1; }

    /* Service Tabs */
    .tab-btn {
      padding: 16px 28px;
      background: transparent;
      border: 1px solid var(--border);
      color: var(--muted);
      border-radius: 12px;
      font-weight: 500;
      transition: all 0.3s ease;
      cursor: pointer;
      white-space: nowrap;
    }
    .tab-btn:hover { border-color: var(--accent); color: var(--accent); }
    .tab-btn.active {
      background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
      color: var(--bg); border-color: transparent;
    }
    .tab-content { display: none; animation: fadeIn 0.4s ease; }
    .tab-content.active { display: block; }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .service-card {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 24px;
      transition: all 0.3s ease;
    }
    .service-card:hover { border-color: var(--accent); background: var(--bg-light); }

    /* Testimonial Card */
    .testimonial-card {
      background: linear-gradient(145deg, var(--card) 0%, var(--bg-light) 100%);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 32px;
      position: relative;
    }
    .testimonial-card::before {
      content: '"';
      font-family: 'DM Serif Display', serif;
      font-size: 120px;
      color: var(--accent);
      opacity: 0.1;
      position: absolute; top: -20px; left: 20px;
      line-height: 1;
    }

    /* FAQ Accordion */
    .faq-item {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 12px;
      overflow: hidden;
      transition: all 0.3s ease;
    }
    .faq-item:hover { border-color: rgba(0, 191, 255, 0.3); }
    
    .faq-question {
      padding: 20px 24px;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-weight: 600;
      transition: color 0.3s ease;
    }
    .faq-question:hover { color: var(--accent); }
    .faq-icon { transition: transform 0.3s ease; }
    .faq-item.open .faq-icon { transform: rotate(180deg); }
    
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease, padding 0.4s ease;
    }
    .faq-item.open .faq-answer { max-height: 300px; padding: 0 24px 20px; }

    /* Form Styles */
    .form-input {
      width: 100%;
      padding: 16px 20px;
      background: var(--bg-light);
      border: 1px solid var(--border);
      border-radius: 10px;
      color: var(--fg);
      font-size: 16px;
      transition: all 0.3s ease;
    }
    .form-input:focus {
      outline: none;
      border-color: var(--accent);
      box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.15);
    }
    .form-input::placeholder { color: var(--muted); }

    /* Header */
    .header { transition: all 0.3s ease; }
    .header.scrolled {
      background: rgba(10, 22, 40, 0.95);
      backdrop-filter: blur(20px);
      box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    }

    /* Mobile Menu */
    .mobile-menu {
      transform: translateX(100%);
      transition: transform 0.4s ease;
    }
    .mobile-menu.open { transform: translateX(0); }

    /* Confirmation Messages */
    .confirmation-msg {
      background: linear-gradient(135deg, rgba(0, 191, 255, 0.1) 0%, rgba(232, 197, 71, 0.1) 100%);
      border: 1px solid var(--accent);
      border-radius: 12px;
      padding: 24px;
      text-align: center;
      display: none;
    }
    .confirmation-msg.show { display: block; animation: fadeIn 0.5s ease; }

    /* Footer Social Icons */
    .social-icon {
      width: 40px; height: 40px;
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
      color: var(--muted);
      transition: all 0.3s ease;
    }
    .social-icon:hover {
      background: var(--accent);
      color: var(--bg);
      border-color: var(--accent);
      transform: translateY(-3px);
    }

    /* Scrollbar */
    ::-webkit-scrollbar { width: 8px; }
    ::-webkit-scrollbar-track { background: var(--bg); }
    ::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
    ::-webkit-scrollbar-thumb:hover { background: var(--accent); }

    /* Star Color */
    .star { color: var(--accent); }

    /* Modal container */
.modal {
  display: none; 
  position: fixed; 
  z-index: 1000; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%;
  overflow: auto; 
  background-color: rgba(0,0,0,0.6); 
  animation: fadeIn 0.3s;
}

/* Modal content box */
.modal-content {
  background-color: #fff;
  margin: 10% auto; 
  padding: 20px;
  border-radius: 8px;
  width: 80%;
  max-width: 600px;
  position: relative;
  animation: slideDown 0.3s;
  color: #000;
}

/* Close button */
.close {
  color: #aaa;
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #000;
}

/* Buttons */
.popup-buttons {
  text-align: center;
  margin-top: 50px;
}

.popup-buttons button {
  background-color: #007bff;
  color: #222;
  border: none;
  margin: 0 10px;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
}

.popup-buttons button:hover {
  background-color: #0056b3;
}

/* Animations */
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes slideDown {
  from {transform: translateY(-50px); opacity:0;}
  to {transform: translateY(0); opacity:1;}
}
  