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

h1, h2, h3 { font-family: 'Geologica', sans-serif; }
h1 { font-weight: 700; }
h2, h3 { font-weight: 500; }
body, p, li, input { font-family: 'Golos Text', sans-serif; font-weight: 400; }

body {
  font-family: 'Golos Text', sans-serif;
  background-color: #131120;
  color: #EDEAF5;
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  background: rgba(19, 17, 32, 0.85);
  backdrop-filter: blur(12px);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(169, 143, 212, 0.2);
  width: 100%;
  position: fixed;
  z-index: 1;
  color: #EDEAF5;
}

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

.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo-with-socials {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-socials {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-social {
  color: #9B92B0;
  text-decoration: none;
  padding: 0.4rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.header-social svg {
  width: 24px;
  height: 24px;
}

.header-social:hover {
  transform: scale(1.1);
}

/* Contact highlight animation */
@keyframes socialPulse {
  0% {
    box-shadow: 0 0 0 0 currentColor;
    transform: scale(1);
  }
  30% {
    box-shadow: 0 0 16px 4px currentColor;
    transform: scale(1.15);
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
    transform: scale(1);
  }
}

.header-social.highlight {
  animation: socialPulse 1.2s ease-out;
}

.mobile-socials .social-link.highlight {
  animation: socialPulse 1.2s ease-out;
}

.header-social.telegram,
.header-social.instagram,
.header-social.youtube,
.header-social.tiktok,
.header-social.whatsapp {
  color: #7ECEC8;
}

.header-social.telegram:hover,
.header-social.instagram:hover,
.header-social.youtube:hover,
.header-social.tiktok:hover,
.header-social.whatsapp:hover {
  color: #7ECEC8;
  background: transparent;
}

.mobile-socials {
  display: none;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #EDEAF5;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: #9B92B0;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #A98FD4;
}

.currency-dropdown {
  position: relative;
  display: inline-block;
}

.currency-btn {
  background: transparent;
  border: 2px solid rgba(169, 143, 212, 0.3);
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  color: #9B92B0;
  transition: all 0.3s ease;
}

.currency-btn:hover {
  border-color: #A98FD4;
  color: #A98FD4;
}

.currency-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: #1F1B33;
  border: 1px solid rgba(169, 143, 212, 0.2);
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  min-width: 150px;
  z-index: 100;
  display: none;
}

.currency-menu.show {
  display: block;
}

.currency-item {
  padding: 0.75rem 1rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: #EDEAF5;
  transition: background-color 0.2s ease;
}

.currency-item:hover {
  background-color: rgba(169, 143, 212, 0.15);
}

.currency-item:first-child {
  border-radius: 0.5rem 0.5rem 0 0;
}

.currency-item:last-child {
  border-radius: 0 0 0.5rem 0.5rem;
}

.hero {
  background: linear-gradient(135deg, #131120 0%, #172830 100%);
  padding: 6.5rem 0 4rem;
  text-align: center;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 249px;
  width: 100%;
}

.hero-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #EDEAF5;
}

.hero-text {
  max-width: 600px;
  margin: 0 auto 0;
  font-size: 1.125rem;
  color: #EDEAF5;
}

.hero-title,
.hero-text {
  margin-left: auto;
  margin-right: auto;
}


.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: transparent;
  color: #7ECEC8;
  border: 2px solid #7ECEC8;
  border-radius: 8px;
}

.btn-primary:hover {
  background: #A98FD4;
  border-color: #A98FD4;
  color: white;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #7ECEC8;
  border: 2px solid #7ECEC8;
  border-radius: 8px;
}

.btn-outline:hover {
  background: #A98FD4;
  border-color: #A98FD4;
  color: white;
}

/* About Section */
.about {
  padding: 4rem 0;
  background: #1F1B33;
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-text p {
  margin-bottom: 1rem;
  color: #EDEAF5;
}

.about-photo {
  text-align: center;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: baseline;
  height: 100%;
}

.card-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-content .btn {
  margin-top: auto;
}

.profile-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid #A98FD4;
}

.photo-caption {
  background: rgba(169, 143, 212, 0.1);
  padding: 1rem;
  border-radius: 1rem;
  color: #9B92B0;
  font-style: italic;
  font-size: 20px;
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 2rem;
  text-align: center;
  color: #EDEAF5;
}

.section-title-small {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 2rem;
  text-align: center;
  color: #EDEAF5;
}

.services {
  background: #1F1B33;
  padding: 4rem 0;
}

/* Services header with currency */
.services-header {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  gap: 1rem;
  margin-bottom: 0;
}

.services-header .section-title {
  margin-bottom: 0;
}

/* Hide mobile currency dropdown on desktop */
.mobile-currency-dropdown {
  display: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background: rgba(19, 17, 32, 0.6);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(169, 143, 212, 0.15);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.service-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #EDEAF5;
}

.service-description {
  color: #9B92B0;
  margin-bottom: 1.5rem;
}

.price {
  color: #7ECEC8;
  font-weight: 600;
}

/* FAQ Section */
.faq {
  padding: 4rem 0;
  background: #172830;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(31, 27, 51, 0.6);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(169, 143, 212, 0.1);
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin: 0;
}

.faq-question:hover {
  background-color: rgba(169, 143, 212, 0.08);
}

.faq-question h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #EDEAF5;
  margin: 0;
}

.faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #9B92B0;
  transition: transform 0.3s ease;
}

.faq-question.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.show {
  max-height: 500px;
  padding: 1rem 1.5rem 1.5rem 1.5rem;
}

.faq-content {
  color: #9B92B0;
}

.faq-content p {
  margin-bottom: 1rem;
}

.faq-content p:last-child {
  margin-bottom: 0;
}

.cta {
  padding: 4rem 0;
  text-align: center;
  background: linear-gradient(135deg, #131120 0%, #172830 100%);
}

.cta-socials {
  display: none;
}

.certificates {
  background: #1F1B33;
  padding: 4rem 0;
  text-align: center;
}

.education-info {
  max-width: 800px;
  margin: 0 auto 3rem auto;
  text-align: left;
  background: rgba(19, 17, 32, 0.6);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(169, 143, 212, 0.1);
}

.education-info p {
  margin-bottom: 1rem;
  color: #EDEAF5;
  line-height: 1.6;
  font-size: 1.1rem;
}

.education-info p:last-child {
  margin-bottom: 0;
}

.certificates-intro {
  margin-top: 1.5rem !important;
  font-weight: 600;
  color: #EDEAF5 !important;
  text-align: center;
}

.carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.carousel-container {
  width: 600px;
  height: 441px;
  overflow: hidden;
  position: relative;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.carousel-img {
  width: 600px;
  height: 450px;
  object-fit: cover;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: transform 0.4s ease-in-out;
  cursor: pointer;
}

.prev,
.next {
  background: transparent;
  color: #7ECEC8;
  border: 2px solid #7ECEC8;
  padding: 0.75rem 1rem;
  cursor: pointer;
  font-size: 1.25rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.prev:hover,
.next:hover {
  background: #A98FD4;
  border-color: #A98FD4;
  color: white;
  transform: scale(1.05);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0 2rem;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  height: 20px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9B92B0;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.dot:hover {
  background: #A98FD4;
  transform: scale(1.2);
}

.dot.active {
  background: #7ECEC8;
  transform: scale(1.4);
  box-shadow: 0 0 0 2px rgba(126, 206, 200, 0.3);
}

.contact {
  display: none;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.social-link {
  color: #9B92B0;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: rgba(31, 27, 51, 0.6);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.social-link svg {
  width: 32px;
  height: 32px;
}

.social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.social-link.youtube,
.social-link.telegram,
.social-link.instagram,
.social-link.tiktok,
.social-link.whatsapp {
  color: #9B92B0;
}

.social-link.youtube:hover,
.social-link.telegram:hover,
.social-link.instagram:hover,
.social-link.tiktok:hover,
.social-link.whatsapp:hover {
  color: #A98FD4;
  background: rgba(169, 143, 212, 0.15);
}

/* Footer */
.footer {
  background: #131120;
  color: #9B92B0;
  text-align: center;
  padding: 2rem 0;
}

.footer .social-link {
  color: #9B92B0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  background: rgba(31, 27, 51, 0.6);
}

.footer .social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  color: #A98FD4;
  background: rgba(169, 143, 212, 0.15);
}

.footer-text {
  font-size: 0.875rem;
  color: #9B92B0;
}

.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 0.5rem;
  transition: transform 0.3s ease;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  background: none;
  border: none;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  font-size: 2rem;
  border: none;
  padding: 1rem 1.5rem;
  cursor: pointer;
  border-radius: 0.5rem;
  transition: background 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(0, 0, 0, 0.9);
}

.lightbox-prev {
  left: 20px;
}
.lightbox-next {
  right: 20px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 1.5rem;
  align-self: center;
}

/* YouTube Section */
.youtube-section {
  padding: 4rem 0;
  background: #131120;
}

.youtube-grid {
  display: flex;
  justify-content: center;
}

.youtube-card {
  background: rgba(31, 27, 51, 0.6);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(169, 143, 212, 0.15);
  transition: all 0.3s ease;
  max-width: 400px;
  width: 100%;
}

.youtube-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.youtube-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.youtube-thumbnail {
  background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 40%, #7c3aed 70%, #a78bfa 100%);
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.youtube-play-icon {
  width: 68px;
  height: 48px;
  opacity: 0.9;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.youtube-card:hover .youtube-play-icon {
  opacity: 1;
  transform: scale(1.1);
}

.youtube-card-text {
  padding: 1rem;
  text-align: center;
  font-weight: 600;
  color: #EDEAF5;
}

.wrap-buttons {
  display: flex;
  flex-direction: row;
}

/* Mobile */

@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .header {
    padding-bottom: 0;
    position: static;
  }

  .header .container {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .logo {
    font-size: 1.2rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-right {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .header-socials {
    display: none;
  }

  .mobile-socials {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem 0;
    background: #131120;
    flex-wrap: wrap;
  }

  .about {
    padding: 2rem 0;
  }

  .services {
    padding: 2rem 0;
  }

  /* Show mobile currency dropdown */
  .mobile-currency-dropdown {
    display: inline-block;
    position: absolute;
    right: 0;
  }

  .services-header {
    margin-bottom: 1rem;
  }

  .faq {
    padding: 2rem 0;
  }

  .certificates {
    padding: 2rem 0;
  }

  .nav {
    order: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  .nav-link {
    font-size: 0.85rem;
    padding: 0.5rem 0.8rem;
    background: rgba(31, 27, 51, 0.6);
    border-radius: 0.5rem;
    white-space: nowrap;
  }

  .hero {
    padding: 2rem 0;
    min-height: auto;
  }

  .hero .container {
    min-height: auto;
    gap: 1.5rem;
  }

  .hero-title {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .youtube-section {
    padding: 2rem 0;
  }

  .youtube-thumbnail {
    height: 180px;
  }

  .cta {
    padding: 2rem 0;
  }

  .cta-socials {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
  }

  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .about-photo {
    order: -1;
  }

  .carousel {
    flex-direction: row;
    gap: 1rem;
    align-items: center;
  }

  .carousel-container {
    width: 98%;
    max-width: 350px;
    height: 250px;
    margin: 0 auto;
  }

  .carousel-img {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    transform: none;
    object-fit: contain;
  }

  .prev,
  .next {
    padding: 0.5rem 0.8rem;
    font-size: 1rem;
  }

  .carousel-dots {
    margin-top: 1rem;
    padding: 0 1rem;
    gap: 0.3rem;
  }

  .dot {
    width: 6px;
    height: 6px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .service-card .btn {
    width: 100%;
    display: block;
    text-align: center;
  }

  .footer .contact {
    display: block;
    padding: 0 0 2rem;
    text-align: center;
  }

  .social-links {
    gap: 1rem;
  }

  .social-link {
    width: 56px;
    height: 56px;
  }

  .social-link svg {
    width: 28px;
    height: 28px;
  }

  .profile-photo {
    width: 150px;
    height: 150px;
  }

  .faq-question {
    padding: 1rem;
  }

  .faq-answer.show {
    padding: 0.75rem 1rem 1rem 1rem;
  }

  .education-info {
    padding: 1.5rem;
    font-size: 1rem;
  }

  .education-info p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }

  .logo {
    font-size: 1.1rem;
  }

  .nav {
    gap: 0.3rem;
  }

  .nav-link {
    font-size: 0.8rem;
    padding: 0.4rem 0.6rem;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-text {
    font-size: 0.9rem;
  }

  .carousel-container {
    max-width: 280px;
    height: 200px;
  }

  .carousel-img {
    width: 100%;
    height: 100%;
  }

  .dot {
    width: 5px;
    height: 5px;
  }

  .service-card {
    padding: 1.25rem;
  }

  .service-title {
    font-size: 1.1rem;
  }

  .profile-photo {
    width: 120px;
    height: 120px;
  }

  .photo-caption {
    font-size: 16px;
    padding: 0.8rem;
  }
}
