@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css');

:root {
  --primary-color: #8E44AD;
  --secondary-color: #5E1675;
  --accent-color: #9B59B6;
  --light-color: #E8DAEF;
  --dark-color: #2C1A3D;
  --gradient-primary: linear-gradient(135deg, #9B59B6 0%, #8E44AD 100%);
  --hover-color: #7D3C98;
  --background-color: #1A1625;
  --text-color: #E8DAEF;
  --border-color: rgba(142, 68, 173, 0.3);
  --divider-color: rgba(94, 22, 117, 0.2);
  --shadow-color: rgba(94, 22, 117, 0.25);
  --highlight-color: #F1C40F;
  --main-font: 'Oswald', sans-serif;
  --alt-font: 'Lato', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 1px;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #0F0766;
  padding: 1rem 0;
  box-shadow: 0 4px 20px var(--shadow-color);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

header .logo img {
  height: 50px;
  width: auto;
}

header nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

header nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

header nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--highlight-color);
  transition: width 0.3s ease;
}

header nav a:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
}

#mobile-menu-checkbox {
  display: none;
}

@media (max-width: 768px) {
  header .container {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  header .logo {
    order: 2;
    flex: 0 0 100%;
    text-align: center;
    margin-bottom: 1rem;
  }
  
  .mobile-menu-toggle {
    display: block;
    order: 1;
    position: absolute;
    left: 1rem;
    top: 1rem;
  }
  
  header nav {
    order: 3;
    flex: 0 0 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  #mobile-menu-checkbox:checked ~ .container nav {
    max-height: 500px;
  }
  
  header nav ul {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(15, 7, 102, 0.7), rgba(44, 26, 61, 0.7)), url('./img/bg.jpg') no-repeat center center/cover;
  background-attachment: fixed;
}

.hero-content {
  z-index: 1;
  max-width: 800px;
  padding: 2rem;
}

.content-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background: rgba(26, 22, 37, 0.5);
}

.content-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  gap: 20px;
  align-items: center;
}

.content-section img {
  width: 40%;
  border-radius: 20px;
  box-shadow: 0 10px 30px var(--shadow-color), 0 0 20px rgba(142, 68, 173, 0.2);
  transition: all 0.3s ease;
}

.content-section img:hover {
  transform: scale(1.05) rotate(1deg);
  box-shadow: 0 15px 40px var(--shadow-color), 0 0 30px rgba(142, 68, 173, 0.3);
}

.content-section .text-content {
  width: 60%;
}

@media (max-width: 768px) {
  .content-section .container {
    flex-direction: column;
  }
  
  .content-section img,
  .content-section .text-content {
    width: 100%;
  }
}

.section-divider {
  padding: 3rem 0;
  text-align: center;
  background: rgba(15, 7, 102, 0.3);
}

.section-divider .divider-line {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  border-top: 3px solid var(--border-color);
}

.section-divider .divider-text {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--background-color);
  padding: 0 1.5rem;
  font-weight: 700;
  font-size: 1.1rem;
}

.cta-section {
  position: relative;
  padding-top: 10vh;
  padding-bottom: 10vh;
  background: linear-gradient(rgba(15, 7, 102, 0.6), rgba(44, 26, 61, 0.6)), url('./img/bg.jpg') no-repeat center center/cover;
  background-attachment: fixed;
  text-align: center;
}

.features-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background: rgba(26, 22, 37, 0.8);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.feature-item {
  background: rgba(44, 26, 61, 0.6);
  padding: 2rem;
  border-radius: 16px;
  border: 2px solid var(--border-color);
  box-shadow: 5px 5px 15px var(--shadow-color), -5px -5px 15px rgba(142, 68, 173, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 0;
}

.feature-item:hover::before {
  left: 0;
  opacity: 0.1;
}

.feature-item:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--primary-color);
  box-shadow: 8px 8px 25px var(--shadow-color), -8px -8px 25px rgba(142, 68, 173, 0.2);
}

.feature-item i,
.feature-item h3,
.feature-item p {
  position: relative;
  z-index: 1;
}

.feature-item i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.testimonials-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background: rgba(15, 7, 102, 0.2);
  position: relative;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle, rgba(142, 68, 173, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}

.testimonial-item {
  background: rgba(44, 26, 61, 0.5);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: 4px 4px 12px var(--shadow-color), -4px -4px 12px rgba(142, 68, 173, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-item::after {
  content: '"';
  position: absolute;
  top: -10px;
  right: 20px;
  font-size: 4rem;
  color: var(--primary-color);
  opacity: 0.3;
  font-family: Georgia, serif;
}

.testimonial-item:hover {
  transform: translateY(-5px);
  box-shadow: 6px 6px 18px var(--shadow-color), -6px -6px 18px rgba(142, 68, 173, 0.15);
}

.contact-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background: rgba(26, 22, 37, 0.7);
}

.contact-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.contact-info {
  width: 40%;
}

.contact-form-wrapper {
  width: 60%;
}

@media (max-width: 768px) {
  .contact-section .container {
    flex-direction: column;
  }
  
  .contact-info,
  .contact-form-wrapper {
    width: 100%;
  }
}

.contact-form {
  background: rgba(44, 26, 61, 0.6);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 5px 5px 15px var(--shadow-color), -5px -5px 15px rgba(142, 68, 173, 0.1);
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-family: var(--alt-font);
  transition: all 0.3s ease;
  background: rgba(26, 22, 37, 0.8);
  color: var(--text-color);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(232, 218, 239, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(142, 68, 173, 0.2);
  background: rgba(26, 22, 37, 0.9);
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  background: var(--gradient-primary);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 1.125rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 4px 4px 12px var(--shadow-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 6px 6px 18px var(--shadow-color);
  background: linear-gradient(135deg, #8E44AD 0%, #5E1675 100%);
}

.faq-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background: rgba(15, 7, 102, 0.3);
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}

.faq-item {
  background: rgba(44, 26, 61, 0.6);
  margin-bottom: 1.5rem;
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border-color);
  box-shadow: 4px 4px 12px var(--shadow-color), -4px -4px 12px rgba(142, 68, 173, 0.1);
  transition: all 0.3s ease;
}

.faq-item:hover {
  transform: translateX(10px);
  border-color: var(--primary-color);
  box-shadow: 6px 6px 18px var(--shadow-color), -6px -6px 18px rgba(142, 68, 173, 0.15);
}

.faq-question {
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.faq-question i {
  color: var(--highlight-color);
}

footer {
  background: #0F0766;
  padding: 3rem 0 1rem;
  color: #ffffff;
}

footer .footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

footer .logo img {
  height: 50px;
  width: auto;
}

footer nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  flex-direction: column;
}

footer nav a {
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

footer nav a:hover {
  color: var(--highlight-color);
  padding-left: 10px;
}

footer .footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer .footer-bottom a {
  color: var(--highlight-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer .footer-bottom a:hover {
  color: #ffffff;
}

@media (max-width: 768px) {
  footer .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  
  footer nav ul {
    align-items: center;
  }
}