@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Poppins:wght@400;500;600;700&family=Open+Sans:wght@400;600&family=Roboto:wght@400;500&display=swap");

:root {
  --primary-dark: #0a192f;
  --primary-blue: #0077b6;
  --primary-blue-deep: #003566;
  --accent-cyan: #00a8e8;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --text-dark: #333333;
  --text-white: #ffffff;
  --text-muted: #6c757d;
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --shadow-premium: 0 10px 40px rgba(0, 0, 0, 0.1);
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", "Roboto", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--bg-light);
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: "Montserrat", "Poppins", sans-serif;
  font-weight: 700;
}

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

/* Header & Nav */
header {
  background: rgba(10, 25, 47, 0.9);
  backdrop-filter: blur(15px);
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--glass-border);
}

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

.logo img {
  height: 45px;
  display: block;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
  align-items: center;
}

.nav-links a {
  color: var(--text-white);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  opacity: 0.8;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--accent-cyan);
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--text-white);
  cursor: pointer;
  z-index: 1001;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-blue-deep) 0%,
    var(--primary-blue) 100%
  );
  color: var(--text-white);
  box-shadow: 0 8px 25px rgba(0, 53, 102, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 53, 102, 0.5);
}

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

.btn-secondary:hover {
  background: var(--text-white);
  color: var(--primary-dark);
}

.btn-whatsapp {
  background: #25d366;
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Hero Section */
.hero {
  background:
    radial-gradient(circle at top right, var(--primary-blue-deep), transparent),
    radial-gradient(circle at bottom left, var(--primary-blue), transparent),
    var(--primary-dark);
  color: var(--text-white);
  padding: 180px 0 120px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(to right, #fff, #bbb);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: var(--glass-bg);
  border-radius: 50px;
  border: 1px solid var(--glass-border);
  margin-bottom: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-image img {
  width: 100%;
  border-radius: 30px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

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

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

.section-header h2 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  color: var(--primary-dark);
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.benefit-card {
  background: var(--bg-white);
  padding: 50px 40px;
  border-radius: 24px;
  text-align: center;
  box-shadow: var(--shadow-premium);
  transition: var(--transition);
  border: 1px solid transparent;
}

.benefit-card:hover {
  transform: translateY(-15px);
  border-color: var(--accent-cyan);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  background: rgba(0, 168, 232, 0.1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  font-size: 2.5rem;
  color: var(--primary-blue);
}

/* Simulator */
.simulator-container {
  background: var(--primary-dark);
  padding: 80px 60px;
  border-radius: 40px;
  color: var(--text-white);
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
}

.simulator-box {
  text-align: center;
}

.input-group {
  margin: 40px 0;
}

.amount-display {
  font-size: 4rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 20px;
}

input[type="range"] {
  width: 100%;
  height: 8px;
  background: var(--glass-border);
  border-radius: 5px;
  appearance: none;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 25px;
  height: 25px;
  background: var(--text-white);
  border: 4px solid var(--accent-cyan);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(0, 168, 232, 0.5);
}

/* Requirements */
.req-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  padding: 20px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.req-item i {
  color: var(--primary-blue);
  font-size: 1.4rem;
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.process-step {
  position: relative;
}

.step-num {
  width: 60px;
  height: 60px;
  background: var(--primary-blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 25px;
}

/* Contact Form */
.contact-form {
  background: white;
  padding: 60px;
  border-radius: 30px;
  box-shadow: var(--shadow-premium);
}

.form-group {
  margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 18px 25px;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 10px rgba(0, 119, 182, 0.1);
}

/* Footer */
footer {
  background: var(--primary-dark);
  color: var(--text-white);
  padding: 100px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 80px;
  margin-bottom: 60px;
}

.footer-logo img {
  height: 50px;
  margin-bottom: 25px;
}

@media (max-width: 992px) {
  .hero-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-content {
    text-align: center;
  }
  .hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
  }
  .hero-content p {
    margin: 0 auto 40px;
  }
  .hero-btns {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .hero-btns .btn {
    margin: 0 !important;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }

  /* Mobile Nav Improvements */
  .mobile-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--primary-dark);
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    padding: 60px;
    transition: 0.5s ease-in-out;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }

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

  .nav-links a {
    font-size: 1.5rem;
  }

  /* Simulator Mobile Fixes */
  .simulator-container {
    padding: 40px 20px;
  }
  .amount-display {
    font-size: 3rem;
  }

  /* Sections Padding */
  section {
    padding: 60px 0;
  }
  .section-header {
    margin-bottom: 40px;
  }
  .section-header h2 {
    font-size: 2.2rem;
  }

  /* Contact Form Spacing */
  .contact-form {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .amount-display {
    font-size: 2.5rem;
  }
  .testi-content {
    font-size: 1.1rem;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fade-in {
  animation: fadeIn 1s ease-out forwards;
}
.animate-fade-up {
  animation: fadeInUp 1s ease-out forwards;
}
.animate-slide-left {
  animation: slideInLeft 1s ease-out forwards;
}
.animate-slide-right {
  animation: slideInRight 1s ease-out forwards;
}

.reveal {
  opacity: 0;
  transition: all 1s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0) !important;
  transform: translateX(0) !important;
}

/* Testimonials Carousel */
.testimonials-section {
  overflow: hidden;
  position: relative;
  padding: 100px 0;
}

.carousel-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.testimonials-carousel {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.testimonial-card {
  flex: 0 0 100%;
  background: white;
  padding: 50px;
  border-radius: 30px;
  box-shadow: var(--shadow-premium);
  position: relative;
  transition: var(--transition);
  margin-right: 30px; /* Gap between cards if needed, but flex handles visible area */
}

.testimonial-card:last-child {
  margin-right: 0;
}

.testimonial-card i.fa-quote-left {
  font-size: 3rem;
  color: var(--primary-blue);
  opacity: 0.1;
  position: absolute;
  top: 40px;
  left: 40px;
}

.testi-content {
  position: relative;
  z-index: 1;
  margin-bottom: 40px;
  font-style: italic;
  color: var(--text-dark);
  font-size: 1.3rem;
  line-height: 1.8;
}

.testi-user {
  display: flex;
  align-items: center;
  gap: 20px;
}

.testi-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent-cyan);
}

.testi-info h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--primary-dark);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.dot {
  width: 12px;
  height: 12px;
  background: var(--glass-border);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--primary-blue);
  width: 30px;
  border-radius: 10px;
}
