/* ============================================
   FONT IMPORTS
   ============================================ */

@import url("https://fonts.googleapis.com/css2?family=Cartesius:wght@400;500;600;700;800;900&display=swap");

/* ============================================
   RESET & BASE STYLES
   ============================================ */

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family:
    "Cartesius", "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #0f172a;
  background-color: #0a0f1f;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-variant: small-caps;
}

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

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 15, 31, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 169, 97, 0.2);
  padding: 1rem 0;
  touch-action: manipulation;
}

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

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

.logo-image {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 3rem;
}

.nav-link {
  color: #e2e8f0;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #fbbf24, #14b8a6);
  transition: width 0.3s ease;
}

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

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

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin-top: 60px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(44, 82, 130, 0.9) 0%,
    rgba(26, 58, 82, 0.95) 100%
  );
  z-index: 2;
}

.hero-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(
      circle at 20% 30%,
      rgba(251, 191, 36, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(20, 184, 166, 0.1) 0%,
      transparent 50%
    );
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 4;
  text-align: center;
  max-width: 900px;
  padding: 0 40px;
}

.hero-text {
  animation: fadeInUp 1s ease-out;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 900;
  color: white;
  margin-bottom: 0.5rem;
  letter-spacing: -1px;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: #fbbf24;
  font-weight: 300;
  margin-bottom: 2rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateX(-100px);
  will-change: transform, opacity;
}

.hero-divider {
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #fbbf24, transparent);
  margin: 2rem auto;
  animation: slideIn 0.8s ease-out 0.2s both;
}

.hero-description {
  font-size: 1.2rem;
  color: #cbd5e1;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.hero-cta {
  display: inline-block;
  padding: 16px 40px;
  background: linear-gradient(135deg, #fbbf24 0%, #14b8a6 100%);
  color: #0a0f1f;
  font-weight: 700;
  border-radius: 0;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  touch-action: manipulation;
  cursor: pointer;
}

.hero-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #14b8a6 0%, #fbbf24 100%);
  transition: left 0.3s ease;
  z-index: -1;
}

.hero-cta:hover::before {
  left: 0;
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(251, 191, 36, 0.3);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  animation: bounce 2s infinite;
}

.scroll-indicator span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid #fbbf24;
  border-radius: 12px;
  position: relative;
}

.scroll-indicator span::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: #fbbf24;
  border-radius: 2px;
  animation: scroll-animation 1.5s infinite;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
  min-height: 100vh;
  padding: 120px 40px;
  background: linear-gradient(180deg, #0a0f1f 0%, #0f172a 50%, #0a0f1f 100%);
  position: relative;
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(
      circle at 10% 50%,
      rgba(20, 184, 166, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 90% 50%,
      rgba(251, 191, 36, 0.05) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.section-header {
  text-align: center;
  margin-bottom: 100px;
  position: relative;
  z-index: 2;
}

.section-header h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: white;
  font-weight: 900;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.header-line {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #fbbf24 0%, #14b8a6 100%);
  margin: 0 auto;
  transform: scaleX(0);
  transform-origin: center;
  animation: expandWidth 0.6s ease-out 0.3s forwards;
}

.services-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.service-item {
  display: flex;
  gap: 60px;
  margin-bottom: 80px;
  align-items: flex-start;
  opacity: 0;
  will-change: transform, opacity;
}

.service-item:nth-child(2) {
  flex-direction: row-reverse;
}

.service-number {
  font-size: 6rem;
  font-weight: 900;
  color: rgba(251, 191, 36, 0.15);
  flex-shrink: 0;
  min-width: 150px;
  text-align: center;
  line-height: 1;
  position: relative;
  z-index: 1;
}

.service-number::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #fbbf24, #14b8a6);
  opacity: 0;
  animation: fadeInWidth 0.8s ease-out 0.4s forwards;
}

.service-content {
  flex: 1;
  padding: 40px;
  border: 1px solid rgba(201, 169, 97, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.service-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    #14b8a6,
    #fbbf24,
    transparent
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-item:hover .service-content {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(251, 191, 36, 0.4);
  transform: translateY(-10px);
}

.service-item:hover .service-content::before {
  opacity: 1;
}

.service-content h3 {
  font-size: 2rem;
  color: white;
  margin-bottom: 15px;
  font-weight: 800;
}

.service-content p {
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
  min-height: 100vh;
  padding: 120px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #0a0f1f 0%, #1a2741 100%);
  position: relative;
}

.about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><pattern id="grid" width="60" height="60" patternUnits="userSpaceOnUse"><path d="M 60 0 L 0 0 0 60" fill="none" stroke="rgba(201,169,97,0.03)" stroke-width="1"/></pattern></defs><rect width="1200" height="800" fill="url(%23grid)"/></svg>');
  pointer-events: none;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards;
}

.about-content h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: white;
  font-weight: 900;
  margin-bottom: 50px;
  text-align: center;
  position: relative;
}

.about-content h2::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #fbbf24 0%, #14b8a6 100%);
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.about-text p {
  font-size: 1.15rem;
  color: #cbd5e1;
  line-height: 1.9;
  text-align: center;
}

.about-text p:first-letter {
  color: #fbbf24;
  font-weight: 700;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
  min-height: 100vh;
  padding: 120px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a2741 0%, #2c5282 100%);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background-image:
    radial-gradient(
      circle at 20% 50%,
      rgba(251, 191, 36, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 50%,
      rgba(20, 184, 166, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.contact-content {
  max-width: 800px;
  text-align: center;
  position: relative;
  z-index: 2;
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards;
}

.contact-content h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: white;
  font-weight: 900;
  margin-bottom: 20px;
}

.contact-content p {
  font-size: 1.3rem;
  color: #e2e8f0;
  margin-bottom: 40px;
}

.contact-cta {
  display: inline-block;
  padding: 18px 50px;
  background: linear-gradient(135deg, #fbbf24 0%, #14b8a6 100%);
  color: #0a0f1f;
  font-weight: 800;
  border-radius: 0;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  touch-action: manipulation;
  cursor: pointer;
}

.contact-cta::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition:
    width 0.6s,
    height 0.6s;
}

.contact-cta:hover::before {
  width: 500px;
  height: 500px;
}

.contact-cta:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(251, 191, 36, 0.4);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: #050810;
  color: #cbd5e1;
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid rgba(201, 169, 97, 0.2);
  position: relative;
  z-index: 2;
}

.footer-content p {
  font-size: 0.95rem;
  margin: 8px 0;
}

.footer-tagline {
  color: #fbbf24;
  font-style: italic;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes expandWidth {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes fadeInWidth {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 40px;
    opacity: 1;
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(10px);
  }
  60% {
    transform: translateX(-50%) translateY(5px);
  }
}

@keyframes scroll-animation {
  0% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) translateY(12px);
    opacity: 0;
  }
}

@keyframes flipInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-150px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes flipInFromRight {
  0% {
    opacity: 0;
    transform: translateX(150px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes flipOutToLeft {
  0% {
    opacity: 1;
    transform: translateX(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-150px);
  }
}

@keyframes flipOutToRight {
  0% {
    opacity: 1;
    transform: translateX(0);
  }
  100% {
    opacity: 0;
    transform: translateX(150px);
  }
}

@keyframes slideInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  0% {
    opacity: 0;
    transform: translateX(100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOutToLeft {
  0% {
    opacity: 1;
    transform: translateX(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-100px);
  }
}

@keyframes slideOutToRight {
  0% {
    opacity: 1;
    transform: translateX(0);
  }
  100% {
    opacity: 0;
    transform: translateX(100px);
  }
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */

[data-scroll] {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

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

  .nav-links {
    gap: 1.2rem;
  }

  .nav-link {
    font-size: 0.85rem;
    font-weight: 600;
  }

  .logo-image {
    height: 45px;
  }

  .hero {
    margin-top: 50px;
    min-height: 80vh;
  }

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

  .hero-subtitle {
    font-size: 1.2rem;
  }

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

  .hero-cta {
    padding: 14px 32px;
    font-size: 0.9rem;
  }

  .scroll-indicator {
    bottom: 25px;
  }

  .services {
    padding: 60px 20px;
    min-height: auto;
  }

  .services-container {
    padding: 0;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .service-item {
    flex-direction: column !important;
    gap: 15px;
    margin-bottom: 50px;
  }

  .service-item:nth-child(2) {
    flex-direction: column;
  }

  .service-number {
    font-size: 2.5rem;
    min-width: auto;
  }

  .service-number::after {
    display: none;
  }

  .service-content {
    padding: 25px;
  }

  .service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }

  .service-content p {
    font-size: 0.95rem;
  }

  .about {
    padding: 60px 20px;
  }

  .about-content h2 {
    font-size: 2rem;
    margin-bottom: 35px;
  }

  .about-content h2::after {
    width: 60px;
  }

  .about-text {
    gap: 20px;
  }

  .about-text p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .contact {
    padding: 60px 20px;
  }

  .contact-content h2 {
    font-size: 2rem;
  }

  .contact-content p {
    font-size: 1rem;
  }

  .contact-cta {
    padding: 14px 32px;
    font-size: 0.95rem;
  }

  .footer {
    padding: 30px 20px;
  }

  .footer-content p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 0.75rem 0;
  }

  .nav-container {
    padding: 0 10px;
  }

  .nav-links {
    gap: 0.8rem;
  }

  .nav-link {
    font-size: 0.75rem;
    font-weight: 600;
  }

  .logo-image {
    height: 35px;
  }

  .hero {
    margin-top: 45px;
    min-height: 85vh;
    padding: 60px 20px;
  }

  .hero-content {
    padding: 0;
  }

  .hero-title {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
  }

  .hero-divider {
    width: 60px;
    margin: 1.5rem auto;
  }

  .hero-description {
    font-size: 0.9rem;
    margin-bottom: 2rem;
  }

  .hero-cta {
    padding: 12px 24px;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
  }

  .scroll-indicator {
    bottom: 20px;
  }

  .scroll-indicator span {
    width: 20px;
    height: 32px;
    border-width: 1.5px;
  }

  .scroll-indicator span::before {
    width: 3px;
    height: 6px;
    top: 6px;
  }

  .services {
    padding: 50px 15px;
  }

  .section-header h2 {
    font-size: 1.6rem;
    margin-bottom: 30px;
  }

  .header-line {
    width: 60px;
    height: 2px;
  }

  .service-item {
    gap: 12px;
    margin-bottom: 40px;
  }

  .service-number {
    font-size: 2rem;
    text-align: left;
    min-width: 50px;
  }

  .service-content {
    padding: 20px;
    border-radius: 6px;
  }

  .service-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }

  .service-content p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .about {
    padding: 50px 15px;
  }

  .about-content h2 {
    font-size: 1.6rem;
    margin-bottom: 30px;
  }

  .about-content h2::after {
    width: 50px;
  }

  .about-text {
    gap: 15px;
  }

  .about-text p {
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: left;
  }

  .contact {
    padding: 50px 15px;
  }

  .contact-content h2 {
    font-size: 1.6rem;
    margin-bottom: 12px;
  }

  .contact-content p {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .contact-cta {
    padding: 12px 24px;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
  }

  .footer {
    padding: 25px 15px;
  }

  .footer-content p {
    font-size: 0.85rem;
  }

  .footer-tagline {
    font-size: 0.8rem;
  }
}
