/* Variables */
:root {
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --purple: #6c63ff;
  --teal: #00c9a7;
  --dark-navy: #2c3e50;
  --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark-navy);
  background-color: var(--white);
  line-height: 1.6;
}

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

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

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

.logo-img {
  height: 40px;
  width: auto;
  transition: opacity 0.3s ease;
}

.logo-img:hover {
  opacity: 0.8;
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
}

.nav-item:not(:last-child) {
  margin-right: 30px;
}

.nav-link {
  text-decoration: none;
  color: var(--dark-navy);
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--purple);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.language-selector {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-option {
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.language-option:hover {
  opacity: 0.8;
}

.language-option.active {
  opacity: 1;
  transform: scale(1.1);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--dark-navy);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #7f8c8d;
}

.cta-button {
  background-color: var(--purple);
  color: var(--white);
  border: none;
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: 500;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(108, 99, 255, 0.4);
}

/* Sections */
section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  color: var(--dark-navy);
}

/* About Section */
.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #7f8c8d;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  border-radius: 10px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--dark-navy);
}

.service-card p {
  color: #7f8c8d;
}

.service-link {
  display: inline-block;
  margin-top: 15px;
  color: var(--purple);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.service-link:hover {
  color: var(--teal);
  transform: translateX(5px);
}

/* Service Detail Page */
.service-detail {
  padding: 150px 0 100px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e7f4 100%);
}

.service-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  font-size: 1.1rem;
  color: #7f8c8d;
  line-height: 1.7;
}

.service-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.feature-card {
  background: var(--white);
  border-radius: 15px;
  padding: 35px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--purple), var(--teal));
}

.feature-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-card h3 {
  font-size: 1.6rem;
  margin-bottom: 25px;
  color: var(--dark-navy);
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.feature-card h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--purple);
  border-radius: 3px;
}

.technologies {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 25px;
  justify-content: center;
}

.feature-list {
  list-style-type: none;
  padding: 0;
}

.feature-list li {
  padding: 12px 0;
  padding-left: 30px;
  position: relative;
  color: #7f8c8d;
  font-size: 1rem;
  border-bottom: 1px dashed #eee;
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 12px;
  width: 22px;
  height: 22px;
  background: rgba(0, 201, 167, 0.15);
  color: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.8rem;
}

.additional-features {
  background: var(--white);
  border-radius: 15px;
  padding: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  margin-top: 30px;
}

.additional-features h3 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: var(--dark-navy);
  position: relative;
  padding-bottom: 20px;
}

.additional-features h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, var(--purple), var(--teal));
  border-radius: 3px;
}

.additional-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.additional-feature-card {
  background: linear-gradient(135deg, var(--light-gray), #eef2f7);
  border-radius: 12px;
  padding: 30px 25px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(108, 99, 255, 0.1);
}

.additional-feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: rgba(108, 99, 255, 0.3);
}

.additional-feature-card h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--dark-navy);
  position: relative;
  padding-bottom: 12px;
}

.additional-feature-card h4:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--purple);
}

.additional-feature-card p {
  color: #7f8c8d;
  font-size: 1rem;
  line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .additional-features {
    padding: 30px 20px;
  }
  
  .additional-features h3 {
    font-size: 1.7rem;
  }
  
  .feature-card {
    padding: 25px 20px;
  }
  
  .feature-card h3 {
    font-size: 1.4rem;
  }
}

/* Contact Section */
.contact {
  background-color: var(--light-gray);
}

.contact-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 30px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--purple), #554de0);
  color: white;
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
}

.contact-email:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(108, 99, 255, 0.4);
  background: linear-gradient(135deg, #554de0, var(--purple));
}

.email-icon {
  margin-right: 10px;
  font-size: 1.5rem;
}

/* Footer */
.footer {
  background-color: var(--dark-navy);
  color: var(--white);
  padding: 50px 0 20px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.social-icons {
  display: flex;
  margin-bottom: 30px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin: 0 10px;
  color: var(--white);
  text-decoration: none;
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-icon:hover {
  background-color: var(--purple);
  transform: translateY(-5px);
}

.copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--dark-navy);
  margin: 3px 0;
  transition: var(--transition);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 20px 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-item {
    margin: 15px 0;
  }

  .nav-item:not(:last-child) {
    margin-right: 0;
  }

  .language-switcher {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(44, 62, 80, 0.1);
  }
  
  section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
}
