:root {
  --primary: #0f4c5c;
  --primary-dark: #06343f;
  --accent: #18a999;
  --accent-dark: #129687;
  --accent-soft: #e7fbf8;
  --gold: #f4b942;
  --danger: #dc3545;
  --dark: #152536;
  --muted: #6b7a8d;
  --light-bg: #f6fafb;
  --white: #ffffff;
  --border: rgba(15, 76, 92, 0.12);
  --shadow: 0 18px 45px rgba(15, 76, 92, 0.12);
  --shadow-sm: 0 12px 30px rgba(15, 76, 92, 0.08);
  --radius: 22px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
.navbar-logo {
  width: 100px;
  height: 80px;
  object-fit: contain;
}

.navbar-logo {
  width: 85px;
  height: 70px;
  object-fit: contain;
  flex-shrink: 0;
}

.icar-logo {
  margin-right: 12px;
}

.sbrt-logo {
  margin-left: 12px;
}

@media (max-width: 991px) {
  .navbar-logo {
    width: 65px;
    height: 55px;
  }

  .navbar-brand {
    font-size: 15px;
  }
}



body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--dark);
  background: var(--light-bg);
  line-height: 1.7;
}

a { text-decoration: none; }

img { max-width: 100%; }

/* Shared layout */
.top-strip {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  padding: 8px 0;
}

.top-strip i { color: var(--gold); }

.navbar {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(15, 76, 92, 0.08);
}

.navbar-brand {
  font-weight: 800;
  color: var(--primary) !important;
  letter-spacing: -0.5px;
}

.brand-badge {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  margin-right: 10px;
  box-shadow: 0 12px 25px rgba(24, 169, 153, 0.25);
}

.navbar .nav-link {
  color: var(--dark);
  font-weight: 600;
  padding: 10px 14px !important;
}

.navbar .nav-link:hover,
.navbar .nav-link.active { color: var(--accent); }

.dropdown-menu {
  border: 0;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 12px;
}

.dropdown-item {
  border-radius: 12px;
  font-weight: 500;
  padding: 9px 12px;
}

.dropdown-item:hover {
  background: var(--accent-soft);
  color: var(--primary);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
  border: 0;
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(24, 169, 153, 0.25);
  transition: all 0.25s ease;
}

.btn-accent:hover {
  color: var(--white);
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(24, 169, 153, 0.32);
}

.btn-outline-accent {
  border: 1px solid rgba(24, 169, 153, 0.35);
  color: var(--primary);
  background: var(--white);
  border-radius: 999px;
  padding: 11px 22px;
  font-weight: 700;
}

.btn-outline-accent:hover,
.filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.section-padding { padding: 90px 0; }

.section-title {
  max-width: 780px;
  margin: 0 auto 45px;
  text-align: center;
}

.section-subtitle {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.82rem;
  margin-bottom: 10px;
}

.section-title h2,
.block-title {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--primary-dark);
  margin-bottom: 15px;
}

.section-title p,
.text-muted-custom { color: var(--muted); }

.hero {
  position: relative;
  overflow: hidden;
  padding: 105px 0 80px;
  background:
    radial-gradient(circle at top left, rgba(244, 185, 66, 0.28), transparent 30%),
    radial-gradient(circle at bottom right, rgba(24, 169, 153, 0.24), transparent 35%),
    linear-gradient(135deg, #083642 0%, #0f4c5c 50%, #12756e 100%);
  color: var(--white);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.hero::before {
  width: 280px;
  height: 280px;
  top: -80px;
  right: 8%;
}

.hero::after {
  width: 210px;
  height: 210px;
  bottom: -70px;
  left: 8%;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.35rem, 5vw, 4.7rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2.5px;
  margin-bottom: 18px;
}

.hero p {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.hero.text-center p { margin: 0 auto 28px; }

.hero-stat-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  padding: 22px;
  height: 100%;
  backdrop-filter: blur(14px);
}

.hero-stat-card h3 {
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--gold);
}

.card-soft,
.feature-card,
.album-card,
.form-card,
.fee-card,
.status-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.feature-card,
.album-card,
.status-card {
  padding: 30px;
  height: 100%;
  transition: all 0.3s ease;
}

.feature-card:hover,
.album-card:hover,
.status-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.icon-box,
.album-icon,
.status-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent-soft), #fff8e3);
  color: var(--primary);
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.feature-card h3,
.album-card h3,
.status-card h3 {
  color: var(--primary-dark);
  font-size: 1.18rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.feature-card p,
.album-card p,
.status-card p { color: var(--muted); }

.pill-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill-list span {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 6px 10px;
}

.timeline-item {
  position: relative;
  padding-left: 76px;
  padding-bottom: 30px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 58px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item:last-child::before { display: none; }

.timeline-icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--accent-soft);
  color: var(--primary);
  font-size: 1.35rem;
}

.timeline-item h4 {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.highlight-band {
  background:
    radial-gradient(circle at top right, rgba(244, 185, 66, 0.2), transparent 30%),
    linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  border-radius: 34px;
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.highlight-band::before {
  content: "";
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  position: absolute;
  right: -70px;
  top: -70px;
}

.highlight-band h2 {
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.highlight-band p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0;
}

/* Gallery */
.filter-wrapper {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  padding: 14px;
  margin-bottom: 34px;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  cursor: pointer;
  height: 100%;
  transition: all 0.35s ease;
}

.gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.gallery-img {
  position: relative;
  overflow: hidden;
  height: 260px;
  background: #dfecef;
}

.gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.gallery-card:hover .gallery-img img { transform: scale(1.08); }

.gallery-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(6, 52, 63, 0.76));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-img::after { opacity: 1; }

.gallery-action {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  z-index: 2;
  transform: scale(0.9);
  opacity: 0;
  transition: all 0.25s ease;
}

.gallery-card:hover .gallery-action {
  opacity: 1;
  transform: scale(1);
}

.gallery-body { padding: 22px; }

.gallery-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-soft);
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 6px 11px;
  margin-bottom: 12px;
}

.gallery-body h3 {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.gallery-body p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.modal-content {
  border: 0;
  border-radius: 26px;
  overflow: hidden;
}

.modal-header { border-bottom: 1px solid var(--border); }

.modal-title {
  color: var(--primary-dark);
  font-weight: 800;
}

.modal-img {
  width: 100%;
  max-height: 72vh;
  object-fit: cover;
  background: #eef5f6;
}

/* Forms */
.form-card { padding: 32px; }

.form-card .form-label {
  font-weight: 700;
  color: var(--primary-dark);
}

.form-card .form-control,
.form-card .form-select {
  border-radius: 14px;
  border-color: var(--border);
  padding: 12px 14px;
}

.form-card .form-control:focus,
.form-card .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.2rem rgba(24, 169, 153, 0.14);
}

.portal-tabs {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 12px;
  box-shadow: var(--shadow-sm);
}

.portal-tabs .nav-link {
  border-radius: 18px;
  color: var(--primary-dark);
  font-weight: 800;
  padding: 12px 18px;
}

.portal-tabs .nav-link.active {
  background: var(--primary);
  color: var(--white);
}

.upload-area {
  border: 1.5px dashed rgba(15, 76, 92, 0.22);
  border-radius: 18px;
  padding: 26px;
  background: var(--accent-soft);
  text-align: center;
}

.upload-area i {
  font-size: 2rem;
  color: var(--primary);
}

.fee-card { overflow: hidden; }

.fee-card .table { margin-bottom: 0; }

.fee-card thead th {
  background: var(--primary);
  color: var(--white);
  border: 0;
  vertical-align: middle;
}

.fee-card tbody td,
.fee-card tbody th { vertical-align: middle; }

.calculator-box {
  background: linear-gradient(135deg, var(--accent-soft), #fff8e3);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
}

.amount-box {
  background: var(--primary-dark);
  color: var(--white);
  border-radius: 20px;
  padding: 22px;
}

.amount-box h3 {
  font-size: 2rem;
  font-weight: 800;
  margin: 0;
  color: var(--gold);
}

.notice-box {
  background: #fff8e3;
  border: 1px solid rgba(244, 185, 66, 0.35);
  color: #775500;
  border-radius: 18px;
  padding: 16px;
}

/* Footer */
.footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.78);
  padding: 70px 0 25px;
}

.footer h4,
.footer h5 {
  color: var(--white);
  font-weight: 800;
}

.footer a {
  color: rgba(255, 255, 255, 0.74);
  display: inline-block;
  margin-bottom: 8px;
}

.footer a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 38px;
  padding-top: 22px;
  font-size: 0.92rem;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  display: none;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  z-index: 99;
  box-shadow: 0 14px 28px rgba(24, 169, 153, 0.35);
}

.back-to-top.show { display: grid; }

@media (max-width: 991px) {
  .navbar-collapse {
    background: var(--white);
    border-radius: 20px;
    padding: 14px;
    margin-top: 14px;
    box-shadow: var(--shadow-sm);
  }

  .hero { padding: 85px 0 65px; }

  .highlight-band { padding: 34px; }
}

@media (max-width: 575px) {
  .top-strip .container {
    justify-content: center !important;
    text-align: center;
  }

  .section-padding { padding: 68px 0; }

  .gallery-img { height: 230px; }

  .filter-wrapper,
  .portal-tabs { border-radius: 18px; }

  .filter-wrapper .btn { width: 100%; }

  .highlight-band {
    border-radius: 24px;
    padding: 28px;
  }

  .form-card { padding: 22px; }
}
