/* =========================================================
   नरेश ऑनलाइन सेंटर बिलाईगढ़ — Contact & About Page Stylesheet
   Modern Glassmorphism, Responsive Grid, Dark Mode & Pulse Animations
   ========================================================= */

:root {
  --ct-primary: #0F2347;
  --ct-accent: #FF6B35;
  --ct-green: #10B981;
  --ct-border: #E2E8F0;
  --ct-card-bg: #FFFFFF;
  --ct-text: #1E293B;
  --ct-muted: #64748B;
}

body.dark-mode {
  --ct-primary: #38BDF8;
  --ct-border: #334155;
  --ct-card-bg: #1E293B;
  --ct-text: #F8FAFC;
  --ct-muted: #94A3B8;
}

/* Hero Section */
.ct-hero {
  background: radial-gradient(circle at 85% 20%, rgba(255, 107, 53, 0.22) 0%, transparent 50%),
              radial-gradient(circle at 15% 80%, rgba(16, 185, 129, 0.18) 0%, transparent 45%),
              linear-gradient(135deg, #0B192C 0%, #0F2347 50%, #1A365D 100%);
  padding: 55px 20px 75px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.ct-hero-badges {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.live-pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.ct-hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.ct-hero p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

.ct-hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 28px;
  background: #F8FAFC;
  border-radius: 28px 28px 0 0;
}

body.dark-mode .ct-hero::after {
  background: #0F172A;
}

/* Main Container */
.ct-main {
  max-width: 960px;
  margin: -30px auto 0;
  padding: 0 16px 80px;
  position: relative;
  z-index: 10;
}

/* Executive Owner Card */
.owner-card {
  background: var(--ct-card-bg);
  border-radius: 24px;
  box-shadow: 0 12px 36px rgba(15, 35, 71, 0.1);
  padding: 30px;
  margin-bottom: 24px;
  display: flex;
  gap: 26px;
  align-items: center;
  border: 1.5px solid var(--ct-border);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.owner-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(15, 35, 71, 0.15);
}

.owner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(to bottom, #FF6B35, #10B981);
}

.owner-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.owner-avatar {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  background: linear-gradient(135deg, #0F2347 0%, #1E3A8A 50%, #2563EB 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2.8rem;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
  border: 3px solid rgba(255, 255, 255, 0.8);
}

.verified-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  background: #10B981;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.owner-info {
  flex: 1;
}

.owner-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 4px;
}

.owner-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--ct-text);
  margin: 0;
}

.owner-vle-id {
  font-size: 0.78rem;
  font-weight: 700;
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
  padding: 3px 10px;
  border-radius: 20px;
}

body.dark-mode .owner-vle-id {
  background: rgba(37, 99, 235, 0.2);
  color: #93C5FD;
  border-color: rgba(37, 99, 235, 0.4);
}

.owner-title {
  font-size: 0.9rem;
  color: #EA580C;
  font-weight: 700;
  margin-bottom: 8px;
}

.owner-desc {
  font-size: 0.88rem;
  color: var(--ct-muted);
  line-height: 1.65;
  margin-bottom: 14px;
}

.owner-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.owner-badge {
  background: #F1F5F9;
  color: #334155;
  padding: 5px 12px;
  border-radius: 18px;
  font-size: 0.76rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #E2E8F0;
}

body.dark-mode .owner-badge {
  background: #334155;
  color: #CBD5E1;
  border-color: #475569;
}

/* Stats Grid */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.about-stat {
  background: var(--ct-card-bg);
  border-radius: 18px;
  border: 1.5px solid var(--ct-border);
  padding: 18px 14px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(15, 35, 71, 0.05);
  transition: transform 0.2s ease;
}

.about-stat:hover {
  transform: translateY(-2px);
}

.about-stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: #EA580C;
  line-height: 1.1;
  margin-bottom: 4px;
}

.about-stat-label {
  font-size: 0.76rem;
  color: var(--ct-muted);
  font-weight: 600;
}

/* Action Buttons Grid */
.ct-action-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.ct-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 18px 12px;
  border-radius: 18px;
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.25s ease;
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.ct-action-btn i {
  font-size: 1.4rem;
}

.ct-action-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  color: #fff;
}

.cta-call { background: linear-gradient(135deg, #0F2347, #1E3A8A); }
.cta-wa   { background: linear-gradient(135deg, #10B981, #059669); }
.cta-group { background: linear-gradient(135deg, #064E3B, #047857); }
.cta-dir  { background: linear-gradient(135deg, #3B82F6, #1D4ED8); }

/* Generic Card */
.ct-card {
  background: var(--ct-card-bg);
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(15, 35, 71, 0.06);
  padding: 24px;
  margin-bottom: 24px;
  border: 1.5px solid var(--ct-border);
}

.ct-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ct-text);
  margin: 0 0 18px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--ct-border);
}

/* Contact Items */
.ct-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ct-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #F8FAFC;
  border-radius: 14px;
  border: 1px solid var(--ct-border);
  transition: all 0.2s ease;
}

body.dark-mode .ct-item {
  background: #0F172A;
}

.ct-item:hover {
  background: #EFF6FF;
  border-color: #BFDBFE;
}

body.dark-mode .ct-item:hover {
  background: #1E293B;
  border-color: #38BDF8;
}

.ct-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.ct-item-label {
  font-size: 0.74rem;
  color: var(--ct-muted);
  margin-bottom: 2px;
  font-weight: 600;
}

.ct-item-value {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ct-text);
  line-height: 1.35;
}

.ct-item-link {
  font-size: 0.92rem;
  font-weight: 700;
  color: #2563EB;
  text-decoration: none;
}

body.dark-mode .ct-item-link {
  color: #38BDF8;
}

.ct-item-link:hover {
  color: #FF6B35;
  text-decoration: underline;
}

/* Timing Table */
.timing-table {
  width: 100%;
  border-collapse: collapse;
}

.timing-table th {
  background: #F1F5F9;
  color: var(--ct-text);
  padding: 12px 16px;
  font-size: 0.82rem;
  text-align: left;
  font-weight: 700;
}

body.dark-mode .timing-table th {
  background: #0F172A;
}

.timing-table td {
  padding: 12px 16px;
  font-size: 0.85rem;
  color: var(--ct-text);
  border-bottom: 1px solid var(--ct-border);
}

.timing-table tr:last-child td {
  border-bottom: none;
}

.status-open {
  color: #10B981;
  font-weight: 800;
}

.status-close {
  color: #EF4444;
  font-weight: 800;
}

/* Map */
.map-container {
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid var(--ct-border);
  margin-bottom: 14px;
}

.map-container iframe {
  width: 100%;
  height: 280px;
  border: none;
  display: block;
}

.map-address {
  background: #F8FAFC;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--ct-text);
  border-top: 1px solid var(--ct-border);
}

body.dark-mode .map-address {
  background: #0F172A;
}

.map-address i {
  color: #FF6B35;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.review-card {
  background: #F8FAFC;
  border-radius: 16px;
  padding: 18px;
  border: 1px solid var(--ct-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

body.dark-mode .review-card {
  background: #0F172A;
}

.review-stars {
  color: #F59E0B;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.review-text {
  font-size: 0.84rem;
  color: var(--ct-text);
  line-height: 1.6;
  margin-bottom: 10px;
  font-style: italic;
}

.review-name {
  font-size: 0.76rem;
  font-weight: 700;
  color: #2563EB;
}

body.dark-mode .review-name {
  color: #38BDF8;
}

/* Interactive WhatsApp Contact Form */
.ct-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.ct-form-group {
  margin-bottom: 14px;
}

.ct-form-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ct-text);
  display: block;
  margin-bottom: 6px;
}

.ct-form-input, .ct-form-select, .ct-form-textarea {
  width: 100%;
  border: 1.5px solid var(--ct-border);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.92rem;
  font-family: inherit;
  outline: none;
  background: #F8FAFC;
  color: var(--ct-text);
  transition: all 0.2s ease;
  box-sizing: border-box;
}

body.dark-mode .ct-form-input,
body.dark-mode .ct-form-select,
body.dark-mode .ct-form-textarea {
  background: #0F172A;
}

.ct-form-input:focus, .ct-form-select:focus, .ct-form-textarea:focus {
  border-color: #2563EB;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

body.dark-mode .ct-form-input:focus,
body.dark-mode .ct-form-select:focus,
body.dark-mode .ct-form-textarea:focus {
  background: #1E293B;
  border-color: #38BDF8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.ct-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #10B981, #059669);
  color: #fff;
  border: none;
  padding: 15px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
  transition: all 0.25s ease;
}

.ct-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .owner-card {
    flex-direction: column;
    text-align: center;
    padding: 24px 18px;
  }
  .owner-header-row {
    justify-content: center;
  }
  .owner-badges {
    justify-content: center;
  }
  .about-stats {
    grid-template-columns: 1fr 1fr;
  }
  .ct-action-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ct-items {
    grid-template-columns: 1fr;
  }
  .ct-form-row {
    grid-template-columns: 1fr;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .ct-hero h1 {
    font-size: 1.7rem;
  }
  .owner-avatar {
    width: 80px;
    height: 80px;
    font-size: 2.3rem;
  }
}

/* Team Grid for Owner & Operator */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}
.team-grid .owner-card {
  margin-bottom: 0;
  height: 100%;
}
@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}