/*
Theme Name: VR Assurance MDM
Theme URI: https://www.vrassurance.com
Author: VR Assurance MDM Pvt Ltd
Author URI: https://www.vrassurance.com
Description: Custom WordPress theme for VR Assurance MDM Pvt Ltd - Health Insurance Mentoring & Connected Care Across Kerala.
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vr-assurance
Tags: one-page, custom-menu, custom-logo, featured-images, theme-options, translation-ready
Requires at least: 5.0
Tested up to: 6.7
Requires PHP: 7.4
*/

/* ========== CSS Variables ========== */
:root {
  --primary: #00A4F3;
  --primary-dark: #00598A;
  --primary-light: #E0F2FE;
  --primary-lighter: #F0F9FF;
  --accent: #00D4AA;
  --accent-light: #ECFDF5;
  --deep: #0a2540;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --bg: #f8fafc;
  --white: #ffffff;
  --gradient-primary: linear-gradient(135deg, #00A4F3 0%, #00D4AA 100%);
  --gradient-hero: linear-gradient(135deg, #00598A 0%, #00A4F3 50%, #00D4AA 100%);
  --gradient-card: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

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

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }

/* ========== Animations ========== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.9; }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes wave {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}

.animate-in { animation: fadeInUp 0.6s ease-out forwards; }
.animate-left { animation: fadeInLeft 0.6s ease-out forwards; }
.animate-right { animation: fadeInRight 0.6s ease-out forwards; }
.animate-float { animation: float 4s ease-in-out infinite; }
.animate-pulse { animation: pulse 2s ease-in-out infinite; }
.animate-bounce { animation: bounce 2s ease-in-out infinite; }

/* Scroll animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ========== Layout ========== */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 164, 243, 0.1);
  box-shadow: 0 2px 20px rgba(0, 164, 243, 0.08);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand .logo {
  height: 54px;
  width: auto;
  transition: transform 0.3s ease;
}

.brand .logo:hover {
  transform: scale(1.05);
}

.brand-text h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--deep);
  line-height: 1.2;
}

.brand-text p {
  font-size: 11px;
  color: var(--primary);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ========== Navigation ========== */
.main-navigation {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-btn {
  padding: 10px 16px;
  border-radius: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  color: var(--text);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
  position: relative;
  overflow: hidden;
}

.nav-btn::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-btn:hover {
  color: var(--primary);
}

.nav-btn:hover::before {
  width: 60%;
}

.nav-btn.active {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 164, 243, 0.35);
}

.nav-btn.active::before {
  display: none;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  font-size: 24px;
  color: var(--deep);
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .main-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 16px 24px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    border-bottom: 2px solid var(--primary);
  }
  .main-navigation.active {
    display: flex;
  }
  .nav-btn {
    text-align: left;
    padding: 12px 16px;
  }
}

/* ========== Main Content ========== */
.site-main {
  padding: 40px 0 60px;
  min-height: calc(100vh - 200px);
}

/* Panels */
.panel {
  display: none;
}

.panel.active {
  display: block;
}

/* ========== Cards ========== */
.card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.card:hover {
  box-shadow: 0 20px 40px -8px rgba(0, 164, 243, 0.18);
  transform: translateY(-4px);
  border-color: rgba(0, 164, 243, 0.2);
}

.card:hover::before {
  transform: scaleX(1);
}

/* ========== Hero Section ========== */
.hero {
  background: var(--gradient-hero);
  border-radius: 28px;
  padding: 64px 56px;
  color: white;
  position: relative;
  overflow: hidden;
  margin-bottom: 56px;
}

.hero-bg-elements {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}

.hero-circle-1 {
  width: 400px;
  height: 400px;
  top: -150px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.hero-circle-2 {
  width: 200px;
  height: 200px;
  bottom: -50px;
  left: 10%;
  animation: float 6s ease-in-out infinite reverse;
}

.hero-circle-3 {
  width: 100px;
  height: 100px;
  top: 30%;
  right: 20%;
  animation: float 5s ease-in-out infinite;
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero { padding: 40px 28px; }
  .hero-content { grid-template-columns: 1fr; }
  .hero-illustration { display: none; }
}

.hero-text {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.18);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
}

.hero h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero p {
  font-size: 17px;
  line-height: 1.75;
  opacity: 0.95;
  margin-bottom: 28px;
}

.hero-illustration {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-illustration svg {
  width: 100%;
  max-width: 380px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
}

/* ========== Highlight Cards ========== */
.highlight-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

@media (max-width: 700px) {
  .highlight-cards { grid-template-columns: 1fr; }
}

.highlight-card {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: 20px 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.highlight-card:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-4px);
}

.highlight-card h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.highlight-card p {
  font-size: 13px;
  opacity: 0.85;
  margin: 0;
}

/* ========== Section Headers ========== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 34px;
  font-weight: 700;
  color: var(--deep);
  margin-bottom: 14px;
  line-height: 1.25;
}

.section-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 36px;
  line-height: 1.7;
}

/* ========== Grid ========== */
.grid {
  display: grid;
  gap: 24px;
}

.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* ========== Service Cards ========== */
.service-card {
  padding: 32px;
  text-align: center;
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: var(--primary-light);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.service-icon svg {
  width: 44px;
  height: 44px;
  transition: transform 0.4s ease;
}

.service-card:hover .service-icon {
  background: var(--gradient-primary);
  transform: scale(1.1) rotate(-5deg);
}

.service-card:hover .service-icon svg {
  transform: scale(1.1);
}

.service-card:hover .service-icon svg path,
.service-card:hover .service-icon svg circle,
.service-card:hover .service-icon svg rect {
  fill: white;
  stroke: white;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--deep);
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 20px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.read-more:hover {
  gap: 10px;
  color: var(--primary-dark);
}

/* ========== Process Flow ========== */
.process-flow {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin: 32px 0;
  flex-wrap: wrap;
}

.process-step {
  flex: 1;
  min-width: 150px;
  text-align: center;
  position: relative;
}

.process-step:not(:last-child)::after {
  content: '\2192';
  position: absolute;
  right: -20px;
  top: 32px;
  font-size: 24px;
  color: var(--primary);
  font-weight: 300;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 14px;
  box-shadow: 0 6px 20px rgba(0, 164, 243, 0.35);
  transition: transform 0.3s ease;
}

.process-step:hover .step-number {
  transform: scale(1.1);
}

.process-step h5 {
  font-size: 14px;
  font-weight: 600;
  color: var(--deep);
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  border: none;
  font-family: inherit;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn:hover::after {
  transform: translateX(100%);
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 164, 243, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 164, 243, 0.45);
}

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

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-lighter);
}

.btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ========== Stats Band ========== */
.stats-band {
  background: var(--gradient-hero);
  border-radius: 24px;
  padding: 48px 40px;
  margin: 48px 0;
  position: relative;
  overflow: hidden;
}

.stats-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

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

@media (max-width: 800px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

.stat-item {
  text-align: center;
  color: white;
}

.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 15px;
  opacity: 0.9;
}

/* ========== Leadership Cards ========== */
.leader-card {
  overflow: hidden;
  padding: 0;
}

.leader-photo {
  width: 100%;
  height: 300px;
  position: relative;
  overflow: hidden;
}

.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.5s ease;
  display: block;
}

.leader-card:hover .leader-photo img {
  transform: scale(1.08);
}

.leader-photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(10, 37, 64, 0.7), transparent);
  pointer-events: none;
}

.leader-info {
  padding: 24px 20px;
  position: relative;
}

.leader-info h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--deep);
  margin-bottom: 4px;
}

.leader-info .role {
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}

.leader-info p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ========== MD Section ========== */
.md-section {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 900px) {
  .md-section { grid-template-columns: 1fr; }
}

.md-photo-wrapper {
  position: relative;
}

.md-photo {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 164, 243, 0.2);
  position: relative;
}

.md-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.md-badge {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: white;
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(0, 164, 243, 0.35);
}

.md-name {
  text-align: center;
  margin-top: 36px;
}

.md-name h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--deep);
}

.md-name p {
  color: var(--primary);
  font-weight: 600;
}

.md-content {
  background: white;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
}

.md-quote {
  font-size: 72px;
  color: var(--primary);
  opacity: 0.2;
  line-height: 0.5;
  font-family: Georgia, serif;
  margin-bottom: 8px;
}

.md-message {
  font-size: 17px;
  line-height: 1.85;
  color: var(--text);
  padding-left: 24px;
  border-left: 4px solid var(--primary);
  font-style: italic;
}

.md-video-preview {
  margin-top: 28px;
  max-width: 180px;
  cursor: pointer;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 89, 138, 0.2);
  transition: all 0.3s ease;
}

.md-video-preview:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 40px rgba(0, 89, 138, 0.35);
}

.md-video-preview:hover div[style*="background"] {
  background: rgba(10, 37, 64, 0.2) !important;
}

.md-video-preview .play-icon,
.md-video-box .play-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 8px 25px rgba(0, 164, 243, 0.4);
}

.md-video-preview .play-icon svg,
.md-video-box .play-icon svg {
  width: 24px;
  height: 24px;
  fill: white;
  margin-left: 4px;
}

/* ========== Sub-tabs ========== */
.sub-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 32px;
  background: var(--primary-lighter);
  padding: 6px;
  border-radius: 14px;
  width: fit-content;
  flex-wrap: wrap;
}

.sub-tab {
  padding: 12px 22px;
  border-radius: 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  color: var(--text-muted);
  transition: all 0.3s ease;
  font-family: inherit;
}

.sub-tab:hover {
  color: var(--primary);
}

.sub-tab.active {
  background: white;
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 164, 243, 0.15);
  font-weight: 600;
}

.sub-content {
  display: none;
}

.sub-content.active {
  display: block;
  animation: fadeInUp 0.4s ease-out;
}

/* ========== Forms ========== */
.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 14px;
  color: var(--text);
}

input, select, textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 15px;
  transition: all 0.3s ease;
  font-family: inherit;
  background: white;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 164, 243, 0.12);
}

/* ========== OTP Section ========== */
.otp-section {
  background: linear-gradient(135deg, var(--primary-light) 0%, #d1f0ff 100%);
  border-radius: 16px;
  padding: 28px;
  margin-top: 24px;
  border: 2px solid var(--primary);
  position: relative;
  overflow: hidden;
}

.otp-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 164, 243, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.otp-section h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 12px;
  position: relative;
}

.otp-input-group {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.otp-input {
  width: 50px;
  height: 56px;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  border-radius: 12px;
  border: 2px solid var(--primary);
  background: white;
}

.otp-input:focus {
  background: var(--primary-lighter);
}

/* OTP Status Messages */
.otp-status {
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
}

.otp-status-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.otp-status-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.otp-status-info {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

/* Resend OTP Link */
.otp-resend {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.otp-resend:hover {
  text-decoration: underline;
}

.otp-resend.disabled {
  color: var(--text-muted);
  cursor: default;
  pointer-events: none;
}

/* ========== Blogs ========== */
.blog-card {
  overflow: hidden;
}

.blog-image {
  height: 180px;
  background: linear-gradient(135deg, var(--primary-light) 0%, #b3e5fc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  position: relative;
  overflow: hidden;
}

.blog-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-image::after {
  transform: translateX(100%);
}

.blog-content {
  padding: 24px;
}

.blog-tag {
  background: var(--gradient-primary);
  color: white;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--deep);
  margin: 14px 0 10px;
  line-height: 1.4;
}

/* ========== Video Cards ========== */
.video-card .video-thumbnail {
  height: 180px;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
}

.play-button {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
}

.play-button svg {
  width: 26px;
  height: 26px;
  fill: var(--primary);
  margin-left: 4px;
}

.video-card:hover .play-button {
  transform: scale(1.15);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

/* ========== Contact ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 32px;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.info-card {
  padding: 28px;
}

.info-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--deep);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  font-size: 15px;
}

.contact-item .icon {
  width: 40px;
  height: 40px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-item a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.contact-item a:hover {
  text-decoration: underline;
}

.map-container {
  background: linear-gradient(135deg, var(--primary-light) 0%, #c7e9fc 100%);
  border-radius: 16px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
  border: 2px dashed var(--primary);
}

/* ========== WhatsApp Button ========== */
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  cursor: pointer;
  z-index: 100;
  transition: all 0.3s ease;
  animation: bounce 2s ease-in-out infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.55);
  animation: none;
}

.whatsapp-btn svg {
  width: 34px;
  height: 34px;
  fill: white;
}

.whatsapp-tooltip {
  position: absolute;
  right: 76px;
  background: white;
  padding: 12px 18px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: white;
}

.whatsapp-btn:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ========== Footer ========== */
.site-footer {
  background: linear-gradient(180deg, var(--primary-lighter) 0%, #d6effc 100%);
  color: var(--text);
  padding: 56px 0 32px;
  border-top: 1px solid rgba(0, 164, 243, 0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 40px;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand img {
  height: 48px;
}

.footer-brand span {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--deep);
}

.footer-desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

.footer-section h4 {
  font-weight: 600;
  margin-bottom: 18px;
  font-size: 15px;
  color: var(--deep);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(0, 89, 138, 0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 14px;
}

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

.footer-bottom-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

/* ========== Modal ========== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 64, 0.5);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
}

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

.modal {
  background: white;
  border-radius: 24px;
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: fadeInUp 0.35s ease-out;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  border-bottom: 1px solid var(--border);
  background: var(--primary-lighter);
}

.modal-header h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--deep);
}

.modal-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: white;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.modal-close:hover {
  background: var(--primary);
  color: white;
}

.modal-body {
  padding: 32px;
}

/* ========== Section spacing ========== */
section {
  margin-bottom: 56px;
}

/* ========== Testimonials ========== */
.testimonial-card {
  padding: 32px;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  left: 24px;
  font-size: 80px;
  font-family: Georgia, serif;
  color: var(--primary);
  opacity: 0.15;
  line-height: 1;
}

.testimonial-card .testimonial-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
  font-style: italic;
  margin-bottom: 24px;
  position: relative;
  max-height: 280px !important;
  overflow-y: auto !important;
  overflow-x: hidden;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 18px;
}

.testimonial-info strong {
  display: block;
  color: var(--deep);
  font-size: 15px;
}

.testimonial-info span {
  font-size: 13px;
  color: var(--text-muted);
}

/* ========== Why VR Assurance ========== */
.why-card {
  padding: 36px;
  text-align: center;
}

.why-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0, 164, 243, 0.3);
}

.why-icon svg {
  width: 36px;
  height: 36px;
}

.why-card h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--deep);
  margin-bottom: 10px;
}

.why-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ========== Requirement Box ========== */
.requirement-box {
  background: var(--primary-lighter);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 28px;
  border: 1px solid rgba(0, 164, 243, 0.15);
}

.requirement-box h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--deep);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.requirement-list {
  display: grid;
  gap: 12px;
}

.requirement-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: white;
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.requirement-item .check {
  color: var(--accent);
  font-weight: 700;
  font-size: 18px;
}

.requirement-item span {
  font-size: 14px;
  color: var(--text);
}

/* ========== Checkbox ========== */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
}

.checkbox-label input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--primary);
}

/* ========== Grow With Us ========== */
.card.grow-card {
  padding: 32px;
  background: var(--gradient-card);
  border-left: 4px solid var(--primary) !important;
  overflow: visible;
}

.card.grow-card h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--deep);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card.grow-card p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ========== WordPress-specific styles ========== */
.wp-block-image img { border-radius: 12px; }
.aligncenter { text-align: center; }
.alignleft { float: left; margin-right: 20px; }
.alignright { float: right; margin-left: 20px; }
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* ========== WordPress Override Fixes ========== */
/* These must stay at the bottom of the file to override any WP/plugin styles */

body .card.grow-card {
  padding: 32px !important;
  border-left: 4px solid var(--primary) !important;
  border-radius: 20px !important;
  overflow: visible !important;
  display: block !important;
}

body .card.grow-card[style*="border-left-color: var(--accent)"] {
  border-left-color: var(--accent) !important;
}

body .card.grow-card[style*="border-left-color: #8b5cf6"] {
  border-left-color: #8b5cf6 !important;
}

body .card.grow-card h4 {
  font-size: 18px !important;
  font-weight: 600 !important;
  color: var(--deep) !important;
  margin-bottom: 12px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

body .card.grow-card p {
  color: var(--text-muted) !important;
  line-height: 1.7 !important;
  margin-bottom: 20px !important;
}

body .card.grow-card .btn {
  display: inline-flex !important;
}

body .testimonial-card .testimonial-text {
  max-height: 280px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
}

body .card.leader-card {
  overflow: hidden !important;
  padding: 0 !important;
}

body .card.leader-card .leader-photo {
  width: 100% !important;
  height: 300px !important;
  overflow: hidden !important;
}

body .card.leader-card .leader-photo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 20% !important;
  display: block !important;
}

body .card.leader-card .leader-info {
  padding: 24px 20px !important;
}
