/* Base Styles */
:root {
  --primary-bg: #121212;
  --secondary-bg: #1E1E1E;
  --accent-color-1: #6E88FF;
  --accent-color-2: #FF7E5F;
  --text-primary: #FFFFFF;
  --text-secondary: #BBBBBB;
  --text-muted: #888888;
  --border-color: #333333;
  --success-color: #4CAF50;
  --error-color: #F44336;
  --card-bg: #252525;
  --subtle-highlight: #2C2C2C;
  --shadow-color: rgba(0, 0, 0, 0.4);
  --transition-speed: 0.3s;
}

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

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--primary-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: url('../images/subtle-texture.jpg');
  background-blend-mode: overlay;
  background-size: 200px;
}

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

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 4px;
  background: var(--accent-color-2);
  bottom: -10px;
  left: 0;
  border-radius: 2px;
}

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

p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

a {
  color: var(--accent-color-1);
  text-decoration: none;
  transition: all var(--transition-speed) ease;
}

a:hover {
  color: var(--accent-color-2);
}

ul, ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

li {
  margin-bottom: 0.5rem;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

button, .btn {
  background: var(--accent-color-1);
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: all var(--transition-speed) ease;
  display: inline-block;
  font-family: 'Poppins', sans-serif;
}

button:hover, .btn:hover {
  background: var(--accent-color-2);
  transform: translateY(-2px);
}

input, textarea, select {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border-color);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-radius: 5px;
  font-family: 'Poppins', sans-serif;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent-color-1);
}

input[type="checkbox"] {
  width: 20px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.header {
  background-color: rgba(30, 30, 30, 0.8);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  z-index: 100;
  padding: 1rem 0;
  box-shadow: 0 2px 10px var(--shadow-color);
}

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

.logo {
  height: 40px;
}

.nav__toggle {
  display: block;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem;
}

.nav {
  position: fixed;
  top: 0;
  right: -100%;
  height: 100vh;
  width: 80%;
  max-width: 400px;
  background-color: var(--secondary-bg);
  transition: all var(--transition-speed) ease;
  padding: 2rem;
  z-index: 200;
  overflow-y: auto;
}

.nav.active {
  right: 0;
  box-shadow: -5px 0 15px var(--shadow-color);
}

.nav__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-primary);
  cursor: pointer;
}

.nav__list {
  list-style: none;
  margin: 2rem 0;
}

.nav__item {
  margin-bottom: 1rem;
}

.nav__link {
  color: var(--text-primary);
  font-size: 1.2rem;
  display: block;
  padding: 0.5rem 0;
  transition: all var(--transition-speed) ease;
}

.nav__link:hover {
  color: var(--accent-color-1);
  transform: translateX(5px);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-speed) ease;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
  display: none;
}

/* Broken Grid Layout */
.broken-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.broken-grid__item {
  background-color: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: all var(--transition-speed) ease;
}

.broken-grid__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px var(--shadow-color);
}

.broken-grid__content {
  padding: 1.5rem;
}

.broken-grid__media {
  position: relative;
  overflow: hidden;
}

.broken-grid__media img {
  transition: all 0.5s ease;
}

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

/* Hero Section */
.hero {
  padding-top: 6rem;
  padding-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero__title span {
  color: var(--accent-color-1);
}

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

.hero__image {
  margin-top: 2rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow-color);
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section__header {
  margin-bottom: 3rem;
  text-align: center;
}

.section__title {
  margin-bottom: 1rem;
  display: inline-block;
  position: relative;
}

.section__subtitle {
  color: var(--text-secondary);
}

/* Info Cards */
.info-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: all var(--transition-speed) ease;
  border-left: 4px solid var(--accent-color-1);
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px var(--shadow-color);
}

.info-card__title {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.info-card__title i {
  margin-right: 0.75rem;
  color: var(--accent-color-1);
  font-size: 1.5rem;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 3rem 0;
}

.feature {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: all var(--transition-speed) ease;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px var(--shadow-color);
}

.feature__icon {
  font-size: 2.5rem;
  color: var(--accent-color-1);
  margin-bottom: 1rem;
}

.feature__title {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

/* Contact Form */
.contact-form {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px var(--shadow-color);
}

.contact-form__title {
  margin-bottom: 1.5rem;
  text-align: center;
}

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

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  transition: all var(--transition-speed) ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-color-1);
}

.btn-submit {
  width: 100%;
  background-color: var(--accent-color-1);
  color: white;
  font-weight: 600;
  border: none;
  padding: 0.75rem;
  border-radius: 5px;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.btn-submit:hover {
  background-color: var(--accent-color-2);
}

/* Footer */
.footer {
  background-color: var(--secondary-bg);
  padding: 3rem 0;
  margin-top: 3rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.footer__column {
  margin-bottom: 1.5rem;
}

.footer__title {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer__list {
  list-style: none;
  margin: 0;
}

.footer__item {
  margin-bottom: 0.5rem;
}

.footer__link {
  color: var(--text-secondary);
  transition: all var(--transition-speed) ease;
}

.footer__link:hover {
  color: var(--accent-color-1);
}

.footer__bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--accent-color-1);
  top: 0;
  bottom: 0;
  left: 20px;
  margin-left: -2px;
}

.timeline__item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  margin-bottom: 2rem;
}

.timeline__item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  left: 10px;
  background-color: var(--card-bg);
  border: 4px solid var(--accent-color-1);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.timeline__content {
  padding: 1.5rem;
  background-color: var(--card-bg);
  border-radius: 8px;
  box-shadow: 0 5px 15px var(--shadow-color);
}

.timeline__date {
  color: var(--accent-color-2);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--card-bg);
  padding: 1.5rem;
  z-index: 9999;
  box-shadow: 0 -5px 15px var(--shadow-color);
  display: none;
}

.cookie-consent.show {
  display: block;
  animation: slideUp 0.5s ease forwards;
}

.cookie-consent__title {
  margin-bottom: 1rem;
}

.cookie-consent__text {
  margin-bottom: 1.5rem;
}

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

.cookie-settings {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px var(--shadow-color);
  z-index: 9999;
  width: 90%;
  max-width: 600px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-speed) ease;
}

.cookie-settings.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.cookie-settings__header {
  margin-bottom: 1.5rem;
}

.cookie-settings__title {
  margin-bottom: 0.5rem;
}

.cookie-settings__description {
  color: var(--text-secondary);
}

.cookie-settings__options {
  margin-bottom: 1.5rem;
}

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

.cookie-option__info {
  flex: 1;
}

.cookie-option__title {
  margin-bottom: 0.25rem;
}

.cookie-option__description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.cookie-option__toggle {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
  margin-left: 1rem;
}

.cookie-option__checkbox {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-option__slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--border-color);
  transition: var(--transition-speed);
  border-radius: 34px;
}

.cookie-option__slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: var(--transition-speed);
  border-radius: 50%;
}

.cookie-option__checkbox:checked + .cookie-option__slider {
  background-color: var(--accent-color-1);
}

.cookie-option__checkbox:focus + .cookie-option__slider {
  box-shadow: 0 0 1px var(--accent-color-1);
}

.cookie-option__checkbox:checked + .cookie-option__slider:before {
  transform: translateX(24px);
}

.cookie-settings__buttons {
  display: flex;
  justify-content: space-between;
}

.cookie-settings__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.25rem;
}

.btn-cookie {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--text-primary);
}

.btn-cookie.btn-accept-all {
  background-color: var(--accent-color-1);
  border-color: var(--accent-color-1);
}

.btn-cookie.btn-reject-all {
  background-color: var(--error-color);
  border-color: var(--error-color);
}

.cookie-settings-toggle {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: var(--card-bg);
  color: var(--text-primary);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 5px 15px var(--shadow-color);
  z-index: 99;
}

.cookie-settings-toggle i {
  font-size: 1.5rem;
}

/* Custom Dialog */
.dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px var(--shadow-color);
  z-index: 9999;
  width: 90%;
  max-width: 400px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-speed) ease;
}

.dialog.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.dialog__title {
  margin-bottom: 1rem;
}

.dialog__text {
  margin-bottom: 1.5rem;
}

.dialog__buttons {
  display: flex;
  justify-content: flex-end;
}

/* About Us Page */
.about-hero {
  position: relative;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 3rem;
}

.about-hero__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.about-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
}

/* Media Queries */
@media (min-width: 768px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.5rem;
  }
  
  .broken-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero__container {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  
  .hero__content {
    flex: 1;
  }
  
  .hero__image {
    flex: 1;
    margin-top: 0;
  }
  
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .timeline::after {
    left: 50%;
  }
  
  .timeline__item {
    width: 50%;
    padding: 10px 30px;
    left: 0;
  }
  
  .timeline__item:nth-child(odd) {
    left: 50%;
  }
  
  .timeline__item::after {
    left: auto;
    right: -10px;
  }
  
  .timeline__item:nth-child(odd)::after {
    left: -10px;
    right: auto;
  }
}

@media (min-width: 992px) {
  .nav__toggle {
    display: none;
  }
  
  .nav {
    position: static;
    height: auto;
    width: auto;
    background-color: transparent;
    padding: 0;
    overflow-y: visible;
  }
  
  .nav__close {
    display: none;
  }
  
  .nav__list {
    display: flex;
    margin: 0;
  }
  
  .nav__item {
    margin-bottom: 0;
    margin-left: 2rem;
  }
  
  .nav__link {
    font-size: 1rem;
    padding: 0;
  }
  
  .nav__link:hover {
    transform: none;
  }
  
  .broken-grid {
    grid-template-columns: repeat(12, 1fr);
  }
  
  .broken-grid__item:nth-child(odd) {
    grid-column: span 7;
  }
  
  .broken-grid__item:nth-child(even) {
    grid-column: span 5;
  }
  
  .broken-grid__item:nth-child(4n+1) {
    transform: translateY(2rem);
  }
  
  .broken-grid__item:nth-child(4n+2) {
    transform: translateY(-2rem);
  }
  
  .broken-grid__item:nth-child(4n+3) {
    transform: translateY(1rem);
  }
}

/* International Telephone Input Override */
.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");
  }
}

/* Animation Keyframes */
@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* AOS Override */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
}

[data-aos].aos-animate {
  opacity: 1;
}

/* Owl Carousel Override */
.owl-carousel {
  margin: 2rem 0;
}

.owl-dots {
  text-align: center;
  margin-top: 1rem;
}

.owl-dot {
  display: inline-block;
  margin: 0 5px;
}

.owl-dot span {
  display: block;
  width: 10px;
  height: 10px;
  background-color: var(--border-color);
  border-radius: 50%;
  transition: all var(--transition-speed) ease;
}

.owl-dot.active span,
.owl-dot:hover span {
  background-color: var(--accent-color-1);
}

/* Thank You Page */
.thank-you {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.thank-you__icon {
  font-size: 5rem;
  color: var(--success-color);
  margin-bottom: 2rem;
}

.thank-you__title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.thank-you__text {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Legal Pages */
.legal-content {
  padding-top: 6rem;
  padding-bottom: 3rem;
}

.legal-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content p,
.legal-content ul {
  margin-bottom: 1rem;
}

.legal-content ul {
  list-style: disc;
  margin-left: 2rem;
}

.updated-date {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 2rem;
}