:root{
  --ip-blue: #103985;
  --ip-blue-2: #25598d;
  --ip-orange: #f59e0b;
  --ip-red: #e11d48;

  --ip-ink: #0f172a;
  --ip-muted: #475569;
  --ip-border: #e2e8f0;

  --ip-bg: #ffffff;
  --ip-soft: #f8fafc;
}

*{ box-sizing: border-box; }

body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background-color: var(--ip-bg);
  color: var(--ip-ink);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(15, 23, 42, 0.08) 1px, transparent 1.7px),
    linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(248,250,252,1) 100%);
  background-size: 18px 18px, auto;
  background-position: 0 0, center;
  background-attachment: fixed;
}

a{ color: var(--ip-blue); }
a:hover{ color: var(--ip-blue-2); }

.btn-primary{
  --bs-btn-bg: var(--ip-blue);
  --bs-btn-border-color: var(--ip-blue);
  --bs-btn-hover-bg: var(--ip-blue-2);
  --bs-btn-hover-border-color: var(--ip-blue-2);
  --bs-btn-active-bg: var(--ip-blue-2);
  --bs-btn-active-border-color: var(--ip-blue-2);
}

.btn-outline-primary{
  --bs-btn-color: var(--ip-blue);
  --bs-btn-border-color: var(--ip-blue);
  --bs-btn-hover-bg: var(--ip-blue);
  --bs-btn-hover-border-color: var(--ip-blue);
  --bs-btn-hover-color: #fff;
}

/* Top bar */
.topbar{
  background: linear-gradient(135deg, rgba(248,250,252,0.95) 0%, rgba(255,255,255,0.92) 100%);
  border-bottom: 1px solid var(--ip-border);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.topbar-item{
  font-size: 0.95rem;
  color: var(--ip-muted);
  transition: all 0.2s ease;
}
.topbar-item a{
  color: var(--ip-ink);
  text-decoration: none;
  transition: color 0.2s ease;
}
.topbar-item a:hover{ 
  text-decoration: underline;
  color: var(--ip-blue);
}

/* Brand */
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.brand:hover{
  transform: translateY(-1px);
}
.brand-mark{
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--ip-blue) 0%, var(--ip-blue-2) 60%, var(--ip-orange) 100%);
  position: relative;
  box-shadow: 0 8px 18px rgba(16, 57, 133, 0.22);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.brand:hover .brand-mark{
  box-shadow: 0 12px 28px rgba(16, 57, 133, 0.3);
  transform: scale(1.05);
}
.brand-mark::after{
  content:"";
  position:absolute;
  right: 8px;
  top: 8px;
  width: 10px;
  height: 10px;
  background: var(--ip-red);
  border-radius: 3px;
  opacity: 0.95;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.95; }
  50% { opacity: 0.6; }
}
.brand-text{ line-height: 1.1; }
.brand-name{
  font-weight: 900;
  color: var(--ip-ink);
  display: block;
  transition: color 0.2s ease;
}
.brand:hover .brand-name{
  color: var(--ip-blue);
}
.brand-tag{
  font-size: 0.82rem;
  color: var(--ip-muted);
  display: block;
  margin-top: 2px;
}

/* Navbar */
.nav-link{
  font-weight: 700;
  color: var(--ip-muted);
  transition: color 0.2s ease;
  position: relative;
}
.nav-link:hover{ 
  color: var(--ip-ink);
}
.nav-link.active{
  color: var(--ip-blue) !important;
  position: relative;
}
.nav-link.active::after{
  content:"";
  position:absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--ip-orange), var(--ip-red));
  border-radius: 999px;
  animation: slideIn 0.3s ease;
}
@keyframes slideIn {
  from { width: 0; }
  to { width: 100%; }
}

/* Accent strip */
.accent-strip{
  height: 6px;
  background: linear-gradient(90deg, var(--ip-blue), var(--ip-blue-2), var(--ip-orange), var(--ip-red));
  box-shadow: 0 2px 8px rgba(16, 57, 133, 0.15);
}

.corner-accent{
  position: relative;
  overflow: hidden;
}
.corner-accent::before{
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 160px;
  height: 160px;
  background: linear-gradient(135deg, var(--ip-orange), var(--ip-red));
  opacity: 0.12;
  transform: rotate(18deg);
  border-radius: 28px;
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: rotate(18deg) translateY(0); }
  50% { transform: rotate(18deg) translateY(-10px); }
}

/* Hero */
.hero-split{
  background-image:
    radial-gradient(circle at 1px 1px, rgba(15, 23, 42, 0.10) 1px, transparent 1.7px),
    linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 58%, rgba(248,250,252,1) 100%);
  background-size: 18px 18px, auto;
  background-position: 0 0, center;
  border-bottom: 1px solid var(--ip-border);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.hero-title{
  font-weight: 950;
  letter-spacing: -0.02em;
  font-size: clamp(2rem, 4vw, 3rem);
  animation: fadeInUp 0.6s ease;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-subtitle{
  color: var(--ip-muted);
  font-size: 1.06rem;
  max-width: 56ch;
  animation: fadeInUp 0.6s ease 0.1s backwards;
}
.hero-badges .badge-soft{
  background: linear-gradient(135deg, #eef2ff, #dbeafe);
  color: var(--ip-blue);
  border: 1px solid #bfdbfe;
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 800;
  margin-right: 8px;
  margin-bottom: 8px;
  transition: all 0.2s ease;
  animation: fadeInUp 0.6s ease 0.2s backwards;
}
.hero-badges .badge-soft:hover{
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 57, 133, 0.15);
}
.hero-badges .badge-soft i{ color: var(--ip-orange); }

.hero-media{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--ip-border);
  background: #0b1220;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 0.6s ease 0.3s backwards;
}
.hero-media:hover{
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
}
.hero-img{
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.hero-media:hover .hero-img{
  transform: scale(1.05);
}
@media (max-width: 991px){
  .hero-img{ height: 320px; }
}

.hero-media-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2,6,23,0.05) 0%, rgba(2,6,23,0.55) 80%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.hero-media:hover .hero-media-overlay{
  opacity: 1;
}
.hero-media-card{
  width: 100%;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(226,232,240,0.9);
  border-radius: 14px;
  padding: 14px 14px;
  transform: translateY(10px);
  transition: transform 0.3s ease;
}
.hero-media:hover .hero-media-card{
  transform: translateY(0);
}
.mini-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--ip-orange);
  box-shadow: 0 0 0 4px rgba(245,158,11,0.2);
  animation: pulse 2s ease-in-out infinite;
}
.mini-title{ font-weight: 900; color: var(--ip-ink); }
.mini-text{ color: var(--ip-muted); font-size: 0.95rem; }

/* Mini stats under hero image */
.hero-mini-stats{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 991px){
  .hero-mini-stats{ grid-template-columns: 1fr; }
}
.stat-card{
  border: 1px solid var(--ip-border);
  border-radius: 14px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  padding: 12px 12px;
  transition: all 0.2s ease;
}
.stat-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}
.stat-label{
  font-size: 0.85rem;
  color: var(--ip-muted);
  font-weight: 700;
}
.stat-value{
  font-weight: 900;
  transition: color 0.2s ease;
}
.stat-value a{ 
  text-decoration: none;
  transition: color 0.2s ease;
}
.stat-value a:hover{
  color: var(--ip-blue);
}

/* Trust strip */
.trust-strip{
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.trust-item{
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 12px;
  border: 1px solid var(--ip-border);
  border-radius: 14px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  transition: all 0.2s ease;
}
.trust-item:hover{
  transform: translateX(4px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
  border-color: var(--ip-blue);
}
.trust-icon{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(135deg, #eef2ff, #dbeafe);
  color: var(--ip-blue);
  transition: all 0.2s ease;
}
.trust-item:hover .trust-icon{
  transform: scale(1.1);
  background: linear-gradient(135deg, var(--ip-blue), var(--ip-blue-2));
  color: white;
}
.trust-title{ font-weight: 900; }
.trust-text{ color: var(--ip-muted); font-size: 0.95rem; }

/* Mobile hero order fix: badges -> image -> copy (mobile only) */
@media (max-width: 991px){
  .hero-split .row{
    flex-direction: column;
  }

  .hero-left{
    display: contents;
  }

  .hero-badges{
    order: 1;
    margin-bottom: 10px;
  }

  .hero-right{
    order: 2;
    margin-top: 0;
  }

  .hero-copy{
    order: 3;
    margin-top: 14px;
  }

  .hero-img{
    height: 280px;
  }
}

/* Sections */
.section{ padding: 64px 0; }
.section-head{ margin-bottom: 26px; }
.section-title{ 
  font-weight: 950; 
  letter-spacing: -0.01em;
  animation: fadeInUp 0.6s ease;
}
.section-subtitle{ 
  color: var(--ip-muted); 
  margin: 6px 0 0 0;
  animation: fadeInUp 0.6s ease 0.1s backwards;
}

/* Cards */
.card-clean{
  border: 1px solid var(--ip-border);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}
.card-clean:hover{
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.1);
}

.card-service{
  border: 1px solid var(--ip-border);
  border-radius: 18px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(6px);
}
.card-service:hover{
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(15,23,42,0.12);
  border-color: var(--ip-blue);
}
.service-icon{
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(135deg, #eef2ff, #dbeafe);
  color: var(--ip-blue);
  font-size: 1.3rem;
  transition: all 0.3s ease;
}
.card-service:hover .service-icon{
  transform: scale(1.15) rotate(5deg);
  background: linear-gradient(135deg, var(--ip-blue), var(--ip-blue-2));
  color: white;
}

/* Page hero */
.page-hero{
  background-image:
    radial-gradient(circle at 1px 1px, rgba(15, 23, 42, 0.10) 1px, transparent 1.7px),
    linear-gradient(180deg, rgba(248,250,252,1) 0%, rgba(255,255,255,1) 100%);
  background-size: 18px 18px, auto;
  background-position: 0 0, center;
  border-bottom: 1px solid var(--ip-border);
  padding: 34px 0;
  position: relative;
  overflow: hidden;
}
.page-title{
  font-weight: 950;
  letter-spacing: -0.02em;
  margin: 0;
  animation: fadeInUp 0.6s ease;
}
.page-subtitle{
  color: var(--ip-muted);
  margin-top: 6px;
  animation: fadeInUp 0.6s ease 0.1s backwards;
}

/* Feature cards */
.card-feature{
  border: 1px solid var(--ip-border);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}
.card-feature:hover{
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.1);
}
.feature-icon{
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(135deg, #fff7ed, #fed7aa);
  color: var(--ip-orange);
  border: 1px solid #fdba74;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}
.card-feature:hover .feature-icon{
  transform: scale(1.1) rotate(-5deg);
  background: linear-gradient(135deg, var(--ip-orange), var(--ip-red));
  color: white;
  border-color: var(--ip-orange);
}

/* CTA panel */
.cta-panel{
  border: 1px solid var(--ip-border);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(248,250,252,0.95));
  padding: 18px 18px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}
.cta-panel:hover{
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  transform: translateY(-2px);
}

.note{
  font-size: 0.95rem;
  color: var(--ip-muted);
}

/* Checklist */
.checklist{
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.checklist li{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  padding: 10px 0;
  border-bottom: 1px dashed var(--ip-border);
  transition: all 0.2s ease;
}
.checklist li:hover{
  padding-left: 8px;
  background: rgba(245,158,11,0.03);
}
.checklist li:last-child{ border-bottom: none; }
.checklist i{
  color: var(--ip-orange);
  margin-top: 2px;
  transition: transform 0.2s ease;
}
.checklist li:hover i{
  transform: scale(1.2);
}

/* Projects */
.filter-bar{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}
.btn-filter{
  border: 1px solid var(--ip-border);
  background: rgba(255,255,255,0.97);
  color: var(--ip-muted);
  font-weight: 800;
  border-radius: 999px;
  padding: 8px 12px;
  backdrop-filter: blur(6px);
  transition: all 0.2s ease;
}
.btn-filter:hover{
  border-color: var(--ip-blue);
  color: var(--ip-ink);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}
.btn-filter.active{
  background: linear-gradient(135deg, #eef2ff, #dbeafe);
  border-color: #bfdbfe;
  color: var(--ip-blue);
  box-shadow: 0 4px 12px rgba(16, 57, 133, 0.15);
}

.project-card{
  border: 1px solid var(--ip-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(6px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.project-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  border-color: var(--ip-blue);
}
.project-img{ 
  background: #0b1220;
  position: relative;
  overflow: hidden;
}
.project-img img{
  width: 100%;
  height: 190px;
  object-fit: cover;
  display:block;
  opacity: 0.98;
  transition: all 0.3s ease;
}
.project-card:hover .project-img img{
  transform: scale(1.1);
  opacity: 1;
}
.project-meta{
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0 10px 0;
}
.chip{
  display:inline-flex;
  align-items:center;
  gap: 6px;
  border: 1px solid var(--ip-border);
  background: rgba(255,255,255,0.97);
  color: var(--ip-muted);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  backdrop-filter: blur(6px);
  transition: all 0.2s ease;
}
.chip:hover{
  border-color: var(--ip-blue);
  color: var(--ip-blue);
  transform: translateY(-1px);
}

.status-chip{
  font-size: 0.75rem;
  font-weight: 900;
  border-radius: 999px;
  padding: 6px 10px;
  border: 1px solid var(--ip-border);
  white-space: nowrap;
  transition: all 0.2s ease;
}
.status-chip:hover{
  transform: scale(1.05);
}
.status-completed{
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border-color: #86efac;
  color: #065f46;
}
.status-ongoing{
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border-color: #93c5fd;
  color: #1d4ed8;
}
.status-planned{
  background: linear-gradient(135deg, #fff7ed, #fed7aa);
  border-color: #fdba74;
  color: #9a3412;
}

/* Contact layout */
.contact-row{
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--ip-border);
  transition: all 0.2s ease;
}
.contact-row:hover{
  padding-left: 8px;
  background: rgba(16, 57, 133, 0.02);
}
.contact-row:last-child{ border-bottom: none; }
.contact-icon{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(135deg, #eef2ff, #dbeafe);
  color: var(--ip-blue);
  border: 1px solid #bfdbfe;
  transition: all 0.3s ease;
}
.contact-row:hover .contact-icon{
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, var(--ip-blue), var(--ip-blue-2));
  color: white;
}
.contact-label{
  font-size: 0.85rem;
  color: var(--ip-muted);
  font-weight: 800;
}
.contact-value a{
  text-decoration: none;
  font-weight: 900;
  transition: color 0.2s ease;
}
.contact-value a:hover{
  color: var(--ip-blue);
}

/* Mini grid for services page */
.mini-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.mini-card{
  border: 1px solid var(--ip-border);
  border-radius: 14px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  padding: 12px 12px;
  display: flex;
  gap: 12px;
  align-items: center;
  transition: all 0.2s ease;
}
.mini-card:hover{
  transform: translateX(4px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
  border-color: var(--ip-blue);
}
.mini-ico{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(135deg, #fff7ed, #fed7aa);
  border: 1px solid #fdba74;
  color: var(--ip-orange);
  transition: all 0.3s ease;
}
.mini-card:hover .mini-ico{
  transform: scale(1.1) rotate(-5deg);
  background: linear-gradient(135deg, var(--ip-orange), var(--ip-red));
  color: white;
  border-color: var(--ip-orange);
}
.mini-h{ font-weight: 950; }
.mini-p{ color: var(--ip-muted); font-size: 0.92rem; }

/* Footer */
.footer{
  border-top: 1px solid var(--ip-border);
  padding: 42px 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.92) 100%);
  backdrop-filter: blur(6px);
}
.footer-brand{
  font-weight: 950;
  font-size: 1.15rem;
}
.footer-title{
  font-weight: 950;
  margin-bottom: 10px;
}
.footer-links{
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li{ margin-bottom: 8px; }
.footer-links a{
  text-decoration: none;
  color: var(--ip-ink);
  transition: all 0.2s ease;
}
.footer-links a:hover{ 
  text-decoration: underline;
  color: var(--ip-blue);
  padding-left: 4px;
}

.footer-bottom{
  border-top: 1px solid var(--ip-border);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* Alternative for wide logos */
/* FORCE navbar logo styling */

/* Brand block: logo on top, tagline under */
.navbar .brand{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}

/* Logo styling (forced over Bootstrap) */
.navbar .navbar-brand img.brand-logo{
  height: 64px !important;
  width: 164px !important;
  object-fit: contain !important;
  padding: 2px;
  display: block;
  transition: transform 0.3s ease;
}
.navbar .brand:hover img.brand-logo{
  transform: scale(1.05);
}

/* Tagline under logo */
.navbar .brand-tag{
  font-size: 0.8rem;
  color: var(--ip-muted);
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

/* YG Engineering footer badge */
.yg-badge{
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid var(--ip-border);
  border-radius: 4px;
  background: transparent;
  color: var(--ip-ink);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.yg-badge:hover{
  border-color: var(--ip-blue);
  color: var(--ip-blue);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 57, 133, 0.1);
}

.footer-legal{
  font-size: 0.75rem;
  line-height: 1.2;
  margin-top: 2px;
}

/* Gallery item hover effect */
.gallery-item{
  display: block;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--ip-border);
  transition: all 0.3s ease;
}
.gallery-item:hover{
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  border-color: var(--ip-blue);
}
.gallery-item img{
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.gallery-item:hover img{
  transform: scale(1.1);
}
.gallery-caption{
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.9), transparent);
  color: white;
  padding: 8px 10px;
  font-size: 0.85rem;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-caption{
  opacity: 1;
}

/* Accordion improvements */
.accordion-button{
  font-weight: 700;
  transition: all 0.2s ease;
}
.accordion-button:not(.collapsed){
  background: linear-gradient(135deg, #eef2ff, #dbeafe);
  color: var(--ip-blue);
}
.accordion-button:hover{
  background: rgba(16, 57, 133, 0.04);
}
.accordion-item{
  border: 1px solid var(--ip-border);
  border-radius: 14px !important;
  margin-bottom: 8px;
  overflow: hidden;
  transition: all 0.2s ease;
}
.accordion-item:hover{
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}
