:root {
  --primary-color: #4361ee;
  --secondary-color: #7209b7;
  --bg-light: #f8f9fa;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--bg-light);
  color: #333;
  overflow-x: hidden;
}

/* Anti-Flat: Navbar Glassmorphism */
.navbar {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
}

.navbar-nav .nav-link.active {
  color: var(--primary-color) !important;
  font-weight: 600;
  border-bottom: 2px solid var(--primary-color);
}

/* PERFECT ANCHOR SCROLL FOR FIXED NAVBAR */
section,
header {
  scroll-margin-top: 5px; /* Ito ang "magic" offset para hindi matakpan ng navbar */
}

.about-section,
.plans-section,
.services-section {
  padding: 90px 0;
}

/* Hero Section Styling */
/* HERO FULLSCREEN */
.home-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 15vh;
  padding-bottom: 5vh;
  background: radial-gradient(
    circle at top right,
    rgba(67, 97, 238, 0.05),
    transparent
  );
}

/* Responsive Hero Text */
.hero-title {
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

/* Desktop */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

/* Laptop */
@media (max-width: 1199px) {
  .hero-title {
    font-size: 3rem;
  }
}

/* Tablet */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.3rem;
    text-align: center;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
}

.hero-title {
  font-weight: 800;
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-subtext {
  max-width: 500px;
}

@media (max-width: 768px) {
  .hero-subtext {
    margin: auto;
    text-align: center;
  }
}

.text-gradient {
  background: linear-gradient(
    45deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  background-clip: text;
}

/* Visual Card Design (The "Depth" Solution) */
.visual-container {
  position: relative;
  z-index: 1;
}

.main-card {
  background: #1e293b;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.5s ease;
}

.main-card:hover {
  transform: perspective(1000px) rotateY(0deg);
}

/* Floating elements for extra depth */
.floating-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: white;
  padding: 15px 25px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  animation: float 4s ease-in-out infinite;
  z-index: 2;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@media (max-width: 992px) {
  .floating-badge {
    display: none;
  }
}

.icon-box {
  width: 60px;
  height: 60px;
  background: rgba(67, 97, 238, 0.1);
  color: var(--primary-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.btn-primary {
  background-color: var(--primary-color);
  border: none;
  padding: 12px 30px;
  border-radius: 10px;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(67, 97, 238, 0.2);
}

/* About Styles */
.about-section {
  min-height: 100vh;
  padding-bottom: 20vh;
}

/* plans Styles*/

.plans-section {
  min-height: 100vh;
  padding-bottom: 20vh;
}

/* Custom Font Weights and Utilities */
.fw-800 {
  font-weight: 800;
}

/* Buong background ng section ay gradient */
.section-plans-gradient {
  /* Mula sa puti sa taas, papunta sa light blue sa baba */
  background: linear-gradient(180deg, #ffffff 0%, #e0e9ff 50%, #ffffff 100%);
  position: relative;
}

/* Siguraduhin na ang card ay solid white para "umangat" sa gradient bg */
.plan-card {
  background: #ffffff !important;
  border: none;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(67, 97, 238, 0.08);
}

/* Gradient Accent on the Left */
.plan-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, #4361ee, #4cc9f0);
}

/* Hover Effect */
.plan-card:hover {
  transform: translateY(-5px);
  border-color: #4361ee !important;
  box-shadow: 0 12px 25px rgba(67, 97, 238, 0.12) !important;
}

/* Currency Styling */
.currency-symbol {
  font-size: 1rem;
  font-weight: 500;
  margin-right: 2px;
  margin-top: 6px; /* Para bahagyang naka-angat */
}

.price-amount {
  font-size: 2.5rem; /* Display-6 equivalent */
  letter-spacing: -1.5px;
}

/* services Styles */

.services-section {
  min-height: 100vh;
  padding-bottom: 20vh;
}

/* Services Section Styles */
.service-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #f0f0f0;
  transition: all 0.3s ease;
  height: 100%; /* Sinisiguradong pantay ang height ng row */
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(67, 97, 238, 0.1) !important;
  border-color: #4361ee;
}

/* Fixed Image Container */
.service-img-wrapper {
  height: 200px; /* Fix height para sa picture */
  overflow: hidden;
}

.service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Para hindi ma-stretch ang image */
}

/* Fixed Body Content */
.service-body {
  padding: 25px;
  flex-grow: 1; /* Kinukuha ang natitirang space */
  display: flex;
  flex-direction: column;
}

.service-description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #6c757d;
  /* Limit description height if needed */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Footer Styles */
/* Footer Base */
.main-footer {
  background-color: #0f172a;
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 40px;
  font-family: "Inter", sans-serif;
}

/* Typography */
.footer-heading {
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  margin-bottom: 25px;
}

/* Contact List */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-icon {
  width: 35px;
  height: 35px;
  background: rgba(67, 97, 238, 0.1);
  color: #4361ee;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Social Media Left Aligned */
.social-group {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-link {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.2rem;
  transition: 0.3s;
}

.social-link:hover {
  color: #4361ee;
  transform: translateY(-3px);
}

/* Coverage List */
.coverage-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50px;
  font-size: 0.75rem;
  margin-bottom: 8px;
  margin-right: 5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Prevent horizontal scroll globally */
html,
body {
  overflow-x: hidden;
}

/* Images always responsive */
img {
  max-width: 100%;
  height: auto;
}

/* I-force ang scrollbar para hindi gumalaw ang layout */
html {
  overflow-y: scroll !important;
}

/* Pigilan ang Bootstrap sa pag-add ng extra padding sa body */
body.modal-open {
  padding-right: 0 !important;
}

/* Pigilan ang paggalaw ng fixed navbar */
.fixed-top,
.sticky-top {
  padding-right: 0 !important;
}

/* Siguraduhin na hindi gagalaw ang mismong navbar-brand o links */
.navbar {
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
}

.service-img-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1; /* Gagawin nitong perfect square ang container */
  overflow: hidden; /* Para hindi lumampas ang image sa box */
}

.service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ito ang "magic" – hindi mapi-pikit ang image */
  object-position: center;
}

.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 8px; /* Optional: para may kanto na swabe */
  overflow: hidden;
}

.service-body {
  padding: 20px;
  flex-grow: 1; /* Pinupuno nito ang space para pantay lahat ng card height */
}
