/* ===== Global CSS Variables ===== */
:root {
  --bg-dark: #222222;
  --bg-darker: #1C1C1C;
  --bg-card: #2D2D2D;
  --bg-light-card: #E4E5FC;
  --text-main: #FFFFFF;
  --text-muted: #D1D5DB;
  --text-dark: #111827;
  --accent-color: #4F46E5;
  --accent-hover: #4338CA;
  --accent-light: #525CEB;

  --font-family: 'Inter', system-ui, -apple-system, sans-serif;

  --transition: all 0.3s ease;
  --border-radius: 8px;
  --border-radius-lg: 12px;
}

/* ===== Resets and Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--text-main);
  line-height: 1.6;
  background-color: var(--bg-dark);
}

img {
  max-width: 100%;
  border-radius: var(--border-radius);
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

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

/* Typography Headers */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}

.subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 800px;
  margin-bottom: 48px;
}

.text-body {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Section Colors */
.section-dark {
  background-color: var(--bg-dark);
  padding: 80px 0;
}

.section-darker {
  background-color: var(--bg-darker);
  padding: 80px 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn-primary {
  background-color: var(--accent-light);
  color: #fff;
  border: 1px solid var(--accent-light);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-dark);
  border: 1px solid var(--accent-light);
  color: var(--accent-light);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--accent-light);
}

/* Badges */
.badge {
  display: inline-block;
  padding: 6px 12px;
  background-color: rgba(26, 26, 46, 0.7);
  color: var(--text-main);
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 4px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== Navbar ===== */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 0;
  z-index: 100;
  background: transparent;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: var(--text-dark);
  font-weight: 500;
}

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

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  /* Space for navbar */
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/hero_bg.png');
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0.4) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  color: var(--text-dark);
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 32px;
  color: #374151;
}

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

.hero .btn-outline {
  background-color: #fff;
  color: var(--accent-light);
  border-color: #E2E8F0;
}

.hero .btn-outline:hover {
  border-color: var(--accent-light);
}

/* ===== About Section ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.img-portrait {
  width: 100%;
  border-radius: var(--border-radius-lg);
  border: 12px solid #FDE047;
  /* Yellow border from design */
}

.about-text h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.about-text p {
  margin-bottom: 32px;
}

.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.card-dark {
  background-color: var(--bg-card);
  padding: 24px;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--accent-color);
}

.card-dark h4 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.card-dark p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ===== Services Section ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.service-item h3 {
  font-size: 1.25rem;
  margin: 20px 0 16px;
}

.service-item ul {
  color: var(--text-muted);
}

.service-item ul li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.service-item ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--text-main);
  font-weight: bold;
}

.service-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--border-radius);
}

/* ===== Pricing Section ===== */
.pricing-grid-main {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.pricing-grid-secondary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.price-card {
  padding: 32px;
  border-radius: var(--border-radius-lg);
  transition: var(--transition);
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.light-card {
  background-color: var(--bg-light-card);
  color: var(--text-dark);
}

.outline-card {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.price-card h3 {
  font-size: 1.25rem;
  margin-bottom: 24px;
}

.starting-at {
  font-size: 0.9rem;
  color: #4B5563;
  margin-bottom: 4px;
}

.price {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.light-card .desc {
  color: #374151;
  font-size: 0.95rem;
}

.outline-card h3 {
  margin-bottom: 12px;
}

.price-small {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-muted);
}

.price-small span {
  font-size: 1.75rem;
  color: var(--text-main);
}

.text-accent {
  color: #FDE047 !important;
  /* Yellow for free */
  font-size: 1.75rem !important;
}

.outline-card .desc {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== Why Choose Us ===== */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 48px;
}

.feature-item {
  display: flex;
  gap: 24px;
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-text h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.feature-text p {
  color: var(--text-muted);
}

.footer {
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== Testimonials Section ===== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.testimonial-card {
  padding: 32px;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius);
  position: relative;
}

.testimonial-card::before {
  content: '“';
  position: absolute;
  top: -30px;
  left: 20px;
  font-size: 60px;
  color: var(--accent-light);
  line-height: 1;
  background-color: var(--bg-dark);
  padding: 0 10px;
}

.testimonial-card::after {
  content: '”';
  position: absolute;
  bottom: -46px;
  right: 20px;
  font-size: 60px;
  color: var(--accent-light);
  line-height: 1;
  background-color: var(--bg-dark);
  padding: 0 10px;
}

.quote {
  font-size: 1.05rem;
  margin-bottom: 24px;
  color: var(--text-main);
}

.author {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.author-title {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-number {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1;
}

.stat-item h4 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.stat-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== Contact Section ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 40px;
}

.mb-4 {
  margin-bottom: 32px;
}

.contact-methods {
  margin-bottom: 40px;
}

.method-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  border-left: 4px solid var(--accent-light);
  padding-left: 16px;
}

.method-icon {
  font-size: 1.5rem;
}

.method-text h4 {
  font-size: 1.125rem;
  margin-bottom: 4px;
}

.method-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

/* Form */
.contact-form-wrapper {
  background-color: #FDE047;
  color: var(--text-dark);
  padding: 40px;
  border-radius: var(--border-radius-lg);
}

.contact-form-wrapper h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

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

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: none;
  background-color: transparent;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  font-family: inherit;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-bottom: 2px solid var(--text-dark);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(17, 24, 39, 0.6);
}

.submit-btn {
  width: 100%;
  margin-top: 16px;
  border: none;
  font-size: 1rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.5rem;
  }

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

  .pricing-grid-main {
    grid-template-columns: 1fr;
  }

  .pricing-grid-secondary {
    grid-template-columns: 1fr;
  }

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

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
  }

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

@media (max-width: 768px) {
  .hero-buttons {
    flex-direction: column;
  }

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

  .mission-vision {
    grid-template-columns: 1fr;
  }

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

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

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

  .navbar .nav-right {
    display: none;
  }
}