/* ============================================================
   VISA PAGES — FINAL MASTER STYLESHEET
   Project: Visa Travel Expert
   Matched 1:1 with visa-page.php
============================================================ */

/* ================= ROOT ================= */
:root {
  --theme: #ff6a00;
  --grad: linear-gradient(90deg,#ff6a00,#ff2d7a,#7b2cff);
  --dark: #111;
  --text: #333;
  --muted: #666;
  --light: #fff6f0;
  --radius: 20px;
  --header-offset: 90px;
}

/* ================= VISA TYPE THEMING ================= */
.visa-study {
  --theme: #ff6a00;
}
.visa-tourist {
  --theme: #0099ff;
}
.visa-work {
  --theme: #00b894;
}
.visa-work-permit {
  --theme: #6c5ce7;
}
.visa-study,
.visa-tourist,
.visa-work,
.visa-work-permit {
  --grad: linear-gradient(90deg,var(--theme),#ff2d7a);
}

/* ================= RESET ================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto;
  color: var(--text);
  background: #fff;
}

/* ================= SECTION SYSTEM ================= */
.visa-section {
  width: 100%;
  padding: 56px 16px;
  display: flex;
  justify-content: center;
}

.visa-section.light-bg {
  background: var(--light);
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

/* ================= HERO — FINAL STYLE ================= */
.visa-hero{
  position: relative;
  width: 100%;

  /* unified height (same as flight & about) */
  min-height: clamp(540px, 62vh, 560px);

  display: flex;
  flex-direction: column;
  justify-content: flex-end;    /* push text to bottom band */
  align-items: center;
  text-align: center;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  padding: 0 16px 48px;         /* bottom spacing for text */
  overflow: hidden;
  color: #fff;
  z-index: 1;
}

/* bottom 30–40% dark shade for readability */
.visa-hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.85) 0%,
    rgba(0,0,0,.70) 25%,
    rgba(0,0,0,.45) 45%,
    rgba(0,0,0,.20) 65%,
    rgba(0,0,0,0) 90%
  );
  z-index: 1;
  pointer-events: none;
}

/* ---------------- HERO TEXT ---------------- */
.hero-content{
  position: relative;
  z-index: 2;
  max-width: 900px;
}

/* main heading */
.hero-content h1{
  font-size: clamp(22px, 4.6vw, 42px);
  line-height: 1.15;
  margin: 0 0 6px 0;
  font-weight: 800;
  color: #fff;
}

/* sub heading */
.hero-content p{
  font-size: clamp(14px, 2.2vw, 18px);
  margin: 0;
  opacity: .95;
}

/* ---------------- BREADCRUMB ---------------- */
.breadcrumb-hero{
  position:absolute;
  bottom:18px;                 /* ⬅️ now at bottom */
  left:50%;
  transform:translateX(-50%);
  font-size:14px;
  color:rgba(255,255,255,.9);
  z-index:3;
  white-space:nowrap;
  padding:6px 12px;
  border-radius:20px;
}

.breadcrumb-hero a{
  color:#ffd18b;
  text-decoration:none;
}

.breadcrumb-hero span{
  margin:0 6px;
  color:rgba(255,255,255,.75);
}

/* ---------------- MOBILE ---------------- */
@media (max-width: 600px){

  .visa-hero{
    min-height: 56vh;
    padding-bottom: 38px;
  }

  .hero-content h1{
    font-size: clamp(20px, 5.5vw, 28px);
  }

  .breadcrumb-hero{
    font-size: 12px;
  }
}

/* ================= SHAPED INTRO ================= */
.has-shape {
  position: relative;
  overflow: hidden;
}

.bg-shape {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 140px;
  z-index: 0;
}

.has-shape > .container {
  position: relative;
  z-index: 1;
}

/* ================= INTRO CARD ================= */
.intro-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: 0 24px 60px rgba(0,0,0,.08);
  max-width: 900px;
  margin: auto;
}

.intro-card p {
  line-height: 1.85;
  font-size: 16px;
}

/* ================= SECTION TITLES ================= */
.section-title {
  text-align: center;
  margin-bottom: 28px;
  font-size: clamp(22px,3vw,32px);
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ================= COUNTRY SLIDER ================= */

.visa-section .country-slider-wrap{
  width:100%;
  overflow:hidden;
}

.visa-section .country-slider{
  display:flex;
  gap:16px;
  width:max-content;
  will-change:transform;
}

/* card */
.visa-section .country-slide{
  width:260px;
  max-width:88vw;
  background:#fff;
  border-radius:20px;
  text-decoration:none;
  color:#000;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
  overflow:hidden;
  flex-shrink:0;
  display:flex;
  flex-direction:column;
}

/* image wrapper */
.visa-section .country-image-box{
  width:100%;
  aspect-ratio:1/1;
  overflow:hidden;
}

/* image ONLY inside slider — header images untouched */
.visa-section .country-image-box img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* text area */
.visa-section .country-info{
  padding:10px;
  text-align:center;
}

.visa-section .country-info h4{
  margin:4px 0;
  font-size:16px;
  font-weight:800;
}

.visa-section .country-info p{
  margin:2px 0;
  font-size:13px;
  color:#666;
}

.visa-section .country-info span{
  font-size:12px;
  font-weight:700;
  color:#ff6a00;
}

/* mobile */
@media(max-width:768px){

  .visa-section .country-slide{
    width:75vw;
  }
}

@media(max-width:480px){

  .visa-section .country-slide{
    width:85vw;
  }
}

/* ================= FEATURES ================= */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}

.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  box-shadow: 0 18px 42px rgba(0,0,0,.08);
}

.feature-card span {
  font-size: 28px;
  display: block;
  margin-bottom: 12px;
}

.feature-card h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

/* ================= PROCESS ================= */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 18px;
}

.process-step {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: 0 16px 36px rgba(0,0,0,.08);
}

.process-step span {
  display: inline-block;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-weight: 700;
  line-height: 44px;
  margin-bottom: 10px;
}

/* ================= FAQ ================= */
.faq-item {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
  cursor: pointer;
  transition: box-shadow .25s ease;
}

.faq-item:hover {
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
}

.faq-item h4 {
  margin: 0;
  font-size: 16px;
}

.faq-item p {
  margin-top: 10px;
  display: none;
  color: #555;
  line-height: 1.7;
}

.faq-item.active p {
  display: block;
}

/* ================= SUCCESS STORIES ================= */
/* WRAPPER */
.success-slider-wrap{
  width:100%;
  overflow:hidden;
  position:relative;
}

/* TRACK */
.success-track{
  display:flex;
  gap:18px;
  will-change:transform;
  transition:transform .45s ease;
}

/* CARD */
.success-card{
  background:#fff;
  border-radius:20px;
  box-shadow:0 12px 30px rgba(0,0,0,.08);
  overflow:hidden;
  flex:0 0 260px;
  max-width:260px;
  cursor:pointer;
}

.success-card .img-box{
  width:100%;
  aspect-ratio:3/4;
  overflow:hidden;
}

.success-card img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.success-info{
  padding:14px;
  text-align:center;
}

.success-info strong{
  font-size:15px;
  display:block;
}

.success-info span{
  font-size:13px;
  color:#777;
}

.success-info p{
  margin-top:4px;
  color:var(--theme);
  font-weight:700;
}

/* DOTS */
.success-dots{
  text-align:center;
  margin-top:14px;
  display:flex;
  justify-content:center;
  gap:6px;
}

/* base dot */
.success-dots button{
  width:9px;
  height:9px;
  border-radius:999px;
  border:none;
  background:#d0d0d0;
  opacity:.6;
  transition:all .25s ease;
  cursor:pointer;
}

/* active dot – larger pill */
.success-dots button.active{
  width:24px;
  background:var(--theme);
  opacity:1;
}

/* MOBILE WIDTH */
@media(max-width:768px){
  .success-card{
    flex:0 0 75vw;
    max-width:75vw;
  }
}

@media(max-width:480px){
  .success-card{
    flex:0 0 85vw;
    max-width:85vw;
  }
}

/* ================= CONTACT ================= */
.contact-left input,
.contact-left select,
.contact-left textarea {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #ddd;
  margin-bottom: 12px;
  font-size: 14px;
}

.contact-left textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-left button {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 30px;
  background: var(--grad);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.form-status {
  margin-top: 10px;
  font-size: 14px;
  text-align: center;
}

/* ================= MOBILE ================= */
@media (max-width: 900px) {
  .feature-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .country-slide {
    width: 70%;
  }
}

@media (max-width: 600px) {
  .success-card {
    flex: 0 0 80%;
    max-width: 80%;
  }
}
