/* ==========================================================================
   AskForWrite (ASK4WRITE) - Main Stylesheet
   Website: https://askforwrite.in
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --primary: #0a2540;
  --primary-dark: #061727;
  --primary-light: #183b63;
  --accent: #00a8e8;
  --accent-cyan: #00c2ff;
  --accent-gold: #f59e0b;
  --accent-gold-dark: #d97706;
  --accent-green: #10b981;
  --accent-red: #ef4444;

  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-main: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-alt: #f1f5f9;
  --border-color: #e2e8f0;
  --border-focus: #00a8e8;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 25px -3px rgba(10, 37, 64, 0.1), 0 4px 6px -2px rgba(10, 37, 64, 0.05);
  --shadow-xl: 0 20px 35px -5px rgba(10, 37, 64, 0.15), 0 10px 10px -5px rgba(10, 37, 64, 0.04);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover {
  color: var(--accent-cyan);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.25;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  max-width: 900px;
}

/* Top Utility Bar */
.top-bar {
  background-color: var(--primary-dark);
  color: #cbd5e1;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar a {
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar a:hover {
  color: var(--accent-cyan);
}

.badge-guarantee {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Main Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  gap: 16px;
  max-width: 1440px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo img {
  height: 40px;
  width: auto;
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.15;
  letter-spacing: -0.3px;
  white-space: nowrap;
}

.brand-name span {
  color: var(--accent);
}

.brand-sub {
  font-size: 0.58rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.navbar nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 6px 4px;
  display: flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

.nav-shop-link {
  color: var(--primary) !important;
  font-weight: 700 !important;
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 168, 232, 0.08);
  padding: 4px 7px !important;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 168, 232, 0.2);
  transition: var(--transition);
}

.nav-shop-link:hover {
  background: rgba(0, 168, 232, 0.18);
  border-color: var(--accent);
  color: var(--accent) !important;
  transform: translateY(-1px);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-actions .btn {
  font-size: 0.8rem;
  padding: 7px 12px;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent);
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 10px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 500;
}

.dropdown-item:hover {
  background-color: var(--bg-subtle);
  color: var(--accent);
  padding-left: 24px;
}

.dropdown-item .badge {
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  background: #e0f2fe;
  color: var(--accent);
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 14px 30px;
  font-size: 1.1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #0284c7);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 168, 232, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0284c7, var(--primary-light));
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 168, 232, 0.45);
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
  color: #fff;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--accent-gold-dark), #b45309);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: #f0f9ff;
}

.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  color: #ffffff;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(135deg, #081d33 0%, #0d2b4d 100%);
  color: #ffffff;
  padding: 80px 0 60px;
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/home page/background.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 168, 232, 0.18);
  border: 1px solid rgba(0, 168, 232, 0.4);
  color: var(--accent-cyan);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-title span {
  background: linear-gradient(135deg, #38bdf8, #00c2ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: #94a3b8;
  margin-bottom: 30px;
  line-height: 1.7;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 35px;
}

.highlight-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(5px);
}

.highlight-item .icon {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.highlight-item .title {
  font-weight: 700;
  font-size: 0.9rem;
  color: #f8fafc;
}

.highlight-item .subtitle {
  font-size: 0.75rem;
  color: #94a3b8;
}

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

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  position: relative;
  z-index: 1;
}

.hero-students {
  max-height: 480px;
  width: auto;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
}

.hero-floating-badge {
  position: absolute;
  background: #ffffff;
  color: var(--primary);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
  animation: floatSlow 4s ease-in-out infinite alternate;
}

.hero-floating-badge.badge-top {
  top: 20px;
  left: -20px;
}

.hero-floating-badge.badge-bottom {
  bottom: 20px;
  right: -10px;
  animation-delay: -2s;
}

.badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e0f2fe;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.badge-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--primary);
}

.badge-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

@keyframes floatSlow {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-10px); }
}

/* Carousel / Slider Component */
.slider-section {
  padding: 60px 0;
  background-color: var(--bg-subtle);
  border-bottom: 1px solid var(--border-color);
}

.slider-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: #000;
  max-height: 460px;
}

.slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
}

.slider-slide {
  min-width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 440px;
}

.slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75);
}

.slider-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
  color: #fff;
}

.slider-caption h3 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.slider-caption p {
  font-size: 1.05rem;
  color: #cbd5e1;
  max-width: 700px;
}

.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: var(--primary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  z-index: 10;
}

.slider-nav-btn:hover {
  background: #ffffff;
  color: var(--accent);
  transform: translateY(-50%) scale(1.1);
}

.slider-prev {
  left: 20px;
}

.slider-next {
  right: 20px;
}

.slider-indicators {
  position: absolute;
  bottom: 15px;
  right: 30px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background: var(--accent-cyan);
  width: 28px;
  border-radius: var(--radius-full);
}

/* Sections Common */
.section {
  padding: 80px 0;
}

.section-bg {
  background-color: var(--bg-subtle);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}

.section-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  background: #e0f2fe;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: 2.3rem;
  margin-bottom: 16px;
  color: var(--primary);
}

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

/* Docx Features / 6 Core Pillars */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: #bae6fd;
}

.pillar-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: #f0f9ff;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.pillar-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--primary);
}

.pillar-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  flex-grow: 1;
}

/* Service Cards Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.service-image {
  height: 220px;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.08);
}

.service-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(10, 37, 64, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.service-content {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-content h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.service-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-features-list {
  list-style: none;
  margin-bottom: 24px;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

.service-features-list li {
  font-size: 0.88rem;
  color: var(--text-main);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features-list li i {
  color: var(--accent-green);
  font-size: 0.8rem;
}

.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.service-price-tag {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.service-price-tag strong {
  font-size: 1.25rem;
  color: var(--primary);
  display: block;
}

/* Interactive Calculator & Order Module */
.calculator-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}

.calculator-form {
  padding: 40px;
}

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

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-main);
  background-color: #ffffff;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 168, 232, 0.15);
}

.range-slider-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.range-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: var(--primary);
}

.range-display .words-count {
  font-size: 1.2rem;
  color: var(--accent);
}

.range-input {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #e2e8f0;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 168, 232, 0.4);
  transition: var(--transition);
}

.range-input::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calculator-summary {
  background: linear-gradient(145deg, #091e33, #0f2c4d);
  color: #ffffff;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.summary-header h3 {
  color: #ffffff;
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.summary-header p {
  color: #94a3b8;
  font-size: 0.9rem;
}

.breakdown-list {
  list-style: none;
  margin: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0;
}

.breakdown-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.92rem;
  color: #cbd5e1;
}

.breakdown-item strong {
  color: #ffffff;
}

.total-price-box {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
  text-align: center;
}

.total-price-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #94a3b8;
  margin-bottom: 4px;
}

.total-price-amount {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-cyan);
}

.total-price-per-word {
  font-size: 0.85rem;
  color: #cbd5e1;
}

.payment-gateway-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  font-size: 0.8rem;
  color: #94a3b8;
}

.payment-gateway-badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

/* Authentic Invoice Template Styling (Matching Invoice.jpg) */
.invoice-card {
  background: #ffffff;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
  padding: 40px;
  max-width: 860px;
  margin: 0 auto;
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  color: #333333;
}

.invoice-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
}

.invoice-logo-group {
  display: flex;
  flex-direction: column;
}

.invoice-logo-group img {
  height: 65px;
  width: auto;
  margin-bottom: 12px;
}

.invoice-company-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #444;
  letter-spacing: 0.5px;
}

.invoice-domain {
  font-size: 0.9rem;
  color: #666;
}

.invoice-meta-group {
  text-align: right;
}

.invoice-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #888888;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.invoice-meta-row {
  font-size: 0.88rem;
  color: #555;
  margin-bottom: 4px;
}

.invoice-amount-due-box {
  margin-top: 15px;
  border: 1px solid #d4d4d4;
  border-radius: 4px;
  padding: 10px 18px;
  text-align: right;
  display: inline-block;
  min-width: 170px;
}

.invoice-amount-due-box .due-label {
  font-size: 0.78rem;
  color: #666;
  text-transform: uppercase;
}

.invoice-amount-due-box .due-val {
  font-size: 1.5rem;
  font-weight: 700;
  color: #222;
}

.invoice-bill-to {
  margin: 25px 0 30px;
}

.invoice-bill-to h4 {
  font-size: 1rem;
  color: #555;
  margin-bottom: 6px;
  font-weight: 600;
}

.invoice-bill-to p {
  font-size: 0.9rem;
  color: #333;
  line-height: 1.45;
}

.invoice-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 25px;
}

.invoice-table th {
  background-color: #f7f7f7;
  color: #555;
  font-weight: 600;
  font-size: 0.88rem;
  text-align: left;
  padding: 12px 14px;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

.invoice-table th.text-right, .invoice-table td.text-right {
  text-align: right;
}

.invoice-table th.text-center, .invoice-table td.text-center {
  text-align: center;
}

.invoice-table td {
  padding: 14px;
  border-bottom: 1px solid #eee;
  font-size: 0.9rem;
  color: #333;
}

.invoice-totals {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 30px;
}

.invoice-totals-table {
  width: 280px;
  border-collapse: collapse;
}

.invoice-totals-table td {
  padding: 8px 12px;
  font-size: 0.9rem;
}

.invoice-totals-table .total-row {
  font-weight: 700;
  font-size: 1.05rem;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

.invoice-notes {
  border-top: 1px solid #eee;
  padding-top: 20px;
  font-size: 0.88rem;
  color: #666;
}

.invoice-notes strong {
  color: #333;
  display: block;
  margin-bottom: 4px;
}

/* Modal Popup for Payment Gateway & Invoicing */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 25, 41, 0.75);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.modal-backdrop.active {
  display: flex;
}

.modal-dialog {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  animation: modalEnter 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-header {
  padding: 20px 24px;
  background: var(--primary);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  color: #fff;
  font-size: 1.3rem;
}

.modal-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
}

.payment-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.payment-option-card {
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.payment-option-card:hover, .payment-option-card.selected {
  border-color: var(--accent);
  background-color: #f0f9ff;
}

.payment-option-card .gateway-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.payment-option-card h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.payment-option-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Quality Control / Workflow Step Section */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  position: relative;
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 24px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(0, 168, 232, 0.4);
}

.step-card h3 {
  font-size: 1.2rem;
  margin-top: 10px;
  margin-bottom: 10px;
}

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

/* Quote Graphic Box (About Us) */
.quote-banner-box {
  background: linear-gradient(135deg, #eef2ff, #f0f9ff);
  border-left: 6px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 32px;
  margin: 30px 0;
  display: flex;
  align-items: center;
  gap: 28px;
}

.quote-banner-box img {
  max-width: 240px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.quote-banner-content blockquote {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.4;
  margin-bottom: 10px;
}

.quote-banner-content cite {
  font-style: normal;
  font-size: 0.95rem;
  color: var(--accent);
  font-weight: 600;
}

/* FAQ Accordion */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: #ffffff;
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--primary);
  user-select: none;
}

.faq-question:hover {
  background-color: var(--bg-subtle);
  color: var(--accent);
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  padding: 0 24px 22px;
  max-height: 300px;
}

/* Footer */
.footer {
  background-color: var(--primary-dark);
  color: #94a3b8;
  padding: 80px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-brand .brand-name {
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-heading {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--accent);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-cyan);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.footer-contact-item i {
  color: var(--accent);
  margin-top: 4px;
}

.footer-contact-item.footer-payment-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  background: rgba(0, 168, 232, 0.12);
  border: 1px solid rgba(0, 168, 232, 0.35);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  margin-top: 4px;
}

.footer-contact-item.footer-payment-link:hover {
  background: rgba(0, 168, 232, 0.25);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 168, 232, 0.2);
}

.footer-contact-item.footer-payment-link i {
  color: var(--accent-cyan);
  margin-top: 0;
  font-size: 1.1rem;
}

.footer-contact-item.footer-payment-link strong {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Footer Social Media Buttons */
.footer-social-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  color: #ffffff;
  transition: var(--transition);
  border: none;
}

.social-icon-btn:hover {
  transform: translateY(-4px) scale(1.12);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  filter: brightness(1.15);
}

.social-icon-btn.x         { background: #111111; }
.social-icon-btn.linkedin  { background: #0a66c2; }
.social-icon-btn.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-icon-btn.facebook  { background: #1877f2; }
.social-icon-btn.telegram  { background: #26a5e4; }
.social-icon-btn.youtube   { background: #ff0000; }
.social-icon-btn.whatsapp  { background: #25d366; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: #94a3b8;
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

/* Print Stylesheet for Official Invoices */
@media print {
  body * {
    visibility: hidden;
  }
  .invoice-card, .invoice-card * {
    visibility: visible;
  }
  .invoice-card {
    position: absolute;
    left: 0;
    top: 0;
    width: 100% !important;
    max-width: 100% !important;
    border: none !important;
    box-shadow: none !important;
    padding: 20px !important;
  }
  .no-print {
    display: none !important;
  }
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-highlights {
    justify-content: center;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-students {
    max-height: 380px;
  }
  .calculator-box {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1180px) {
  .mobile-toggle {
    display: block;
  }
  .navbar nav {
    flex: 0;
  }
  .nav-menu {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px;
    box-shadow: var(--shadow-xl);
    border-bottom: 2px solid var(--border-color);
    transform: translateY(-140%);
    transition: transform 0.3s ease;
    z-index: 999;
    gap: 8px;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }
  .nav-menu.active {
    transform: translateY(0);
  }
  .nav-item {
    width: 100%;
  }
  .nav-link {
    font-size: 0.95rem;
    padding: 8px 10px;
    width: 100%;
    justify-content: flex-start;
  }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 4px 0 4px 16px;
    background: var(--bg-subtle);
    border-radius: var(--radius-sm);
    margin-top: 4px;
  }
  .nav-actions .btn-outline {
    display: none;
  }
}

@media (max-width: 768px) {
  .top-bar-left, .top-bar-right {
    width: 100%;
    justify-content: center;
  }
  .nav-actions {
    display: none;
  }
  .hero-title {
    font-size: 2.3rem;
  }
  .hero-highlights {
    grid-template-columns: 1fr;
  }
  .hero-floating-badge {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .payment-options-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Our Blogs Nav Link Highlight
   ========================================================================== */
.nav-blog-link {
  background: rgba(245, 158, 11, 0.07);
  border-radius: var(--radius-sm);
  padding: 4px 8px !important;
}

/* ==========================================================================
   Floating WhatsApp Instant Quote Button
   ========================================================================== */
.whatsapp-float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff !important;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  z-index: 9999;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
  color: #ffffff !important;
}

.whatsapp-float-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ==========================================================================
   Trust Bar & E-E-A-T Micro-Badges
   ========================================================================== */
.trust-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0 24px;
}

.trust-micro-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e2e8f0;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
}

.trust-micro-badge .badge-icon {
  color: #10b981;
}

/* ==========================================================================
   Mobile Sticky Pricing Bar on Calculator Page
   ========================================================================== */
.mobile-sticky-checkout {
  display: none;
}

@media (max-width: 768px) {
  .mobile-sticky-checkout {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 25, 47, 0.98);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(0, 168, 232, 0.3);
    padding: 12px 18px;
    align-items: center;
    justify-content: space-between;
    z-index: 9998;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
  }

  .mobile-sticky-info {
    display: flex;
    flex-direction: column;
  }

  .mobile-sticky-words {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
  }

  .mobile-sticky-total {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent-cyan);
    font-family: var(--font-heading);
  }

  .mobile-sticky-checkout .btn {
    padding: 8px 18px;
    font-size: 0.88rem;
  }
}

/* ==========================================================================
   Smart Geotargeted Student Promo & Conversion Banner
   ========================================================================== */
#afw-geo-promo-banner {
  background: linear-gradient(90deg, #07192d 0%, #0c2b4e 50%, #0077b6 100%);
  color: #ffffff;
  padding: 10px 16px;
  font-size: 0.88rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-bottom: 2px solid #00a8e8;
  position: relative;
  z-index: 10000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  animation: afwBannerFadeDown 0.4s ease-out;
}

@keyframes afwBannerFadeDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.afw-promo-content {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.afw-promo-badge {
  background: #ffb703;
  color: #07192d;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.afw-promo-code {
  background: rgba(255, 255, 255, 0.15);
  border: 1px dashed #00a8e8;
  color: #64dfdf;
  padding: 2px 8px;
  border-radius: 4px;
  font-family: monospace;
  font-weight: 700;
  letter-spacing: 1px;
}

.afw-promo-btn {
  background: #00a8e8;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 168, 232, 0.4);
  white-space: nowrap;
}

.afw-promo-btn:hover {
  background: #ffb703;
  color: #07192d;
  transform: scale(1.04);
}

.afw-promo-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 6px;
  transition: color 0.2s;
  margin-left: 8px;
}

.afw-promo-close:hover {
  color: #ffffff;
}

@media (max-width: 768px) {
  #afw-geo-promo-banner {
    font-size: 0.78rem;
    padding: 8px 12px;
    gap: 8px;
  }
  .afw-promo-btn {
    padding: 3px 10px;
    font-size: 0.75rem;
  }
}
