/* Base Styles and Reset */
:root {
  --primary: #0C1128;
  --secondary: #00C6FF;
  --accent: #FF2E9F;
  --background: #0A0E1D;
  --text-light: #E6E8FF;
  --text-dark: #121638;
  --holographic1: #64FFDA;
  --holographic2: #9D72FF;
  --card-bg: rgba(12, 17, 40, 0.7);
  --hover-color: #FF2E9F;
  --transition: all 0.3s ease;
  --grid-gap: 20px;
  --shadow: 0 5px 15px rgba(0, 198, 255, 0.2);
  --glow: 0 0 10px rgba(0, 198, 255, 0.5);
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--background);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover, a:focus {
  color: var(--accent);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, .btn {
  cursor: pointer;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  border: none;
  color: var(--text-light);
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: bold;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

button:hover, .btn:hover, button:focus, .btn:focus {
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  box-shadow: var(--glow);
  transform: translateY(-2px);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 1.2rem;
}

h3 {
  font-size: 1.5rem;
  color: var(--holographic1);
}

p {
  margin-bottom: 1.5rem;
}

/* Layout */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

section {
  padding: 5rem 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--grid-gap);
}

/* Header */
header {
  background-color: var(--primary);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
  border-bottom: 1px solid var(--secondary);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
}

/* Navigation */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-light);
}

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

nav a {
  position: relative;
  padding: 0.5rem 0;
}

nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

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

.active::after {
  width: 100%;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 14, 29, 0.7);
  z-index: 1;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 10px rgba(255, 46, 159, 0.5);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Cards */
.card {
  background-color: var(--card-bg);
  border-radius: 8px;
  padding: 2rem;
  transition: var(--transition);
  border: 1px solid transparent;
  box-shadow: var(--shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--secondary);
  box-shadow: var(--glow);
}

.card-img {
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  aspect-ratio: 16/9;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.card:hover .card-img img {
  transform: scale(1.05);
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card-content {
  flex-grow: 1;
}

/* Features */
.feature {
  text-align: center;
  padding: 2rem;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(12, 17, 40, 0.9), rgba(10, 14, 29, 0.9));
  border: 1px solid transparent;
  transition: var(--transition);
  height: 100%;
}

.feature:hover {
  border-color: var(--accent);
  box-shadow: var(--glow);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--secondary);
  display: inline-block;
}

.feature:hover .feature-icon {
  color: var(--accent);
}

/* Testimonials */
.testimonial {
  padding: 2rem;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(12, 17, 40, 0.8), rgba(10, 14, 29, 0.8));
  border-left: 4px solid var(--holographic1);
  margin-bottom: 2rem;
}

.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.testimonial-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1rem;
  border: 2px solid var(--secondary);
}

.testimonial-img img {
  height: 100%;
}

.testimonial-name {
  font-weight: bold;
  color: var(--holographic1);
}

.testimonial-location {
  font-size: 0.9rem;
  color: var(--text-light);
  opacity: 0.8;
}

.testimonial-content {
  font-style: italic;
  position: relative;
}

.testimonial-content::before {
  content: '"';
  font-size: 4rem;
  position: absolute;
  top: -2rem;
  left: -1rem;
  color: var(--accent);
  opacity: 0.2;
}

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

label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--holographic1);
}

input, textarea, select {
  width: 100%;
  padding: 12px;
  background: rgba(12, 17, 40, 0.8);
  border: 1px solid var(--secondary);
  border-radius: 4px;
  color: var(--text-light);
  font-family: inherit;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 5px rgba(255, 46, 159, 0.5);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
}

.checkbox-group input {
  width: auto;
  margin-right: 10px;
  margin-top: 5px;
}

/* Contact Section */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--secondary);
  margin-right: 1rem;
}

.map-container {
  height: 400px;
  margin-bottom: 3rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--secondary);
}

/* Footer */
footer {
  background-color: var(--primary);
  padding: 3rem 0;
  border-top: 1px solid var(--secondary);
}

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

.footer-links h4 {
  color: var(--holographic1);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--accent);
}

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

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

.copyright {
  text-align: center;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 198, 255, 0.2);
  font-size: 0.9rem;
  color: var(--text-light);
  opacity: 0.8;
}

/* Particles Effect */
#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}

/* Animation Classes */
.glow {
  animation: glow 2s infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 5px rgba(0, 198, 255, 0.5), 0 0 10px rgba(0, 198, 255, 0.3);
  }
  to {
    text-shadow: 0 0 10px rgba(0, 198, 255, 0.8), 0 0 20px rgba(0, 198, 255, 0.5), 0 0 30px rgba(0, 198, 255, 0.3);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Cookie Consent */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--primary);
  padding: 1rem;
  z-index: 9999;
  box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.2);
  border-top: 1px solid var(--secondary);
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-text {
  flex: 1;
  min-width: 300px;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 14, 29, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.cookie-modal-content {
  background: var(--primary);
  border-radius: 8px;
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  border: 1px solid var(--secondary);
  box-shadow: var(--shadow);
}

.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--secondary);
}

.cookie-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-light);
  cursor: pointer;
}

.cookie-modal-body {
  margin-bottom: 2rem;
}

.cookie-preference {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0, 198, 255, 0.2);
}

.cookie-preference:last-child {
  border-bottom: none;
}

.preference-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.preference-title {
  font-weight: bold;
  color: var(--holographic1);
}

.cookie-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

/* Thank You Page */
.thank-you {
  text-align: center;
  padding: 5rem 0;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.thank-you h1 {
  font-size: 3rem;
  margin-bottom: 2rem;
}

.thank-you p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.thank-you .icon {
  font-size: 5rem;
  color: var(--holographic1);
  margin-bottom: 2rem;
}

/* Policy Pages */
.policy-content {
  background: rgba(12, 17, 40, 0.8);
  padding: 3rem;
  border-radius: 8px;
  margin: 3rem 0;
  border: 1px solid var(--secondary);
}

.policy-content h2 {
  margin-top: 2.5rem;
}

.policy-content h3 {
  margin-top: 2rem;
}

.policy-content ul, .policy-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.policy-content li {
  margin-bottom: 0.5rem;
}

.policy-date {
  margin-top: 3rem;
  font-style: italic;
  color: var(--text-light);
  opacity: 0.8;
}

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  section {
    padding: 4rem 0;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  
  nav {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background-color: var(--primary);
    padding: 1rem 0;
    box-shadow: var(--shadow);
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 999;
  }
  
  nav.active {
    transform: translateY(0);
    opacity: 1;
  }
  
  nav ul {
    flex-direction: column;
    gap: 1rem;
    padding: 0 2rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .grid {
    grid-template-columns: 1fr;
  }
  
  .contact-info {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .cookie-content {
    flex-direction: column;
  }
  
  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
  
  .policy-content {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .container {
    width: 95%;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .hero {
    min-height: 70vh;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .feature {
    padding: 1.5rem;
  }
  
  .testimonial {
    padding: 1.5rem;
  }
  
  .map-container {
    height: 300px;
  }
  
  .thank-you h1 {
    font-size: 2.5rem;
  }
  
  .thank-you .icon {
    font-size: 4rem;
  }
}

/* Int Tel Input Overrides */
.iti {
  width: 100%;
}

.iti__flag {
  background-image: url("https://cdn.jsdelivr.net/npm/intl-tel-input@19.5.1/build/img/flags.png");
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .iti__flag {
    background-image: url("https://cdn.jsdelivr.net/npm/intl-tel-input@19.5.1/build/img/flags@2x.png");
  }
}