:root{
  --blue:#0b5fa5;
  --blue2:#094893;
  --green:#63a004;
  --bg:#f3f6fb;
  --card:#ffffff;
  --text:#0f172a;
  --muted:#64748b;
  --line: rgba(15, 23, 42, .10);
  --shadow: 0 10px 30px rgba(2, 8, 23, .10);
  --radius:16px;
  --radius2:22px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background: var(--bg);
}

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

.container{
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight:700;
  cursor:pointer;
  transition:.18s ease;
  user-select:none;
}
.btn--sm{ padding:10px 14px; font-size:14px; }
.btn--full{ width:100%; }
.btn--green{ background: var(--green); color:#fff; }
.btn--green:hover{ transform: translateY(-1px); filter: brightness(.96); }
.btn--blue{ background: var(--blue2); color:#fff; }
.btn--blue:hover{ transform: translateY(-1px); filter: brightness(.98); }

/* Topbar */
.topbar{
  background:#fff;
  border-bottom: 1px solid var(--line);
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding: 10px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
}
.brand__logo{
  width:65px;height:65px;
  border-radius:999px;
  object-fit:cover;
  border:2px solid rgba(99,160,4,.25);
}
.brand__name{
	font-size: 25px;
  font-weight:800;
  letter-spacing:.2px;
  color: var(--blue2);
  line-height:1.1;
}
.brand__tag{
  font-size:14px;
  color: var(--green);
  font-weight:600;
  margin-top:2px;
}
.topbar__right{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.topbar__item{
  display:flex;
  gap:8px;
  align-items:center;
  color: var(--muted);
  font-size:14px;
}
.topbar__item i{ color: var(--blue2); }

/* Navbar */
.navbar{
  background: linear-gradient(0deg, var(--blue2), var(--blue));
  position: sticky;
  top:0;
  z-index:50;
  box-shadow: 0 8px 18px rgba(2,8,23,.12);
}

.navbar__inner{
  display:flex;
  align-items:stretch;     /* linklər hündürlük boyu */
  justify-content:space-between;
  gap:14px;
  padding: 10px 0;
}

/* Menu with thin separators */
.nav{
  display:flex;
  align-items:stretch;
  gap:0;                   /* separator düzgün olsun */
}

.nav__link{
  position:relative;
  display:flex;
  align-items:center;
  height:100%;
  padding: 0 16px;
  color: rgba(255,255,255,.92);
  font-weight:700;
  font-size:16px;
  border-radius:0;
  transition:.15s ease;
}

/* thin, slightly visible white line */
.nav__link:not(:last-child)::after{
  content:"";
  position:absolute;
  right:0;
  top:14%;
  height:72%;
  width:1px;
  background: rgba(255,255,255,.28);
}

/* Hover full height, line-to-line */
.nav__link:hover{
  background: rgba(255,255,255,.14);
}

.nav__link.is-active{
  background: rgba(255,255,255,.18);
}

/* Social icons in navbar: icon only, hover like menu */
.social-nav{
  display:flex;
  align-items:center;
  gap:8px;
}

.nav-social{
  width:38px;
  height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:8px;
  color:#fff;
  transition:.2s ease;
}
.nav-social i{ font-size:16px; }
.nav-social:hover{
  background: rgba(255,255,255,.18);
}

/* Mobile toggle */
.nav-toggle{
  display:none;
  width:44px;height:44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.10);
  cursor:pointer;
}
.nav-toggle span{
  display:block;
  width:20px;height:2px;
  background:#fff;
  margin: 5px auto;
  border-radius: 2px;
  transition:.18s ease;
}
.nav-toggle.is-open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2){ opacity:0; }
.nav-toggle.is-open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* HERO SLIDER (no overlay / no opacity effect on image) */
.hero-slider{
  position: relative;
  height: 600px;
  overflow: hidden;
  background:#000; /* şəkil yüklənənə qədər */
}

.slide{
  position:absolute;
  inset:0;
  background-size: cover;
  background-position: center;
  background-repeat:no-repeat;
  opacity:0;
  transition: opacity .8s ease-in-out;
  display:flex;
  align-items:center;
}
.slide.active{ opacity:1; }

/* IMPORTANT: overlay disabled */
.slide::before{ display:none !important; }

.hero-content{ position: relative; z-index: 2; }
.hero-text h1{
  color:#fff;
  font-size: clamp(34px, 4vw, 52px);
  line-height:1.08;
  margin:0 0 10px;
  text-shadow: 0 10px 24px rgba(0,0,0,.35);
}
.hero-text p{
  color:#fff;
  margin: 0 0 18px;
  font-size:18px;
  text-shadow: 0 10px 24px rgba(0,0,0,.35);
}

/* Slider arrows - centered, bigger */
.slider-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:70px;
  height:70px;
  border-radius:50%;
  border:none;
  background:rgba(255,255,255,.22);
  backdrop-filter: blur(6px);
  color:#fff;
  font-size:34px;
  font-weight:800;
  cursor:pointer;
  transition:.25s ease;
  z-index:10;
  display:flex;
  align-items:center;
  justify-content:center;
}
.slider-btn:hover{
  background:rgba(255,255,255,.40);
  transform:translateY(-50%) scale(1.08);
}
.slider-btn.prev{ left:22px; }
.slider-btn.next{ right:22px; }

/* Features row */
.features{
  background:#fff;
  border-bottom: 1px solid var(--line);
}
.features__inner{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 14px 0;
}
.feature{
  display:flex;
  align-items:center;
  gap: 14px;
  padding: 14px 18px;
  border-right: 1px solid var(--line);
}
.feature:last-child{ border-right: 0; }
.feature__icon{
  width:42px;height:42px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  background: rgba(9,72,147,.10);
  color: var(--blue2);
}
.feature__title{ font-weight:800; color: var(--blue2); }
.feature__sub{ font-size:13px; color: var(--muted); margin-top:2px; }

/* Sections */
.section{ padding: 34px 0; }
.section--alt{ background: #fff; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }

.section__title{
  text-align:center;
  margin:0 0 18px;
  letter-spacing:.8px;
  font-weight:900;
  color: var(--blue2);
}
.section__title--green{ color: var(--green); }
.center{ text-align:center; margin-top: 14px; }

/* Departments */
.dept-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 14px;
}
.dept-card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 14px;
  display:flex;
  align-items:center;
  gap: 12px;
  box-shadow: 0 8px 18px rgba(2,8,23,.06);
  transition:.18s ease;
}
.dept-card:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(9,72,147,.20);
}
.dept-card__icon{
  width:44px;height:44px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  background: rgba(9,72,147,.10);
  color: var(--blue2);
}
.dept-card__name{
  font-weight:800;
  color: var(--blue2);
}

/* Doctors */
.card-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 14px;
}
.doc-card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  overflow:hidden;
  box-shadow: 0 10px 22px rgba(2,8,23,.08);
  transition:.18s ease;
}
.doc-card:hover{ transform: translateY(-2px); box-shadow: var(--shadow); }
.doc-card__img{
  width:100%;
  height: 300px;
  object-fit: cover;
  background:#e9eef6;
}
.doc-card__body{ padding: 14px; }
.doc-card__name{ font-weight:900; color: var(--blue2); }
.doc-card__role{
  margin-top:4px;
  color: var(--muted);
  font-size:13px;
  margin-bottom: 12px;
}

/* News */
.news-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 14px;
}
.news-card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  overflow:hidden;
  box-shadow: 0 10px 22px rgba(2,8,23,.08);
  transition:.18s ease;
}
.news-card:hover{ transform: translateY(-2px); box-shadow: var(--shadow); }
.news-card__img{
  width:100%;
  height: 155px;
  object-fit: cover;
  background:#e9eef6;
}
.news-card__body{ padding: 14px; }
.news-card__title{ font-weight:900; color: var(--blue2); }
.news-card__text{ margin:8px 0 0; color: var(--muted); font-size: 13px; line-height:1.6; }

/* Contact */
.contact{
  display:grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 16px;
  margin-top: 14px;
}
.contact__info{
  background:#fff;
  border:1px solid var(--line);
  border-radius: var(--radius2);
  padding: 18px;
  box-shadow: 0 10px 22px rgba(2,8,23,.08);
}
.info-line{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(15,23,42,.10);
  color: var(--muted);
  font-weight:600;
}
.info-line:last-child{ border-bottom:0; }
.info-line i{ color: var(--blue2); width:18px; }

.contact__form{
  background:#fff;
  border:1px solid var(--line);
  border-radius: var(--radius2);
  padding: 18px;
  box-shadow: 0 10px 22px rgba(2,8,23,.08);
}
.contact__form input,
.contact__form textarea{
  width:100%;
  font-family:inherit;
  font-size:14px;
  padding: 12px 12px;
  border-radius: 12px;
  border:1px solid rgba(15,23,42,.12);
  outline:none;
  margin-bottom: 10px;
  background:#fbfdff;
}
.contact__form input:focus,
.contact__form textarea:focus{
  border-color: rgba(9,72,147,.35);
  box-shadow: 0 0 0 4px rgba(9,72,147,.10);
}
.form-row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Footer */
.footer{
  background: linear-gradient(0deg, #083a74, var(--blue2));
  color:#fff;
  margin-top: 20px;
}
.footer__inner{
  display:grid;
  grid-template-columns: 1.2fr .9fr .9fr;
  gap: 18px;
  padding: 26px 0;
}
.footer__title{
  font-weight:900;
  letter-spacing:.4px;
  margin-bottom:10px;
}
.footer__text{ color: rgba(255,255,255,.86); margin:0; line-height:1.7; }
.footer__link{
  display:block;
  color: rgba(255,255,255,.86);
  padding: 6px 0;
  font-weight:650;
}
.footer__link:hover{ color:#fff; text-decoration:underline; }
.footer__social{
  display:flex;
  gap:10px;
  margin-top: 10px;
}
.footer__social a{
  width:40px;height:40px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  background: rgba(255,255,255,.12);
  color:#fff;
  transition:.18s ease;
}
.footer__social a:hover{ background: rgba(255,255,255,.20); transform: translateY(-1px); }

.footer__bottom{ border-top: 1px solid rgba(255,255,255,.12); }
.footer__bottom-inner{
  padding: 12px 0;
  color: rgba(255,255,255,.85);
  font-size: 13px;
}

/* Responsive */
@media (max-width: 980px){
  .topbar__inner{ flex-direction:column; align-items:flex-start; }
  .navbar__inner{ gap:10px; }
  .features__inner{ grid-template-columns: 1fr; }
  .feature{ border-right:0; border-bottom:1px solid var(--line); }
  .feature:last-child{ border-bottom:0; }

  .dept-grid{ grid-template-columns: repeat(2, 1fr); }
  .card-grid{ grid-template-columns: repeat(2, 1fr); }
  .news-grid{ grid-template-columns: 1fr; }
  .about{ grid-template-columns: 1fr; }
  .contact{ grid-template-columns: 1fr; }
  .footer__inner{ grid-template-columns: 1fr; }
}

@media (max-width: 760px){
  .nav-toggle{ display:inline-block; }

  /* mobile dropdown */
  .nav{
    position:absolute;
    left:16px; right:16px;
    top: 64px;
    background: rgba(9,72,147,.98);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 16px;
    padding: 10px;
    display:none;
    flex-direction:column;
    gap: 6px;
    box-shadow: 0 16px 30px rgba(2,8,23,.24);
    z-index:60;

  }
  .nav.is-open{ display:flex; }

  /* separator off on mobile */
  .nav__link{ padding: 12px 12px; }
  .nav__link::after{ display:none; }

  .form-row{ grid-template-columns: 1fr; }

  .hero-slider{ height: 520px; }
  .slider-btn{ width:62px; height:62px; font-size:30px; }
}

/* ================= ABOUT SECTION ================= */

.about {
  width: 100%;
  padding: 80px 0;
  background: #f4f6fa;
  display: flex;
  justify-content: center;
}

/* Grid Layout */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;        /* ✅ stretch deyil */
}

/* RIGHT CONTENT SIDE */
.about-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* ✅ center deyil */
}

/* LEFT IMAGE SIDE */
.about-media {
  position: relative;
  height: auto;             /* ✅ əlavə et */
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.about-media img {
  width: 100%;
  height: auto;
  display: block;
  border: none;
  outline: none;
}
/* Badge */
.about-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: rgba(255,255,255,0.95);
  padding: 14px 18px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
}

.about-badge__big {
  font-size: 22px;
  font-weight: 800;
  color: #094893;
}

.about-badge__txt {
  font-size: 13px;
  color: #6b7a90;
}

/* RIGHT CONTENT SIDE */
.about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-head h2 {
  font-size: 32px;
  margin-bottom: 15px;
  color: #1b2b44;
}

.section-head p {
  color: #52637a;
  line-height: 1.7;
  margin-bottom: 25px;
}

/* Points */
.about-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 25px;
}

.about-point {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.05);
}

.about-point i {
  color: #63a004;
  font-size: 16px;
}

/* Stats */
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}

.stat {
  background: #ffffff;
  padding: 18px;
  border-radius: 18px;
  text-align: center;
  border: 1px solid rgba(9,72,147,0.1);
}

.stat-num {
  font-size: 22px;
  font-weight: 800;
  color: #094893;
}

.stat-label {
  font-size: 13px;
  color: #6b7a90;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-media {
    height: 400px;
  }
}

@media (max-width: 576px) {
  .about-media {
    height: 300px;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }
}
/* PAGE HEADER */
.page-header{
  position: relative;
  min-height: 150px;
  display:flex;
  align-items:center;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  overflow:hidden;
}

.page-header__overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(
    90deg,
    rgba(9,72,147,.88) 0%,
    rgba(9,72,147,.70) 55%,
    rgba(9,72,147,.30) 100%
  );
}

.page-header__content{
  position:relative;
  z-index:2;
  padding:40px 15px;
  color:#fff;
}

.page-title{
  margin:0 0 10px;
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight:800;
  line-height:1.1;
}

/* BREADCRUMB — əsas düzəliş burada */
.breadcrumb{
  display:flex !important;
  align-items:center;
  gap:10px;                 /* boşluqları bu verir */
  flex-wrap:wrap;
  margin:0;
  padding:0;
  font-size:14px;
}

.breadcrumb__link,
.breadcrumb__sep,
.breadcrumb__current{
  display:inline-block !important; /* yapışmanı kəsir */
  line-height:1.4;
}

.breadcrumb__link{
  color:#fff;
  text-decoration:none;
  border-bottom:1px solid rgba(255,255,255,.35);
}

.breadcrumb__link:hover{
  border-bottom-color: rgba(255,255,255,.85);
}

.breadcrumb__sep{ opacity:.75; }
.breadcrumb__current{ opacity:.95; }

.map-section{
  width:100vw;
  margin-left: calc(-50vw + 50%);
}

.map-section iframe{
  width:100%;
  height:350px;      /* istəsən dəyişə bilərsən */
  border:0;
  display:block;
}
/* ===== Custom Blocks: 1 sətirdə 2 blok ===== */
.block-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* max 2 blok */
  gap: 26px;
}

/* Mobil: 1 blok */
@media (max-width: 900px){
  .block-grid{ grid-template-columns: 1fr; }
}

/* ===== Hər blok: solda yazı, sağda şəkil ===== */
.block-card{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:22px;
  padding:22px;
  box-shadow: 0 16px 40px rgba(0,0,0,.06);
  display:flex;
  align-items:center;
  gap:18px;
  min-height: 180px;
}

.block-card__left{
  flex: 1.15;     /* yazı biraz böyük */
  min-width: 0;
}

.block-card__right{
  flex: .85;
  display:flex;
  justify-content:flex-end;
}

.block-card__right img{
  
  max-width: 260px;
  height: 150px;
  object-fit: contain;    /* kəsilməsin */
  background:#eef3ff;     /* yumşaq fon */
  border-radius:16px;
  padding:0px;
}

.block-card__title{
  margin:0 0 10px;
  font-size:20px;
  font-weight:800;
}

.block-card__text{
  line-height:1.2;
  font-size:15px;
  opacity:.88;
}

/* Mobil: yazı yuxarı, şəkil aşağı */
@media (max-width: 900px){
  .block-card{
    flex-direction:column;
    align-items:flex-start;
  }
  .block-card__right{ justify-content:flex-start; width:100%; }
  .block-card__right img{ max-width:100%; height:auto; }
}

/* ================= DOCTOR DETAIL (Sidebar + Tabs) ================= */

.profile-layout{
  display:grid;
  grid-template-columns: 340px 1fr;
  gap:22px;
  align-items:start;
}

.profile-side{
  position: sticky;
  top: 90px;
}

@media (max-width: 1000px){
  .profile-layout{ grid-template-columns: 1fr; }
  .profile-side{ position: static; }
}

.side-card{
  background: var(--card);
  border:1px solid var(--line);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  overflow:hidden;
  padding: 16px;
}

.side-photo{
  border-radius: 18px;
  overflow:hidden;
  background:#fff;
  border:1px solid var(--line);
}
.side-photo img{
  width:100%;
  height:450px;
  object-fit:cover;
  display:block;
}

.side-name{
  margin:14px 2px 6px;
  font-weight: 900;
  font-size: 20px;
  color: var(--text);
}

.side-spec{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(99,160,4,.12);
  color: #2c5b02;
  font-weight: 900;
  letter-spacing: .8px;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 12px;
}

.side-box{
  background: #f7f9fc;
  border:1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  margin: 10px 0 14px;
}

.side-box-title{
  font-weight: 900;
  color: var(--text);
  margin-bottom: 10px;
}

.side-row{
  display:flex;
  gap:10px;
  padding: 10px 10px;
  background: rgba(255,255,255,.9);
  border:1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 10px;
}

.side-ico{
  width:34px;height:34px;
  border-radius: 12px;
  display:grid;place-items:center;
  background: rgba(9,72,147,.10);
  color: var(--blue2);
}

.side-val{ font-weight: 650; color: var(--text); }
.side-val a{ color: var(--blue2); font-weight: 850; text-decoration:none; }
.side-val a:hover{ text-decoration:underline; }

.side-note{
  display:flex; align-items:center; gap:8px;
  font-weight: 700;
  color: rgba(15,23,42,.78);
  padding: 10px 10px;
  border-radius: 14px;
  background: rgba(255,255,255,.75);
  border:1px dashed rgba(15,23,42,.18);
}

.main-hero{
  background: linear-gradient(135deg, rgba(9,72,147,.10), rgba(99,160,4,.06));
  border:1px solid var(--line);
  border-radius: var(--radius2);
  padding: 18px;
  box-shadow: var(--shadow);
}

.main-title-row{
  display:flex;
  align-items:center;
  gap:10px;
}

.main-name{
  margin: 0;
  font-size: 34px;
  font-weight: 950;
  color: var(--text);
  letter-spacing: .2px;
}

.badge-ok{
  color: var(--green);
  font-size: 18px;
}

.main-pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(99,160,4,.14);
  color: #2c5b02;
  font-weight: 950;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 10px 0 14px;
}

.main-card{
  background: rgba(255,255,255,.88);
  border:1px solid var(--line);
  border-radius: var(--radius2);
  padding: 16px;
}

.card-h{
  display:flex; align-items:center; gap:10px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 10px;
}

.card-b p{
  margin: 0 0 10px;
  line-height:1.8;
  color: rgba(15,23,42,.92);
}

.tabs{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 14px;
  background: rgba(255,255,255,.72);
  border:1px solid var(--line);
  border-radius: 18px;
  padding: 10px;
}

.tab-btn{
  border:0;
  background: transparent;
  padding: 10px 12px;
  border-radius: 16px;
  font-weight: 700;
  color: rgba(15,23,42,.78);
  display:inline-flex;
  gap:10px;
  align-items:center;
  cursor:pointer;
}

.tab-btn.is-active{
  background: rgba(255,255,255,.95);
  border:1px solid var(--line);
  color: var(--text);
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
}

.tab-panels{
  margin-top: 12px;
  background: rgba(255,255,255,.88);
  border:1px solid var(--line);
  border-radius: var(--radius2);
  padding: 16px;
}

.tab-panel{ display:none; }
.tab-panel.is-active{ display:block; }

.tab-panels h2, .tab-panels h3, .tab-panels h4{
  color: var(--blue2);
  font-weight: 950;
  margin: 12px 0 10px;
}
.tab-panels p{
  margin: 10px 0 12px;
  line-height:1.8;
  color: rgba(15,23,42,.92);
}
.tab-panels ul, .tab-panels ol{ padding-left: 20px; margin: 10px 0 12px; }
.tab-panels li{ margin: 8px 0; line-height:1.75; }
.dept-detail{
  background:#fff;
  border:1px solid var(--line);
  border-radius: var(--radius2);
  padding: 26px;
  box-shadow: var(--shadow);
}

.dept-detail__head{
  display:flex;
  gap:16px;
  align-items:flex-start;
  margin-bottom: 14px;
}

.dept-detail__icon{
  width:54px;height:54px;
  border-radius: 16px;
  display:grid;place-items:center;
  background: linear-gradient(135deg, rgba(9,72,147,.12), rgba(99,160,4,.12));
  border:1px solid rgba(15,23,42,.08);
  flex:0 0 auto;
}

.dept-detail__icon i{ font-size:24px; color: var(--blue2); }

.dept-detail__title{
  margin:0;
  font-size: 26px;
  line-height: 1.2;
}

.dept-detail__short{
  margin:8px 0 0;
  color: var(--muted);
}

.dept-detail__content{
  margin-top: 16px;
  color: var(--text);
  line-height: 1.75;
}

.dept-detail__content img{ max-width:100%; height:auto; border-radius: 14px; }
.dept-detail__content h1,.dept-detail__content h2,.dept-detail__content h3{ margin-top:18px; }
/* =========================
   DEPARTMENTS - JPG VERSION
   ========================= */

#departments .dept-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:30px;
  margin-top:30px;
}

#departments .dept-card{
  display:flex;
  gap:20px;
  padding:28px;
  background:#fff;
  border-radius:18px;
  border:1px solid rgba(15,23,42,.08);
  box-shadow:0 15px 35px rgba(2,8,23,.06);
  position:relative;
  transition:.25s ease;
}

#departments .dept-card:hover{
  transform:translateY(-3px);
  box-shadow:0 25px 45px rgba(2,8,23,.10);
}

#departments .dept-card__icon{
  width:80px;
  height:80px;
  border-radius:50%;
  background:rgba(9,72,147,.08);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}

#departments .dept-card__icon i{
  font-size:32px;
  color:#4f86c6;
}

#departments .dept-card__content{
  flex:1;
}

#departments .dept-card__name{
  font-size:20px;
  font-weight:800;
  color:#1f2f46;
}

#departments .dept-card__line{
  height:1px;
  background:#e5e7eb;
  margin:10px 0 14px;
  width:100%;
}

#departments .dept-card__desc{
  font-size:15px;
  color:#6b7280;
  line-height:1.6;
}

#departments .dept-card__arrow{
  position:absolute;
  right:24px;
  bottom:20px;
  font-size:20px;
  color:#9aa4b2;
}

@media(max-width:768px){
  #departments .dept-grid{
    grid-template-columns:1fr;
  }
}
.dept-hero{
  display:flex;
  gap:30px;
  align-items:center;
  background:#fff;
  padding:30px;
  border-radius:22px;
  box-shadow:0 20px 50px rgba(0,0,0,.06);
}

.dept-hero__icon{
  width:90px;
  height:90px;
  border-radius:20px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:34px;
  background:rgba(9,72,147,.08);
  color:#094893;
}

.dept-hero__line{
  height:1px;
  background:rgba(15,23,42,.15);
  margin:10px 0;
}

.dept-about{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:40px;
  align-items:center;
}

.dept-about__img img{
  width:100%;
  border-radius:24px;
}

.faq-item{
  background:#fff;
  padding:18px 22px;
  border-radius:16px;
  margin-bottom:12px;
  box-shadow:0 10px 30px rgba(0,0,0,.05);
}

.faq-question{
  font-weight:700;
  margin-bottom:6px;
}
/* DETAIL LAYOUT */

.dept-detail{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:50px;
  align-items:start;
}

.dept-detail__image img{
  width:100%;
  border-radius:24px;
  box-shadow:0 20px 60px rgba(0,0,0,.08);
}

.dept-detail__content{
  font-size:16px;
  line-height:1.8;
  color:#334155;
}

.dept-detail__content p{
  margin-bottom:16px;
}

@media(max-width: 992px){
  .dept-detail{
    grid-template-columns:1fr;
  }
}