@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

:root {
  --italy-green: #087a55;
  --italy-green-dark: #04533c;
  --italy-red: #d8443e;
  --ink: #17231f;
  --muted: #66736d;
  --paper: #fbfcf9;
  --cream: #f1f4ed;
  --line: rgba(23, 35, 31, .11);
  --shadow: 0 22px 65px rgba(26, 55, 44, .11);
}

html { scroll-behavior: smooth; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.18;
}
p { color: var(--muted); }
a { transition: color .2s ease, background-color .2s ease, transform .2s ease, box-shadow .2s ease; }

header { position: sticky; top: 0; z-index: 1030; }
.navbar {
  min-height: 92px;
  background: rgba(251, 252, 249, .9) !important;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.navbar-brand img { width: 178px !important; height: auto !important; object-fit: contain; }
.navbar-nav { gap: .25rem; align-items: center; }
.navbar .nav-link {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  color: var(--ink) !important;
  font-size: .95rem !important;
  font-weight: 700;
  padding: .7rem .9rem !important;
  border-radius: 999px;
}
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--italy-green) !important; background: rgba(8,122,85,.08) !important; }
.dropdown-menu { border: 1px solid var(--line); border-radius: 18px; padding: .65rem; box-shadow: var(--shadow); }
.dropdown-item { border-radius: 12px; padding: .7rem .85rem; font-size: .9rem; }
.navbar-toggler { border: 0; box-shadow: none !important; }

.btn {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  border: 0;
  border-radius: 999px;
  padding: .82rem 1.25rem;
  font-weight: 800;
  letter-spacing: -.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary, .btn-success { background: var(--italy-green) !important; color: #fff; box-shadow: 0 12px 28px rgba(8,122,85,.22); }
.btn-primary:hover, .btn-success:hover { background: var(--italy-green-dark) !important; }
.btn-secondary { background: var(--ink) !important; color: #fff; box-shadow: 0 12px 28px rgba(23,35,31,.18); }

.rioheader {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(8,122,85,.13), transparent 34%),
    radial-gradient(circle at 88% 82%, rgba(216,68,62,.11), transparent 30%),
    linear-gradient(145deg, #f5f7f0, #fff 48%, #f7f0ed) !important;
  border-bottom: 1px solid var(--line);
}
.rioheader::before, .rioheader::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px solid rgba(8,122,85,.12);
}
.rioheader::before { left: -80px; top: -90px; box-shadow: 0 0 0 35px rgba(8,122,85,.025), 0 0 0 70px rgba(8,122,85,.018); }
.rioheader::after { right: -90px; bottom: -110px; border-color: rgba(216,68,62,.13); box-shadow: 0 0 0 35px rgba(216,68,62,.025), 0 0 0 70px rgba(216,68,62,.018); }
.rioheader .container { padding-top: clamp(5rem, 10vw, 8.5rem) !important; padding-bottom: clamp(5rem, 10vw, 8.5rem) !important; }
.rioheader h1 { font-size: clamp(2.7rem, 6vw, 5.4rem) !important; line-height: 1.04; }
.rioheader .lead, .rioheader p { max-width: 780px; margin-inline: auto; font-size: clamp(1rem, 1.6vw, 1.18rem); }
.page-home .rioheader::after { content: "ROMA  •  MİLANO  •  FLORANSA"; width: auto; height: auto; right: 3vw; bottom: 2rem; border: 0; box-shadow: none; border-radius: 0; color: rgba(23,35,31,.25); font-size: .7rem; font-weight: 800; letter-spacing: .18em; }
.page-home .rioheader .text-center::before { content: "İTALYA EĞİTİM VİZESİ DANIŞMANLIĞI"; display: inline-flex; align-self: center; padding: .45rem .8rem; border: 1px solid rgba(8,122,85,.18); border-radius: 999px; background: rgba(255,255,255,.7); color: var(--italy-green); font-size: .7rem; font-weight: 800; letter-spacing: .1em; }
.riogradient, .riogradient2 {
  background: linear-gradient(115deg, var(--italy-green) 10%, #149069 48%, var(--italy-red) 92%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  font-size: inherit !important;
  font-weight: inherit !important;
}

main > section:not(.rioheader) { padding-block: clamp(4.5rem, 8vw, 7rem); }
.marketing { padding: 0 12px !important; }
.marketing > .text-center { margin-bottom: 2.5rem; }
.marketing .row:not(.text-center) { row-gap: 1.25rem; }
.servicesBG {
  width: calc(33.333% - 1rem);
  margin-inline: .5rem;
  padding: 2rem !important;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 10px 35px rgba(26,55,44,.055);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.servicesBG:hover { transform: translateY(-7px); border-color: rgba(8,122,85,.28); box-shadow: var(--shadow); background: #fff; }
.servicesBG img { width: 52px !important; height: 52px !important; margin-bottom: 1.2rem; }
.servicesBG h2 { font-family: "Plus Jakarta Sans", "Inter", sans-serif; font-size: 1.25rem; font-weight: 800 !important; }
.servicesBG .lead { font-size: .96rem; }

.rioilkeler { background: var(--cream) !important; }
.rioilkeler .col-lg-3 { position: relative; padding: 1.6rem; }
.rioilkeler svg { width: 54px; height: 54px; filter: saturate(.75); }
.rioilkeler h3 { font-family: "Plus Jakarta Sans", "Inter", sans-serif; font-size: 1.15rem; font-weight: 800; }
.rioilkeler .row.g-lg-7 { counter-reset: process; }
.rioilkeler .col-lg-3 { counter-increment: process; }
.rioilkeler .col-lg-3::before { content: "0" counter(process); position: absolute; top: 1.2rem; right: 1.4rem; color: rgba(8,122,85,.18); font-size: 2.3rem; font-weight: 800; letter-spacing: -.08em; }

.page-home main > section:nth-last-of-type(3) .col-lg-3 { padding: 1.65rem; background: #fff; border: 1px solid var(--line); border-radius: 22px; text-align: left !important; }
.page-home main > section:nth-last-of-type(3) figure { display: none; }
.page-home main > section:nth-last-of-type(3) h3 { font-family: "Plus Jakarta Sans", "Inter", sans-serif; font-size: 1.05rem; font-weight: 800; }
.page-home main > section:nth-last-of-type(3) h3::before { content: "★★★★★"; display: block; margin-bottom: .7rem; color: #e7a72b; font-size: .8rem; letter-spacing: .12em; }
.page-home main > section:nth-last-of-type(3) .fs-6 { color: var(--muted); line-height: 1.75; }
.accordion { display: grid; gap: .75rem; }
.accordion > .border { margin: 0 !important; padding: 0 !important; overflow: hidden; border: 1px solid var(--line) !important; border-radius: 18px !important; background: #fff; }
.accordion h2 a { padding: 1.2rem 1.4rem; text-decoration: none; font-family: "Plus Jakarta Sans", "Inter", sans-serif; font-weight: 700; }
.accordion .accordion-collapse > div { margin: 0 !important; padding: 0 1.4rem 1.4rem; color: var(--muted); font-size: 1rem; }
.page-home figure.p5 { position: relative; margin: 0; }
.page-home figure.p5::after { content: "İtalya'da eğitime giden yolu birlikte açıyoruz."; position: absolute; right: -1rem; bottom: 1.5rem; max-width: 260px; padding: 1rem 1.15rem; border-radius: 18px; background: rgba(255,255,255,.92); box-shadow: var(--shadow); color: var(--ink); font-size: .85rem; font-weight: 800; line-height: 1.5; backdrop-filter: blur(10px); }
.page-home figure.p5 img { aspect-ratio: 1 / 1.06; width: 100%; height: auto !important; object-fit: cover; border-radius: 30px !important; box-shadow: var(--shadow); }

.contact .section-title { max-width: 860px; margin-bottom: 2.5rem; }
.contact .section-title h2 { font-size: clamp(2rem, 4vw, 3.3rem); }
.contact iframe { height: 390px !important; border-radius: 26px; box-shadow: var(--shadow); }
.contact .info { padding: 2rem; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 12px 38px rgba(26,55,44,.06); }
.contact .info > div { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact .info > div:last-child { border: 0; }
.contact .info h4 { font-weight: 800; }
.page-contact .contact .row.mt-5 { margin-top: 2rem !important; }
.page-contact .contact .col-lg-4 { width: 100%; }
.page-contact .contact .info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.page-contact .contact .info > div { border: 0; padding: 1.25rem; border-radius: 16px; background: var(--cream); }

.border-top.border-bottom { border: 0 !important; gap: 1rem; }
.border-top.border-bottom > div { flex: 1 1 250px; border: 1px solid var(--line) !important; border-radius: 22px; background: #fff; }
.hakkimizdaBilgi { color: var(--italy-green) !important; }

footer { background: #10251e !important; padding-top: 4.5rem !important; border-top: 0 !important; }
footer p, footer a, footer li { color: rgba(255,255,255,.7) !important; }
footer a:hover { color: #fff !important; }
footer h4 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; }
footer img { max-width: 230px; height: auto !important; }
.footer-map iframe { width: 100%; height: 220px; border: 0; border-radius: 18px; filter: saturate(.75) contrast(.95); box-shadow: 0 16px 38px rgba(0,0,0,.18); }
.footer-links h4, .footer-map h4 { margin-bottom: 1.15rem; }
.footer-contact-list { max-width: 270px; }
.footer-credit { display: flex; align-items: center; justify-content: center; gap: .4rem; margin-top: 2.5rem; padding-top: 1.25rem; padding-bottom: 1.25rem; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.48); font-size: .78rem; letter-spacing: .02em; }
.footer-credit a { color: rgba(255,255,255,.78) !important; font-weight: 700; }
.footer-credit a:hover { color: #fff !important; }
.social-links a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; margin-right: .5rem; color: #fff !important; background: rgba(255,255,255,.07); }
.footer-links .social-links { justify-content: center; padding-top: .15rem; }
.footer-contact-list { line-height: 1.9; }
.social-links a:hover { transform: translateY(-3px); border-color: transparent; color: #fff !important; }
.social-links .instagram:hover { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }
.social-links .whatsapp:hover { background: #25d366; }
.social-links i { display: none; }
.social-links .instagram::before { content: ""; width: 19px; height: 19px; border: 2px solid currentColor; border-radius: 6px; background: radial-gradient(circle at center, transparent 0 3px, currentColor 3.5px 5px, transparent 5.5px), radial-gradient(circle at 73% 27%, currentColor 0 1.5px, transparent 2px); }
.social-links .whatsapp::before { content: "☎"; display: grid; place-items: center; width: 20px; height: 20px; border: 1.8px solid currentColor; border-radius: 50%; font-family: Arial, sans-serif; font-size: 12px; font-weight: 700; line-height: 1; transform: rotate(-12deg); }
.eyebrow { display: inline-block; margin-bottom: .7rem; color: #a7dfca; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.final-cta { padding-block: clamp(3.5rem, 7vw, 5.5rem) !important; background: var(--paper); }
.final-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(2rem, 5vw, 4rem); border-radius: 30px; background: linear-gradient(135deg, var(--italy-green-dark), #087a55 65%, #13966c); box-shadow: 0 28px 70px rgba(4,83,60,.22); }
.final-cta h2 { max-width: 680px; margin: 0 0 .7rem; color: #fff; font-size: clamp(2rem, 4vw, 3.25rem); }
.final-cta p { max-width: 650px; margin: 0; color: rgba(255,255,255,.72); }
.final-cta__actions { display: flex; flex-shrink: 0; gap: .75rem; }
.final-cta .btn-light { color: var(--italy-green-dark); background: #fff; }
.final-cta .btn-outline-light { border: 1px solid rgba(255,255,255,.45); color: #fff; }

@media (max-width: 991.98px) {
  .navbar-collapse { padding: 1rem 0 1.5rem; }
  .navbar-nav { align-items: stretch; }
  .navbar form { margin-left: 0 !important; }
  .navbar form .btn { margin-left: 0 !important; }
  .servicesBG { width: calc(50% - 1rem); }
  .final-cta__inner { align-items: flex-start; flex-direction: column; }
  .page-contact .contact .info { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
  .navbar { min-height: 78px; }
  .navbar-brand img { width: 150px !important; }
  .rioheader .d-flex.flex-row { flex-direction: column !important; gap: .75rem !important; width: 100%; }
  .rioheader .d-flex.flex-row .btn { width: min(100%, 320px); margin-inline: auto; }
  .servicesBG { width: 100%; margin-inline: 0; padding: 1.6rem !important; }
  .marketing { padding-inline: 16px !important; }
  main > section:not(.rioheader) { padding-block: 4rem; }
  footer { padding-bottom: 5rem; text-align: center; }
  footer .social-links { justify-content: center; }
  .footer-contact-list { max-width: none; }
  .footer-map { margin-top: 2rem; }
  .footer-credit { flex-wrap: wrap; margin-top: 2rem; }
  .final-cta__actions { width: 100%; flex-direction: column; }
  .final-cta__actions .btn { width: 100%; }
  .page-home figure.p5::after { right: .75rem; left: .75rem; bottom: .75rem; max-width: none; }
  .page-home .rioheader::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
