/* =============================================
   COSEBA EXPATRIATES - CLONE CSS
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #d4a55a;
  --gold-dark: #b88a3e;
  --navy: #1c2a4a;
  --navy-mid: #2c3e6e;
  --gray-bg: #f4f4f8;
  --gray-light: #eaeaf0;
  --text-dark: #1a1a2e;
  --text-mid: #4a4a6a;
  --text-light: #888;
  --white: #fff;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- TOPBAR ---- */
.topbar {
  background: var(--navy);
  color: #bfc8da;
  font-size: 13px;
  padding: 8px 0;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar-contact a { color: #bfc8da; }
.topbar-contact a:hover { color: #fff; }
.topbar-langs { display: flex; gap: 8px; }
.topbar-langs img { width: 26px; height: 18px; object-fit: cover; border-radius: 2px; opacity: 0.85; transition: opacity .2s; }
.topbar-langs img:hover { opacity: 1; }

/* ---- HEADER ---- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.1);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 20px;
}
.logo { display: flex; align-items: center; gap: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-coseba {
  font-size: 38px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -1px;
  line-height: 1;
}
.logo-coseba sup { font-size: 13px; vertical-align: super; }
.logo-sub {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy-mid);
  letter-spacing: 1px;
  margin-top: -2px;
  padding-left: 2px;
}

.nav { display: flex; align-items: center; gap: 0; }
.nav a {
  font-size: 15px;
  color: var(--text-dark);
  font-weight: 400;
  padding: 6px 14px;
  transition: color .2s;
}
.nav a:hover { color: var(--navy-mid); text-decoration: underline; }
.nav .dot { color: #bbb; font-size: 10px; }

.btn-quote {
  background: var(--gold);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 12px 28px;
  border-radius: 30px;
  transition: background .2s, transform .15s;
  white-space: nowrap;
}
.btn-quote:hover { background: var(--gold-dark); transform: translateY(-1px); }

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--navy);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: #fff;
  padding: 12px 24px;
  border-top: 1px solid #eee;
}
.mobile-nav a {
  padding: 10px 0;
  font-size: 15px;
  color: var(--text-dark);
  border-bottom: 1px solid #f0f0f0;
}
.mobile-nav .btn-quote-mobile {
  margin-top: 12px;
  background: var(--gold);
  color: #fff;
  text-align: center;
  padding: 12px;
  border-radius: 30px;
  font-weight: 700;
}
.mobile-nav.open { display: flex; }

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1c2a4a;
  overflow: hidden;
}
.hero-slideshow-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 1;
}
.hero-slide.active {
  opacity: 1;
  z-index: 2;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28,42,74,.45);
  z-index: 3;
}
.hero-content {
  position: relative;
  text-align: center;
  padding: 60px 20px;
  z-index: 4;
}
.hero-title {
  font-size: clamp(56px, 9vw, 120px);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  text-shadow: 0 4px 30px rgba(0,0,0,.4);
  letter-spacing: -2px;
}
.hero-subtitle {
  font-size: clamp(18px, 3vw, 26px);
  color: #fff;
  margin-top: 20px;
  line-height: 1.5;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}

/* ---- WHO SECTION ---- */
.who-section { background: var(--gray-bg); padding: 60px 0; }
.who-cards {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}
.who-card {
  position: relative;
  width: 380px;
  height: 260px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 6px 30px rgba(0,0,0,.18);
  transition: transform .3s, box-shadow .3s;
}
.who-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,.28); }
.who-card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.65);
  transition: transform .4s;
}
.who-card:hover .who-card-img { transform: scale(1.06); }
.who-card-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  font-style: italic;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
}

/* ---- ANSWER SECTION ---- */
.answer-section { background: var(--gray-bg); padding: 20px 0 40px; }
.answer-inner { text-align: center; }
.answer-title {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  color: var(--text-dark);
}
.answer-divider {
  width: 100px;
  height: 3px;
  background: var(--gold);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ---- WELCOME SECTION ---- */
.welcome-section { background: var(--gray-bg); padding: 60px 0 80px; }
.welcome-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.welcome-img img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,.15);
  object-fit: cover;
  height: 440px;
}
.welcome-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.welcome-heading {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 20px;
}
.welcome-body {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 16px;
}
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 13px 30px;
  border-radius: 30px;
  transition: background .2s, transform .15s;
  margin-top: 10px;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-2px); }

/* ---- QUOTE SECTION ---- */
.quote-section { background: var(--white); padding-bottom: 80px; }
.quote-banner {
  position: relative;
  min-height: 240px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 30px;
  background: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?w=1400&q=80') center / cover no-repeat;
}
.quote-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212,165,90,.88) 0%, rgba(28,42,74,.6) 100%);
}
.quote-banner-content {
  position: relative;
  padding: 30px 40px;
  color: #fff;
}
.quote-calc-icon { margin-bottom: 12px; opacity: .9; }
.quote-banner-content h2 {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.2;
}

/* TABS */
.quote-form-area { margin-top: 0; }
.quote-tabs {
  display: flex;
  flex-direction: column;
  float: left;
  width: 220px;
}
.qtab {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .5px;
  text-align: left;
  background: var(--navy);
  color: #fff;
  transition: background .2s;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.qtab.active { background: var(--gold); }
.qtab:hover:not(.active) { background: var(--navy-mid); }
.qtab svg { flex-shrink: 0; }

.quote-panel {
  margin-left: 220px;
  border: 1px solid #ddd;
  border-left: none;
  min-height: 380px;
  padding: 36px 40px;
  background: #fff;
}
.quote-panel.hidden { display: none; }

/* FORM STEPS */
.form-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 32px;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 90px;
}
.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  background: #fff;
}
.step.active .step-num {
  background: var(--gold);
  color: #fff;
}
.step-label {
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  color: var(--gold);
  letter-spacing: .5px;
}
.step-line {
  flex: 1;
  height: 2px;
  background: #ddd;
  margin-top: 16px;
  min-width: 30px;
}

/* FORM */
.qform { margin-top: 20px; }
.form-page { display: none; }
.form-page.active { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--text-mid); }
.form-group input, .form-group select {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border .2s;
}
.form-group input:focus, .form-group select:focus { border-color: var(--gold); }
.req { color: var(--gold); }
.radio-group { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.radio-label { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.form-actions { display: flex; justify-content: center; margin-top: 10px; }
.btn-next {
  background: var(--gold);
  color: #fff;
  border: none;
  padding: 13px 40px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background .2s;
}
.btn-next:hover { background: var(--gold-dark); }

.panel-title { font-size: 24px; font-weight: 600; color: var(--text-mid); text-align: center; margin-bottom: 10px; }
.panel-desc { font-size: 14px; color: var(--text-light); text-align: center; margin-bottom: 30px; }

/* ---- CONTACT SECTION ---- */
.contact-banner {
  background: var(--gold);
  padding: 50px 20px;
  text-align: center;
  color: #fff;
}
.contact-banner h2 { font-size: clamp(22px, 3vw, 38px); font-weight: 800; }
.contact-banner p { font-size: 16px; margin-top: 8px; opacity: .9; }

.contact-forms-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 60px 24px;
}
.contact-form-box h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.4;
}
.contact-form { display: flex; flex-direction: column; gap: 12px; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border .2s;
  width: 100%;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus { border-color: var(--gold); }
.contact-form textarea { resize: vertical; }

/* ---- PORTFOLIO SECTION ---- */
.portfolio-section { background: var(--gray-bg); padding: 80px 0; }
.portfolio-inner { text-align: center; }
.portfolio-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.portfolio-title {
  font-size: clamp(20px, 2.8vw, 30px);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: .5px;
  margin-bottom: 20px;
}
.portfolio-desc {
  font-size: 15px;
  color: var(--text-mid);
  max-width: 750px;
  margin: 0 auto 50px;
  line-height: 1.7;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 20px;
  max-width: 860px;
  margin: 0 auto 40px;
}
.portfolio-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.portfolio-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s, box-shadow .25s, background .25s;
  box-shadow: 0 4px 20px rgba(212,165,90,.25);
}
.portfolio-icon svg {
  fill: var(--gold);
  transition: fill .25s;
}
.portfolio-item:hover .portfolio-icon {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(212,165,90,.4);
  background: var(--gold);
}
.portfolio-item:hover .portfolio-icon svg {
  fill: var(--white);
}
.portfolio-item span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mid);
  line-height: 1.4;
}
.btn-outline {
  display: inline-block;
  border: 2px solid var(--navy-mid);
  color: var(--navy-mid);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  padding: 12px 30px;
  border-radius: 30px;
  transition: background .2s, color .2s;
}
.btn-outline:hover { background: var(--navy-mid); color: #fff; }
.portfolio-cta { margin-top: 10px; }

/* ---- FAQ SECTION ---- */
.faq-section { background: var(--white); padding: 80px 0; }
.faq-inner { max-width: 900px; margin: 0 auto; }
.faq-title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 40px;
}
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: var(--gray-light);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow .2s;
}
.faq-item:hover { box-shadow: 0 3px 16px rgba(0,0,0,.1); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  font-family: inherit;
  transition: color .2s;
}
.faq-question:hover { color: var(--gold); }
.faq-icon { font-size: 22px; color: var(--navy-mid); flex-shrink: 0; transition: transform .3s; }
.faq-item.active .faq-icon { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s;
  padding: 0 24px;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 22px;
}
.faq-answer p { font-size: 14px; color: var(--text-mid); line-height: 1.75; }

/* ---- BLOG SECTION ---- */
.blog-section { background: var(--gray-bg); padding: 80px 0; }
.blog-inner { }
.blog-title {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 46px;
  color: var(--text-dark);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 3px 20px rgba(0,0,0,.08);
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,.15); }
.blog-img-wrap { position: relative; height: 200px; overflow: hidden; }
.blog-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-img-wrap img { transform: scale(1.05); }
.blog-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(30,40,60,.7);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 20px;
}
.blog-content { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.blog-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.4;
}
.blog-content p { font-size: 13px; color: var(--text-light); line-height: 1.6; margin-bottom: 12px; flex: 1; }
.blog-read { font-size: 13px; font-weight: 700; color: var(--navy-mid); letter-spacing: .5px; }
.blog-read:hover { color: var(--gold); }
.blog-date { display: block; font-size: 12px; color: var(--text-light); margin-top: 14px; }
.blog-more { text-align: center; margin-top: 40px; }

/* ---- FOOTER ---- */
.footer { background: var(--gray-bg); padding: 60px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
}
.footer-about { max-width: 320px; }
.footer-logo { display: flex; flex-direction: column; margin-bottom: 18px; }
.logo-coseba-footer {
  font-size: 34px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.logo-coseba-footer sup { font-size: 11px; }
.logo-sub-footer {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-mid);
  letter-spacing: 1px;
}
.footer-about p { font-size: 13px; color: var(--text-mid); line-height: 1.7; }
.footer-links h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 14px;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color .2s;
}
.footer-links a:hover { color: var(--gold-dark); }

.footer-bottom {
  background: var(--gold);
  padding: 18px 24px;
  text-align: center;
  color: #fff;
  font-size: 13px;
}
.footer-bottom a { color: #f5e4c3; margin: 0 4px; }
.footer-bottom a:hover { color: #fff; }

/* ---- WHATSAPP ---- */
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 6px 28px rgba(37,211,102,.4);
  z-index: 999;
  transition: transform .25s, box-shadow .25s;
}
.whatsapp-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 36px rgba(37,211,102,.5); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .welcome-inner { grid-template-columns: 1fr; }
  .welcome-img { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-forms-row { grid-template-columns: 1fr; }
  .quote-tabs { flex-direction: row; float: none; width: 100%; flex-wrap: wrap; }
  .quote-panel { margin-left: 0; border-left: 1px solid #ddd; border-top: none; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .nav { display: none; }
  .btn-quote { display: none; }
  .hamburger { display: block; }
  .blog-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .who-card { width: 90%; height: 200px; }
  .topbar-contact { font-size: 11px; }
}

/* ---- SUBMIT MODAL ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 42, 74, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.modal-card {
  background: #fff;
  border-radius: 16px;
  width: 90%;
  max-width: 440px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.modal-overlay.open .modal-card {
  transform: translateY(0);
}
.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  color: #888;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.modal-close-btn:hover {
  color: var(--text-dark);
}
.modal-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.modal-icon.success {
  background: rgba(37, 211, 102, 0.15);
  color: #25D366;
}
.modal-icon.error {
  background: rgba(220, 53, 69, 0.15);
  color: #dc3545;
}
.modal-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.modal-message {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 24px;
}
#modal-ok-btn {
  width: 100%;
  padding: 12px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
}

