/* ========================================================
   🎨 BASE STYLE & UNIVERSAL RESET
   ======================================================== */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  background:#ffffff;
  color:#1b2a41;
  font-family: "Inter", sans-serif !important;
}

/* Responsive Images Global Fix */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header Sticky Base */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 2px solid #D4AF37;
    box-shadow: 0 3px 12px rgba(0,0,0,.08);
}

.velentra { color:#0B2E59 !important; }
.health { color:#18A7A7 !important; }

/* Global Fonts & Typography */
html, body, body * { font-family: "Inter", sans-serif !important; }

h1, h2, h3, h4, h5, h6 {
    font-family: "Inter", sans-serif !important;
    font-weight: 700 !important;
    color: #0B2E59;
    line-height: 1.3;
    margin-bottom: 20px;
}

p, span, li, a, label, input, textarea, button, small {
    font-family: "Inter", sans-serif !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
}

/* Container Spacing */
.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
}

section {
    padding-top: 80px;
    padding-bottom: 80px;
}

/* ========================================================
   🖼️ HERO BANNERS & IMAGES FIX (For All Pages)
   ======================================================== */
.hero {
  text-align: center;
  padding: 0 !important;
  border-bottom: 2px solid #D4AF37;
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
}

.page-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.page-banner img, .page-banner .hero-image {
    width: 100%;
    height: auto !important; /* Forces images to fit without zoom-in/out distortion */
    display: block;
    object-fit: contain !important;
}

/* Sub-Pages Blue Hero Section */
.page-hero {
    background: #123B6D !important;
    color: #ffffff !important;
    padding: 90px 20px 110px !important;
    text-align: center;
}

.page-hero h1 {
    font-size: 42px !important;
    color: #ffffff !important;
    margin: 0 0 25px 0 !important;
}

.page-hero p {
    font-size: 20px !important;
    color: #ffffff !important;
    max-width: 850px;
    margin: 0 auto !important;
}

/* ========================================================
   🗂️ GRID & UNIVERSAL CARD SETTINGS (As Per Your Choice)
   ======================================================== */
.features, .services-grid, .process-grid, .services-section .container, .healthcare-section .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

/* Cards Base Structure */
.feature-card, .service-card, .process-card, .testimonial-card, .health-card {
    background: #ffffff !important;
    color: #123B6D !important;
    border-top: 4px solid #123B6D !important;
    border-bottom: 4px solid #D4AF37 !important;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0,0,0,.10);
    transition: all .3s ease;
}

.feature-card h2, .feature-card h3, .feature-card p,
.service-card h2, .service-card h3, .service-card p,
.process-card h2, .process-card h3, .process-card p,
.testimonial-card h2, .testimonial-card h3, .testimonial-card h4, .testimonial-card p,
.health-card h2, .health-card p {
    color: #123B6D !important;
}

/* Hover Effects */
.feature-card:hover, .service-card:hover, .process-card:hover, .testimonial-card:hover, .health-card:hover {
    background: #18A7A7 !important;
    transform: translateY(-8px);
}

.feature-card:hover *, .service-card:hover *, .process-card:hover *, .testimonial-card:hover *, .health-card:hover * {
    color: #ffffff !important;
}

/* Specific Card Layout Fixes */
#services .service-card {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 120px;
}

#process .process-card h3 {
    color: #D4AF37;
    font-size: 32px;
}

/* ========================================================
   📝 INNER PAGES EXTRAS (About, RCM, HIPAA, Forms)
   ======================================================== */
.about, .mission, .hipaa, .leadership, .client-first, .medical-billing, .medical-coding, .ar-recovery, .denial-management, .careers-section, .resources-section, .healthcare-section {
    padding: 80px 20px;
}

.health-card { background: #f8fafc !important; }
.rcm-services, .technology-services, .careers-section, .resources-section { background: #f7f9fc; }

.medical-billing .container, .medical-coding .container, .ar-recovery .container, .denial-management .container {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    border-top: 4px solid #D4AF37;
    box-shadow: 0 8px 20px rgba(0,0,0,.10);
}

/* Contact Form CSS */
.contact-form { padding: 60px 20px; }
.contact-form form { max-width: 600px; margin: auto; }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 14px; border: 1px solid #ddd; border-radius: 8px; font-size: 16px; margin-bottom: 15px;
}
.contact-form button {
    background: #D4AF37; color: #123B6D; padding: 14px 30px; border: none; border-radius: 25px; font-weight: 700; cursor: pointer;
}
.contact-form button:hover { background: #18A7A7; color: #ffffff; }

/* Testimonial Slider Mechanics */
.testimonial-slider { overflow: hidden; position: relative; display: flex; align-items: center; }
.testimonial-track { display: flex; width: 100%; transition: transform 0.5s ease; gap: 20px; }
.testimonial-card { min-width: 100%; flex-shrink: 0; }
.prev-btn, .next-btn {
    position: absolute; top: 50%; transform: translateY(-50%); background: #0B2E59; color: white;
    border: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 20px; z-index: 2;
}
.prev-btn { left: 10px; } .next-btn { right: 10px; }

/* CTA & Footer */
#cta { background: #0B2E59; padding: 70px 20px; text-align: center; color: white; }
.cta-btn {
    display: inline-block; background: #18A7A7; color: white; padding: 14px 30px; border-radius: 8px;
    text-decoration: none; font-weight: 600; transition: 0.3s ease;
}
.cta-btn:hover { transform: translateY(-3px); background: #D4AF37; color: #123B6D; }
#footer { background: #0B2E59; color: #ffffff; text-align: center; padding: 50px 20px; border-top: 2px solid #D4AF37; }

/* ========================================================
   💻 DESKTOP VIEW QUERY (Laptop Layout Standard Fix)
   ======================================================== */
@media (min-width: 769px) {
  header.main-header {
    height: 90px !important; 
    position: sticky !important;
    top: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 40px !important; 
    background: #ffffff !important;
    width: 100% !important;
    z-index: 1000 !important;
  }

  .header-top {
    height: auto !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    background: transparent !important;
    width: auto !important;
  }

  .header-logo img, .logo img, header img {
    max-height: 60px !important; 
    height: 60px !important;
    width: auto !important;
    display: block !important;
    object-fit: contain !important;
  }

  #navbar {
    display: flex !important;
    position: relative !important;
    flex-direction: row !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  #navbar a {
    display: inline-block !important;
    padding: 0 12px !important; 
    margin-left: 28px !important;
    color: #0B2E59 !important;
    text-decoration: none;
    font-weight: 600;
  }
  
  #navbar a:hover { color: #18A7A7 !important; }

  .menu-toggle, #menu-toggle {
    display: none !important;
  }
}

/* ========================================================
   📱 MOBILE VIEW PERFECT FIX (Unchanged, Purely Preserved)
   ======================================================== */
@media (max-width: 768px) {
  header.main-header, .header-top {
    background-color: #ffffff !important;
    height: 125px !important; 
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
  }

  .header-logo img {
    max-height: 105px !important; 
    width: auto !important;
  }

  .menu-toggle {
    position: fixed !important;    
    top: 42px !important; 
    right: 20px !important;
    z-index: 10010 !important;     
    background: #123B6D !important; 
    padding: 10px !important;      
    border-radius: 8px !important; 
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    width: 42px !important;
    height: 38px !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .menu-toggle span {
    background: #ffffff !important; 
    width: 22px !important;
    height: 3px !important;
    display: block !important;
  }

  #navbar {
    position: fixed !important;
    top: 125px !important; 
    right: -100%;
    height: auto !important;
    max-height: 60vh !important; 
    width: 260px !important;
    background: #ffffff !important;
    z-index: 10000 !important;   
    padding: 20px 0 !important; 
    box-shadow: -5px 5px 20px rgba(0,0,0,0.15) !important;
    border-bottom-left-radius: 12px !important;
    transition: right 0.3s ease;
  }

  #navbar.active { 
    right: 0 !important;
    display: flex !important; 
    flex-direction: column !important; 
  }
  
  #navbar a { 
    display: block !important; 
    padding: 12px 0 !important; 
    color: #123B6D !important; 
    text-align: center !important;
    border-bottom: 1px solid #f0f0f0 !important;
  }
  #navbar a:last-child { border-bottom: none !important; }

  .testimonial-card { min-width: 100%; flex: 0 0 100%; }
  
  section { padding: 40px 0 !important; }
  .page-hero { padding: 90px 20px 110px !important; }
  .page-hero h1 { font-size: 32px !important; }
  .page-hero p { font-size: 17px !important; }
}
/* ========================================================
   📱 ONLY MOBILE HOME PAGE CONTENT & NAVBAR FINAL FIX
   ======================================================== */
@media (max-width: 768px) {
  
  /* 1. Content ko left side se chipkne se rokne ke liye */
  .container, .about, #why-choose, section {
    padding-left: 20px !important;
    padding-right: 20px !important;
    width: 100% !important;
  }

  /* Headings (About Us, Why Choose...) ki spacing */
  .about h2, #why-choose h2, h2 {
    text-align: left !important; 
    margin-top: 35px !important;
    margin-bottom: 15px !important;
    font-size: 26px !important;
  }

  /* Paragraphs ke darmiyan spacing */
  .about p, #why-choose p, p {
    margin-bottom: 25px !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
  }

  /* 2. Menu Bar (Navbar) ki spacing aur background */
  #navbar {
    padding: 20px !important;
    background: #ffffff !important;
  }

  /* Menu ke andar ke links ki settings */
  #navbar a {
    text-align: center !important; 
    padding: 12px 15px !important;
    font-size: 16px !important;
    width: 100% !important;
    display: block !important;
  }
}
/* ========================================================
   📱 MOBILE BANNER FULL & INNER PAGES SPACING FIX
   ======================================================== */
@media (max-width: 768px) {
  
  /* 1. RCM aur baqi sub-pages ke banners ko home page ki tarah screen par FULL edge-to-edge karna */
  .page-banner, 
  .rcm-services .technology-banner, 
  header + .page-banner,
  div[class*="-banner"] {
    margin-left: -20px !important;  /* Container ki padding ko cross karne ke liye */
    margin-right: -20px !important;
    width: calc(100% + 40px) !important; /* Screen ke dono koonon tak full stretch */
    max-width: none !important;
  }

  .page-banner img, .hero-image {
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* 2. About Us aur baqi pages par sections ke darmiyan jo boht zyada spacing (gap) hai use kam karna */
  .mission, 
  .leadership, 
  .hipaa, 
  .client-first, 
  section {
    padding-top: 20px !important;   /* Oopar ka gap kam kiya */
    padding-bottom: 20px !important;/* Niche ka gap kam kiya */
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  /* Headings ke oopar aur niche ki faltu space thodi tight karna */
  h2, .mission h2, .leadership h2, .hipaa h2 {
    margin-top: 15px !important;
    margin-bottom: 10px !important;
  }

  p {
    margin-bottom: 15px !important;
  }
}
/* ========================================================
   📱 MOBILE MENU WIDTH & ALL SUB-PAGES BANNER FINAL FIX
   ======================================================== */
@media (max-width: 768px) {
  
  /* 1. Menu Bar (Navbar) ko poora full screen width karna taake naam baahir na niklein */
  #navbar {
    width: 100% !important;      /* Aadhe panel ki jagah ab poori screen gherega */
    right: -100% !important;     /* Shuru mein screen se baahir rahega */
    left: auto !important;
    max-height: 80vh !important; /* Lamba menu bhi perfectly fit ho jaye */
    padding: 20px !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2) !important;
  }

  #navbar.active {
    right: 0 !important;         /* Open hone par poori screen par barabar aayega */
  }

  /* Menu links ko khula khula aur center karna taake text wrap ho sake */
  #navbar a {
    width: 100% !important;
    display: block !important;
    text-align: center !important;
    padding: 14px 10px !important; /* Spacing behtar ki taake naam fit aayein */
    font-size: 16px !important;
    white-space: normal !important; /* Agar naam lamba ho to khud niche wali line me aa jaye, baahir na nikle */
  }

  /* 2. HomePage aur About ke ilawa BAQI TAMAM PAGES ke banners ko full stretch karna */
  .page-banner,
  .hero,
  .healthcare-banner,
  .technology-banner,
  .careers-banner,
  .resources-banner,
  [class*="-banner"],
  [class*="hero-section"] {
    margin-left: -20px !important;  /* Margins ko override kiya */
    margin-right: -20px !important;
    width: calc(100% + 40px) !important; /* Screen ke dono koonon tak full touch */
    max-width: none !important;
    display: block !important;
  }

  /* Un sub-pages ki images ko force full width dena */
  .page-banner img, 
  .hero-image,
  [class*="-banner"] img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover !important;
  }
}
/* ========================================================
   🔗 LINKEDIN FOOTER BUTTON STYLING
   ======================================================== */
#footer .linkedin-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0077B5; /* LinkedIn ka official blue color */
    color: #ffffff !important;
    padding: 10px 22px;
    border-radius: 25px; /* Gold buttons ki tarah rounded capsules */
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    margin-top: 15px; /* Address se thoda gap dene ke liye */
    margin-bottom: 20px; /* Copyright text se gap dene ke liye */
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 119, 181, 0.2);
}

#footer .linkedin-btn:hover {
    background: #005582; /* Hover par thoda dark professional blue */
    transform: translateY(-2px); /* Chhota sa bounce effect */
    box-shadow: 0 6px 15px rgba(0, 119, 181, 0.3);
}

#footer .linkedin-btn i {
    font-size: 18px !important;
}
/* ========================================================
   📱 HORIZONTAL SCROLL / ZOOM-OUT & ALL BANNERS FINAL FIX
   ======================================================== */

/* 1. Website ko responsive break hone aur automatic zoom-out hone se rokna */
html, body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important; /* Koi bhi element screen se baahir nahi bhagega */
  position: relative;
}

@media (max-width: 768px) {
  
  /* 2. Testimonial track aur sliders ko screen ke andar lock karna (Main Wajah Zoom-out ki) */
  .testimonial-slider, 
  .testimonial-track,
  .container,
  .services-grid,
  .features {
    max-width: 100% !important;
    overflow: hidden !important;
  }

  /* 3. HOME, ABOUT, RCM aur BAQI SAB PAGES ke banners ko 100% Barabar (Uniform) karna */
  .hero,
  .page-banner,
  .healthcare-banner,
  .technology-banner,
  [class*="-banner"],
  [class*="hero-section"] {
    margin-left: -20px !important;  /* Container padding override */
    margin-right: -20px !important;
    width: calc(100% + 40px) !important; /* Edge to edge full screen */
    max-width: none !important;
    min-width: calc(100% + 40px) !important;
    display: block !important;
  }

  /* Banners ki images ko force karna ke woh bilkul screen ke mutabiq fit rahein */
  .hero img,
  .hero-image,
  .page-banner img,
  [class*="-banner"] img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover !important;
  }
}
/* ========================================================
   📱 ALL PAGES BANNER UNIFORM FULL-WIDTH FIX
   ======================================================== */
@media (max-width: 768px) {
  
  /* Website ke tamam headers aur main sections ke banners ko home page jaisa karna */
  .page-banner,
  .about-banner,
  .services-banner,
  .rcm-banner,
  .contact-banner,
  header + section,
  main > section:first-of-type,
  div[class*="banner"] {
    margin-left: -20px !important;
    margin-right: -20px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: calc(100% + 40px) !important;
    max-width: none !important;
    min-width: calc(100% + 40px) !important;
    display: block !important;
  }

  /* Un tamam banners ke andar mojud images ko responsive full width dena */
  .page-banner img,
  .about-banner img,
  .services-banner img,
  .rcm-banner img,
  div[class*="banner"] img,
  header + section img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover !important;
  }
}
#footer a,
#footer a:visited,
#footer a:hover,
#footer a:active {
    color: #ffffff !important;
    text-decoration: none;
}
