/* ===== Ethiopian eVisa - Custom Styles ===== */
:root {
  --green: #078930;
  --yellow: #FCDD09;
  --red: #DA121A;
  --blue: #0d4d99;
  --blue-dark: #0a3d7a;
  --blue-light: #e8f0fe;
  --gray-light: #f8f9fa;
  --gray: #6c757d;
  --white: #ffffff;
}

* { box-sizing: border-box; }

body {
  font-family: 'Roboto', 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
}

/* ===== Top Green Bar ===== */
.top-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--green) 33%, var(--yellow) 33%, var(--yellow) 66%, var(--red) 66%);
}

/* ===== Navbar ===== */
.navbar {
  padding: 8px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.navbar-brand img {
  height: 48px;
}
.navbar .nav-link {
  color: #333 !important;
  font-weight: 500;
  font-size: 14px;
  padding: 6px 14px !important;
  transition: all 0.2s;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--blue) !important;
}
.navbar .nav-link.active {
  border: 1.5px solid #333;
  border-radius: 3px;
  padding: 4px 12px !important;
}
.btn-partner {
  color: var(--blue) !important;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
.btn-partner:hover { text-decoration: underline; }

/* ===== Hero Carousel ===== */
.hero-section {
  position: relative;
  overflow: hidden;
}
.hero-slide {
  position: relative;
  height: 420px;
  background-size: cover;
  background-position: center;
}
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.15) 100%);
}
.hero-content {
  position: absolute;
  bottom: 60px;
  left: 60px;
  z-index: 2;
}
.hero-content h1 {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 600;
  text-shadow: 1px 2px 6px rgba(0,0,0,0.5);
  max-width: 600px;
  line-height: 1.3;
}
.btn-apply {
  background: var(--yellow);
  color: #333;
  font-weight: 700;
  font-size: 16px;
  padding: 10px 32px;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
  margin-top: 12px;
}
.btn-apply:hover {
  background: #e6c800;
  color: #222;
  transform: translateY(-1px);
}
.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

/* ===== Quick Actions ===== */
.quick-actions {
  padding: 50px 0 30px;
  background: #fff;
}
.action-card {
  text-align: center;
  padding: 24px 16px;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  display: block;
}
.action-card:hover {
  background: var(--blue-light);
  transform: translateY(-4px);
}
.action-card img {
  width: 64px;
  height: 64px;
  margin-bottom: 12px;
}
.action-card .action-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.action-card .action-icon svg {
  width: 56px;
  height: 56px;
}
.action-card h5 {
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  margin: 0;
}

/* ===== Visa Types Section ===== */
.visa-types {
  padding: 50px 0;
  background: var(--gray-light);
}
.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 30px;
  text-align: center;
}
.visa-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
  transition: all 0.3s;
  background: #fff;
  text-decoration: none;
  color: #333;
  display: block;
  margin-bottom: 24px;
}
.visa-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.visa-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.visa-card .card-body {
  padding: 18px;
}
.visa-card h5 {
  font-size: 16px;
  font-weight: 600;
  color: var(--blue);
}
.visa-card p {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 12px;
}
.btn-visa {
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 22px;
  border-radius: 4px;
  border: none;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
}
.btn-visa:hover {
  background: var(--blue-dark);
  color: #fff;
}

/* ===== Destinations ===== */
.destinations {
  padding: 50px 0;
  background: #fff;
}
.dest-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 24px;
  height: 220px;
  cursor: pointer;
}
.dest-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.dest-card:hover img {
  transform: scale(1.08);
}
.dest-card .dest-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
}
.dest-card .dest-overlay h5 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

/* ===== Festivals ===== */
.festivals {
  padding: 50px 0;
  background: var(--gray-light);
}
.festival-card {
  text-align: center;
  margin-bottom: 24px;
}
.festival-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}
.festival-card h6 {
  font-weight: 600;
  color: #333;
}

/* ===== Info Banner ===== */
.info-banner {
  background: var(--blue);
  color: #fff;
  padding: 40px 0;
  text-align: center;
}
.info-banner h3 {
  font-weight: 700;
  margin-bottom: 12px;
}
.info-banner p {
  max-width: 700px;
  margin: 0 auto 20px;
  font-size: 15px;
  opacity: 0.9;
}
.btn-light-outline {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
  padding: 10px 30px;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-light-outline:hover {
  background: #fff;
  color: var(--blue);
}

/* ===== Payment Section ===== */
.payment-section {
  padding: 40px 0;
  background: #fff;
}
.payment-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}
.payment-logos img {
  height: 32px;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.payment-logos img:hover { opacity: 1; }

/* ===== Footer ===== */
.footer {
  background: #1a1a2e;
  color: #ccc;
  padding: 50px 0 20px;
}
.footer h6 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 15px;
}
.footer ul {
  list-style: none;
  padding: 0;
}
.footer ul li {
  margin-bottom: 8px;
}
.footer ul li a {
  color: #aaa;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}
.footer ul li a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 30px;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #888;
}

/* ===== Page Headers ===== */
.page-header {
  background: var(--blue);
  color: #fff;
  padding: 40px 0;
  text-align: center;
}
.page-header h1 {
  font-size: 2rem;
  font-weight: 700;
}
.page-header p {
  opacity: 0.85;
  font-size: 15px;
}

/* ===== Forms ===== */
.form-section {
  padding: 50px 0;
  background: var(--gray-light);
}
.form-card {
  background: #fff;
  border-radius: 10px;
  padding: 36px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.08);
  max-width: 550px;
  margin: 0 auto;
}
.form-card h3 {
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
}
.form-card .form-label {
  font-weight: 500;
  font-size: 14px;
  color: #555;
}
.form-card .form-control {
  border-radius: 6px;
  border: 1.5px solid #ddd;
  padding: 10px 14px;
  font-size: 14px;
}
.form-card .form-control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(13,77,153,0.1);
}
.btn-primary-custom {
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  padding: 11px 30px;
  border: none;
  border-radius: 6px;
  width: 100%;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-primary-custom:hover {
  background: var(--blue-dark);
}

/* ===== FAQ ===== */
.faq-section {
  padding: 50px 0;
}
.accordion-button:not(.collapsed) {
  background: var(--blue-light);
  color: var(--blue);
  font-weight: 600;
}
.accordion-button {
  font-weight: 500;
  font-size: 15px;
}

/* ===== Info Page ===== */
.info-content {
  padding: 50px 0;
}
.info-content h4 {
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 16px;
}
.info-content p {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
}
.info-content ul li {
  margin-bottom: 8px;
  font-size: 15px;
  color: #555;
}
.requirement-table {
  width: 100%;
  border-collapse: collapse;
}
.requirement-table th {
  background: var(--blue);
  color: #fff;
  padding: 12px 16px;
  font-size: 14px;
}
.requirement-table td {
  padding: 10px 16px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}
.requirement-table tr:nth-child(even) {
  background: var(--blue-light);
}

/* ===== Terms ===== */
.terms-content {
  padding: 50px 0;
}
.terms-content h4 {
  color: var(--blue);
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 12px;
}
.terms-content p, .terms-content li {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
}

/* ===== Visa Page ===== */
.visa-options {
  padding: 50px 0;
}
.visa-option-card {
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 3px 15px rgba(0,0,0,0.08);
  margin-bottom: 24px;
  transition: all 0.3s;
  border-top: 4px solid var(--blue);
}
.visa-option-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}
.visa-option-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 16px;
}
.visa-option-card h5 {
  color: var(--blue);
  font-weight: 700;
  font-size: 16px;
}
.visa-option-card p {
  font-size: 13px;
  color: var(--gray);
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .hero-slide { height: 320px; }
  .hero-content { left: 30px; bottom: 40px; }
  .hero-content h1 { font-size: 1.6rem; }
}
@media (max-width: 767px) {
  .hero-slide { height: 260px; }
  .hero-content { left: 20px; bottom: 30px; }
  .hero-content h1 { font-size: 1.3rem; }
  .navbar-brand img { height: 36px; }
  .section-title { font-size: 1.3rem; }
}

/* ===== Warning Banner ===== */
.warning-banner {
  background: #fff3cd;
  border-left: 4px solid var(--yellow);
  padding: 16px 20px;
  margin: 20px 0;
  border-radius: 4px;
  font-size: 14px;
  color: #856404;
}

/* ===== Status Result ===== */
.status-result {
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.08);
  text-align: center;
  margin-top: 24px;
}
.status-result .icon {
  font-size: 48px;
  color: var(--blue);
  margin-bottom: 16px;
}
