:root {
  --primary-color: #1379e4;
  --secondary-color: #022e8d;
  --bg-dark: #070d24;
  --bg-darker: #010114;
  --text-white: #ffffff;
  --font-main: 'Montserrat', sans-serif;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

/* Utility classes */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-white);
  border: none;
}

.btn-primary:hover {
  background-color: #0f62b8;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--text-white);
}

.btn-outline:hover {
  background-color: var(--primary-color);
}

/* Header Styles */
#main-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
}

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

.logo img {
  width: 140px;
  height: auto;
}

.main-nav ul {
  display: flex;
  gap: 32px;
}

.main-nav a {
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  color: var(--text-white);
  transition: color 0.3s;
}

.main-nav a:hover {
  color: var(--primary-color);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

section {
  height: 768px;
  width: 100%;
}

/* Hero Section Styles */
#hero {
  position: relative;
  overflow: hidden;
  background-image: url('assets/hero-image.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin: 0 auto;
}

.hero-container {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-image {
  display: none;
}

.hero-content {
  flex: 1;
  max-width: 50%;
  z-index: 2;
}

.hero-content h1 {
  font-weight: 700;
  font-size: 58px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.hero-content p {
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 85%;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

/* Section Common Styles */
.section-subtitle {
  font-weight: 700;
  font-size: 18px;
  line-height: 20px;
  text-transform: uppercase;
  color: var(--primary-color);
  display: block;
  margin-bottom: 8px;
}

h2 {
  font-weight: 700;
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 24px;
}

/* About Section */
#about {
  padding: 100px 0;
  background-color: var(--bg-dark);
}

.about-container {
  width: 100%;
  display: flex;
  flex-direction: column;
}

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

.about-desc {
  flex: 1;
  max-width: 660px;
}

.about-desc p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 24px;
  color: #d1d5db;
}

.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-image img {
  max-width: 100%;
  height: auto;
}

/* Features Section */
#features {
  padding: 100px 0;
}

.features-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-header {
  text-align: center;
  margin: 0 auto 60px auto;
  max-width: 600px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: 100%;
}

.feature-card {
  background-color: var(--secondary-color);
  border-radius: 24px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  box-shadow: 0px 16px 16px -8px rgba(12, 12, 13, 0.1);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 8px;
}

.feature-card h3 {
  font-weight: 700;
  font-size: 24px;
  line-height: 29px;
}

.feature-card p {
  font-size: 16px;
  line-height: 1.5;
  color: #e5e7eb;
}

/* Services Section */
#services {
  padding: 100px 0;
  margin: 100px 0;
  height: auto;
  background-color: var(--bg-dark);
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 80%;
  margin: 0 auto;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px;
  border-radius: 16px;
  transition: background-color 0.3s;
}

.service-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.service-number {
  width: 74px;
  height: 105px;
  background-color: var(--secondary-color);
  border-radius: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  font-size: 32px;
  color: var(--text-white);
  flex-shrink: 0;
}

.service-content h3 {
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 8px;
}

.service-content p {
  font-size: 16px;
  color: #d1d5db;
}

/* Partners Section */
#partners {
  padding: 100px 0;
  height: auto;
  background-color: var(--bg-darker);
}

.section-description {
  max-width: 600px;
  margin: 0 auto;
  color: #d1d5db;
  font-size: 16px;
  line-height: 1.6;
}

.partners-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 60px;
}

.swiper-button-prev,
.swiper-button-next {
  background: transparent;
  border: none;
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  z-index: 10;
  padding: 0;
  position: static;
  margin: 0;
}

.swiper-button-prev:after,
.swiper-button-next:after {
  content: none;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  opacity: 0.7;
}

.swiper-button-prev:active,
.swiper-button-next:active {
  transform: scale(0.95);
}

.partners-swiper {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.partner-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4px;
  width: 138px;
  height: 138px;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
}

.partner-logo:hover {
  transform: translateY(-4px);
}

.partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  transition: all 0.3s ease;
}

.partner-logo:hover img {
  filter: brightness(1.1);
}

/* Contact Section */
#contact {
  padding: 100px 0;
}

.contact-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
}

.contact-content {
  flex: 1;
  max-width: 600px;
}

.contact-details {
  margin: 24px 0;
  font-size: 16px;
  line-height: 2;
  color: var(--text-white);
}

.contact-details strong {
  color: var(--text-white);
}

.contact-details a {
  text-decoration: underline;
}

.contact-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.contact-image {
  display: flex;
  justify-content: center;
}

.contact-image img {
  max-width: 100%;
  height: auto;
}

/* Footer */
#main-footer {
  background-color: var(--secondary-color);
  text-align: center;
  height: 80px;
  line-height: 80px;
}

#main-footer p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive - Tablet & Mobile (max-width: 1024px) */
@media (max-width: 1024px) {
  /* Typography Scaling */
  h2 {
    font-size: 36px;
    margin-bottom: 20px;
  }

  .hero-content h1 {
    font-size: 48px;
  }

  /* Layout Adjustments */
  section {
    height: auto; /* Allow sections to grow */
    padding: 60px 0;
  }

  #hero {
    height: auto;
    padding: 120px 0 60px 0; /* Account for fixed header */
    background-image: none;
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero-image {
    display: block;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    left: -15%;
  }

  .hero-image img {
    width: 100%;
    height: auto;
  }

  .hero-content {
    max-width: 80%;
    align-items: center;
  }

  .hero-content p {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  /* About Section */
  .about-content {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .about-desc {
    max-width: 100%;
  }

  .about-image {
    display: none;
  }

  /* Contact Section */
  .contact-container {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .contact-content {
    max-width: 100%;
  }

  .contact-image {
    display: none;
  }

  .contact-actions {
    justify-content: center;
  }

  /* Mobile Menu Styles */
  .mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
  }

  .main-nav {
    display: block;
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-darker);
    padding: 80px 20px;
    transition: right 0.3s ease;
    z-index: 999;
    overflow-y: auto;
  }

  .main-nav.active {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .main-nav a {
    font-size: 20px;
  }

}

/* Responsive - Mobile (max-width: 768px) */
@media (max-width: 768px) {
  /* Typography Scaling */
  h2 {
    font-size: 28px;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .section-subtitle {
    font-size: 16px;
  }

  /* Spacing */
  section {
    padding: 40px 0;
  }

  #hero {
    padding: 100px 0 40px 0;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
  }

  /* Services */
  .services-list {
    max-width: 100%;
  }

  .service-item {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .service-number {
    width: 60px;
    height: 60px;
    font-size: 24px;
    border-radius: 16px;
  }

  /* Partners */
  .partners-carousel-wrapper {
    gap: 8px;
    margin-top: 30px;
  }

  .swiper-button-prev,
  .swiper-button-next {
    width: 32px;
    height: 32px;
  }

  .swiper-button-prev svg,
  .swiper-button-next svg {
    width: 24px;
    height: 24px;
  }

  .partner-logo {
    width: 100px;
    height: 100px;
  }


  /* Footer */
  #main-footer {
    height: auto;
    min-height: 80px;
    line-height: 1.5;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }
}

/* Desktop Styles for Mobile Button */
.mobile-menu-btn {
  display: none;
}
