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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  transition: all .3s ease;
}

body.light {
  background: #fafafa;
  background-attachment: fixed;
  color: #28303e;
}

body.light p {
  color: #282c34;
}

body.dark {
  background: #0a0e1a;
  background-attachment: fixed;
  color: #e2e8f0;
}

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

nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all .3s ease;
}

body.light nav {
  background: #f0f4f8;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
}

body.dark nav {
  background: #1a202c;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .3);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, #3b82f6, #a855f7);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  cursor: pointer;
}

.logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
  font-size: 20px;
}

.nav-links a {
  text-decoration: none;
  color: inherit;
  transition: color .3s, background .3s;
}

.nav-links a:hover {
  color: #3b82f6;
}

.nav-buttons {
  display: flex;
  gap: 10px;
}

.hamburger {
  display: none;
}

.nav-links.show {
  transform: translateX(0);
  opacity: 1;
  display: flex;
}

.menu-header {
  display: none;
}

.close-btn {
  background: rgba(255, 255, 255, .1);
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  display: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s;
}

.close-btn:hover {
  background: rgba(255, 255, 255, .2);
}

body.light .close-btn {
  color: #28303e;
  background: rgba(0, 0, 0, .1);
}

body.light .close-btn:hover {
  background: rgba(0, 0, 0, .2);
}

@media (max-width: 768px) {
  .nav-links.show .close-btn {
    display: flex;
  }
}

.icon-btn {
  background: 0 0;
  border: 2px solid #3b82f6;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all .3s;
  color: inherit;
  font-size: 14px;
}

.icon-btn:hover {
  background: #3b82f6;
  color: #fff;
}

.icon-btn:active {
  background: #3b82f6;
  color: #fff;
}

@media (hover: none) {
  .icon-btn:hover {
    background: 0 0;
    color: inherit;
  }
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: center calc(50% + 70px) / cover no-repeat;
  z-index: -1;
  transition: opacity 2s ease;
}

.hero.fade-image::before {
  opacity: 0.6;
}

body.dark .hero::before {
  background-image: url('../assets/hero_black_bg.jpg');
  filter: brightness(.3) contrast(1);
}

body.light .hero::before {
  background-image: url('../assets/hero_white_bg.jpg');
  filter: brightness(.3) contrast(1);
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -2;
}

body.light .hero {
  background: linear-gradient(rgba(255, 255, 255, .1), rgba(255, 255, 255, .1));
}

body.light .hero-title {
  color: #fff;
}

body.light .hero-desc {
  color: #fff;
}

body.light .cta-secondary {
  color: #fff;
  border-color: #fff;
}

body.light .cta-secondary:hover {
  background: #fff;
  color: #251c3c;
}

body.light .stat-subtitle-1,
body.light .stat-subtitle-2,
body.light .stat-subtitle-3,
body.light .stat-title-1,
body.light .stat-title-2,
body.light .stat-title-3 {
  color: #fff;
}

body.dark .hero::after {
  background: linear-gradient(rgba(10, 14, 26, .1), rgba(10, 14, 26, .1));
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 100px;
  padding-bottom: 50px;
  align-items: center;
  justify-items: center;
}

.hero-text {
  text-align: center;
}

.hero-text h1 {
  font-size: 56px;
  line-height: 1.2;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, #3b82f6, #a855f7);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text p {
  font-size: 20px;
  margin-bottom: 32px;
  opacity: .8;
}

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

.btn-primary {
  background: linear-gradient(135deg, #3b82f6, #a855f7);
  color: #fff;
  padding: 16px 32px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .3s, box-shadow .3s;
  min-width: 160px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, .3);
}

.btn-secondary {
  background: 0 0;
  color: inherit;
  padding: 16px 32px;
  border: 2px solid white;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all .3s;
  min-width: 160px;
}

.btn-secondary:hover {
  background: #3b82f6;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, .3);
}

.services {
  padding: 80px 0;
}

body.light .services {
  background: #f7fafc, radial-gradient(ellipse at center, rgba(59, 130, 246, .1) 0, transparent 70%);
}

body.dark .services {
  background: #1a202c, radial-gradient(ellipse at center, rgba(59, 130, 246, .1) 0, transparent 70%);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 48px;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 20px;
  opacity: .9;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  padding: 40px;
  border-radius: 16px;
  transition: all .3s;
  min-height: 320px;
}

body.light .service-card {
  background: #f7fafc;
  border: 1px solid #cbd5e0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
}

body.dark .service-card {
  background: #1a202c;
  border: 1px solid #2d3748;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(59, 130, 246, .2);
}

.service-icon {
  font-size: 48px;
  background: linear-gradient(135deg, #3b82f6, #a855f7);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.service-card p {
  opacity: .9;
  line-height: 1.6;
}

.stats-grid {
  padding-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  justify-content: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  height: 130px;
  width: 220px;
}

.stat-item p {
  text-align: center;
  font-size: 18px;
  opacity: .9;
  margin: 0;
  min-height: 60px;
}

.stat-title-1,
.stat-title-2,
.stat-title-3 {
  font-weight: 700;
  font-size: 20px;
}

.stat-subtitle-1,
.stat-subtitle-2,
.stat-subtitle-3 {
  font-size: 16px;
}

.stat-card {
  text-align: center;
  padding: 10px;
  border-radius: 16px;
  transition: transform .3s;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.light .stat-card {
  background: #f7fafc00;
  border: 1px solid #e2e8f0;
}

body.dark .stat-card {
  background: #1a202c;
  border: 1px solid #2d3748;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(59, 130, 246, .5);
}

.stat-icon {
  width: 40px;
  height: 40px;
  display: block;
  margin: 0 auto;
  filter: invert(39%) sepia(93%) saturate(1473%) hue-rotate(207deg) brightness(101%) contrast(97%);
  opacity: .8;
  transition: opacity .3s;
}

.stat-card:hover .stat-icon {
  opacity: 1;
}

.cta {
  padding: 80px 0;
}

.cta-box {
  background: linear-gradient(135deg, #251c3c, #352244);
  padding: 60px;
  border-radius: 24px;
  text-align: center;
  color: #fff;
}

body.light .cta-box {
  background: #613c8e;
  color: #fff;
  border: 1px solid #b3d9ff;
}

body.light .cta-desc {
  color: #fff;
}

body.light .cta-title {
  color: #fff;
}

.cta-box h2 {
  font-size: 40px;
  margin-bottom: 16px;
}

.cta-box p {
  font-size: 20px;
  margin-bottom: 32px;
  opacity: .9;
}

.cta-btn {
  background: linear-gradient(135deg, #3b82f6, #a855f7);
  color: #fff;
  padding: 16px 40px;
  border: none;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .3s;
  text-decoration: none;
  display: inline-block;
}

.cta-btn:hover {
  transform: scale(1.05);
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(59, 130, 246, .3);
}

footer {
  padding: 60px 0 30px;
  border-top: 1px solid;
}

body.light footer {
  background: #f0f4f8;
  border-color: #94c2ff;
}

body.dark footer {
  background: #1a202c;
  border-color: #2d3748;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px;
  margin-bottom: 40px;
  justify-items: center;
}

.footer-col {
  text-align: center;
}

.footer-col .logo {
  justify-content: center;
}

.footer-col h4 {
  margin-bottom: 16px;
  font-size: 24px;
  background: linear-gradient(135deg, #3b82f6, #a855f7);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
  opacity: .9;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid;
  opacity: .9;
}

body.light .footer-bottom {
  border-color: #94c2ff;
}

body.dark .footer-bottom {
  border-color: #2d3748;
}

@media (max-width: 768px) {
  .hero {
    padding-top: 120px;
  }

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

  .footer-grid,
  .services-grid,
  .stats-grid {
    grid-template-columns: repeat(1, 1fr);
  }

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

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 100vh;
    background: rgba(0, 0, 0, .1);
    backdrop-filter: blur(30px);
    box-shadow: -5px 0 20px rgba(0, 0, 0, .5);
    flex-direction: column;
    padding: 20px;
    transform: translateX(100%);
    transition: transform .3s ease, opacity .3s ease;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    border-radius: 20px 0 0 20px;
  }

  .nav-links.show {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .menu-header {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
  }

  .menu-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6, #a855f7);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  body.light .nav-links {
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(20px);
    box-shadow: -5px 0 16px rgba(0, 0, 0, .2);
  }

  .nav-links a {
    border-radius: 10px;
    width: 100%;
    text-align: center;
    transition: transform .1s ease, box-shadow .1s ease;
  }

  .nav-links a:active {
    transform: translateY(2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
  }

  .nav-links a::after {
    content: ">";
    color: #193a6f;
    margin-left: 25px;
  }

  .nav-links a:hover {
    background: rgba(59, 130, 246, .1);
  }

  .hamburger {
    display: block;
  }
}

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

  .nav-links {
    width: 45vw;
  }
}

@media (max-width: 375px) {
  .container {
    padding: 0 5px;
    margin: 0 auto;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  .service-card {
    padding: 20px;
  }

  .stat-card {
    padding: 20px 10px;
  }

  .cta-box {
    padding: 40px 20px;
  }

  .section-header h2 {
    font-size: 36px;
  }

  .section-header p {
    font-size: 18px;
  }

  .nav-links {
    width: 45vw;
  }

  .menu-logo {
    font-size: 16px;
  }
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #3b82f6, #a855f7);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  transition: all 0.3s ease;
  z-index: 1000;
  text-decoration: none;
}

.whatsapp-float:hover {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.whatsapp-float.hidden {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 24px;
    bottom: 15px;
    right: 15px;
  }
}
