/* styles.css - Main stylesheet for domain.com */

/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

/* ===== VARIABLES ===== */
:root {
  --primary-color: #2D2B70;     /* Dark purple-blue */
  --accent-color-1: #C2FF00;    /* Neon lime */
  --accent-color-2: #FFE866;    /* Sky yellow */
  --dark-color: #1A1A1A;
  --light-color: #FFFFFF;
  --gradient: linear-gradient(45deg, var(--accent-color-1), var(--accent-color-2));
}

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--primary-color);
  color: var(--light-color);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
}

html, body {
  overflow-x: hidden;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

/* Prevent horizontal scrolling on mobile */
* {
  max-width: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  overflow-x: hidden;
}

/* Fix for mobile scrolling issues */
section {
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
}

a {
  color: var(--light-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-color-1);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.text-center {
  text-align: center;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  border: none;
}
.elem {
  display: inline-block;
  padding: 12px 10px;
  font-weight: 600;
  text-align: center;
  border: none;
}
.btn-primary {
  background: var(--gradient);
  color: var(--dark-color);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  color: var(--dark-color);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent-color-1);
  color: var(--accent-color-1);
}

.btn-outline:hover {
  background: var(--accent-color-1);
  color: var(--dark-color);
}

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(45, 43, 112, 0.9);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  height: 80px;
}

.logo {
  font-family: 'Manrope', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--light-color);
}

.logo:hover {
  color: var(--accent-color-1);
}

.nav-desktop {
  display: flex;
  gap: 30px;
}

.nav-desktop a {
  font-weight: 500;
  position: relative;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color-1);
  transition: width 0.3s ease;
}

.nav-desktop a:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--light-color);
  cursor: pointer;
}

.nav-mobile {
  display: none;
}

/* ===== BANNER SECTION ===== */
.banner {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(to bottom, rgba(45, 43, 112, 0.9), rgba(45, 43, 112, 1)), url('./img/KAkHbG.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.banner::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(194, 255, 0, 0.1), transparent 70%);
}

.banner-content {
  max-width: 800px;
  z-index: 1;
}

.banner h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.banner p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* ===== ABOUT SECTION ===== */
.about {
  background-color: rgba(45, 43, 112, 0.8);
}

.about-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
}

.about-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.about-content p {
  margin-bottom: 1.5rem;
}

/* ===== ADVANTAGES SECTION ===== */
.advantages {
  background-color: rgba(26, 25, 60, 0.9);
}

.advantages-title {
  text-align: center;
  margin-bottom: 60px;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.advantage-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  transition: all 0.3s ease;
  border-left: 3px solid var(--accent-color-1);
}

.advantage-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
}

.advantage-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--accent-color-1);
}

.advantage-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

/* ===== SERVICES SECTION ===== */
.services {
  background-color: var(--primary-color);
}

.services-title {
  text-align: center;
  margin-bottom: 60px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-content {
  padding: 25px;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.service-description {
  margin-bottom: 20px;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
  background-color: rgba(26, 25, 60, 0.9);
}

.testimonials-title {
  text-align: center;
  margin-bottom: 60px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  position: relative;
}

.testimonial-card::before {
  content: '';
}

.testimonial-text {
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author-name {
  font-weight: 600;
  color: var(--accent-color-2);
}

.testimonial-author-position {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* ===== FAQ SECTION ===== */
.faq {
  background-color: var(--primary-color);
}

.faq-title {
  text-align: center;
  margin-bottom: 60px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  position: relative;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  content: '-';
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 20px 20px;
  max-height: 1000px;
}

/* ===== CONTACT FORM SECTION ===== */
.contact {
  background-color: rgba(26, 25, 60, 0.9);
  position: relative;
}

.contact-title {
  text-align: center;
  margin-bottom: 60px;
}

.form-container {
  max-width: 700px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-input,
.form-select {
  width: 100%;
  padding: 12px 15px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--light-color);
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
}

.form-select option {
  background-color: var(--primary-color);
  color: var(--light-color);
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--accent-color-1);
  box-shadow: 0 0 0 3px rgba(194, 255, 0, 0.2);
}

.form-checkbox {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.form-checkbox input {
  margin-right: 10px;
  width: 18px;
  height: 18px;
  accent-color: var(--accent-color-1);
}

.form-button {
  width: 100%;
  padding: 15px;
  border: none;
  background: var(--gradient);
  color: var(--dark-color);
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.form-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* ===== FOOTER SECTION ===== */
footer {
  background-color: rgba(20, 19, 46, 1);
  padding: 60px 0 30px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-logo {
  font-family: 'Manrope', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer-description {
  margin-bottom: 20px;
  opacity: 0.8;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.footer-contact-icon {
  margin-right: 10px;
  color: var(--accent-color-1);
}

.footer-links-title {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.footer-links-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--accent-color-1);
}

.footer-links-list {
  list-style: none;
}

.footer-links-list li {
  margin-bottom: 10px;
}

.footer-links-list a {
  opacity: 0.8;
  transition: all 0.3s ease;
}

.footer-links-list a:hover {
  opacity: 1;
  color: var(--accent-color-1);
  padding-left: 5px;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  opacity: 0.7;
  font-size: 0.9rem;
}

/* ===== COOKIE POPUP ===== */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(26, 25, 60, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  display: none;
}

.cookie-popup.show {
  display: block;
  animation: slideUp 0.5s forwards;
}

.cookie-popup-content {
  margin-bottom: 20px;
}

.cookie-popup-buttons {
  display: flex;
  gap: 10px;
}

.cookie-popup-button {
  padding: 8px 20px;
  border-radius: 5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 0.9rem;
}

.accept-cookies {
  background: var(--gradient);
  color: var(--dark-color);
}

.cookie-policy-link {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--light-color);
}

/* ===== POLICY PAGES ===== */
.policy-page {
  padding-top: 120px;
  min-height: 100vh;
}

.policy-container {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 40px;
  margin-bottom: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-container h1 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.policy-container h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 3px;
  background: var(--gradient);
}

.policy-container h2 {
  font-size: 1.8rem;
  margin: 30px 0 15px;
}

.policy-container p,
.policy-container ul {
  margin-bottom: 20px;
}

.policy-container ul {
  padding-left: 20px;
}

.policy-container li {
  margin-bottom: 8px;
}

.policy-date {
  margin-top: 40px;
  font-style: italic;
  opacity: 0.7;
}

/* ===== THANK YOU PAGE ===== */
.thank-you {
  min-height: 100vh;
  position: relative;
  text-align: center;
}

.thank-you-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 600px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.thank-you-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient);
}

.thank-you-icon {
  font-size: 5rem;
  color: var(--accent-color-1);
  margin-bottom: 20px;
  animation: pulse 2s infinite;
}

.thank-you h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.thank-you p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* ===== ANIMATIONS ===== */
@keyframes slideUp {
  from {
    transform: translate(-50%, 100px);
    opacity: 0;
  }
  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Fix for text overflow */
p, h1, h2, h3, h4, h5, h6, span, a, div {
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 991px) {
  .banner h1 {
    font-size: 3rem;
  }
  
  .about-container {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: 1;
  }
  
  .about-content {
    order: 2;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  
  .banner h1 {
    font-size: 2.5rem;
  }
  
  .nav-desktop {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-mobile {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--primary-color);
    padding: 15px 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    z-index: 999;
    overflow-x: hidden;
  }
  
  .mobile-menu {
    display: flex;
    justify-content: space-around;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
  }
  
  .mobile-menu-item {
    text-align: center;
    flex: 1;
    max-width: 20%;
  }
  
  .mobile-menu-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.8rem;
    padding: 0 5px;
  }
  
  .mobile-menu-icon {
    font-size: 1.5rem;
    margin-bottom: 5px;
  }
  
  /* Additional mobile fixes */
  .container {
    padding: 0 10px;
    width: 100%;
    box-sizing: border-box;
  }
  
  .banner-content, .about-content, .advantage-card, .service-card, .testimonial-card, .faq-item, .form-container {
    width: 100%;
    box-sizing: border-box;
  }
  
  .btn {
    width: auto;
    display: inline-block;
    white-space: nowrap;
  }
}

@media (max-width: 576px) {
  .banner h1 {
    font-size: 2rem;
  }
  
  .banner p {
    font-size: 1rem;
  }
  
  .policy-container {
    padding: 20px;
  }
  
  .policy-container h1 {
    font-size: 2rem;
  }
}