/* Polices auto-hébergées (RGPD : aucun appel à Google Fonts, pas de transfert d'IP).
   Inter et Fraunces — SIL Open Font License, voir /fonts/LICENSE-*.txt */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/fraunces-latin-opsz-normal.woff2) format('woff2-variations'), url(/fonts/fraunces-latin-opsz-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/fraunces-latin-ext-opsz-normal.woff2) format('woff2-variations'), url(/fonts/fraunces-latin-ext-opsz-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/inter-latin-wght-normal.woff2) format('woff2-variations'), url(/fonts/inter-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/inter-latin-ext-wght-normal.woff2) format('woff2-variations'), url(/fonts/inter-latin-ext-wght-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* Reset CSS (Eric Meyer, v2.0 — domaine public), intégré au lieu d'être chargé depuis cdnjs */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
body { line-height: 1; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
table { border-collapse: collapse; border-spacing: 0; }

/* =========================================================
   E-VISAS — Design system
   Palette dérivée du logo (rouge cramoisi) + encre marine
   ---------------------------------------------------------
   --ink       : bleu marine profond (texte / fonds sombres)
   --crimson   : rouge du logo (accent principal / CTA)
   --sand      : blanc cassé chaud (fond de page)
   --stone     : gris chaud (bordures / surfaces)
   --muted     : texte secondaire
   ========================================================= */
:root {
  --ink: #14213d;
  --ink-soft: #1e2c52;
  --crimson: #d1273a;
  --crimson-deep: #a81b2b;
  --crimson-tint: #fbe9eb;
  --sand: #f7f4ef;
  --paper: #ffffff;
  --stone: #e7e1d8;
  --stone-soft: #efeae2;
  --muted: #5f6472;
  --gold: #c8a24a;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(20, 33, 61, 0.06), 0 4px 14px rgba(20, 33, 61, 0.06);
  --shadow-md: 0 10px 30px rgba(20, 33, 61, 0.12);
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--sand);
  line-height: 1.6;
  scroll-behavior: smooth;
}

h1, h2, h3, .section-title, .highlight-title,
.about h1, .destinations h2, .step h2 {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

/* Utility classes */
.hidden {
  display: none;
}

#apropos{
  padding-top: 100px;
}

#contact{
  padding-top:100px;
  margin-bottom: 50px;
}

#articles {
  padding-top: 100px; /* height of navbar to offset fixed header */
  margin-bottom: 120px; /* space between articles section and footer */
}

html {
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ========= SLIDE CONTAINER ========= */
.slide {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  background: linear-gradient(
      0deg,
      rgba(242, 242, 242, 1) 0%,
      rgba(242, 242, 242, 1) 100%
    ),
    linear-gradient(
      0deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 1) 100%
    );
}

/* ========= NAVBAR ========= */
.navbar {
  width: 100%;
  background-color: rgba(247, 244, 239, 0.9);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--stone);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 2.5rem;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.navbar img {
  height: 54px;
  width: auto;
  object-fit: contain;
}

.navbar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
}

.navbar nav a {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 4px 0;
  position: relative;
  transition: color 0.2s ease;
}

.navbar nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: var(--crimson);
  transition: width 0.25s ease;
}

.navbar nav a:hover {
  color: var(--crimson);
}

.navbar nav a:hover::after {
  width: 100%;
}

.auth-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar div, .navbar p {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
  margin: 0;
  white-space: nowrap;
}

/* ========= FOOTER ========= */
footer {
    color: white;
}

/* Main footer area */
.footer-main {
    background-color: var(--ink);
    display: flex;
    justify-content: space-between;
    padding: 60px 60px 50px;
    flex-wrap: wrap;
    gap: 24px;
}

/* Footer columns */
.footer-column {
    flex: 1 1 250px;
    margin: 10px 20px;
}

/* Navigation column */
.footer-column h3 {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 18px;
}

.navigation h3 {
    margin-bottom: 18px;
}

.navigation ul {
    list-style: none;
}

.navigation li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
}

.navigation li:last-child {
    border-bottom: none;
}

.navigation .arrow {
    margin-right: 10px;
    font-weight: bold;
}

/* Links style */
.navigation a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
}

.navigation a:hover {
    text-decoration: underline;
}

.visa-countries p {
    font-size: 0.88rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.72);
}

.visa-countries a {
    color: rgba(255, 255, 255, 0.72);
    transition: color 0.2s ease;
}

.visa-countries a:hover {
    color: #fff;
}

.contact p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.82);
}

/* Google Maps button */
.google-maps-btn {
    background-color: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 12px 22px;
    font-size: 0.8rem;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 999px;
    transition: all 0.25s ease;
    width: auto;
    text-align: center;
}

.google-maps-btn:hover {
    background-color: var(--crimson);
    border-color: var(--crimson);
    color: #fff;
}

/* Footer bottom bar */
.footer-bottom {
    background-color: #0e1830;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 60px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    flex-wrap: wrap;
}

.footer-bottom p {
    margin: 5px 0;
}

/* Social icons */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: inline-block;
    width: 34px;
    height: 34px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: white;
    font-weight: bold;
    font-size: 16px;
    line-height: 32px;
    text-align: center;
    border-radius: 50%;
    text-decoration: none;
    user-select: none;
    transition: all 0.25s ease;
}

.social-icon:hover {
    background-color: var(--crimson);
    border-color: var(--crimson);
}

/* ========= ARTICLES ========= 
.articles {
  width: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background-color: #f2f2f2;
}

.boite_article, .group6 {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.boite_article > div, .group6 > div {
  flex: 1 1 300px;
  background-color: #8194c9;
  padding: 1rem;
  border-radius: 10px;
  color: #fff;
  text-align: center;
} */

/*.titredel'article, .datedel'article, .catégorieencouleur {
  font-size: 1.2rem;
}/*


/* ========= RAPPEL TEL ========= */

.rappel-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
  margin: 0 auto;
}

.rappel-form input {
  padding: 0.9rem 1rem;
  border: 1px solid var(--stone);
  border-radius: 10px;
  font-size: 1rem;
  width: 100%;
  background: var(--paper);
  font-family: var(--font-body);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rappel-form input:focus {
  outline: none;
  border-color: var(--crimson);
  box-shadow: 0 0 0 3px var(--crimson-tint);
}

.rappel-form button {
  padding: 0.9rem;
  background-color: var(--crimson);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.rappel-form button:hover {
  background-color: var(--crimson-deep);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.rappel-tel {
  padding: 4.5rem 2rem;
  background:
    radial-gradient(circle at 15% 20%, rgba(209, 39, 58, 0.06), transparent 45%),
    var(--stone-soft);
  border-radius: 20px;
  max-width: 1100px;
  margin: 3rem auto;
  text-align: center;
}

.rappel-tel .text-wrapper-27 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--ink);
}

.rappel-alt {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--stone);
  color: var(--muted);
  font-size: 0.98rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.rappel-alt-btn {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: background 0.25s ease, transform 0.2s ease;
}

.rappel-alt-btn:hover {
  background: var(--ink-soft);
  transform: translateY(-1px);
}
.visaurgent {
  background-color: var(--sand);
  padding: 5rem 2rem;
}

.visaurgent-intro {
  max-width: 820px;
  margin: 0 auto 3.5rem auto;
  text-align: center;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--muted);
}

.visaurgent-intro strong {
  color: var(--ink);
  font-weight: 600;
}

.highlight-title {
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--crimson);
  margin-top: 2.5rem;
  letter-spacing: -0.01em;
}

.visaurgent-cards {
  display: flex;
  justify-content: center;
  gap: 1.75rem;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

.cardse {
  background-color: var(--paper);
  border: 1px solid var(--stone);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  max-width: 320px;
  flex: 1 1 280px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cardse:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.cardse img {
  height: 52px;
  width: auto;
  margin: 0 auto 1.25rem;
}

.cardse h3 {
  font-family: var(--font-body);
  margin-bottom: 0.6rem;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cardse p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
}

/* Hero section with rotating background images */
.hero {
    position: relative;
    min-height: 640px;
    padding: 140px 20px 80px;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.4s ease;
}

.hero-bg-slide.active {
    opacity: 1;
}

.hero .overlay {
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, rgba(20, 33, 61, 0.25), rgba(20, 33, 61, 0.65));
    backdrop-filter: blur(1px);
    border-radius: 22px;
    padding: 56px 48px;
    width: 100%;
    max-width: 620px;
    box-shadow: 0 24px 60px rgba(10, 18, 40, 0.35);
}

.hero h1 {
    font-family: var(--font-display);
    font-style: normal;
    font-weight: 500;
    font-size: 2.15rem;
    line-height: 1.2;
    margin-bottom: 22px;
    text-wrap: balance;
}

/* Visa + nationality select dropdowns */
.visa-select select,
.nationalite-select select {
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 1rem;
    font-family: var(--font-body);
    color: var(--ink);
    cursor: pointer;
    outline: none;
    min-width: 300px;
    max-width: 100%;
    box-shadow: 0 6px 16px rgba(10, 18, 40, 0.18);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23d1273a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 42px;
}

.visa-select select:focus,
.nationalite-select select:focus {
    box-shadow: 0 0 0 3px rgba(209, 39, 58, 0.5);
}

.textt {
  padding-top: 28px;
  font-family: var(--font-display);
  font-weight: 500;
}

.entre {
  padding-top: 24px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  color: var(--gold);
}

.container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    margin-bottom: 60px; /* Add more space below this container */
}

.about {
    flex: 2 1 400px; /* Make the about section larger */
    min-width: 280px;
}

.about h1 {
    font-weight: 600;
    font-size: 2.3rem;
    margin-bottom: 24px;
    border-left: 3px solid var(--crimson);
    padding-left: 16px;
    color: var(--ink);
}

.about p {
    margin-bottom: 18px;
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--muted);
}

.destinations {
    flex: 2 1 600px;
    min-width: 280px;
}

.destinations h2 {
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: right;
    padding-right: 10px;
    color: var(--ink);
}

.cards {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.card {
    position: relative;
    flex: 0 0 250px;
    height: 320px;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    display: flex;
    align-items: flex-end;
    color: white;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card .overlay {
    background: linear-gradient(to top, rgba(20, 33, 61, 0.9) 8%, rgba(20, 33, 61, 0) 70%);
    width: 100%;
    padding: 20px 18px 16px;
    box-sizing: border-box;
}

.card h3 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.card p {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ink);
    background: var(--gold);
    padding: 3px 10px;
    border-radius: 999px;
}

/* Scrollbar styling for horizontal scroll */
.cards::-webkit-scrollbar {
    height: 8px;
}

.cards::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.2);
    border-radius: 4px;
}

.cards::-webkit-scrollbar-track {
    background: transparent;
}
.container-article {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 18px;
  position: relative;
  font-weight: 600;
  color: var(--ink);
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 44px;
  height: 3px;
  background-color: var(--crimson);
  border-radius: 2px;
}

.articles-section {
  background-color: transparent;
  padding: 15px 20px 40px 20px;
  border-radius: 10px;
}

.articles-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 15px;
}

.featured-article {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  background:
    radial-gradient(circle at 85% 15%, rgba(209, 39, 58, 0.35), transparent 55%),
    var(--ink);
  color: white;
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 220px;
  box-shadow: var(--shadow-sm);
}

.featured-article .article-title {
  font-family: var(--font-display);
  font-weight: 500;
}

.category {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 10px;
}

.article-title {
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.article-date {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-bottom: 15px;
}

.article-description {
  font-size: 1rem;
  line-height: 1.3;
  max-width: 80%;
  margin: 0 auto;
  text-align: center;
}

.small-articles {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 15px;
}

.bottom-articles {
  grid-column: 1 / 3;
  grid-row: 2 / 3;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 10px;
}

.bottom-article {
  background-color: var(--paper);
  border: 1px solid var(--stone);
  color: var(--ink);
  border-radius: var(--radius);
  height: 100px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bottom-article .category,
.small-article .category {
  color: var(--crimson);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.bottom-article:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.bottom-article .category {
  font-size: 0.7rem;
  opacity: 0.8;
  margin-bottom: 2px;
}

.bottom-article .article-title {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bottom-article .article-date {
  font-size: 0.6rem;
  opacity: 0.7;
}

.small-article {
  background-color: var(--paper);
  border: 1px solid var(--stone);
  color: var(--ink);
  border-radius: var(--radius);
  height: 100px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.small-article:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.small-article .category {
  font-size: 0.7rem;
  opacity: 0.8;
  margin-bottom: 2px;
}

.small-article .article-title {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.small-article .article-date {
  font-size: 0.6rem;
  opacity: 0.7;
}

.trends-section {
  padding-left: 10px;
}

.trends-section .section-title {
  margin-bottom: 15px;
}

.trends-list {
  list-style: none;
  font-size: 0.95rem;
  line-height: 1.4;
}

.trends-list li {
  margin-bottom: 14px;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--stone);
  border-left: 3px solid var(--crimson);
  border-radius: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.trends-list li:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.trends-list li .category {
  font-size: 0.72rem;
  margin-bottom: 4px;
}

.trends-list time {
  color: var(--muted);
}

.trends-list strong {
  font-weight: 700;
}

.trends-list time {
  font-size: 0.8rem;
  opacity: 0.7;
}


/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal.hidden {
  display: none !important;
}

.modal-content {
  background: white;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #dee2e6;
}

.modal-header h3 {
  margin: 0;
  color: #333;
}

.modal-close {
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
}

.modal-close:hover {
  color: #333;
}

#edit-profile-form {
  padding: 1.5rem;
}

#edit-profile-form .form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

#edit-profile-form .form-group {
  flex: 1;
}

#edit-profile-form .form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #333;
}

#edit-profile-form .form-group input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

#edit-profile-form .form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 1.5rem;
}




/* ========= RESPONSIVE ========= */

/* Tablet and smaller desktop */
@media screen and (max-width: 1024px) {
  .container-article {
    grid-template-columns: 2fr 1fr;
    gap: 15px;
  }

  .articles-content {
    grid-template-columns: 1.5fr 1fr;
    gap: 12px;
  }

  .featured-article {
    padding: 15px;
    min-height: 180px;
  }

  .small-articles {
    gap: 12px;
  }

  .small-article {
    height: 90px;
    padding: 8px;
  }

  .bottom-articles {
    gap: 12px;
  }

  .bottom-article {
    height: 90px;
    padding: 8px;
  }
}

/* Tablet */
@media screen and (max-width: 768px) {
  .navbar {
    flex-direction: column;
    padding: 1rem;
  }

  .container-article {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .articles-content {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 15px;
  }

  .featured-article {
    grid-column: 1;
    grid-row: 1;
    max-width: 100%;
    margin-bottom: 0;
    padding: 20px;
    min-height: 200px;
  }

  .small-articles {
    grid-column: 1;
    grid-row: 2;
    grid-template-rows: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 0;
  }

  .small-article {
    height: 100px;
    padding: 10px;
  }

  .small-article .article-title {
    font-size: 0.85rem;
  }

  .bottom-articles {
    grid-column: 1;
    grid-row: 3;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 15px;
  }

  .bottom-article {
    height: 100px;
    padding: 10px;
  }

  .trends-section {
    padding-left: 0;
    margin-top: 30px;
  }

  .trends-list {
    font-size: 0.85rem;
  }

  .articles, .boite_article, .group6 {
    flex-direction: column;
    align-items: center;
  }

  .text-wrapper-27 {
    font-size: 1.2rem;
  }

  .highlight-title {
    font-size: 1.4rem;
  }
}

/* Mobile */
@media screen and (max-width: 480px) {
  .container-article {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0 10px;
  }

  .articles-section {
    padding: 15px;
  }

  .articles-content {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .featured-article {
    padding: 15px;
    min-height: 160px;
  }

  .featured-article .article-title {
    font-size: 1.1rem;
  }

  .featured-article .article-description {
    font-size: 0.9rem;
    max-width: 90%;
  }

  .small-articles {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .small-article {
    height: 90px;
    padding: 8px;
  }

  .small-article .article-title {
    font-size: 0.75rem;
  }

  .bottom-articles {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .bottom-article {
    height: 90px;
    padding: 8px;
  }

  .bottom-article .article-title {
    font-size: 0.8rem;
  }

  .trends-section {
    padding: 15px;
    margin-top: 20px;
  }

  .trends-list {
    font-size: 0.8rem;
  }

  .trends-list li {
    margin-bottom: 12px;
  }

  .container {
    flex-direction: column;
    padding: 10px;
  }

  .destinations h2 {
    text-align: left;
    padding-right: 0;
    margin-top: 30px;
    font-size: 1rem;
  }

  .cards {
    justify-content: flex-start;
  }

  .card {
    flex: 0 0 200px;
    height: 140px;
  }

  .about h1 {
    font-size: 1.5rem;
  }

  .footer-main {
    flex-direction: column;
    padding: 30px 20px;
  }

  .footer-column {
    margin: 15px 0;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    padding: 15px 20px;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }

  .navigation a, .visa-countries p, .contact p {
    font-size: 0.9rem;
  }

  .google-maps-btn {
    width: 100%;
    padding: 12px 0;
    font-size: 1rem;
  }
}

/* Styles from liste_Destinations.css */
.liste-destinations body {
  background-color: #ccc;
  font-family: Arial, sans-serif;
  margin: 20px 20px 20px 20px;
  margin-top: 100px;
  padding-top: 120px; /* Increased padding to avoid navbar overlap */
}
.liste-destinations main{
  margin-top: 100px;
}
.liste-destinations .continent-section {
  margin-bottom: 40px;
}
.liste-destinations .continent-title {
  font-weight: bold;
  margin-bottom: 10px;
}
.liste-destinations .scroll-row {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 1px solid #999;
  padding-bottom: 10px;
}
.liste-destinations .country-card {
  position: relative;
  width: 230px;
  height: 230px;
  margin-right: 10px;
  flex-shrink: 0;
  border-radius: 4px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
  overflow: hidden;
}
.liste-destinations .country-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.liste-destinations .country-name {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0,0,0,0.6);
  color: white;
  font-size: 16px;
  padding: 5px 0;
  text-align: center;
  box-sizing: border-box;
}

/* FAQ styles */
.liste-destinations .faq-section {
  background: white;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  max-width: 800px;
  margin: 40px auto;
}
.liste-destinations .faq-section h2 {
  margin-bottom: 15px;
  font-weight: bold;
  font-size: 24px;
}
.liste-destinations #faq-search {
  width: 100%;
  padding: 10px 15px;
  font-size: 16px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}
.liste-destinations .faq-categories {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.liste-destinations .faq-category {
  background: #007bff;
  color: white;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  user-select: none;
  transition: background 0.3s ease;
}
.liste-destinations .faq-category:hover {
  background: #0056b3;
}
.liste-destinations .faq-item {
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
}
.liste-destinations .faq-question {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 18px;
  padding: 10px 0;
  cursor: pointer;
  outline: none;
  font-weight: 600;
}
.liste-destinations .faq-answer {
  display: none;
  padding: 0 10px 10px 10px;
  font-size: 16px;
  color: #333;
}

/* Responsive for liste_Destinations */
@media (max-width: 600px) {
  .liste-destinations .country-card {
    width: 140px;
    height: 140px;
  }
  .liste-destinations .faq-section {
    padding: 15px;
    margin: 20px 10px;
  }
  .liste-destinations .faq-category {
    padding: 8px 15px;
    font-size: 14px;
  }
  .liste-destinations .faq-question {
    font-size: 16px;
  }
  .liste-destinations .faq-answer {
    font-size: 14px;
  }
}

/* Styles pour la zone de recherche Amériques */
.liste-destinations .continent-header {
  display: flex;
  align-items: center;
  justify-content: left;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.liste-destinations .country-filter {
  padding: 0.5rem 1rem;
  border: 1px solid #ccc;
  border-radius: 25px;
  font-size: 0.9rem;
  width: 250px;
  max-width: 100%;
  outline: none;
  transition: border-color 0.3s;
}
.liste-destinations .country-filter:focus {
  border-color: #007bff;
}


/* Tu peux maintenant continuer à migrer d'autres sections selon ce modèle. */

/* ========= ARTICLE PAGE ========= */
.article-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.article-back {
  display: inline-block;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
  transition: color 0.2s ease;
}

.article-back:hover {
  color: var(--crimson);
}

.article-full {
  max-width: 800px;
  margin: 0 auto;
  padding: 2.5rem;
  background: var(--paper);
  border: 1px solid var(--stone);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.article-full .category {
  font-size: 0.85rem;
  color: var(--crimson);
  margin-bottom: 10px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.article-full .article-title {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink);
}

.article-full .article-date {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.article-full .article-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--ink-soft);
}

.article-full .article-body {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--ink-soft);
}

.article-full .read-more {
  display: inline-block;
  background: var(--crimson);
  color: #fff;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.25s ease, transform 0.2s ease;
}

.article-full .read-more:hover {
  background: var(--crimson-deep);
  transform: translateY(-1px);
}

/* ========= VISA POPUP ========= */
.visa-popup {
  position: fixed;
  top: 20px;
  right: 20px;
  max-width: 400px;
  z-index: 10000;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.3s ease;
}

.visa-popup.show {
  opacity: 1;
  transform: translateY(0);
}

.visa-popup .popup-content {
  background-color: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  position: relative;
  border-left: 4px solid #007bff;
}

.visa-popup.error .popup-content {
  border-left-color: #dc3545;
}

.visa-popup.success .popup-content {
  border-left-color: #28a745;
}

.visa-popup.warning .popup-content {
  border-left-color: #ffc107;
}

.visa-popup .popup-content p {
  margin: 0 0 15px 0;
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
}

.visa-popup .popup-close {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

.visa-popup.error .popup-close {
  background-color: #dc3545;
}

.visa-popup.success .popup-close {
  background-color: #28a745;
}

.visa-popup.warning .popup-close {
  background-color: #ffc107;
  color: #212529;
}

.visa-popup .popup-close:hover {
  opacity: 0.8;
}

/* Mobile responsive for popup */
@media screen and (max-width: 480px) {
  .visa-popup {
    left: 10px;
    right: 10px;
    max-width: none;
  }

  .visa-popup .popup-content {
    padding: 15px;
  }

  .visa-popup .popup-content p {
    font-size: 0.9rem;
  }
}
.admin-login-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  padding: 20px;
  margin-top: 100px;
}

.admin-login-container {
  max-width: 400px;
  width: 100%;
  padding: 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.admin-login-container h2 {
  text-align: center;
  color: #333;
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.admin-login-container .form-group {
  margin-bottom: 1.5rem;
}

.admin-login-container .form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #333;
}

.admin-login-container .form-group input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.admin-login-container .form-group input:focus {
  outline: none;
  border-color: #589ecce8;
  box-shadow: 0 0 5px rgba(88, 158, 204, 0.3);
}

.admin-login-container .error-message {
  color: red;
  margin-bottom: 1rem;
  text-align: center;
}
/* ========= LOGIN SECTION ========= */

.login-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 40px; /* Account for fixed navbar */
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  font-family: 'Montserrat', sans-serif;
}

.login-container {
  display: flex;
  max-width: 1200px;
  width: 100%;
  background: white;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  min-height: 600px;
}

.login-form-container {
  flex: 1;
  padding: 60px 50px;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-header {
  text-align: center;
  margin-bottom: 40px;
}

.login-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.login-header p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.5;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  font-size: 1rem;
}

.form-group input {
  width: 100%;
  padding: 15px;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-group input:focus {
  outline: none;
  border-color: #589ecce8;
  box-shadow: 0 0 0 3px rgba(88, 158, 204, 0.1);
}

.password-input-container {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  color: #666;
  transition: color 0.3s ease;
}

.password-toggle:hover {
  color: #589ecce8;
}

.error-message {
  color: #e74c3c;
  font-size: 0.9rem;
  margin-top: 5px;
}

.alert {
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-weight: 500;
}

.alert-error {
  background-color: #fdf2f2;
  color: #e74c3c;
  border: 1px solid #f5c6cb;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 10px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  color: #666;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  margin-right: 8px;
  accent-color: #589ecce8;
}

.forgot-password-link {
  color: #589ecce8;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.forgot-password-link:hover {
  color: #4a7ba7;
  text-decoration: underline;
}

.form-actions {
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background-color: #589ecce8;
  color: white;
  width: 100%;
}

.btn-primary:hover {
  background-color: #4a7ba7;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(88, 158, 204, 0.3);
}

.btn-primary:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.form-footer {
  text-align: center;
  font-size: 0.95rem;
  color: #666;
}

.form-footer a {
  color: #589ecce8;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.form-footer a:hover {
  color: #4a7ba7;
  text-decoration: underline;
}

.login-info {
  flex: 1;
  background: linear-gradient(135deg, #589ecce8 0%, #4a7ba7 100%);
  color: white;
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.login-info h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.login-info p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 40px;
  opacity: 0.9;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.feature-item {
  display: flex;
  align-items: center;
  text-align: left;
}

.feature-icon {
  font-size: 2rem;
  margin-right: 20px;
  opacity: 0.9;
}

.feature-text strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.feature-text {
  font-size: 1rem;
  line-height: 1.5;
  opacity: 0.9;
}

/* ========= RESPONSIVE FOR LOGIN SECTION ========= */

@media screen and (max-width: 768px) {
  .login-section {
    padding: 100px 10px 20px;
  }

  .login-container {
    flex-direction: column;
    min-height: auto;
    border-radius: 10px;
  }

  .login-form-container,
  .login-info {
    flex: none;
    padding: 40px 30px;
  }

  .login-header h1 {
    font-size: 2rem;
  }

  .login-info h2 {
    font-size: 1.8rem;
  }

  .features-list {
    gap: 20px;
  }

  .feature-item {
    flex-direction: column;
    text-align: center;
  }

  .feature-icon {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}

@media screen and (max-width: 480px) {
  .login-form-container,
  .login-info {
    padding: 30px 20px;
  }

  .login-header h1 {
    font-size: 1.8rem;
  }

  .login-info h2 {
    font-size: 1.5rem;
  }

  .btn {
    padding: 12px 25px;
    font-size: 1rem;
  }

  .form-group input {
    padding: 12px;
  }
}

.profile-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  padding: 20px;
  margin-top: 100px;
}

.profile-container {
  max-width: 1200px;
  width: 100%;
  padding: 2rem;
}

.profile-header {
  text-align: center;
  margin-bottom: 3rem;
}

.profile-header h1 {
  color: #333;
  margin-bottom: 0.5rem;
  font-size: 2.5rem;
}

.profile-header p {
  color: #666;
  font-size: 1.1rem;
}

.profile-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 2rem;
}

.profile-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  overflow: hidden;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background-color: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
}

.card-header h2 {
  margin: 0;
  color: #333;
  font-size: 1.3rem;
}

.card-body {
  padding: 1.5rem;
}

.user-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.info-item label {
  font-weight: bold;
  color: #333;
  font-size: 0.9rem;
}

.info-item span {
  color: #666;
  padding: 0.5rem;
  background-color: #f8f9fa;
  border-radius: 5px;
  font-size: 0.95rem;
}

.status-active {
  color: #28a745;
  font-weight: bold;
}

.applications-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.application-item {
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 1rem;
  background-color: #f8f9fa;
}

.application-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.application-header h4 {
  margin: 0;
  color: #333;
}

.application-status {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
}

.status-draft {
  background-color: #ffc107;
  color: #212529;
}

.status-submitted {
  background-color: #17a2b8;
  color: white;
}

.status-under_review {
  background-color: #ffc107;
  color: #212529;
}

.status-approved {
  background-color: #28a745;
  color: white;
}

.status-rejected {
  background-color: #dc3545;
  color: white;
}

.status-pending {
  background-color: #6c757d;
  color: white;
}

.application-details p {
  margin: 0.25rem 0;
  font-size: 0.9rem;
  color: #666;
}

.application-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
}

.no-applications, .no-activity, .loading, .error {
  text-align: center;
  padding: 2rem;
  color: #666;
  font-style: italic;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.setting-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: #333;
}

.setting-btn:hover {
  background-color: #e9ecef;
  transform: translateY(-2px);
}

.setting-btn.danger {
  background-color: #f8d7da;
  border-color: #f5c6cb;
  color: #721c24;
}

.setting-btn.danger:hover {
  background-color: #f5c6cb;
}

.setting-btn .icon {
  font-size: 1.2rem;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid #dee2e6;
}

.activity-item:last-child {
  border-bottom: none;
}

.activity-icon {
  font-size: 1.5rem;
}

.activity-content p {
  margin: 0;
  color: #333;
  font-size: 0.95rem;
}

.activity-date {
  color: #666;
  font-size: 0.8rem;
}

.register-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  margin-top: 0;
}

.register-container {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
  max-width: 1200px;
  width: 100%;
  background: white;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  overflow: hidden;
}

.register-form-container {
  padding: 3rem;
  flex: 1;
}

.register-header {
  text-align: center;
  margin-bottom: 2rem;
}

.register-header h1 {
  color: #333;
  margin-bottom: 0.5rem;
  font-size: 2.5rem;
}

.register-header p {
  color: #666;
  font-size: 1.1rem;
}

.form-section {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eee;
}

.form-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.form-section h3 {
  color: #333;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #333;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: #fafbfc;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #589ecce8;
  background-color: white;
  box-shadow: 0 0 0 3px rgba(88, 158, 204, 0.1);
}

.form-group input.error,
.form-group select.error {
  border-color: #dc3545;
  background-color: #fff5f5;
}

.error-message {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  min-height: 1.2em;
}

.password-strength {
  margin-top: 0.5rem;
}

.strength-meter {
  height: 4px;
  background-color: #e1e5e9;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0.25rem;
}

.strength-fill {
  height: 100%;
  width: 0%;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.strength-fill.weak {
  background-color: #dc3545;
}

.strength-fill.medium {
  background-color: #ffc107;
}

.strength-fill.strong {
  background-color: #28a745;
}

.strength-text {
  font-size: 0.875rem;
  font-weight: 500;
}

.strength-text.weak {
  color: #dc3545;
}

.strength-text.medium {
  color: #856404;
}

.strength-text.strong {
  color: #155724;
}

.terms-group {
  margin-bottom: 1rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555;
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkmark {
  position: relative;
  height: 20px;
  width: 20px;
  background-color: #eee;
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked ~ .checkmark {
  background-color: #589ecce8;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-label input[type="checkbox"]:checked ~ .checkmark:after {
  display: block;
}

.checkbox-label .checkmark:after {
  left: 7px;
  top: 3px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-label a {
  color: #589ecce8;
  text-decoration: none;
}

.checkbox-label a:hover {
  text-decoration: underline;
}

.form-actions {
  margin-top: 2rem;
  text-align: center;
}

.btn {
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  min-width: 200px;
}

.btn-primary {
  background: linear-gradient(135deg, #589ecce8 0%, #4a8bb8 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(88, 158, 204, 0.3);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(88, 158, 204, 0.4);
}

.btn-primary:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.form-footer {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
}

.form-footer p {
  color: #666;
  margin: 0;
}

.form-footer a {
  color: #589ecce8;
  text-decoration: none;
  font-weight: 500;
}

.form-footer a:hover {
  text-decoration: underline;
}

.register-benefits {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.register-benefits h2 {
  margin-bottom: 2rem;
  font-size: 1.8rem;
  text-align: center;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.benefit-icon {
  font-size: 2rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  flex-shrink: 0;
}

.benefit-content h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.benefit-content p {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.4;
}

/* Mobile responsive for register */
@media screen and (max-width: 968px) {
  .register-container {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .register-form-container {
    padding: 2rem;
  }

  .register-benefits {
    padding: 2rem;
    order: -1;
  }

  .register-benefits h2 {
    font-size: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .register-header h1 {
    font-size: 2rem;
  }
}

@media screen and (max-width: 480px) {
  .register-section {
    padding: 10px;
  }

  .register-form-container {
    padding: 1.5rem;
  }

  .register-benefits {
    padding: 1.5rem;
  }

  .register-header h1 {
    font-size: 1.8rem;
  }

  .form-section h3 {
    font-size: 1.1rem;
  }

  .btn {
    width: 100%;
    min-width: auto;
  }
}


.application-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  padding: 20px;
  margin-top: 100px;
}

.application-container {
  max-width: 900px;
  width: 100%;
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.application-header {
  text-align: center;
  margin-bottom: 2rem;
}

.application-header h1 {
  color: #333;
  margin-bottom: 0.5rem;
  font-size: 2.2rem;
}

.application-header p {
  color: #666;
  font-size: 1.1rem;
}

/* Progress Bar */
.progress-container {
  margin-bottom: 3rem;
}

.progress-bar {
  height: 8px;
  background-color: #e1e5e9;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(135deg, #589ecce8 0%, #4a8bb8 100%);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.step {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #e1e5e9;
  color: #666;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.step.active {
  background: linear-gradient(135deg, #589ecce8 0%, #4a8bb8 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(88, 158, 204, 0.3);
}

.form-section {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eee;
}

.form-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.form-section h2 {
  color: #333;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  font-weight: 600;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #333;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: #fafbfc;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #589ecce8;
  background-color: white;
  box-shadow: 0 0 0 3px rgba(88, 158, 204, 0.1);
}

.form-group input.error,
.form-group select.error {
  border-color: #dc3545;
  background-color: #fff5f5;
}

.error-message {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  min-height: 1.2em;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  min-width: 160px;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #589ecce8 0%, #4a8bb8 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(88, 158, 204, 0.3);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(88, 158, 204, 0.4);
}

.btn-primary:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-secondary {
  background-color: #6c757d;
  color: white;
  box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover:not(:disabled) {
  background-color: #5a6268;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
}

/* Popup Styles */
.visa-popup {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s ease;
}

.visa-popup.show {
  opacity: 1;
  transform: translateX(0);
}

.visa-popup.success {
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.visa-popup.error {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.visa-popup.info {
  background-color: #d1ecf1;
  border: 1px solid #bee5eb;
  color: #0c5460;
}

.popup-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  min-width: 300px;
}

.popup-content p {
  margin: 0;
  flex: 1;
}

.popup-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0;
  opacity: 0.7;
}

.popup-close:hover {
  opacity: 1;
}

/* Mobile responsive for application forms */
@media screen and (max-width: 768px) {
  .application-section {
    padding: 10px;
    margin-top: 80px;
  }

  .application-container {
    padding: 1.5rem;
  }

  .application-header h1 {
    font-size: 1.8rem;
  }

  .progress-steps {
    display: none; /* Hide step numbers on mobile */
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    min-width: auto;
  }

  .popup-content {
    min-width: 280px;
    padding: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .application-container {
    padding: 1rem;
  }

  .application-header h1 {
    font-size: 1.6rem;
  }

  .form-section h2 {
    font-size: 1.2rem;
  }
}

/* Card background images */
.card-canada {
  background-image: url('/img/canada.jpg');
}

.card-egypt {
  background-image: url('/img/egypt.jpg');
}

.card-inde {
  background-image: url('/img/inde.jpg');
}

/* Progress fill widths */
.progress-20 .progress-fill {
  width: 20%;
}

.progress-40 .progress-fill {
  width: 40%;
}

.progress-60 .progress-fill {
  width: 60%;
}

.progress-80 .progress-fill {
  width: 80%;
}

.progress-100 .progress-fill {
  width: 100%;
}
