/* GeoNex Modern Web Site */
/* Design: Contemporary + Digital Background Effects */
/* Color Scheme: Navy Blues (#0052CC, #003399, #001F4D) + Accents */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Playfair+Display:wght@700;800;900&display=swap');

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #1a1a2e;
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a3e 50%, #0f1f3f 100%);
  background-attachment: fixed;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Digital Background Pattern - Full Screen */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(0, 82, 204, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 51, 153, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 50% 0%, rgba(0, 212, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #ffffff;
}

h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  letter-spacing: -1px;
}

h2 {
  font-size: 2.5rem;
  line-height: 1.3;
}

h3 {
  font-size: 1.5rem;
  color: #ffffff;
}

p {
  color: #e0e0e0;
  font-size: 1rem;
  line-height: 1.8;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: linear-gradient(180deg, rgba(15, 15, 35, 0.95) 0%, rgba(15, 15, 35, 0.8) 100%);
  backdrop-filter: blur(20px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 82, 204, 0.2);
  padding: 1rem 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-menu a {
  text-decoration: none;
  color: #e0e0e0;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #0052CC, #00d4ff);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #00d4ff;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #ffffff;
}

/* Hero Section */
.hero {
  padding-top: 140px;
  padding-bottom: 100px;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s infinite ease-in-out;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 82, 204, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 25s infinite ease-in-out reverse;
  z-index: 0;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(30px); }
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #00d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(0, 82, 204, 0.3), rgba(0, 212, 255, 0.2));
  color: #00d4ff;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  border: 1px solid rgba(0, 212, 255, 0.3);
}

.hero-text {
  font-size: 1.1rem;
  color: #c0c0e0;
  margin-bottom: 2rem;
  line-height: 1.9;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.btn {
  padding: 0.9rem 2.5rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: left 0.4s ease;
  z-index: -1;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #0052CC 0%, #0066FF 100%);
  color: white;
  box-shadow: 0 10px 30px rgba(0, 82, 204, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 82, 204, 0.5);
}

.btn-secondary {
  background: transparent;
  color: #00d4ff;
  border: 2px solid #00d4ff;
}

.btn-secondary:hover {
  background: rgba(0, 212, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.hero-image {
  position: relative;
  height: 450px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 82, 204, 0.2), rgba(0, 212, 255, 0.1));
  border: 2px solid rgba(0, 212, 255, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-image:hover img {
  transform: scale(1.05);
}

/* Services Section */
.services {
  padding: 6rem 2rem;
  background: transparent;
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3), transparent);
}

.services-container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-block;
  color: #00d4ff;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 1rem;
  padding: 0.5rem 1rem;
  background: rgba(0, 212, 255, 0.1);
  border-radius: 50px;
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #a0a0c0;
  max-width: 700px;
  margin: 0 auto;
}

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

.service-card {
  background: linear-gradient(135deg, rgba(0, 82, 204, 0.15) 0%, rgba(0, 52, 153, 0.1) 100%);
  padding: 2.5rem;
  border-radius: 15px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
  transition: left 0.6s ease;
  z-index: 0;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: 0 20px 60px rgba(0, 82, 204, 0.3);
}

.service-number {
  font-size: 2.5rem;
  color: #0052CC;
  font-weight: 800;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #ffffff;
  position: relative;
  z-index: 1;
}

.service-card p {
  color: #b0b0d0;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.service-link {
  display: inline-block;
  margin-top: 1rem;
  color: #00d4ff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

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

/* Features Section */
.features {
  padding: 6rem 2rem;
  background: transparent;
}

.features-container {
  max-width: 1400px;
  margin: 0 auto;
}

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

.feature-item {
  text-align: center;
  padding: 2rem;
  border-radius: 15px;
  background: rgba(0, 82, 204, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.15);
  transition: all 0.4s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 212, 255, 0.3);
  background: rgba(0, 82, 204, 0.15);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #0052CC, #0066FF);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  box-shadow: 0 10px 30px rgba(0, 82, 204, 0.3);
}

.feature-item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: #ffffff;
}

.feature-item p {
  color: #a0a0c0;
  font-size: 0.95rem;
}

/* About Section */
.about {
  padding: 6rem 2rem;
  background: transparent;
}

.about-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(0, 212, 255, 0.2);
  height: 450px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-content p {
  margin-bottom: 1.5rem;
  color: #b0b0d0;
  line-height: 1.9;
}

/* Contact Section */
.contact {
  padding: 6rem 2rem;
  background: transparent;
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.contact-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.contact-container h2 {
  margin-bottom: 1rem;
}

.contact-description {
  font-size: 1.1rem;
  color: #c0c0e0;
  margin-bottom: 3rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-item {
  background: linear-gradient(135deg, rgba(0, 82, 204, 0.2), rgba(0, 212, 255, 0.1));
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  transition: all 0.4s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 212, 255, 0.4);
  background: linear-gradient(135deg, rgba(0, 82, 204, 0.3), rgba(0, 212, 255, 0.2));
}

.contact-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-item h3 {
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: #a0a0c0;
}

.contact-item a {
  color: #00d4ff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Footer */
footer {
  background: linear-gradient(180deg, rgba(15, 15, 35, 0.9) 0%, rgba(0, 0, 0, 0.95) 100%);
  color: #e0e0e0;
  padding: 3rem 2rem;
  border-top: 1px solid rgba(0, 212, 255, 0.2);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.footer-section p,
.footer-section a {
  color: #a0a0c0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #00d4ff;
}

.footer-copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 212, 255, 0.1);
  color: #707090;
  font-size: 0.9rem;
}

/* Service Detail Pages */
.service-detail {
  padding-top: 140px;
  padding-bottom: 60px;
  background: transparent;
  min-height: 100vh;
}

.service-detail-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.service-detail h1 {
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #ffffff 0%, #00d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.service-detail-main {
  background: linear-gradient(135deg, rgba(0, 82, 204, 0.15) 0%, rgba(0, 52, 153, 0.1) 100%);
  padding: 2.5rem;
  border-radius: 15px;
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.service-detail-main h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.service-detail-main h3 {
  font-size: 1.3rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #00d4ff;
}

.service-detail-main p {
  margin-bottom: 1rem;
  color: #b0b0d0;
  line-height: 1.9;
}

.service-detail-main ul {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.service-detail-main li {
  color: #b0b0d0;
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

.service-detail-sidebar {
  background: linear-gradient(135deg, rgba(0, 82, 204, 0.15) 0%, rgba(0, 52, 153, 0.1) 100%);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.service-detail-sidebar h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: #00d4ff;
}

.service-detail-sidebar a {
  display: block;
  margin-bottom: 1rem;
  color: #a0a0c0;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 5px;
}

.service-detail-sidebar a:hover {
  color: #ffffff;
  background: rgba(0, 212, 255, 0.1);
  padding-left: 1rem;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  color: #00d4ff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.back-button:hover {
  color: #ffffff;
  transform: translateX(-5px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-image {
    height: 300px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

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

  .about-container {
    grid-template-columns: 1fr;
  }

  .about-image {
    height: 300px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-detail-content {
    grid-template-columns: 1fr;
  }

  .service-detail-sidebar {
    position: static;
  }

  .nav-container {
    padding: 0 1rem;
  }

  .hero,
  .services,
  .features,
  .about,
  .contact,
  .service-detail {
    padding: 3rem 1rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

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

.service-card,
.feature-item,
.contact-item {
  animation: fadeInUp 0.6s ease-out;
}
