/*
Theme Name: Ravi Travels Final Theme
Theme URI: https://ravitravels.lk
Author: Ravi Travels & Tours
Description: A premium, accessible travel-agency theme for Ravi Travels & Tours (PVT) LTD, with inbound and outbound services, tour packages, visa guidance and secure enquiries.
Version: 2.2.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: ravi-travels
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* Complete presentation styles are appended below for maximum WordPress and cache-plugin compatibility. */

:root {
  --rt-navy: #071b3a;
  --rt-blue: #165dff;
  --rt-gold: #d6a84b;
  --rt-teal: #15a3a3;
  --rt-bg: #f7f9fc;
  --rt-white: #fff;
  --rt-ink: #1c2a43;
  --rt-muted: #66738a;
  --rt-line: #dfe5ee;
  --rt-shadow: 0 20px 60px rgba(7, 27, 58, .12);
  --rt-radius: 20px;
  --rt-container: 1180px;
  --rt-serif: Georgia, "Times New Roman", serif;
  --rt-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: #fff; color: var(--rt-ink); font-family: var(--rt-sans); font-size: 16px; line-height: 1.7; }
body.nav-open { overflow: hidden; }
img, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4 { margin: 0 0 .65em; color: var(--rt-navy); font-family: var(--rt-serif); font-weight: 600; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.65rem, 7vw, 5.75rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 4.3vw, 3.6rem); letter-spacing: -.035em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); }
p { margin: 0 0 1.3em; }
::selection { background: var(--rt-blue); color: #fff; }

.container { width: min(calc(100% - 48px), var(--rt-container)); margin-inline: auto; }
.narrow { max-width: 800px; }
.section { padding-block: clamp(78px, 9vw, 132px); }
.section-tint { background: var(--rt-bg); }
.section-dark { background: var(--rt-navy); color: rgba(255,255,255,.76); }
.section-dark h2, .section-dark h3, .section-dark a { color: #fff; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus, .skip-link:focus { z-index: 100000; top: 10px; left: 10px; width: auto; height: auto; padding: 12px 18px; margin: 0; clip: auto; background: #fff; color: var(--rt-navy); border: 2px solid var(--rt-blue); border-radius: 8px; }
:focus-visible { outline: 3px solid var(--rt-gold); outline-offset: 4px; }

.eyebrow { margin-bottom: 16px; color: var(--rt-blue); font-size: .76rem; font-weight: 800; letter-spacing: .16em; line-height: 1.3; text-transform: uppercase; }
.section-heading { margin-bottom: clamp(38px, 5vw, 68px); }
.section-heading > p { max-width: 640px; color: var(--rt-muted); font-size: 1.07rem; }
.section-heading.centered { max-width: 820px; margin-inline: auto; text-align: center; }
.section-heading.centered > p:last-child { margin-inline: auto; }
.section-heading.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); gap: clamp(28px, 6vw, 90px); align-items: end; }
.section-heading.split > p, .section-heading.split > .entry-content { margin: 0 0 6px; }

.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 13px 22px; border: 2px solid var(--rt-blue); border-radius: 999px; background: var(--rt-blue); color: #fff; font-size: .88rem; font-weight: 800; line-height: 1.2; text-align: center; transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); background: #0d49da; border-color: #0d49da; box-shadow: 0 12px 28px rgba(22,93,255,.25); }
.button-small { min-height: 44px; padding: 11px 18px; font-size: .8rem; }
.button-outline { background: transparent; color: var(--rt-blue); }
.button-outline:hover { color: #fff; }
.button-light { border-color: #fff; background: #fff; color: var(--rt-navy); }
.button-light:hover { border-color: var(--rt-gold); background: var(--rt-gold); color: var(--rt-navy); }
.button-outline-light { border-color: rgba(255,255,255,.72); background: transparent; color: #fff; }
.button-outline-light:hover { border-color: #fff; background: #fff; color: var(--rt-navy); }
.button-whatsapp { border-color: #1f9d61; background: #1f9d61; color: #fff; }
.button-whatsapp:hover { border-color: #167849; background: #167849; }
.button-group { display: flex; flex-wrap: wrap; gap: 13px; }
.centered-buttons { justify-content: center; }
.center-action { margin: 48px 0 0; text-align: center; }
.text-link { display: inline-flex; gap: 8px; align-items: center; color: var(--rt-blue); font-size: .86rem; font-weight: 800; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }

/* Header and navigation */
.site-header { position: sticky; z-index: 1000; top: 0; width: 100%; border-bottom: 1px solid rgba(7,27,58,.08); background: rgba(255,255,255,.97); box-shadow: 0 8px 30px rgba(7,27,58,.04); }
.header-shell { position: relative; display: flex; width: min(calc(100% - 48px), 1320px); min-height: 94px; margin-inline: auto; align-items: center; justify-content: space-between; gap: 28px; }
.site-branding { flex: 0 0 auto; line-height: 0; }
.custom-logo-link, .brand-fallback { display: block; }
.custom-logo, .site-branding img { width: auto; height: 82px; margin-block: -4px; object-fit: contain; }
.primary-navigation { display: flex; align-items: center; gap: 22px; }
.primary-menu, .primary-menu ul { padding: 0; margin: 0; list-style: none; }
.primary-menu { display: flex; align-items: center; gap: clamp(13px, 1.5vw, 28px); }
.primary-menu > li { position: relative; }
.primary-menu .nav-link { display: flex; min-height: 44px; align-items: center; color: var(--rt-navy); font-size: .82rem; font-weight: 750; white-space: nowrap; }
.primary-menu > li > .nav-link::after { position: absolute; right: 0; bottom: 3px; left: 0; height: 2px; background: var(--rt-blue); content: ""; transform: scaleX(0); transition: transform .2s ease; }
.primary-menu > li:hover > .nav-link::after, .primary-menu > li:focus-within > .nav-link::after, .primary-menu > .current-menu-item > .nav-link::after { transform: scaleX(1); }
.primary-menu .sub-menu { position: absolute; z-index: 20; top: calc(100% + 14px); left: 50%; width: 280px; padding: 16px; border: 1px solid var(--rt-line); border-radius: 15px; background: #fff; box-shadow: var(--rt-shadow); opacity: 0; pointer-events: none; transform: translate(-50%, 10px); transition: opacity .18s ease, transform .18s ease; }
.primary-menu li:hover > .sub-menu, .primary-menu li:focus-within > .sub-menu { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.primary-menu .sub-menu .nav-link { min-height: 36px; padding: 7px 9px; border-radius: 8px; color: #41506a; font-size: .8rem; white-space: normal; }
.primary-menu .sub-menu .nav-link:hover, .primary-menu .sub-menu .nav-link:focus-visible { background: var(--rt-bg); color: var(--rt-blue); }
.primary-menu .menu-item-mega { position: static; }
.primary-menu .menu-item-mega > .sub-menu { top: calc(100% - 3px); left: 50%; display: grid; width: min(940px, calc(100vw - 48px)); max-height: min(680px, calc(100vh - 110px)); grid-template-columns: 1fr 1fr; gap: 30px; padding: 30px; overflow-y: auto; transform: translate(-50%, 10px); }
.primary-menu .menu-item-mega:hover > .sub-menu, .primary-menu .menu-item-mega:focus-within > .sub-menu { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.primary-menu .menu-item-mega > .sub-menu::before { position: absolute; top: -16px; right: 0; left: 0; height: 18px; content: ""; }
.primary-menu .menu-item-mega > .sub-menu > li { min-width: 0; }
.primary-menu .menu-item-mega > .sub-menu > li > .nav-link { min-height: auto; padding: 0 0 13px; border-bottom: 1px solid var(--rt-line); border-radius: 0; color: var(--rt-navy); font-family: var(--rt-serif); font-size: 1.3rem; font-weight: 700; }
.primary-menu .menu-item-mega > .sub-menu > li > .sub-menu { position: static; display: grid; width: auto; max-height: none; grid-template-columns: 1fr 1fr; gap: 2px 12px; padding: 12px 0 0; border: 0; border-radius: 0; box-shadow: none; opacity: 1; pointer-events: auto; transform: none; }
.submenu-toggle, .menu-toggle, .mobile-menu-heading { display: none; }
.menu-backdrop { display: none; }

/* Hero */
.home-hero { position: relative; min-height: min(790px, calc(100svh - 86px)); display: grid; overflow: hidden; background: #0a2447 var(--hero-poster) center / cover no-repeat; color: #fff; place-items: center; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: rgba(4,18,41,.58); }
.hero-content { position: relative; z-index: 2; padding-block: 90px 120px; }
.hero-content > * { max-width: 780px; }
.hero-content h1 { max-width: 900px; color: #fff; }
.hero-eyebrow { color: #b7d4ff; }
.hero-description { max-width: 690px; margin-bottom: 34px; color: rgba(255,255,255,.86); font-size: clamp(1.02rem, 2vw, 1.25rem); }
.hero-scroll { position: absolute; z-index: 3; right: 34px; bottom: 28px; display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.68); font-size: .68rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; transform: rotate(90deg); transform-origin: 100% 50%; }
.hero-scroll span { width: 42px; height: 1px; background: currentColor; }

.benefit-strip { position: relative; z-index: 4; margin-top: -24px; }
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--rt-radius); background: #fff; box-shadow: var(--rt-shadow); }
.benefit-card { display: flex; min-width: 0; gap: 15px; padding: 26px 24px; border-right: 1px solid var(--rt-line); }
.benefit-card:last-child { border-right: 0; }
.benefit-card > span { color: var(--rt-blue); font-size: .72rem; font-weight: 850; }
.benefit-card h2 { margin: 0 0 5px; font-family: var(--rt-sans); font-size: .98rem; letter-spacing: -.01em; }
.benefit-card p { margin: 0; color: var(--rt-muted); font-size: .77rem; line-height: 1.55; }

/* Cards and homepage sections */
.direction-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.direction-card { position: relative; min-height: 520px; overflow: hidden; border-radius: var(--rt-radius); background: var(--rt-navy) var(--card-image, none) center / cover no-repeat; color: #fff; box-shadow: 0 16px 45px rgba(7,27,58,.12); }
.direction-card[style*="--card-image"]::before { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,18,41,.18), rgba(4,18,41,.8)); content: ""; }
.direction-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.direction-card:hover img { transform: scale(1.045); }
.direction-overlay { position: absolute; inset: 0; background: rgba(5,24,52,.48); }
.direction-content { position: absolute; z-index: 2; inset: auto 0 0; display: flex; padding: clamp(28px, 4vw, 48px); flex-direction: column; align-items: flex-start; }
.direction-content small { margin-bottom: 6px; color: #d4e4ff; font-size: .73rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.direction-content strong { margin-bottom: 10px; font-family: var(--rt-serif); font-size: clamp(2rem, 3.4vw, 3.15rem); line-height: 1; }
.direction-content em { max-width: 420px; margin-bottom: 24px; color: rgba(255,255,255,.8); font-size: .93rem; font-style: normal; }
.direction-content b { font-size: .83rem; }

.experience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.image-card, .tour-card { overflow: hidden; border: 1px solid rgba(7,27,58,.07); border-radius: 16px; background: #fff; box-shadow: 0 12px 30px rgba(7,27,58,.06); transition: transform .25s ease, box-shadow .25s ease; }
.image-card:hover, .tour-card:hover { transform: translateY(-5px); box-shadow: 0 20px 45px rgba(7,27,58,.11); }
.image-card > a { display: block; overflow: hidden; }
.image-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease; }
.image-card:hover img { transform: scale(1.04); }
.image-card > div { padding: 24px; }
.image-card h3 { margin-bottom: 9px; font-family: var(--rt-sans); font-size: 1.08rem; }
.image-card p { color: var(--rt-muted); font-size: .86rem; }

.tour-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.tour-card-image { position: relative; overflow: hidden; background: #dce7f7; }
.tour-card-image > img:not(.country-flag) { width: 100%; aspect-ratio: 1.25 / 1; object-fit: cover; transition: transform .45s ease; }
.tour-card:hover .tour-card-image > img:not(.country-flag) { transform: scale(1.04); }
.country-flag { display: block; width: 32px; height: 24px; max-width: none; object-fit: cover; border-radius: 4px; }
.flag { position: absolute; top: 14px; right: 14px; width: 32px; height: 24px; border: 1px solid rgba(255,255,255,.8); border-radius: 4px; background: #fff; box-shadow: 0 8px 20px rgba(7,27,58,.22); }
.tour-card-body { padding: 24px; }
.tour-card-body h2, .tour-card-body h3 { margin-bottom: 9px; font-family: var(--rt-sans); font-size: 1.08rem; }
.tour-card-body p { color: var(--rt-muted); font-size: .85rem; }
.tour-places { color: var(--rt-blue) !important; font-size: .75rem !important; font-weight: 750; }
.button-card { width: 100%; margin-top: 5px; padding-inline: 13px; }

.about-band { background: var(--rt-navy); color: rgba(255,255,255,.75); }
.about-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(45px, 8vw, 110px); align-items: center; }
.about-image { position: relative; }
.about-image img { width: 100%; max-height: 680px; border-radius: 180px 180px 20px 20px; object-fit: cover; }
.about-note { position: absolute; right: -20px; bottom: 44px; max-width: 190px; padding: 17px 20px; border-left: 3px solid var(--rt-gold); background: #fff; color: var(--rt-navy); font-family: var(--rt-serif); font-size: 1.05rem; font-weight: 700; box-shadow: var(--rt-shadow); }
.about-copy h2, .about-band .about-copy h2 { color: inherit; }
.about-band .about-copy h2 { color: #fff; }
.about-copy > p:not(.eyebrow) { color: inherit; }
.about-band .eyebrow { color: #9fc3ff; }

.process-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.process-grid::before { position: absolute; z-index: -1; top: 27px; right: 10%; left: 10%; height: 1px; background: var(--rt-line); content: ""; }
.process-step { padding-right: 15px; }
.process-step span { display: grid; width: 56px; height: 56px; margin-bottom: 25px; border: 1px solid var(--rt-line); border-radius: 50%; background: #fff; color: var(--rt-blue); font-size: .74rem; font-weight: 850; place-items: center; }
.process-step h3 { max-width: 220px; font-family: var(--rt-sans); font-size: 1.03rem; }
.process-grid.compact { grid-template-columns: repeat(3, 1fr); }

.testimonial-section { background: #eef3fb; }
.testimonial-grid, .testimonial-track, .value-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.testimonial-slider { --testimonial-slide-basis: calc((100% - 44px) / 3); position: relative; }
.testimonial-viewport { padding: 12px; margin: -12px; }
.testimonial-slider.is-enhanced .testimonial-viewport { overflow: hidden; touch-action: pan-y; }
.testimonial-slider.is-enhanced.is-static .testimonial-viewport { overflow: visible; }
.testimonial-slider.is-enhanced .testimonial-track { display: flex; align-items: stretch; transition: transform .45s ease; will-change: transform; }
.testimonial-slider.is-enhanced .testimonial-slide { min-width: 0; flex: 0 0 var(--testimonial-slide-basis); }
.testimonial-card, .value-card { margin: 0; padding: 34px; border: 1px solid rgba(7,27,58,.08); border-radius: 16px; background: #fff; box-shadow: 0 12px 30px rgba(7,27,58,.05); }
.testimonial-card { display: flex; min-width: 0; height: auto; flex-direction: column; overflow-wrap: anywhere; }
.testimonial-card .quote { color: #45526a; font-family: var(--rt-serif); font-size: 1.08rem; line-height: 1.7; }
.testimonial-card .quote > :last-child { margin-bottom: 0; }
.testimonial-card footer { display: flex; padding-top: 25px; margin-top: auto; flex-direction: column; color: var(--rt-navy); }
.testimonial-card footer span { color: var(--rt-muted); font-size: .78rem; }
.testimonial-controls { display: flex; min-height: 48px; margin-top: 30px; align-items: center; justify-content: center; gap: 18px; }
.testimonial-controls[hidden] { display: none; }
.testimonial-arrow, .testimonial-dot { border: 1px solid rgba(7,27,58,.18); background: #fff; color: var(--rt-navy); cursor: pointer; transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease; }
.testimonial-arrow { display: grid; width: 44px; height: 44px; padding: 0; border-radius: 50%; font-size: 1.15rem; place-items: center; }
.testimonial-arrow:hover { border-color: var(--rt-blue); background: var(--rt-blue); color: #fff; transform: translateY(-2px); }
.testimonial-dots { display: flex; min-height: 32px; align-items: center; justify-content: center; gap: 9px; }
.testimonial-dot { width: 11px; height: 11px; padding: 0; border-radius: 50%; }
.testimonial-dot:hover, .testimonial-dot.is-active { border-color: var(--rt-blue); background: var(--rt-blue); }
.testimonial-arrow:focus-visible, .testimonial-dot:focus-visible, .testimonial-slider:focus-visible { outline: 3px solid var(--rt-gold); outline-offset: 3px; }
.rating { margin-bottom: 15px; color: var(--rt-gold); letter-spacing: .08em; }
.value-card > span { display: block; margin-bottom: 16px; color: var(--rt-gold); font-size: 1.5rem; }
.value-card h3 { font-family: var(--rt-sans); font-size: 1.05rem; }
.value-card p { margin: 0; color: var(--rt-muted); font-size: .86rem; }
.four-up { grid-template-columns: repeat(4, 1fr); }

.final-cta { padding-block: clamp(80px, 10vw, 140px); background: var(--rt-blue); color: rgba(255,255,255,.84); text-align: center; }
.final-cta h2 { max-width: 850px; margin-inline: auto; color: #fff; }
.final-cta .eyebrow { color: #c8ddff; }
.compact-cta { padding-block: 74px; }
.compact-cta h2 { font-size: clamp(2rem, 4vw, 3.25rem); }

/* Inner pages */
.page-hero { position: relative; min-height: clamp(390px, 52vw, 590px); display: grid; overflow: hidden; background: var(--rt-navy) var(--page-hero-image) center / cover no-repeat; place-items: end start; }
.page-hero-overlay { position: absolute; inset: 0; background: rgba(4,18,41,.64); }
.page-hero-content { position: relative; z-index: 1; padding-block: 115px 70px; color: #fff; }
.page-hero h1 { max-width: 880px; color: #fff; font-size: clamp(2.55rem, 6.2vw, 5.2rem); }
.page-hero-content > p { max-width: 700px; margin: 0; color: rgba(255,255,255,.82); font-size: 1.08rem; }
.breadcrumbs { display: flex; margin-bottom: 25px; align-items: center; gap: 9px; color: rgba(255,255,255,.7); font-size: .75rem; font-weight: 700; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.service-intro-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(350px,.9fr); gap: clamp(45px, 8vw, 110px); align-items: center; }
.editorial-image { margin: 0; }
.editorial-image img { width: 100%; max-height: 620px; border-radius: var(--rt-radius); box-shadow: var(--rt-shadow); object-fit: cover; }
.entry-content { color: #4f5c72; }
.entry-content > :first-child { margin-top: 0; }
.entry-content a:not(.button) { color: var(--rt-blue); text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.inner-about .about-copy { color: var(--rt-ink); }
.inner-about .editorial-image img { max-height: 560px; aspect-ratio: 4 / 3; }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.statement-card { min-height: 380px; padding: clamp(35px, 5vw, 64px); border-radius: var(--rt-radius); background: #fff; box-shadow: 0 15px 45px rgba(7,27,58,.07); }
.statement-card h2 { font-size: clamp(2rem, 3.2vw, 3rem); }
.statement-card p:last-child { color: var(--rt-muted); }
.statement-dark { background: var(--rt-navy); color: rgba(255,255,255,.75); }
.statement-dark h2 { color: #fff; }
.statement-dark .eyebrow { color: #9fc3ff; }
.statement-dark p:last-child { color: rgba(255,255,255,.72); }
.philosophy-band { background: #f2f5fa; }
.lead-copy { color: #40506a; font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 1.8; }
.optional-editor-content { margin-block: 26px; padding-left: 24px; border-left: 3px solid var(--rt-gold); }
.service-detail-section .notice-box { margin-top: 30px; }
.service-editorial-band { background: #eef3fb; }
.section-dark .service-intro-grid .about-copy > p:not(.eyebrow) { color: rgba(255,255,255,.76); }
.mini-steps { display: grid; margin-top: 30px; gap: 10px; }
.mini-steps span { padding: 13px 16px; border: 1px solid rgba(255,255,255,.16); border-radius: 10px; color: #fff; font-size: .88rem; font-weight: 750; }

.highlight-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.highlight-card { min-height: 190px; padding: 28px; border-top: 3px solid var(--rt-blue); border-radius: 0 0 14px 14px; background: #fff; box-shadow: 0 10px 30px rgba(7,27,58,.05); }
.highlight-card span { color: var(--rt-blue); font-size: .72rem; font-weight: 850; }
.highlight-card h3 { margin-top: 42px; font-family: var(--rt-sans); font-size: 1rem; }
.notice-box { padding: 23px 26px; border-left: 4px solid var(--rt-gold); border-radius: 0 12px 12px 0; background: #fff9ec; color: #5d4c29; }
.notice-box strong { color: var(--rt-navy); }
.notice-box p { margin: 5px 0 0; }
.editorial-note, .visa-disclaimer { margin-top: 42px; }
.related-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related-links a { display: flex; min-height: 72px; padding: 20px; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; align-items: center; justify-content: space-between; gap: 15px; font-weight: 750; transition: border-color .2s ease, background .2s ease; }
.related-links a:hover { border-color: var(--rt-gold); background: rgba(255,255,255,.05); }
.related-links-light a { border-color: var(--rt-line); background: #fff; color: var(--rt-navy); }
.related-links-light a:hover { border-color: var(--rt-blue); background: var(--rt-bg); }

.coordination-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.coordination-card { min-height: 150px; padding: 28px; border: 1px solid rgba(255,255,255,.15); border-radius: 14px; background: rgba(255,255,255,.06); }
.coordination-card span { display: grid; width: 32px; height: 32px; margin-bottom: 24px; border-radius: 50%; background: var(--rt-gold); color: var(--rt-navy); font-weight: 900; place-items: center; }
.coordination-card h3 { margin: 0; font-family: var(--rt-sans); font-size: .98rem; }
.light-grid .coordination-card { border-color: var(--rt-line); background: var(--rt-bg); }
.light-grid .coordination-card h3 { color: var(--rt-navy); }

.service-image-grid, .outbound-image-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.outbound-image-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-image-card { min-width: 0; overflow: hidden; border: 1px solid rgba(7,27,58,.08); border-radius: 17px; background: #fff; box-shadow: 0 12px 32px rgba(7,27,58,.06); transition: transform .25s ease, box-shadow .25s ease; }
.service-image-card:hover { transform: translateY(-5px); box-shadow: 0 22px 50px rgba(7,27,58,.12); }
.service-image-link { display: block; overflow: hidden; }
.service-image-link img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s ease; }
.service-image-card:hover .service-image-link img { transform: scale(1.035); }
.service-image-body { display: flex; min-height: 260px; padding: 28px; flex-direction: column; align-items: flex-start; }
.service-image-body h3 { margin-bottom: 10px; font-family: var(--rt-sans); font-size: 1.08rem; }
.service-image-body p { color: var(--rt-muted); font-size: .87rem; }
.service-image-body .button { margin-top: auto; }

.service-list-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.service-list-card { display: grid; min-height: 210px; grid-template-columns: auto 1fr; gap: 24px; padding: 30px; border: 1px solid rgba(7,27,58,.07); border-radius: 16px; background: #fff; }
.service-number { color: var(--rt-blue); font-size: .72rem; font-weight: 850; }
.service-list-card h3 { margin-bottom: 10px; font-family: var(--rt-sans); font-size: 1.06rem; }
.service-list-card p { color: var(--rt-muted); font-size: .86rem; }
.outbound-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.outbound-card { min-height: 260px; padding: 28px; border-radius: 15px; background: #fff; box-shadow: 0 12px 30px rgba(7,27,58,.05); }
.outbound-card > span { display: block; margin-bottom: 34px; color: var(--rt-gold); font-size: 1.45rem; }
.outbound-card h3 { font-family: var(--rt-sans); font-size: 1rem; }
.outbound-card p { color: var(--rt-muted); font-size: .82rem; }

.visa-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.visa-card { display: flex; min-width: 0; min-height: 170px; gap: 20px; padding: 28px; border: 1px solid var(--rt-line); border-radius: 15px; align-items: flex-start; background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.visa-card:hover { transform: translateY(-4px); box-shadow: var(--rt-shadow); }
.visa-flag { width: 32px; height: 24px; flex: 0 0 32px; object-fit: cover; border: 1px solid rgba(7,27,58,.12); border-radius: 4px; box-shadow: 0 4px 10px rgba(7,27,58,.1); }
.visa-card h2 { margin-bottom: 4px; font-family: var(--rt-sans); font-size: 1.02rem; }
.visa-card p { margin-bottom: 14px; color: var(--rt-muted); font-size: .82rem; }

/* Global WhatsApp shortcut */
.floating-whatsapp { position: fixed; z-index: 990; right: max(22px, env(safe-area-inset-right)); bottom: max(22px, calc(env(safe-area-inset-bottom) + 16px)); display: inline-flex; min-height: 58px; padding: 11px 18px 11px 14px; border: 2px solid rgba(255,255,255,.88); border-radius: 999px; align-items: center; gap: 9px; background: #25d366; color: #fff; box-shadow: 0 14px 36px rgba(4,18,41,.28); font-size: .78rem; font-weight: 850; animation: ravi-whatsapp-pulse 2.8s ease-in-out infinite; transition: transform .2s ease, opacity .2s ease, background .2s ease; }
.floating-whatsapp:hover { transform: translateY(-3px); background: #1fba59; }
.floating-whatsapp img { width: 30px; height: 30px; flex: 0 0 30px; }
body.nav-open .floating-whatsapp { opacity: 0; pointer-events: none; }
@keyframes ravi-whatsapp-pulse { 0%, 70%, 100% { box-shadow: 0 14px 36px rgba(4,18,41,.28), 0 0 0 0 rgba(37,211,102,.38); } 85% { box-shadow: 0 14px 36px rgba(4,18,41,.28), 0 0 0 12px rgba(37,211,102,0); } }

/* Contact */
.contact-layout { display: grid; grid-template-columns: minmax(280px,.72fr) minmax(0,1.28fr); gap: clamp(45px, 8vw, 100px); align-items: start; }
.contact-details { position: sticky; top: 120px; }
.contact-definition-list { margin: 35px 0; }
.contact-definition-list > div { padding: 18px 0; border-top: 1px solid var(--rt-line); }
.contact-definition-list dt { color: var(--rt-muted); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact-definition-list dd { margin: 4px 0 0; color: var(--rt-navy); font-weight: 650; }
.contact-definition-list a:hover { color: var(--rt-blue); }
.contact-socials { display: flex; margin-top: 24px; flex-wrap: wrap; gap: 9px 16px; }
.contact-socials a { color: var(--rt-blue); font-size: .82rem; font-weight: 750; }
.enquiry-panel { padding: clamp(30px, 5vw, 58px); border-radius: var(--rt-radius); background: var(--rt-bg); }
.enquiry-panel h2 { font-size: clamp(2rem, 3.7vw, 3.25rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.enquiry-form p { margin: 0 0 18px; }
.enquiry-form label { display: block; margin-bottom: 6px; color: var(--rt-navy); font-size: .78rem; font-weight: 750; }
.enquiry-form input:not([type="checkbox"]), .enquiry-form select, .enquiry-form textarea { width: 100%; min-height: 49px; padding: 11px 13px; border: 1px solid #cbd4e1; border-radius: 9px; background: #fff; color: var(--rt-ink); transition: border-color .2s ease, box-shadow .2s ease; }
.enquiry-form textarea { min-height: 145px; resize: vertical; }
.enquiry-form input:focus, .enquiry-form select:focus, .enquiry-form textarea:focus { border-color: var(--rt-blue); outline: 0; box-shadow: 0 0 0 3px rgba(22,93,255,.14); }
.consent-field { display: flex; gap: 10px; align-items: flex-start; }
.consent-field input { width: 18px; height: 18px; margin: 3px 0 0; flex: 0 0 auto; }
.consent-field label { font-weight: 500; line-height: 1.5; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-message { margin-bottom: 22px; padding: 16px 18px; border-radius: 10px; }
.form-message.success { border: 1px solid #9bd9b4; background: #eaf8f0; color: #1b693b; }
.form-message.error { border: 1px solid #e8b3b3; background: #fff0f0; color: #8a2b2b; }
.form-message ul { margin: 8px 0 0; padding-left: 20px; }

/* Blog, single and 404 */
.content-list { display: grid; gap: 24px; }
.content-card { padding: 30px; border: 1px solid var(--rt-line); border-radius: 14px; }
.content-card h2 { font-size: 2rem; }
.single-featured { margin: 0 0 35px; }
.single-featured img { width: 100%; border-radius: var(--rt-radius); }
.not-found-page { min-height: 74vh; display: grid; background: var(--rt-bg); place-items: center; }
.not-found-content { max-width: 760px; padding-block: 90px; text-align: center; }
.error-code { margin: 0; color: rgba(22,93,255,.13); font-family: var(--rt-serif); font-size: clamp(5rem, 18vw, 10rem); font-weight: 700; line-height: .75; }
.not-found-content h1 { font-size: clamp(2.2rem, 6vw, 4.7rem); }
.not-found-content > p:not(.error-code,.eyebrow) { max-width: 600px; margin-inline: auto; color: var(--rt-muted); }

/* Footer */
.site-footer { background: #04142e; color: rgba(255,255,255,.66); }
.footer-cta { display: flex; padding-block: 65px; border-bottom: 1px solid rgba(255,255,255,.12); align-items: center; justify-content: space-between; gap: 35px; }
.footer-cta .eyebrow { color: #9fc3ff; }
.footer-cta h2 { max-width: 750px; margin-bottom: 0; color: #fff; font-size: clamp(2rem, 4vw, 3.3rem); }
.footer-main { display: grid; grid-template-columns: 1.3fr .8fr 1fr; gap: clamp(40px, 7vw, 90px); padding-block: 70px 55px; }
.footer-brand .custom-logo, .footer-brand img { width: auto; height: 92px; margin-bottom: 22px; border-radius: 7px; }
.footer-brand p { max-width: 350px; font-size: .87rem; }
.footer-heading { margin: 10px 0 22px; color: #fff; font-family: var(--rt-sans); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-links { padding: 0; margin: 0; list-style: none; }
.footer-links li { margin-bottom: 9px; font-size: .86rem; }
.footer-links a:hover { color: #fff; }
.contact-list li { margin-bottom: 12px; }
.social-links { display: flex; flex-wrap: wrap; gap: 10px 15px; }
.social-links a { color: #fff; font-size: .75rem; font-weight: 700; }
.footer-bottom { display: flex; padding-block: 24px; border-top: 1px solid rgba(255,255,255,.1); align-items: center; justify-content: space-between; gap: 18px; font-size: .74rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a:hover { color: #fff; }

/* Motion */
.reveal { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }
.js.reveal-ready .reveal { opacity: 0; transform: translateY(22px); }
.js.reveal-ready .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1180px) {
  .primary-menu { gap: 14px; }
  .primary-menu .nav-link { font-size: .76rem; }
  .primary-navigation { gap: 13px; }
  .header-cta { padding-inline: 14px; }
  .outbound-grid { grid-template-columns: repeat(3, 1fr); }
  .tour-grid { grid-template-columns: repeat(3, 1fr); }
  .highlight-grid { grid-template-columns: 1fr 1fr; }
  .coordination-grid { grid-template-columns: 1fr 1fr; }
  .outbound-image-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .container { width: min(calc(100% - 36px), var(--rt-container)); }
  .header-shell { width: calc(100% - 30px); min-height: 78px; }
  .custom-logo, .site-branding img { height: 68px; }
  .menu-toggle { display: grid; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: var(--rt-navy); color: #fff; cursor: pointer; place-items: center; }
  .menu-toggle-lines { display: grid; width: 20px; gap: 4px; }
  .menu-toggle-lines span { display: block; height: 2px; background: #fff; }
  .primary-navigation { position: fixed; z-index: 1002; top: 0; right: 0; bottom: 0; display: block; width: min(90vw, 410px); padding: 18px 24px 35px; overflow-y: auto; background: #fff; box-shadow: -20px 0 60px rgba(7,27,58,.2); transform: translateX(105%); transition: transform .25s ease; }
  body.nav-open .primary-navigation { transform: translateX(0); }
  .mobile-menu-heading { display: flex; min-height: 62px; border-bottom: 1px solid var(--rt-line); align-items: center; justify-content: space-between; color: var(--rt-navy); font-family: var(--rt-serif); font-size: 1.25rem; font-weight: 700; }
  .menu-close { width: 42px; height: 42px; border: 0; background: transparent; color: var(--rt-navy); font-size: 2rem; line-height: 1; cursor: pointer; }
  .primary-menu { display: block; padding-block: 14px; }
  .primary-menu > li { border-bottom: 1px solid var(--rt-line); }
  .primary-menu .nav-link { min-height: 50px; padding-right: 46px; font-size: .9rem; white-space: normal; }
  .primary-menu > li > .nav-link::after { display: none; }
  .primary-menu .sub-menu, .primary-menu .menu-item-mega > .sub-menu, .primary-menu .menu-item-mega > .sub-menu > li > .sub-menu { position: static; display: none; width: auto; max-height: none; grid-template-columns: 1fr; gap: 0; padding: 0 0 8px 14px; border: 0; border-left: 2px solid #dbe6f8; border-radius: 0; box-shadow: none; opacity: 1; overflow: visible; pointer-events: auto; transform: none; transition: none; }
  .primary-menu .submenu-open > .sub-menu { display: block; }
  .primary-menu .menu-item-mega > .sub-menu > li > .nav-link { min-height: 45px; padding: 6px 42px 6px 10px; border: 0; font-family: var(--rt-sans); font-size: .87rem; }
  .primary-menu .sub-menu .nav-link { min-height: 42px; padding: 6px 36px 6px 10px; }
  .primary-menu .menu-item-has-children { position: relative; }
  .submenu-toggle { position: absolute; z-index: 2; top: 4px; right: 0; display: grid; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 9px; background: var(--rt-bg); color: var(--rt-navy); cursor: pointer; place-items: center; }
  .submenu-toggle::before { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; content: ""; transform: rotate(45deg) translate(-2px,-2px); transition: transform .18s ease; }
  .submenu-toggle[aria-expanded="true"]::before { transform: rotate(225deg) translate(-1px,-1px); }
  .primary-menu .sub-menu .submenu-toggle { top: 3px; }
  .header-cta { width: 100%; margin-top: 12px; }
  .menu-backdrop { position: fixed; z-index: 1001; inset: 0; display: block; background: rgba(4,18,41,.6); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
  body.nav-open .menu-backdrop { opacity: 1; pointer-events: auto; }
  .benefit-grid { grid-template-columns: 1fr 1fr; }
  .benefit-card:nth-child(2) { border-right: 0; }
  .benefit-card:nth-child(-n+2) { border-bottom: 1px solid var(--rt-line); }
  .experience-grid, .tour-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid, .service-intro-grid { grid-template-columns: 1fr 1fr; gap: 45px; }
  .about-note { right: -5px; }
  .four-up { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: .8fr 1.2fr; gap: 45px; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 30px), var(--rt-container)); }
  .section { padding-block: 72px; }
  h1 { font-size: clamp(2.55rem, 13vw, 4.4rem); }
  h2 { font-size: clamp(2rem, 9vw, 3.15rem); }
  .section-heading.split { grid-template-columns: 1fr; gap: 12px; }
  .home-hero { min-height: calc(100svh - 76px); }
  .hero-content { padding-block: 75px 105px; }
  .hero-scroll { display: none; }
  .benefit-strip { margin-top: 0; padding-top: 0; background: var(--rt-bg); }
  .benefit-grid { width: 100%; grid-template-columns: 1fr; border-radius: 0; box-shadow: none; }
  .benefit-card, .benefit-card:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--rt-line); }
  .direction-grid, .experience-grid, .tour-grid, .testimonial-grid, .testimonial-track, .mission-grid, .highlight-grid, .service-list-grid, .service-image-grid, .outbound-image-grid, .related-links, .contact-layout { grid-template-columns: 1fr; }
  .direction-card { min-height: 460px; }
  .tour-grid-featured { grid-template-columns: 1fr 1fr; }
  .about-grid, .service-intro-grid { grid-template-columns: 1fr; }
  .about-image { max-width: 520px; margin-inline: auto; }
  .about-image img { max-height: 580px; }
  .about-note { right: 4px; }
  .about-copy { order: 1; }
  .inner-about .about-copy { order: 0; }
  .process-grid, .process-grid.compact { grid-template-columns: 1fr 1fr; gap: 32px 18px; }
  .process-grid::before { display: none; }
  .four-up { grid-template-columns: 1fr 1fr; }
  .outbound-grid { grid-template-columns: 1fr 1fr; }
  .visa-grid { grid-template-columns: 1fr 1fr; }
  .contact-details { position: static; }
  .footer-cta { align-items: flex-start; flex-direction: column; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .floating-whatsapp { right: max(14px, env(safe-area-inset-right)); bottom: max(14px, calc(env(safe-area-inset-bottom) + 10px)); width: 58px; height: 58px; min-height: 58px; padding: 12px; justify-content: center; }
  .floating-whatsapp-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
}

@media (max-width: 520px) {
  .header-shell { width: calc(100% - 22px); }
  .home-hero .button, .final-cta .button { width: 100%; }
  .hero-content { padding-block: 64px 88px; }
  .hero-description { font-size: 1rem; }
  .direction-card { min-height: 400px; }
  .direction-content { padding: 26px; }
  .tour-grid-featured, .process-grid, .process-grid.compact, .four-up, .coordination-grid, .outbound-grid, .visa-grid, .footer-main, .form-grid { grid-template-columns: 1fr; }
  .service-list-card { grid-template-columns: 1fr; gap: 12px; }
  .statement-card { min-height: auto; }
  .about-note { position: static; max-width: none; margin-top: -1px; }
  .about-image img { border-radius: 90px 90px 0 0; }
  .tour-card-image > img:not(.country-flag) { aspect-ratio: 1.5 / 1; }
  .visa-card { min-height: 150px; padding: 22px; }
  .enquiry-panel { padding: 28px 20px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .floating-whatsapp { animation: none; }
  .testimonial-slider.is-enhanced .testimonial-track { transition: none; }
}

@media print {
  .site-header, .site-footer, .final-cta, .button { display: none !important; }
  .page-hero { min-height: auto; background: none; }
  .page-hero-overlay { display: none; }
  .page-hero-content, .page-hero h1 { color: #000; }
}
