@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Outfit:wght@400;600;700;800&display=swap');

:root {
  --primary: #00509E;
  --primary-deep: #003B73;
  --primary-light: #F0F4F8;
  --secondary: #BCA672;
  --secondary-dark: #A38E5A;
  --text: #0A1128;
  --text-muted: #4A5568;
  --bg-light: #F8FAFC;
  --white: #FFFFFF;
  --border: #E2E8F0;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 20px 40px rgba(0,102,255,0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 32px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background-color: var(--white);
}

h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(var(--max-width), 92%);
  margin: 0 auto;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 0;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  height: 120px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  font-weight: 600;
  color: var(--text);
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary);
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius-lg);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--secondary);
  color: #000;
}

.btn-primary:hover {
  background-color: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* Hero Section */
.hero {
  background-color: var(--white);
  color: var(--text);
  padding: 180px 0 140px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: rgba(0, 102, 255, 0.05);
  filter: blur(100px);
  border-radius: 50%;
  z-index: 1;
}

.hero::after {
  content: '';
  display: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 10;
}

.pill {
  background: var(--primary-light);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  display: inline-block;
  border: 1px solid rgba(0, 102, 255, 0.1);
  letter-spacing: 0.5px;
  color: var(--primary);
}

.hero h1 {
  font-size: 64px;
  margin-bottom: 24px;
  color: #0A1128;
}

.hero h1 span {
  color: var(--primary);
}

.hero p {
  font-size: 18px;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
}

.social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
}

.check-icon {
  width: 24px;
  height: 24px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 800;
  font-size: 14px;
}

.hero-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 12px solid var(--white);
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* Stats Section */
.stats-section {
  padding: 60px 0;
  background: var(--white);
  margin-top: -30px;
  position: relative;
  z-index: 20;
}

.stats-grid {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item h3 {
  font-size: 48px;
  color: var(--primary);
  margin-bottom: 5px;
}

.stat-item p {
  color: var(--text-muted);
  font-weight: 500;
}

/* Common Section Styles */
.section {
  padding: 100px 0;
}

.bg-light {
  background-color: var(--bg-light);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.kicker {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  display: block;
  margin-bottom: 15px;
}

.section-header h2 {
  font-size: 42px;
  margin-bottom: 20px;
}

/* Why Us Section */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.why-item {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s;
}

.why-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.why-item .icon {
  font-size: 32px;
  margin-bottom: 20px;
}

.why-item h4 {
  margin-bottom: 15px;
  font-size: 18px;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.service-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.service-card h3 {
  padding: 25px 25px 10px;
}

.service-card p {
  padding: 0 25px 25px;
  color: var(--text-muted);
}

.service-card .link {
  display: block;
  padding: 0 25px 25px;
  color: var(--primary);
  font-weight: 700;
}

.view-all {
  text-align: center;
}

/* How It Works */
.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.steps {
  list-style: none;
  margin-top: 40px;
}

.steps li {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.step-num {
  width: 50px;
  height: 50px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}

.how-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--bg-light);
  padding: 40px;
  border-radius: var(--radius-md);
}

.stars {
  color: var(--secondary-dark);
  margin-bottom: 20px;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 30px;
  color: var(--text);
}

.author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.author strong {
  display: block;
}

.author span {
  font-size: 14px;
  color: var(--text-muted);
}

/* Promo Section */
.promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 100px;
}

.promo-banner {
  padding: 60px;
  border-radius: var(--radius-lg);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
}

.promo-banner.blue {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
}

.promo-banner.yellow {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  color: #fff;
}

.promo-banner h3 {
  font-size: 32px;
  max-width: 300px;
}

/* FAQ Section */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

details {
  background: var(--bg-light);
  margin-bottom: 15px;
  border-radius: var(--radius-sm);
  padding: 0;
  overflow: hidden;
}

summary {
  padding: 20px 25px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary::after {
  content: '+';
  font-size: 24px;
}

details[open] summary::after {
  content: '-';
}

details p {
  padding: 0 25px 25px;
  color: var(--text-muted);
}

/* Ready CTA */
.ready-cta {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 100px 0;
}

.ready-grid h2 {
  font-size: 48px;
  margin-bottom: 20px;
}

.ready-grid p {
  font-size: 20px;
  margin-bottom: 40px;
  opacity: 0.9;
}

/* Footer Styles */
.site-footer {
  background: #0A1128;
  color: var(--white);
  padding: 80px 0 30px;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-brand img {
  height: 80px;
  margin-bottom: 25px;
}

.footer-brand p {
  opacity: 0.7;
  line-height: 1.8;
}

.site-footer h4 {
  margin-bottom: 25px;
  font-size: 18px;
}

.site-footer a {
  display: block;
  margin-bottom: 15px;
  opacity: 0.7;
  transition: opacity 0.3s;
  color: var(--white) !important;
}

.site-footer a:hover {
  opacity: 1;
}

.footer-contact p {
  opacity: 0.7;
  margin-bottom: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
}

.footer-bottom p {
  opacity: 0.5;
  font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-grid, .why-grid, .services-grid, .how-grid, .testimonial-grid, .promo-grid, .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .hero h1 {
    font-size: 48px;
  }
}

@media (max-width: 768px) {
  .hero-grid, .why-grid, .services-grid, .how-grid, .testimonial-grid, .promo-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .hero {
    padding: 140px 0 80px;
    text-align: center;
  }
  
  .hero p {
    margin: 0 auto 40px;
  }
  
  .hero-actions {
    justify-content: center;
    flex-direction: column;
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.pc-philosophy-copy li {
  position: relative;
  padding-left: 28px;
}

.pc-philosophy-copy li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #deb155;
  position: absolute;
  left: 0;
  top: 8px;
}

.pc-philosophy-copy h3 {
  margin: 0;
  font-size: 1rem;
}

.pc-philosophy-copy p {
  margin: 7px 0 0;
  color: #5b626e;
  font-size: 0.89rem;
}

.pc-testimonials {
  background: #0d1a35;
  color: #ecf0ff;
  padding: 60px 0;
}

.pc-testimonial-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-end;
}

.pc-testimonial-head p {
  color: #aab5d5;
}

.pc-arrow-group {
  display: flex;
  gap: 8px;
}

.pc-arrow-group span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #3d4b75;
  border-radius: 8px;
  color: #dde5ff;
}

.pc-testimonial-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.pc-quote-card {
  border: 1px solid #233458;
  background: #121f3e;
  border-radius: 6px;
  padding: 20px;
}

.pc-quote-card span {
  color: #f2c867;
  letter-spacing: 0.1em;
  font-size: 0.86rem;
}

.pc-quote-card p {
  margin: 14px 0;
  color: #d6def5;
  font-size: 0.88rem;
}

.pc-quote-card h3 {
  margin: 0;
  font-size: 0.92rem;
}

.pc-quote-card small {
  color: #8e9cc2;
}

.pc-reserve {
  padding: 58px 0 70px;
}

.pc-reserve-wrap {
  border: 1px solid #d7dbe3;
  background: #f7f8fa;
  border-radius: 8px;
  padding: 28px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
}

.pc-reserve-copy ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.pc-reserve-copy li {
  border-left: 2px solid #d8dde5;
  padding-left: 12px;
  display: grid;
  gap: 2px;
}

.pc-reserve-copy strong {
  font-size: 0.8rem;
  color: #2a3040;
}

.pc-reserve-copy span {
  color: #677082;
  font-size: 0.86rem;
}

.pc-reserve-form {
  display: grid;
  gap: 12px;
}

.pc-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pc-reserve-form label {
  gap: 6px;
  font-size: 0.78rem;
  color: #51596a;
}

.pc-reserve-form input,
.pc-reserve-form select {
  border: none;
  border-bottom: 1px solid #cfd6e1;
  border-radius: 0;
  background: transparent;
  padding: 8px 0;
}

.pc-reserve-form .btn-primary {
  margin-top: 8px;
  width: 100%;
}

.home-premium .notice {
  font-size: 0.8rem;
  margin-top: 4px;
}

.home-premium .site-footer {
  margin-top: 0;
  background: #0f1d3a;
  border-top: none;
}

.home-premium .footer-grid {
  grid-template-columns: 1.3fr 1fr 1fr auto;
  align-items: start;
  padding: 34px 0;
}

.home-premium .site-footer strong {
  color: #f3f6ff;
}

.home-premium .site-footer small,
.home-premium .footer-links {
  color: #a8b4d4;
}

.home-premium .footer-links {
  display: grid;
  gap: 8px;
  font-size: 0.82rem;
}

.home-premium .footer-links a:hover {
  color: #f3f6ff;
}

@media (max-width: 1020px) {
  .pc-hero-grid,
  .pc-philosophy,
  .pc-reserve-wrap {
    grid-template-columns: 1fr;
  }

  .pc-tier-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pc-tier-feature,
  .pc-tier-wide {
    grid-column: auto;
  }

  .pc-testimonial-grid {
    grid-template-columns: 1fr;
  }

  .home-premium .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .pc-hero {
    padding-top: 34px;
  }

  .pc-tier-grid,
  .pc-form-grid,
  .home-premium .footer-grid {
    grid-template-columns: 1fr;
  }

  .pc-hero-image {
    min-height: 320px;
  }

  .pc-floating-note {
    left: 8px;
    right: 8px;
    width: auto;
    bottom: 8px;
  }

  .pc-testimonial-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==============================================
   Subpage Specific Styles
   ============================================== */

/* Header Override for Inner Pages */
.inner-page .site-header {
  position: relative;
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 15px 0;
}

.inner-page .nav-links a {
  color: var(--text);
}

.inner-page .btn-outline {
  border-color: var(--primary);
  color: var(--primary);
}

.inner-page .btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* Page Hero */
.page-hero {
  background: var(--bg-light);
  padding: 100px 0 60px;
  text-align: center;
}

.page-hero h1 {
  font-size: 52px;
  margin-bottom: 20px;
  color: var(--primary-deep);
}

.page-hero h1 span {
  color: var(--secondary-dark);
}

.page-hero p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Content Grids */
.how-grid, .contact-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.contact-detail-grid {
  align-items: start;
}

.how-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.stat-highlights {
  display: flex;
  gap: 40px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

.stat-highlight strong {
  display: block;
  font-size: 32px;
  color: var(--primary);
  line-height: 1.2;
}

/* Services Detail Page */
.services-list-detail {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.service-detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.service-detail-card.reverse {
  direction: rtl;
}

.service-detail-card.reverse > * {
  direction: ltr;
}

.service-detail-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.service-detail-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: var(--primary-deep);
}

.checklist {
  list-style: none;
  margin: 20px 0 30px;
}

.checklist li {
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--secondary-dark);
  font-weight: 800;
  background: rgba(255, 222, 89, 0.2);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  text-align: center;
  line-height: 20px;
  font-size: 12px;
}

/* Contact Page Form */
.qlinest-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 16px;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
}

.contact-info-card {
  background: var(--bg-light);
  padding: 30px;
  border-radius: var(--radius-md);
  margin-bottom: 30px;
}

.contact-info-card h3 {
  margin-bottom: 20px;
  color: var(--primary-deep);
}

.info-item {
  margin-bottom: 15px;
}

.info-item strong {
  display: block;
  margin-bottom: 5px;
}

.info-item a {
  color: var(--primary);
  text-decoration: none;
}

.info-item a:hover {
  text-decoration: underline;
}

/* Additional Responsive Tweaks */
@media (max-width: 768px) {
  .how-grid, .contact-detail-grid, .service-detail-card, .qlinest-form .form-row {
    grid-template-columns: 1fr;
  }
  
  .service-detail-card.reverse {
    direction: ltr;
  }
}
