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

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #2f5fa7;
  --primary-fg: #ffffff;
  --foreground: #1e293b;
  --muted: #64748b;
  --muted-bg: #f1f5f9;
  --border: #e2e8f0;
  --card-bg: #ffffff;
  --bg: #ffffff;
  --secondary: #edf2fc;
  --secondary-fg: #2f5fa7;
  --medical-red: #e53935;
  --medical-yellow: #ffd600;
  --medical-green: #22a559;
  --radius: 0.75rem;
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  color: var(--foreground);
  background: var(--bg);
  line-height: 1.6;
}
.font-hindi { font-family: 'Noto Sans Devanagari', sans-serif; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1400px; margin: 0 auto; padding: 0 1rem; }

/* ==================== NAVBAR ==================== */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: var(--primary); box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 0.2rem; padding-bottom: 0.2rem;
}
.navbar-brand { display: flex; align-items: center; gap: 0.75rem; }
.navbar-brand img {
  height: auto; width: 100%;  object-fit: cover;
  
}
.navbar-brand .brand-name { font-weight: 700; font-size: 1.125rem; color: var(--primary-fg); line-height: 1.2; }
.navbar-brand .brand-sub { font-size: 0.75rem; color: rgba(255,255,255,0.7); }

.nav-links { display: flex; align-items: center; gap: 0.25rem; }
.nav-links a {
  padding: 0.5rem 1rem; border-radius: 0.375rem; font-size: 0.875rem;
  font-weight: 500; color: rgba(255,255,255,0.8); transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  background: rgba(255,255,255,0.2); color: var(--primary-fg);
}

.nav-right { display: flex; align-items: center; gap: 0.75rem; }
.btn-call {
  display: flex; align-items: center; gap: 0.5rem;
  background: var(--medical-red); color: var(--primary-fg);
  padding: 0.5rem 1rem; border-radius: 0.5rem;
  font-weight: 600; font-size: 0.875rem; border: none; cursor: pointer;
  animation: pulse-glow 2s ease-in-out infinite; transition: opacity 0.2s;
}
.btn-call:hover { opacity: 0.9; }

.hamburger {
  display: none; background: none; border: none; color: var(--primary-fg);
  cursor: pointer; padding: 0.25rem; font-size: 1.5rem;
}

.mobile-menu {
  display: none; background: var(--primary);
  border-top: 1px solid rgba(255,255,255,0.1); padding-bottom: 0.75rem;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: 0.75rem 1.5rem; font-size: 0.875rem;
  font-weight: 500; color: rgba(255,255,255,0.8); transition: all 0.2s;
}
.mobile-menu a:hover, .mobile-menu a.active { background: rgba(255,255,255,0.2); color: #fff; }
.mobile-menu .btn-call-mobile {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  margin: 0.5rem 1.5rem 0; background: var(--medical-red); color: #fff;
  padding: 0.5rem 1rem; border-radius: 0.5rem; font-weight: 600; font-size: 0.875rem;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .btn-call-desktop { display: none; }
  .hamburger { display: block; }
}
@media (min-width: 769px) {
  .mobile-menu { display: none !important; }
}

/* ==================== HERO / SWIPER ==================== */
.hero-section { position: relative; }
.hero-section .swiper { height: 500px; }
@media (min-width: 768px) { .hero-section .swiper { height: 600px; } }
.hero-slide { position: relative; height: 100%; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0; background: rgba(30,41,59,0.6);
  display: flex; align-items: center; justify-content: center;
}
.hero-content { text-align: center; padding: 0 1rem; max-width: 800px; }
.hero-content h1 {
  font-size: 2.5rem; font-weight: 700; color: #fff; margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
@media (min-width: 768px) { .hero-content h1 { font-size: 3.75rem; } }
.hero-content p { font-size: 1.125rem; color: rgba(255,255,255,0.9); margin-bottom: 1.5rem; }
@media (min-width: 768px) { .hero-content p { font-size: 1.25rem; } }
.badge-emergency {
  display: inline-block; background: var(--medical-red); color: #fff;
  padding: 0.75rem 1.5rem; border-radius: 9999px; font-weight: 700;
  font-size: 1.125rem; animation: pulse-glow 2s ease-in-out infinite;
}
.btn-services {
  display: inline-block; background: var(--medical-yellow); color: var(--foreground);
  padding: 0.75rem 2rem; border-radius: 9999px; font-weight: 700; transition: opacity 0.2s;
}
.btn-services:hover { opacity: 0.9; }

.swiper-pagination-bullet-active { background: var(--primary) !important; }

/* ==================== PAGE HEADERS ==================== */
.page-header {
  position: relative;
  background: url('../images/breadcrumb_bg.jpg') center/cover no-repeat;
  padding: 100px 0;
  text-align: center;
  color: #fff;
  z-index: 1;
}

/* Overlay */
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: -1;
}

/* Heading */
.page-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .page-header h1 {
    font-size: 3rem;
  }
}

/* Paragraph */
.page-header p {
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto;
}

/* Mobile spacing */
@media (max-width: 768px) {
  .page-header {
    padding: 70px 20px;
  }
}

/* ==================== SECTIONS ==================== */
.section { padding: 4rem 0; }
.section-muted { background: var(--muted-bg); }
.section-title {
  font-size: 1.875rem; font-weight: 700; text-align: center; margin-bottom: 1rem;
}
@media (min-width: 768px) { .section-title { font-size: 2.25rem; } }
.section-subtitle {
  text-align: center; color: var(--muted); margin-bottom: 3rem;
  max-width: 600px; margin-left: auto; margin-right: auto;
}

/* ==================== CARDS GRID ==================== */
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.grid-3 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.grid-5 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .grid-5 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-5 { grid-template-columns: repeat(5, 1fr); } }

.grid-2 { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }

.service-card {
  background: var(--card-bg); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.5rem; border: 1px solid var(--border);
  transition: all 0.3s; cursor: default;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-card .icon-box {
  width: 3.5rem; height: 3.5rem; border-radius: var(--radius);
  background: var(--secondary); display: flex; align-items: center;
  justify-content: center; margin-bottom: 1rem; transition: background 0.3s;
}
.service-card:hover .icon-box { background: var(--primary); }
.service-card .icon-box svg { color: var(--secondary-fg); transition: color 0.3s; }
.service-card:hover .icon-box svg { color: #fff; }
.service-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.service-card .desc { font-size: 0.875rem; color: var(--muted); margin-bottom: 1rem; }
.service-card ul { display: flex; flex-direction: column; gap: 0.375rem; }
.service-card li {
  font-size: 0.875rem; color: var(--muted); display: flex; align-items: flex-start; gap: 0.5rem;
}
.service-card li .check { color: var(--primary); margin-top: 2px; flex-shrink: 0; }
.service-card li .plus { color: var(--primary); margin-top: 2px; }

/* ==================== FACILITY CARDS ==================== */
.facility-card {
  text-align: center; padding: 1.5rem; border-radius: var(--radius);
  border: 1px solid var(--border); transition: all 0.3s;
}
.facility-card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); }
.facility-card .icon-circle {
  width: 4rem; height: 4rem; border-radius: 50%; background: var(--secondary);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem; transition: background 0.3s;
}
.facility-card:hover .icon-circle { background: var(--primary); }
.facility-card .icon-circle svg { color: var(--secondary-fg); transition: color 0.3s; }
.facility-card:hover .icon-circle svg { color: #fff; }
.facility-card h3 { font-weight: 700; margin-bottom: 0.25rem; }
.facility-card p { font-size: 0.875rem; color: var(--muted); }

/* ==================== EMERGENCY BANNER ==================== */
.emergency-banner { background: var(--medical-red); padding: 2.5rem 0; }
.emergency-banner .container {
  display: flex; flex-direction: column; align-items: center;
  justify-content: space-between; gap: 1.5rem; text-align: center;
}
@media (min-width: 768px) {
  .emergency-banner .container { flex-direction: row; text-align: left; }
}
.emergency-banner h2 { font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
@media (min-width: 768px) { .emergency-banner h2 { font-size: 1.875rem; } }
.emergency-banner p { color: rgba(255,255,255,0.8); }
.btn-call-large {
  display: flex; align-items: center; gap: 0.5rem;
  background: #fff; color: var(--medical-red); padding: 1rem 2rem;
  border-radius: var(--radius); font-weight: 700; font-size: 1.125rem;
  transition: opacity 0.2s; white-space: nowrap;
}
.btn-call-large:hover { opacity: 0.9; }

/* ==================== ABOUT ==================== */
.stat-card {
  background: var(--secondary); border-radius: var(--radius); padding: 1.5rem;
  text-align: center; transition: box-shadow 0.3s;
}
.stat-card:hover { box-shadow: var(--shadow-lg); }
.stat-card svg { margin: 0 auto 0.75rem; color: var(--primary); }
.stat-card .stat-value { font-size: 1.875rem; font-weight: 700; margin-bottom: 0.25rem; }
.stat-card .stat-label { font-size: 0.875rem; color: var(--muted); }

.about-text { color: var(--muted); line-height: 1.8; }
.about-text p { margin-bottom: 1rem; }
.about-text strong { color: var(--foreground); }

/* ==================== GALLERY ==================== */
.gallery-item {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: box-shadow 0.3s;
}
.gallery-item:hover { box-shadow: var(--shadow-lg); }
.gallery-item img {
  width: 100%; height: 16rem; object-fit: cover;
  transition: transform 0.5s;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .caption {
  padding: 0.75rem; background: var(--card-bg); text-align: center;
  font-size: 0.875rem; font-weight: 500;
}

/* ==================== CONTACT ==================== */
.contact-info-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-info-item .icon-sm {
  width: 2.5rem; height: 2.5rem; border-radius: 0.5rem; background: var(--secondary);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-item .icon-sm svg { color: var(--primary); }
.contact-info-item .label { font-weight: 600; font-size: 0.875rem; }
.contact-info-item .value { font-size: 0.875rem; color: var(--muted); }
.contact-info-item a.value:hover { color: var(--primary); }

.contact-form input, .contact-form textarea {
  width: 100%; padding: 0.75rem 1rem; border-radius: 0.5rem;
  border: 1px solid var(--border); background: var(--bg); color: var(--foreground);
  font-family: 'Poppins', sans-serif; font-size: 0.875rem;
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(47,95,167,0.15);
}
.contact-form textarea { resize: none; }
.btn-submit {
  width: 100%; background: var(--primary); color: #fff; padding: 0.75rem;
  border-radius: 0.5rem; font-weight: 600; border: none; cursor: pointer;
  font-family: 'Poppins', sans-serif; font-size: 1rem; transition: opacity 0.2s;
}
.btn-submit:hover { opacity: 0.9; }

.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-frame iframe { border: 0; }

.success-box {
  background: var(--secondary); border-radius: var(--radius); padding: 2rem;
  text-align: center;
}
.success-box .emoji { font-size: 2.5rem; margin-bottom: 1rem; }
.success-box h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.success-box p { color: var(--muted); margin-bottom: 1rem; }
.success-box button {
  background: none; border: none; color: var(--primary); font-weight: 600;
  cursor: pointer; font-family: 'Poppins', sans-serif;
}
.success-box button:hover { text-decoration: underline; }

/* ==================== FOOTER ==================== */
.footer { background: var(--foreground); color: #fff; }
.footer .container {
  padding-top: 3rem; padding-bottom: 3rem;
  display: grid; grid-template-columns: 1fr; gap: 2rem;
}
@media (min-width: 768px) { .footer .container { grid-template-columns: repeat(3, 1fr); } }
.footer h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; }
.footer p, .footer span, .footer a { font-size: 0.875rem; color: rgba(255,255,255,0.7); }
.footer a:hover { color: var(--medical-yellow); }
.footer .footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer .contact-list { display: flex; flex-direction: column; gap: 0.75rem; }
.footer .contact-list a, .footer .contact-list div { display: flex; align-items: flex-start; gap: 0.5rem; }
.footer .contact-list svg { flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding: 1rem 0;
  text-align: center; font-size: 0.75rem; color: rgba(255,255,255,0.5);
}

/* ==================== WHATSAPP BUTTON ==================== */
.whatsapp-btn {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 50;
  background: var(--medical-green); color: #fff; width: 56px; height: 56px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2); transition: transform 0.2s;
}
.whatsapp-btn:hover { transform: scale(1.1); }

/* ==================== ANIMATIONS ==================== */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 5px rgba(229,57,53,0.5); }
  50% { box-shadow: 0 0 20px rgba(229,57,53,0.8); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-on-scroll { opacity: 0; }
.animate-on-scroll.visible { animation: fadeInUp 0.6s ease-out forwards; }

/* ==================== SVG ICONS ==================== */
.icon { width: 1.75rem; height: 1.75rem; }
.icon-sm-size { width: 1.25rem; height: 1.25rem; }
.icon-lg { width: 2rem; height: 2rem; }

a{
  text-decoration:none;
}
.floating_btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 100px;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items:center;
  justify-content:center;
  z-index: 1000;
}

@keyframes pulsing {
  to {
    box-shadow: 0 0 0 30px rgba(232, 76, 61, 0);
  }
}

.contact_icon {
  background-color: #42db87;
  color: #fff;
  width: 60px;
  height: 60px;
  font-size:30px;
  border-radius: 50px;
  text-align: center;
  box-shadow: 2px 2px 3px #999;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translatey(0px);
  animation: pulse 1.5s infinite;
  box-shadow: 0 0 0 0 #42db87;
  -webkit-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  -moz-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  -ms-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  font-weight: normal;
  font-family: sans-serif;
  text-decoration: none !important;
  transition: all 300ms ease-in-out;
}


.text_icon {
  margin-top: 8px;
  color: #707070;
  font-size: 13px;
}
/* SECTION BG */
.about-section {
  background: linear-gradient(135deg, #f5f9ff, #ffffff);
  padding: 80px 0;
}

/* LAYOUT */
.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

/* LEFT */
.about-content h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}

.about-badge {
  background: #e53935;
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 13px;
  display: inline-block;
  margin-bottom: 10px;
}

.about-highlight {
  margin-top: 20px;
  background: #fff;
  padding: 15px;
  border-left: 4px solid #2f5fa7;
  border-radius: 6px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* RIGHT GRID */
.about-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* CARD DESIGN */
.stat-card {
  background: #fff;
  padding: 25px;
  text-align: center;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.stat-card:hover {
  transform: translateY(-8px);
}

/* ICON */
.stat-icon {
  font-size: 28px;
  margin-bottom: 10px;
}

/* HIGHLIGHT CARD */
.stat-card.highlight {
  background: linear-gradient(135deg, #2f5fa7, #1e3c72);
  color: #fff;
}

/* TEXT */
.stat-card h3 {
  font-size: 26px;
  margin: 10px 0;
}

.stat-card p {
  font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .about-wrapper {
    grid-template-columns: 1fr;
  }
}

/* CARD BASE */
.service-card.new {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: 0.4s;
}

/* IMAGE */
.service-img {
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: 0.4s;
}

/* CONTENT */
.service-content {
  padding: 20px;
  text-align: center;
}

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

.service-content p {
  font-size: 14px;
  color: #666;
}

/* HOVER EFFECT */
.service-card.new:hover {
  transform: translateY(-10px);
}

.service-card.new:hover img {
  transform: scale(1.1);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .service-img img {
    height: 180px;
  }
}
/* FOOTER MAIN */
.footer {
  background: #0f172a;
  color: #fff;
  padding-top: 60px;
}

/* GRID */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* COLUMN */
.footer-col h3 {
  font-size: 18px;
  margin-bottom: 15px;
  position: relative;
}

.footer-col h3::after {
  content: "";
  width: 40px;
  height: 3px;
  background: #ffd600;
  position: absolute;
  bottom: -5px;
  left: 0;
}

/* TEXT */
.footer-col p {
  font-size: 14px;
  color: #ccc;
}

/* LINKS */
.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #ffd600;
  padding-left: 5px;
}

/* CONTACT */
.footer-contact {
  list-style: none;
  padding: 0;
}

.footer-contact li {
  margin-bottom: 10px;
  font-size: 14px;
  color: #ccc;
}

.footer-contact i {
  margin-right: 8px;
  color: #ffd600;
}

/* SOCIAL */
.footer-social {
  margin-top: 15px;
}

.footer-social a {
  display: inline-block;
  width: 35px;
  height: 35px;
  line-height: 35px;
  text-align: center;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  margin-right: 8px;
  color: #fff;
  transition: 0.3s;
}

.footer-social a:hover {
  background: #ffd600;
  color: #000;
}

/* BOTTOM */
.footer-bottom {
  text-align: center;
  padding: 15px;
  margin-top: 40px;
  background: #020617;
  font-size: 14px;
  color: #aaa;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
}
/* LIST DESIGN (important part) */
.service-card.new ul {
  list-style: none;
  padding: 0;
  margin-top: 12px;
  text-align: left;
}

.service-card.new ul li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #444;
  margin-bottom: 7px;
  line-height: 1.4;
  transition: 0.3s;
}

/* PLUS ICON */
.service-card.new .plus {
  min-width: 18px;
  height: 18px;
  background: linear-gradient(135deg, #2f5fa7, #1e3c72);
  color: #fff;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-top: 2px;
}

/* HOVER */
.service-card.new ul li:hover {
  color: #2f5fa7;
  transform: translateX(4px);
}

/* TOPBAR */
.topbar {
  background: #355483;   /* light blue */
  color: #fcfcfc;
  font-size: 13px;
  border-bottom: 1px solid #e0e0e0;
}

/* FLEX */
.topbar-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
}

/* LEFT */
.topbar-left span {
  margin-right: 15px;
}

/* RIGHT */
.topbar-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* CONTACT */
.topbar-contact a {
  color: #fff;
  text-decoration: none;
  margin-right: 10px;
  transition: 0.3s;
}

.topbar-contact a:hover {
  color: #ffd600;
}

/* SOCIAL */
.topbar-social {
  display: flex;
  align-items: center;
}

.topbar-social a {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  margin-left: 6px;
  color: #fff;
  font-size: 12px;
  transition: 0.3s;
}

.topbar-social a:hover {
  background: #ffd600;
  color: #000;
}

/* MOBILE */
@media (max-width: 768px) {
  .topbar-flex {
    flex-direction: column;
    gap: 5px;
    text-align: center;
  }

  .topbar-right {
    flex-direction: column;
    gap: 5px;
  }

  .topbar-contact {
    display: flex;
    flex-direction: column;
  }
}
/* CARD */
.service-card.modern {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: 0.4s;
}

/* IMAGE */
.service-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

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

/* OVERLAY */
.overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: #fff;
}

.overlay h3 {
  margin: 0;
  font-size: 20px;
}

.overlay p {
  font-size: 13px;
  opacity: 0.9;
}

/* CONTENT */
.service-content {
  padding: 18px;
}

/* LIST */
.service-content ul {
  list-style: none;
  padding: 0;
}

.service-content ul li {
  font-size: 13px;
  color: #444;
  padding-left: 18px;
  position: relative;
  margin-bottom: 6px;
}

/* CUSTOM BULLET */
.service-content ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #2f5fa7;
  font-size: 12px;
}

/* HOVER */
.service-card.modern:hover {
  transform: translateY(-10px);
}

.service-card.modern:hover img {
  transform: scale(1.1);
}
.service-card.modern:hover {
  box-shadow: 0 15px 40px rgba(47,95,167,0.3);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

@media (max-width: 768px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}
.floating-social {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 999;
}

.floating-social a {
  display: flex;
  align-items: center;
  width: 50px;
  height: 45px;
  margin: 6px 0;
  padding-left: 12px;
  text-decoration: none;
  border-radius: 25px 0 0 25px;
  font-size: 18px;
  position: relative;
  transition: 0.3s;
}

/* ICON COLOR FIX */
.floating-social a i {
  color: #fff; /* always white icon */
  min-width: 25px;
  text-align: center;
}

/* TEXT STYLE */
.floating-social a span {
  position: absolute;
  right: 55px;
  background: inherit;
  color: #fff;
  padding: 8px 12px;
  border-radius: 20px;
  opacity: 0;
  white-space: nowrap;
  transition: 0.3s;
}

/* HOVER */
.floating-social a:hover span {
  opacity: 1;
  right: 60px;
}

/* BRAND COLORS */
.whatsapp { background: #25D366; }
.facebook { background: #3b5998; }
.instagram { background: #E4405F; }
.youtube { background: #FF0000; }
.twitter { background: #1DA1F2; }
.linkedin { background: #0077b5; }
.telegram { background: #0088cc; }
.call { background: #28a745; }

/* HOVER EFFECT (LIGHT GLOW) */
.floating-social a:hover {
  filter: brightness(1.1);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Language Switch */
.lang-switch {
  position: relative;
  display: flex;
  background: #2f5fa7;
  border-radius: 25px;
  overflow: hidden;
}

.lang-switch button {
  position: relative;
  z-index: 2;
  border: none;
  padding: 6px 14px;
  background: transparent;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  transition: 0.3s;
}

/* Slider animation */
.lang-switch .slider {
  position: absolute;
  width: 50%;
  height: 100%;
  background: #ffd600;
  border-radius: 25px;
  top: 0;
  left: 0;
  transition: 0.3s ease;
  z-index: 1;
}

/* Active states */
#btn-en.active ~ .slider {
  left: 0;
}
#btn-hi.active ~ .slider {
  left: 50%;
}

.lang-switch button.active {
  color: #000;
}

/* Hide Google default UI */
#google_translate_element {
  display: none;
}

/* Social Icons */
.topbar-social a {
  color: #fff;
  margin-left: 8px;
  font-size: 14px;
  transition: 0.3s;
}

.topbar-social a:hover {
  color: #ffd600;
}
