/* ============================================
   AN-TECH HEALTHCARE SOLUTIONS
   Main Stylesheet — style.css
   Jind, Haryana
   ============================================ */

/* ── CSS VARIABLES ── */
:root {
    --red:       #c0392b;
    --red-dark:  #922b21;
    --red-light: #f5b7b1;
    --gold:      #d4ac0d;
    --green:     #25D366;
    --dark:      #1a1a2e;
    --text:      #2c3e50;
    --muted:     #6c757d;
    --light:     #fdf6f0;
    --white:     #ffffff;
    --border:    #e8ddd5;
    --shadow:    0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.14);
  }
  
  /* ── RESET & BASE ── */
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
  }
  h1, h2, h3, h4 { font-family: 'Playfair Display', serif; }
  img { display: block; max-width: 100%; }
  
  /* ── TOP BAR ── */
  .top-bar {
    background: var(--dark);
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    padding: 8px 0;
  }
  .top-bar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
  }
  .top-bar a { color: rgba(255,255,255,0.85); text-decoration: none; }
  .top-bar a:hover { color: var(--gold); }
  .top-bar .call-btn {
    background: var(--red);
    color: #fff !important;
    padding: 4px 14px;
    border-radius: 20px;
    font-weight: 600;
  }
  
  /* ── NAVBAR ── */
  nav {
    background: var(--white);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  .nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .logo-area { display: flex; align-items: center; gap: 12px; }
  .logo-icon {
    width: 48px; height: 48px;
    background: var(--red);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
  }
  .logo-icon svg { width: 28px; height: 28px; fill: white; }
  .logo-text h1 { font-size: 18px; color: var(--dark); line-height: 1.1; }
  .logo-text span {
    font-size: 11px; color: var(--muted);
    font-family: 'DM Sans', sans-serif;
    letter-spacing: 1px; text-transform: uppercase;
  }
  .nav-links { display: flex; gap: 28px; list-style: none; }
  .nav-links a {
    text-decoration: none; color: var(--text);
    font-weight: 500; font-size: 14px; transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--red); }
  .nav-cta {
    background: var(--red);
    color: white !important;
    padding: 9px 20px;
    border-radius: 6px;
    font-weight: 600 !important;
  }
  .nav-cta:hover { background: var(--red-dark) !important; color: white !important; }
  .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
  .hamburger span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: 0.3s; }
  
  /* ── HERO ── */
  .hero {
    background: linear-gradient(135deg, var(--dark) 0%, #16213e 60%, #0f3460 100%);
    color: white;
    padding: 80px 20px 70px;
    position: relative;
    overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(192,57,43,0.15) 0%, transparent 60%);
  }
  .hero-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
    position: relative; z-index: 1;
  }
  .hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--gold);
    padding: 6px 16px; border-radius: 20px;
    font-size: 12px; font-weight: 600; letter-spacing: 1.5px;
    text-transform: uppercase; margin-bottom: 20px;
  }
  .hero h1 {
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.15; margin-bottom: 16px;
  }
  .hero h1 span { color: var(--red-light); }
  .hero p {
    font-size: 16px; line-height: 1.7;
    color: rgba(255,255,255,0.75);
    margin-bottom: 32px; max-width: 480px;
  }
  .hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
  .btn-primary {
    background: var(--red);
    color: white; border: none;
    padding: 13px 28px; border-radius: 8px;
    font-weight: 600; font-size: 14px;
    cursor: pointer; text-decoration: none;
    display: inline-flex; align-items: center; gap: 8px;
    transition: all 0.3s;
  }
  .btn-primary:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(192,57,43,0.4);
  }
  .btn-outline {
    background: transparent;
    color: white; border: 1.5px solid rgba(255,255,255,0.35);
    padding: 13px 28px; border-radius: 8px;
    font-weight: 600; font-size: 14px;
    cursor: pointer; text-decoration: none;
    display: inline-flex; align-items: center; gap: 8px;
    transition: all 0.3s;
  }
  .btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); }
  .hero-stats {
    display: flex; gap: 28px; margin-top: 40px;
    padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1);
  }
  .hero-stat .num { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 900; color: white; }
  .hero-stat .lbl { font-size: 12px; color: rgba(255,255,255,0.55); letter-spacing: 0.5px; }
  
  /* Hero right accreditation panel */
  .hero-accred-panel {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 24px;
  }
  .hero-accred-title {
    font-size: 12px; letter-spacing: 1.5px;
    text-transform: uppercase; color: var(--gold);
    margin-bottom: 16px; font-family: 'DM Sans', sans-serif;
    font-weight: 700;
  }
  .hero-accred-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
  }
  .hero-accred-item {
    background: rgba(255,255,255,0.9);
    border-radius: 10px;
    padding: 10px 8px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 6px;
    transition: transform 0.2s;
  }
  .hero-accred-item:hover { transform: scale(1.04); }
  .hero-accred-item img {
    width: 100%; height: 52px;
    object-fit: contain;
  }
  .hero-accred-item span {
    font-size: 10px; font-weight: 700;
    color: var(--dark); text-align: center;
    line-height: 1.2;
  }
  
  /* ── TRUST STRIP ── */
  .trust-strip {
    background: var(--light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
  }
  .trust-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: center;
    gap: 40px; flex-wrap: wrap;
  }
  .trust-item {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 600; color: var(--text);
  }
  .trust-item .dot { width: 8px; height: 8px; background: var(--red); border-radius: 50%; flex-shrink: 0; }
  
  /* ── SECTION COMMON ── */
  section { padding: 80px 20px; }
  .container { max-width: 1200px; margin: 0 auto; }
  .section-tag {
    display: inline-block;
    background: var(--red-light); color: var(--red-dark);
    font-size: 11px; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    padding: 4px 14px; border-radius: 20px; margin-bottom: 14px;
  }
  .section-title { font-size: clamp(26px, 3vw, 38px); color: var(--dark); margin-bottom: 12px; }
  .section-sub { font-size: 16px; color: var(--muted); max-width: 540px; line-height: 1.7; }
  .divider { width: 48px; height: 3px; background: var(--red); border-radius: 2px; margin: 16px 0; }
  .divider.center { margin: 16px auto; }
  
  /* ── MISSION ── */
  .mission { background: var(--white); }
  .mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
  .mission-visual { position: relative; }
  .mission-img-placeholder {
    width: 100%; aspect-ratio: 4/3;
    background: linear-gradient(135deg, #fdf0ee, #fce4e1);
    border-radius: 20px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 12px; border: 2px dashed var(--red-light); color: var(--red);
  }
  .mission-img-placeholder svg { width: 52px; height: 52px; opacity: 0.5; }
  .mission-img-placeholder p { font-size: 13px; color: var(--muted); }
  .mission-badge {
    position: absolute; bottom: -16px; right: -16px;
    background: var(--red); color: white;
    padding: 14px 20px; border-radius: 14px;
    text-align: center; box-shadow: var(--shadow-lg);
  }
  .mission-badge .num { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 900; }
  .mission-badge .lbl { font-size: 11px; opacity: 0.85; }
  .mission-points { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
  .mission-point { display: flex; gap: 14px; align-items: flex-start; }
  .mission-point .icon {
    width: 36px; height: 36px; flex-shrink: 0;
    background: var(--red-light); border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
  }
  .mission-point .icon svg { width: 18px; height: 18px; stroke: var(--red-dark); fill: none; stroke-width: 2; }
  .mission-point h5 { font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 14px; color: var(--dark); }
  .mission-point p { font-size: 13px; color: var(--muted); line-height: 1.5; margin-top: 2px; }
  .appeal-box {
    margin-top: 28px;
    background: linear-gradient(135deg, var(--dark), #16213e);
    color: white; padding: 20px 24px; border-radius: 14px;
    font-style: italic; font-family: 'Playfair Display', serif;
    font-size: 16px; line-height: 1.6; position: relative;
  }
  .appeal-box::before {
    content: '"'; font-size: 64px; color: var(--red);
    position: absolute; top: -10px; left: 16px; line-height: 1; opacity: 0.6;
  }
  .appeal-box p { padding-left: 28px; }
  
  /* ── SERVICES ── */
  .services { background: var(--light); }
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px; margin-top: 48px;
  }
  .service-card {
    background: var(--white);
    border-radius: 16px; padding: 28px;
    border: 1px solid var(--border);
    transition: all 0.3s; position: relative; overflow: hidden;
  }
  .service-card::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 0; height: 3px; background: var(--red); transition: width 0.4s;
  }
  .service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
  .service-card:hover::after { width: 100%; }
  .service-icon {
    width: 52px; height: 52px;
    background: var(--red-light); border-radius: 12px;
    display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
  }
  .service-icon svg { width: 26px; height: 26px; stroke: var(--red-dark); fill: none; stroke-width: 1.8; }
  .service-card h4 { font-size: 16px; color: var(--dark); margin-bottom: 8px; }
  .service-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }
  .service-tag {
    display: inline-block; margin-top: 12px;
    background: var(--light); color: var(--red-dark);
    font-size: 11px; font-weight: 600; padding: 3px 10px;
    border-radius: 20px; border: 1px solid var(--red-light);
  }
  
  /* ── ACCREDITATIONS ── */
  .accred-section { background: var(--white); }
  .accred-featured {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 20px; margin-top: 48px; margin-bottom: 20px;
  }
  .accred-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  }
  .accred-card {
    background: var(--white);
    border-radius: 18px; border: 1px solid var(--border);
    overflow: hidden; box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex; flex-direction: column;
  }
  .accred-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
  .accred-img-wrap {
    width: 100%; padding: 24px 20px; aspect-ratio: 16/9;
    display: flex; align-items: center; justify-content: center; overflow: hidden;
  }
  .accred-featured .accred-img-wrap { aspect-ratio: 16/8; padding: 28px 24px; }
  .accred-img-wrap img {
    width: 100%; height: 100%; object-fit: contain;
    transition: transform 0.4s;
  }
  .accred-card:hover .accred-img-wrap img { transform: scale(1.06); }
  .accred-label {
    padding: 14px 18px; background: var(--white);
    border-top: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
  }
  .accred-label h5 {
    font-family: 'DM Sans', sans-serif; font-weight: 700;
    font-size: 13px; color: var(--dark); margin: 0; line-height: 1.3;
  }
  .accred-label .badge {
    display: inline-flex; align-items: center; gap: 4px;
    background: #e8f8f0; color: #1a7a4a;
    font-size: 11px; font-weight: 700;
    padding: 3px 10px; border-radius: 20px; white-space: nowrap; flex-shrink: 0;
  }
  /* per-card background tints */
  .accred-card.echs   .accred-img-wrap { background: linear-gradient(135deg, #eaf4fb, #d6eaf8); }
  .accred-card.cghs   .accred-img-wrap { background: linear-gradient(135deg, #eafaf1, #d5f5e3); }
  .accred-card.ayush  .accred-img-wrap { background: linear-gradient(135deg, #fef9e7, #fdebd0); }
  .accred-card.tpa    .accred-img-wrap { background: linear-gradient(135deg, #e8f8f5, #d0ece7); }
  .accred-card.haryan .accred-img-wrap { background: linear-gradient(135deg, #fdedec, #fad7d7); }
  .accred-card.gic    .accred-img-wrap { background: linear-gradient(135deg, #eaf0fb, #d6e4f7); }
  .accred-card.qci    .accred-img-wrap { background: linear-gradient(135deg, #e8f4fb, #cce5f6); }
  
  /* ── ABOUT ── */
  .about-section { background: var(--light); }
  .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
  .about-img-placeholder {
    width: 100%; aspect-ratio: 1;
    background: linear-gradient(135deg, #eaf0fb, #d6e4f7);
    border-radius: 20px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 12px; border: 2px dashed #a9c4e8; color: #5a8dc8;
  }
  .about-img-placeholder svg { width: 52px; height: 52px; opacity: 0.45; }
  .about-img-placeholder p { font-size: 13px; color: var(--muted); }
  .team-row { display: flex; gap: 16px; margin-top: 28px; }
  .team-card {
    flex: 1; background: var(--white);
    border-radius: 14px; padding: 20px;
    border: 1px solid var(--border); text-align: center;
  }
  .team-avatar {
    width: 164px; height: 164px;
    border-radius: 50%;
    margin: 0 auto 12px;
    display: flex; align-items: center; justify-content: center;
  }
  .team-avatar svg { width: 32px; height: 32px; stroke: var(--red-dark); fill: none; stroke-width: 1.5; }
  .team-card h5 { font-size: 15px; color: var(--dark); }
  .team-card p { font-size: 12px; color: var(--red); font-weight: 600; margin-top: 4px; }
  
  /* ── CONTACT ── */
  .contact-section { background: var(--white); }
  .contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; }
  .contact-form-box {
    background: var(--white); border: 1px solid var(--border);
    border-radius: 20px; padding: 36px; box-shadow: var(--shadow);
  }
  .contact-form-box h3 { font-size: 24px; color: var(--dark); margin-bottom: 24px; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
  .form-group { margin-bottom: 16px; }
  .form-group input,
  .form-group textarea {
    width: 100%; border: 1.5px solid var(--border);
    border-radius: 10px; padding: 13px 16px;
    font-family: 'DM Sans', sans-serif; font-size: 14px;
    color: var(--text); background: var(--light);
    outline: none; transition: border-color 0.2s, box-shadow 0.2s;
  }
  .form-group input:focus,
  .form-group textarea:focus {
    border-color: var(--red); background: var(--white);
    box-shadow: 0 0 0 3px rgba(192,57,43,0.08);
  }
  .form-group textarea { resize: vertical; min-height: 120px; }
  .btn-whatsapp {
    width: 100%;
    background: linear-gradient(135deg, #25D366, #1ebe5c);
    color: white; border: none;
    padding: 15px 28px; border-radius: 10px;
    font-weight: 700; font-size: 15px; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    transition: all 0.3s; font-family: 'DM Sans', sans-serif;
  }
  .btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,0.35); }
  .contact-info-box { padding-top: 8px; }
  .contact-info-box h3 { font-size: 24px; color: var(--dark); margin-bottom: 28px; }
  .info-item { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
  .info-icon {
    width: 44px; height: 44px; flex-shrink: 0;
    background: var(--red-light); border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
  }
  .info-icon svg { width: 20px; height: 20px; stroke: var(--red-dark); fill: none; stroke-width: 2; }
  .info-item h5 {
    font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 13px;
    text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); margin-bottom: 4px;
  }
  .info-item p { font-size: 14px; color: var(--dark); line-height: 1.6; }
  .info-item a { color: var(--dark); text-decoration: none; }
  .info-item a:hover { color: var(--red); }
  .map-placeholder {
    margin-top: 24px; background: #e8f0fe;
    border-radius: 14px; height: 160px;
    display: flex; align-items: center; justify-content: center;
    flex-direction: column; gap: 8px;
    color: #5a7fc8; font-size: 13px; border: 2px dashed #a9c4e8;
  }
  .map-placeholder svg { width: 32px; height: 32px; opacity: 0.5; stroke: #5a7fc8; fill: none; stroke-width: 2; }
  
  /* ── FOOTER ── */
  footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 20px 0;
  }
  .footer-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr;
    gap: 48px; padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .footer-brand h2 { color: white; font-size: 22px; margin-bottom: 10px; }
  .footer-brand p { font-size: 13px; line-height: 1.8; }
  .footer-col h4 { color: white; font-size: 16px; margin-bottom: 16px; }
  .footer-col ul { list-style: none; }
  .footer-col ul li { margin-bottom: 8px; font-size: 13px; }
  .footer-col ul li a { color: rgba(255,255,255,0.65); text-decoration: none; transition: color 0.2s; }
  .footer-col ul li a:hover { color: var(--gold); }
  .footer-bottom {
    max-width: 1200px; margin: 0 auto;
    padding: 20px 0;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 10px;
    font-size: 12px; color: rgba(255,255,255,0.4);
  }
  
  /* ── WHATSAPP FLOAT BUTTON ── */
  .wa-float {
    position: fixed; bottom: 28px; right: 28px; z-index: 999;
    background: var(--green); color: white;
    width: 58px; height: 58px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(37,211,102,0.45);
    text-decoration: none;
    animation: pulse-wa 2.5s infinite;
  }
  .wa-float svg { width: 30px; height: 30px; fill: white; }
  @keyframes pulse-wa {
    0%, 100% { box-shadow: 0 8px 24px rgba(37,211,102,0.45); }
    50% { box-shadow: 0 8px 36px rgba(37,211,102,0.7); transform: scale(1.05); }
  }
  
  /* ── RESPONSIVE ── */
  @media (max-width: 1024px) {
    .accred-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 900px) {
    .hero-grid,
    .mission-grid,
    .about-grid,
    .contact-grid      { grid-template-columns: 1fr; }
    .hero-accred-panel { display: none; }
    .footer-grid       { grid-template-columns: 1fr 1fr; }
    .mission-badge     { right: 0; bottom: -20px; }
    .accred-featured   { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 600px) {
    section            { padding: 60px 16px; }
    .nav-links         { display: none; }
    .hamburger         { display: flex; }
    .form-row          { grid-template-columns: 1fr; }
    .team-row          { flex-direction: column; }
    .footer-grid       { grid-template-columns: 1fr; }
    .trust-inner       { gap: 20px; }
    .hero              { padding: 56px 16px 52px; }
    .hero-stats        { gap: 16px; }
    .top-bar .container { flex-direction: column; align-items: flex-start; gap: 4px; }
    .accred-featured   { grid-template-columns: 1fr; }
    .accred-grid       { grid-template-columns: repeat(2, 1fr); }
    .accred-label h5   { font-size: 12px; }
  }



  .core-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 18px;
    margin-top: 10px;
  }
  
  .value-item {
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    border-left: 5px solid #1e3a8a;
    text-align: left;
    font-size: 15px;
    line-height: 1.7;
  }
  
  .value-item strong {
    color: #1e3a8a;
    font-size: 16px;
  }


  