/*
Theme Name: Karakoram Nomads
Theme URI: https://karakoramnomads.net
Author: Karakoram Nomads
Description: Premium adventure travel WordPress theme — Adventure Pakistan design, Raikot Tours data, Karakoram Nomads page structure.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: karakoram-nomads
Tags: travel, tours, adventure, pakistan, responsive
*/

/* ================================================================
   DESIGN LANGUAGE: Adventure Pakistan
   - Top bar with phone + tagline
   - White navbar with dropdown mega-menu
   - Full-width hero with dark overlay + centered text
   - Green/teal accent (#418a41) + dark navy (#1a2e44)
   - Playfair Display headings, clean card grid
   - Orange CTA buttons
   ================================================================ */

:root {
  --ap-green:       #418a41;
  --ap-green-dark:  #2d6b2d;
  --ap-green-light: #63ab45;
  --ap-navy:        #1a2e44;
  --ap-navy-dark:   #0e1e2e;
  --ap-orange:      #e8510a;
  --ap-orange-light:#ff6b1f;
  --ap-white:       #ffffff;
  --ap-off-white:   #f7f9f7;
  --ap-light:       #eef4ee;
  --ap-dark:        #111820;
  --ap-text:        #3c4a3c;
  --ap-text-light:  #6a7a6a;
  --ap-border:      #d8e4d8;
  --ap-gold:        #f5a623;
  --shadow:         0 2px 16px rgba(26,46,68,.09);
  --shadow-md:      0 6px 32px rgba(26,46,68,.14);
  --shadow-lg:      0 16px 56px rgba(26,46,68,.20);
  --radius:         8px;
  --radius-lg:      14px;
  --transition:     all .3s ease;
  --font-heading:   'Playfair Display', Georgia, serif;
  --font-body:      'Open Sans', 'Segoe UI', sans-serif;
  --font-nav:       'Raleway', sans-serif;
}

/* ======================== RESET ======================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--ap-text); background: var(--ap-white); line-height: 1.75; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ======================== TYPOGRAPHY ======================== */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); color: var(--ap-navy); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem,5vw,3.8rem); }
h2 { font-size: clamp(1.7rem,3.5vw,2.7rem); }
h3 { font-size: clamp(1.2rem,2.5vw,1.55rem); }
h4 { font-size: 1.1rem; }
p  { margin-bottom: 1rem; }

/* ======================== LAYOUT ======================== */
.container       { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-fluid { max-width: 1440px; margin: 0 auto; padding: 0 24px; }
.section         { padding: 88px 0; }
.section-sm      { padding: 56px 0; }
.text-center     { text-align: center; }

/* ======================== SECTION HEAD ======================== */
.section-head { margin-bottom: 50px; }
.section-head .sub-label {
  display: inline-block;
  color: var(--ap-green);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 10px;
  position: relative;
  padding: 0 40px;
}
.section-head .sub-label::before,
.section-head .sub-label::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30px;
  height: 2px;
  background: var(--ap-green);
}
.section-head .sub-label::before { left: 0; }
.section-head .sub-label::after  { right: 0; }
.section-head h2 { margin-bottom: 14px; }
.section-head p  { color: var(--ap-text-light); max-width: 580px; font-size: 1rem; }

/* ======================== BUTTONS ======================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  border-radius: 4px;
  font-family: var(--font-nav);
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .8px;
  text-transform: uppercase;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-green  { background: var(--ap-green); color: var(--ap-white); border-color: var(--ap-green); }
.btn-green:hover { background: var(--ap-green-dark); border-color: var(--ap-green-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(65,138,65,.35); }
.btn-orange { background: var(--ap-orange); color: var(--ap-white); border-color: var(--ap-orange); }
.btn-orange:hover { background: var(--ap-orange-light); border-color: var(--ap-orange-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,81,10,.35); }
.btn-outline { background: transparent; color: var(--ap-white); border-color: var(--ap-white); }
.btn-outline:hover { background: var(--ap-white); color: var(--ap-navy); }
.btn-navy   { background: var(--ap-navy); color: var(--ap-white); border-color: var(--ap-navy); }
.btn-navy:hover { background: var(--ap-navy-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-sm { padding: 9px 22px; font-size: .82rem; }

/* ======================== TOP BAR ======================== */
.top-bar {
  background: var(--ap-navy);
  padding: 8px 0;
  font-size: .82rem;
  color: rgba(255,255,255,.75);
}
.top-bar-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.top-bar-left  { display: flex; align-items: center; gap: 20px; }
.top-bar-left a { color: rgba(255,255,255,.75); display: flex; align-items: center; gap: 6px; }
.top-bar-left a:hover { color: var(--ap-white); }
.top-bar-right { display: flex; align-items: center; gap: 14px; }
.top-bar-right a { color: rgba(255,255,255,.7); font-size: .9rem; transition: var(--transition); }
.top-bar-right a:hover { color: var(--ap-green-light); }
.top-bar-tagline { color: var(--ap-green-light); font-weight: 600; font-size: .78rem; letter-spacing: 1.5px; text-transform: uppercase; }

/* ======================== HEADER / NAVBAR ======================== */
#site-header {
  background: var(--ap-white);
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  position: sticky;
  top: 0;
  z-index: 999;
  transition: var(--transition);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }

.site-logo { display: flex; align-items: center; gap: 12px; }
.site-logo img { height: 58px; width: auto; }
.logo-text { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; color: var(--ap-navy); line-height: 1.2; }
.logo-text span { display: block; font-size: .75rem; font-family: var(--font-nav); font-weight: 400; color: var(--ap-green); text-transform: uppercase; letter-spacing: 2px; }

/* NAV */
.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  font-family: var(--font-nav);
  font-weight: 600;
  font-size: .88rem;
  color: var(--ap-navy);
  padding: 10px 14px;
  border-radius: 4px;
  display: block;
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: var(--transition);
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li.current-menu-item > a { color: var(--ap-green); }

/* Dropdown */
.main-nav .sub-menu {
  position: absolute;
  top: 100%; left: 0;
  background: var(--ap-white);
  min-width: 220px;
  box-shadow: var(--shadow-md);
  border-top: 3px solid var(--ap-green);
  border-radius: 0 0 var(--radius) var(--radius);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 100;
}
.main-nav > ul > li:hover .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav .sub-menu li a {
  display: block;
  padding: 10px 18px;
  font-size: .85rem;
  color: var(--ap-text);
  font-family: var(--font-nav);
  border-bottom: 1px solid var(--ap-border);
  transition: var(--transition);
}
.main-nav .sub-menu li:last-child a { border-bottom: none; }
.main-nav .sub-menu li a:hover { color: var(--ap-green); background: var(--ap-off-white); padding-left: 24px; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { display: block; width: 26px; height: 2px; background: var(--ap-navy); border-radius: 2px; transition: var(--transition); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--ap-navy-dark);
  z-index: 9999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { color: var(--ap-white); font-size: 1.4rem; font-family: var(--font-heading); padding: 12px 24px; transition: var(--transition); }
.mobile-nav a:hover { color: var(--ap-green-light); }
.mobile-close { position: absolute; top: 24px; right: 24px; color: var(--ap-white); font-size: 2rem; cursor: pointer; background: none; border: none; }

/* ======================== PAGE BANNER ======================== */
.page-banner {
  position: relative;
  height: 340px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ap-navy);
}
.page-banner-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-banner-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(14,30,46,.85) 0%, rgba(65,138,65,.35) 100%); }
.page-banner-content { position: relative; z-index: 2; }
.page-banner-content h1 { color: var(--ap-white); margin-bottom: 12px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.7); font-size: .88rem; }
.breadcrumb a { color: var(--ap-green-light); }
.breadcrumb span { color: rgba(255,255,255,.5); }

/* ======================== HERO ======================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://adventurepakistan.com/wp-content/uploads/2023/08/k2concondia.jpg') center/cover no-repeat;
  transform: scale(1.04);
  transition: transform 10s ease;
}
.hero:hover .hero-bg { transform: scale(1.0); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,20,35,.88) 0%, rgba(10,20,35,.60) 60%, rgba(10,20,35,.30) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 700px; }
.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ap-green-light);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 18px;
}
.hero h1 { color: var(--ap-white); margin-bottom: 18px; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.hero h1 em { font-style: normal; color: var(--ap-green-light); }
.hero p { color: rgba(255,255,255,.85); font-size: 1.1rem; max-width: 520px; margin-bottom: 32px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Stats strip */
.hero-stats {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(26,46,68,.92);
  backdrop-filter: blur(10px);
  z-index: 2;
}
.hero-stats-inner { display: grid; grid-template-columns: repeat(4,1fr); }
.stat-box { padding: 22px 20px; text-align: center; border-right: 1px solid rgba(255,255,255,.1); }
.stat-box:last-child { border-right: none; }
.stat-box .num { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; color: var(--ap-green-light); display: block; }
.stat-box .lbl { font-size: .75rem; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: 1.5px; }

/* ======================== TOUR CARDS ======================== */
.tours-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }

.tour-card {
  background: var(--ap-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--ap-border);
}
.tour-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--ap-green); }

.tour-card-thumb { position: relative; overflow: hidden; height: 220px; }
.tour-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tour-card:hover .tour-card-thumb img { transform: scale(1.07); }
.tour-card-thumb .badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--ap-green);
  color: var(--ap-white);
  font-size: .72rem; font-weight: 700;
  padding: 4px 12px; border-radius: 50px;
  text-transform: uppercase; letter-spacing: 1px;
}
.tour-card-thumb .rating {
  position: absolute; top: 14px; right: 14px;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(6px);
  color: var(--ap-gold);
  font-size: .8rem; font-weight: 700;
  padding: 4px 10px; border-radius: 50px;
  display: flex; align-items: center; gap: 4px;
}

.tour-card-body { padding: 20px; }
.tour-card-body h3 { font-size: 1.05rem; margin-bottom: 10px; }
.tour-card-body h3 a:hover { color: var(--ap-green); }

.tour-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 14px; }
.tour-meta span { display: flex; align-items: center; gap: 5px; font-size: .8rem; color: var(--ap-text-light); }
.tour-meta i { color: var(--ap-green); font-size: .85rem; }

.tour-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--ap-border); }
.price { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 700; color: var(--ap-navy); }
.price small { font-size: .75rem; font-family: var(--font-body); font-weight: 400; color: var(--ap-text-light); }

/* ======================== DESTINATION GRID ======================== */
.dest-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 14px;
}
.dest-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; }
.dest-card:first-child { grid-row: span 2; }
.dest-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.dest-card:first-child img { height: 494px; }
.dest-card:hover img { transform: scale(1.06); }
.dest-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,20,35,.85) 0%, transparent 55%); transition: var(--transition); }
.dest-card:hover .dest-overlay { background: linear-gradient(to top, rgba(10,20,35,.9) 0%, rgba(65,138,65,.2) 100%); }
.dest-info { position: absolute; bottom: 18px; left: 18px; right: 18px; }
.dest-info h3 { color: var(--ap-white); font-size: 1.2rem; margin-bottom: 3px; }
.dest-card:first-child .dest-info h3 { font-size: 1.7rem; }
.dest-info span { color: rgba(255,255,255,.7); font-size: .78rem; }
.dest-info .btn-sm { margin-top: 10px; opacity: 0; transform: translateY(6px); transition: var(--transition); }
.dest-card:hover .dest-info .btn-sm { opacity: 1; transform: translateY(0); }

/* ======================== WHY US ======================== */
.why-section { background: var(--ap-navy); }
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.why-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  text-align: center;
  transition: var(--transition);
}
.why-card:hover { background: rgba(255,255,255,.11); transform: translateY(-5px); border-color: var(--ap-green); }
.why-icon { width: 66px; height: 66px; background: var(--ap-green); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; font-size: 1.6rem; color: var(--ap-white); transition: var(--transition); }
.why-card:hover .why-icon { background: var(--ap-white); color: var(--ap-green); }
.why-card h4 { color: var(--ap-white); margin-bottom: 10px; }
.why-card p  { color: rgba(255,255,255,.6); font-size: .88rem; margin: 0; }

/* ======================== TESTIMONIALS ======================== */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.testi-card {
  background: var(--ap-white);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
  border: 1px solid var(--ap-border);
  transition: var(--transition);
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testi-stars { color: var(--ap-gold); font-size: .95rem; margin-bottom: 14px; }
.testi-text { font-style: italic; color: var(--ap-text); margin-bottom: 20px; font-size: .93rem; line-height: 1.7; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 3px solid var(--ap-green); }
.testi-author strong { display: block; color: var(--ap-navy); font-size: .93rem; }
.testi-author span   { color: var(--ap-text-light); font-size: .78rem; }

/* ======================== RENTAL CARDS ======================== */
.rental-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 32px; }
.rental-card {
  background: var(--ap-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--ap-border);
  transition: var(--transition);
}
.rental-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.rental-img { height: 280px; overflow: hidden; position: relative; }
.rental-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.rental-card:hover .rental-img img { transform: scale(1.05); }
.rental-badge { position: absolute; top: 16px; right: 16px; background: var(--ap-orange); color: var(--ap-white); font-size: .75rem; font-weight: 700; padding: 5px 14px; border-radius: 50px; }
.rental-body { padding: 26px; }
.rental-body h3 { margin-bottom: 16px; }
.rental-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 20px; }
.spec-item { display: flex; align-items: flex-start; gap: 8px; font-size: .85rem; color: var(--ap-text); }
.spec-item i { color: var(--ap-green); margin-top: 3px; flex-shrink: 0; }
.rental-price { font-family: var(--font-heading); font-size: 1.4rem; color: var(--ap-navy); margin-bottom: 18px; }
.rental-price span { font-size: .82rem; font-family: var(--font-body); color: var(--ap-text-light); }

/* ======================== ABOUT PAGE ======================== */
.about-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img-wrap { position: relative; }
.about-img-wrap img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-img-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--ap-green);
  color: var(--ap-white);
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.about-img-badge .big { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 700; display: block; }
.about-img-badge .sml { font-size: .78rem; text-transform: uppercase; letter-spacing: 1px; opacity: .85; }
.about-text h2 { margin-bottom: 18px; }
.about-text p   { color: var(--ap-text-light); margin-bottom: 16px; }
.about-list { margin: 20px 0 28px; }
.about-list li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: .93rem; }
.about-list i { color: var(--ap-green); margin-top: 4px; flex-shrink: 0; }

/* Guides section */
.guides-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.guide-card {
  background: var(--ap-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--ap-border);
  text-align: center;
  transition: var(--transition);
}
.guide-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.guide-img { height: 260px; overflow: hidden; }
.guide-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.guide-card:hover .guide-img img { transform: scale(1.05); }
.guide-body { padding: 22px 20px; }
.guide-body h3 { font-size: 1.1rem; margin-bottom: 6px; }
.guide-role { color: var(--ap-green); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; display: block; }
.guide-body p { color: var(--ap-text-light); font-size: .88rem; margin: 0; }

/* ======================== REVIEWS PAGE ======================== */
.reviews-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.review-card {
  background: var(--ap-white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--ap-border);
  transition: var(--transition);
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--ap-green); }
.review-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 14px; }
.review-stars { color: var(--ap-gold); font-size: .95rem; }
.review-date { font-size: .75rem; color: var(--ap-text-light); }
.review-title { font-family: var(--font-heading); font-size: 1.05rem; color: var(--ap-navy); margin-bottom: 10px; }
.review-text { font-size: .88rem; color: var(--ap-text); line-height: 1.7; margin-bottom: 18px; }
.review-author { display: flex; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid var(--ap-border); }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--ap-green); display: flex; align-items: center; justify-content: center; color: var(--ap-white); font-weight: 700; font-size: .95rem; flex-shrink: 0; }
.review-author strong { display: block; font-size: .88rem; color: var(--ap-navy); }
.review-author span   { font-size: .75rem; color: var(--ap-text-light); }

/* Rating summary box */
.rating-summary {
  background: var(--ap-off-white);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  border: 1px solid var(--ap-border);
  display: flex;
  align-items: center;
  gap: 48px;
  margin-bottom: 52px;
}
.rating-big { text-align: center; }
.rating-big .score { font-family: var(--font-heading); font-size: 4rem; font-weight: 700; color: var(--ap-navy); line-height: 1; display: block; }
.rating-big .stars { color: var(--ap-gold); font-size: 1.2rem; display: block; margin: 6px 0; }
.rating-big .count { font-size: .82rem; color: var(--ap-text-light); }
.rating-bars { flex: 1; }
.rating-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.rating-bar .lbl { font-size: .82rem; color: var(--ap-text); width: 60px; flex-shrink: 0; }
.rating-bar .bar { flex: 1; height: 8px; background: var(--ap-border); border-radius: 4px; overflow: hidden; }
.rating-bar .fill { height: 100%; background: var(--ap-green); border-radius: 4px; }
.rating-bar .pct { font-size: .78rem; color: var(--ap-text-light); width: 36px; text-align: right; }

/* ======================== CONTACT PAGE ======================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 52px; align-items: start; }
.contact-info-cards { display: flex; flex-direction: column; gap: 18px; }
.contact-card {
  background: var(--ap-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--ap-border);
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition);
}
.contact-card:hover { border-color: var(--ap-green); box-shadow: var(--shadow-md); }
.contact-icon { width: 50px; height: 50px; background: var(--ap-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--ap-green); font-size: 1.1rem; flex-shrink: 0; }
.contact-card h4 { font-size: .9rem; margin-bottom: 4px; }
.contact-card p  { font-size: .88rem; color: var(--ap-text-light); margin: 0; }
.contact-card a  { color: var(--ap-green); }
.contact-card a:hover { color: var(--ap-green-dark); }

/* Contact Form */
.contact-form-wrap {
  background: var(--ap-white);
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--ap-border);
}
.contact-form-wrap h3 { margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: .83rem; font-weight: 600; color: var(--ap-navy); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--ap-border);
  border-radius: var(--radius);
  font-size: .9rem;
  color: var(--ap-text);
  background: var(--ap-off-white);
  transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--ap-green); background: var(--ap-white); box-shadow: 0 0 0 3px rgba(65,138,65,.12); }
.form-group textarea { min-height: 130px; resize: vertical; }

/* ======================== CTA BANNER ======================== */
.cta-banner {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
  background: var(--ap-navy);
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://raikottours.pk/wp-content/uploads/2024/07/breadcumb-bg.jpg') center/cover no-repeat;
  opacity: .15;
}
.cta-content { position: relative; z-index: 1; text-align: center; }
.cta-content h2 { color: var(--ap-white); margin-bottom: 14px; }
.cta-content p  { color: rgba(255,255,255,.8); font-size: 1.05rem; max-width: 560px; margin: 0 auto 32px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ======================== FOOTER ======================== */
#site-footer { background: var(--ap-dark); padding: 78px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-brand .logo-text { color: var(--ap-white); margin-bottom: 14px; display: block; }
.footer-brand .logo-text span { color: var(--ap-green-light); }
.footer-brand p { font-size: .88rem; color: rgba(255,255,255,.55); margin-bottom: 22px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; background: rgba(255,255,255,.07); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.6); transition: var(--transition); }
.socials a:hover { background: var(--ap-green); color: var(--ap-white); }
.footer-col h4 { color: var(--ap-white); font-size: .9rem; font-family: var(--font-nav); font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,.55); font-size: .88rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--ap-green-light); padding-left: 4px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: .88rem; color: rgba(255,255,255,.55); }
.footer-contact i { color: var(--ap-green-light); margin-top: 3px; flex-shrink: 0; }
.footer-contact a { color: rgba(255,255,255,.55); }
.footer-contact a:hover { color: var(--ap-green-light); }
.footer-bottom { padding: 20px 0; display: flex; align-items: center; justify-content: space-between; font-size: .82rem; color: rgba(255,255,255,.35); }
.footer-bottom a { color: var(--ap-green-light); }

/* ======================== RESPONSIVE ======================== */
@media(max-width:1024px){
  .tours-grid { grid-template-columns: repeat(2,1fr); }
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dest-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .dest-card:first-child { grid-row: span 1; }
  .dest-card:first-child img { height: 240px; }
  .about-intro-grid { grid-template-columns: 1fr; }
  .about-img-wrap { max-width: 500px; }
  .contact-grid { grid-template-columns: 1fr; }
  .guides-grid { grid-template-columns: repeat(2,1fr); }
  .reviews-grid { grid-template-columns: repeat(2,1fr); }
  .rental-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
}
@media(max-width:768px){
  .main-nav, .header-cta .btn { display: none; }
  .hamburger { display: flex; }
  .tours-grid, .testi-grid, .guides-grid, .reviews-grid, .why-grid { grid-template-columns: 1fr; }
  .dest-grid { grid-template-columns: 1fr; }
  .hero-stats-inner { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .rating-summary { flex-direction: column; gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .contact-form-wrap { padding: 24px; }
}
@media(max-width:480px){
  .hero-btns, .cta-btns { flex-direction: column; align-items: flex-start; }
  .hero-stats-inner { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════════════
   PREMIUM ANIMATION SYSTEM — Raikot Tours
   Append this to style.css
═══════════════════════════════════════════════ */

/* ── HEADER SHRINK ON SCROLL ── */
#site-header {
  transition: padding 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}
#site-header.scrolled {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  box-shadow: 0 4px 30px rgba(0,0,0,0.18) !important;
  background: rgba(15,30,48,0.97) !important;
  backdrop-filter: blur(12px);
}

/* ── SCROLL REVEAL ── */
.will-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.will-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── IMAGE LAZY FADE ── */
img.img-lazy {
  opacity: 0;
  transition: opacity 0.6s ease;
}
img.img-lazy.img-loaded {
  opacity: 1;
}

/* ── CARD HOVER GLOW & TILT ── */
.tour-card,
.dest-card,
.rental-card,
.why-card {
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  will-change: transform;
  transform-style: preserve-3d;
}
.tour-card:hover,
.dest-card:hover,
.rental-card:hover {
  box-shadow: 0 24px 60px rgba(0,0,0,0.3), 0 0 0 1px rgba(232,184,75,0.2);
}

/* ── CARD IMAGE ZOOM ── */
.tour-card img,
.dest-card img,
.rental-card img,
.tour-img,
.tour-img img {
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.tour-card:hover img,
.dest-card:hover img,
.rental-card:hover img {
  transform: scale(1.07);
}

/* ── HERO PARALLAX ── */
.hero-bg,
.hero-video-wrap,
.page-banner-bg {
  will-change: transform;
  overflow: hidden;
}

/* ── BUTTON SHINE SWEEP ── */
.btn-primary,
.btn-cta,
a.cta-btn,
.contact-btn,
.hero-cta {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-primary::after,
.btn-cta::after,
a.cta-btn::after,
.contact-btn::after,
.hero-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.18);
  transform: translateX(-120%) skewX(-20deg);
  transition: transform 0.55s ease;
}
.btn-primary:hover::after,
.btn-cta:hover::after,
a.cta-btn:hover::after,
.contact-btn:hover::after,
.hero-cta:hover::after {
  transform: translateX(140%) skewX(-20deg);
}
.btn-primary:hover,
.btn-cta:hover,
a.cta-btn:hover,
.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(232,184,75,0.4);
}

/* ── SECTION HEADER ANIMATED UNDERLINE ── */
.section-head h2, .section-header h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem) !important; line-height: 1.2 !important; font-weight: 700 !important; } /*
.section-header h2 {
  position: relative;
  display: inline-block;
}
.section-head h2::after,
.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #e8b84b, #c0392b);
  border-radius: 2px;
  transition: width 0.9s cubic-bezier(0.22,1,0.36,1) 0.2s;
}
.section-head.is-revealed h2::after,
.section-header.is-revealed h2::after {
  width: 60%;
}

/* ── STAT NUMBER GOLD GRADIENT ── */
.stat-num,
.hero-stat-num {
  font-weight: 800;
  background: linear-gradient(135deg, #e8b84b, #f5d78e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── NAV LINK UNDERLINE SLIDE ── */
.nav-links a,
.site-nav a {
  position: relative;
  transition: color 0.3s ease;
}
.nav-links a::after,
.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: #e8b84b;
  transition: width 0.3s ease;
  border-radius: 1px;
}
.nav-links a:hover::after,
.site-nav a:hover::after,
.nav-links a.active::after,
.site-nav a.active::after {
  width: 100%;
}

/* ── PAGE BANNER PARALLAX BG ── */
.page-banner-bg {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

/* ── TOUR CARD BADGE PULSE ── */
.tour-badge,
.card-badge {
  animation: badgePulse 2.5s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232,184,75,0.4); }
  50%       { box-shadow: 0 0 0 8px rgba(232,184,75,0); }
}

/* ── HERO CONTENT SLIDE UP ON LOAD ── */
.hero-content > * {
  animation: heroSlideUp 0.9s cubic-bezier(0.22,1,0.36,1) both;
}
.hero-content > *:nth-child(1) { animation-delay: 0.2s; }
.hero-content > *:nth-child(2) { animation-delay: 0.4s; }
.hero-content > *:nth-child(3) { animation-delay: 0.6s; }
.hero-content > *:nth-child(4) { animation-delay: 0.8s; }
@keyframes heroSlideUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── STATS STRIP SLIDE UP ── */
.hero-stats .hero-stat {
  animation: heroSlideUp 0.7s cubic-bezier(0.22,1,0.36,1) both;
}
.hero-stats .hero-stat:nth-child(1) { animation-delay: 1.0s; }
.hero-stats .hero-stat:nth-child(2) { animation-delay: 1.15s; }
.hero-stats .hero-stat:nth-child(3) { animation-delay: 1.3s; }
.hero-stats .hero-stat:nth-child(4) { animation-delay: 1.45s; }

/* ── REVIEW / TESTIMONIAL CARD ── */
.review-card,
.testi-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.review-card:hover,
.testi-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

/* ── SMOOTH FONT RENDERING ── */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── MOBILE ADJUSTMENTS ── */
@media (max-width: 768px) {
  .page-banner-bg { background-attachment: scroll; }
  .will-reveal    { transition-duration: 0.45s; }
  .hero-content > * { animation-duration: 0.6s; }
}
.section-head h2, .section-header h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem) !important; line-height: 1.2 !important; font-weight: 700 !important; }
.section-head h2, .section-header h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem) !important; line-height: 1.2 !important; font-weight: 700 !important; }
.section-head, .section-header { text-align: center !important; margin-bottom: 40px !important; }
.sub-label { display: flex !important; align-items: center !important; justify-content: center !important; gap: 10px !important; font-size: 0.72rem !important; letter-spacing: 2.5px !important; margin-bottom: 10px !important; }
.sub-label::before, .sub-label::after { content: "" !important; width: 32px !important; height: 2px !important; background: #2d6a4f !important; display: inline-block !important; }
.section-head.is-revealed h2::after, .section-header.is-revealed h2::after { width: 80px !important; }
.page-banner-bg { background-attachment: scroll !important; }
img.img-lazy { opacity: 1 !important; } img.img-loaded { opacity: 1 !important; }
.will-reveal { opacity: 1 !important; transform: none !important; }
.ap-hero { background: url("http://raikottours.local/wp-content/uploads/2026/03/IMG_3524.jpg") center/cover no-repeat; }
.hero-stats-inner { display:flex; justify-content:space-around; } .stat-box { padding:16px 24px; text-align:center; } .stat-box .stat-num { display:block; font-size:1.6rem; font-weight:800; color:#a3c96e; } .stat-box .lbl { font-size:.7rem; letter-spacing:1.5px; text-transform:uppercase; color:rgba(255,255,255,.6); }
.hero-stats-inner { display:flex; justify-content:space-around; } .stat-box { padding:16px 24px; text-align:center; } .stat-box .stat-num { display:block; font-size:1.6rem; font-weight:800; color:#a3c96e; } .stat-box .lbl { font-size:.7rem; letter-spacing:1.5px; text-transform:uppercase; color:rgba(255,255,255,.6); }
#site-header .site-logo img { height:50px !important; width:auto !important; }
#site-header .site-logo img { height:50px !important; width:auto !important; }
.hero-content { padding-bottom: 60px !important; } .hero-stats { margin-top: auto; }
#site-header .site-logo img, #site-header .custom-logo { height:45px !important; width:auto !important; display:block !important; }
.section-head p, .section-header p { text-align: center !important; margin-left: auto !important; margin-right: auto !important; }
.hero-content { padding-top: 120px !important; padding-bottom: 60px !important; }
#site-header.scrolled { background: rgba(15,30,48,0.97) !important; opacity: 1 !important; visibility: visible !important; padding-top: 8px !important; padding-bottom: 8px !important; } #site-header { opacity: 1 !important; visibility: visible !important; }
#site-header.scrolled .logo-text, #site-header.scrolled .custom-logo-link img { opacity: 1 !important; filter: brightness(10) !important; }
#site-header.scrolled .main-nav a, #site-header.scrolled .nav-links a { color: #fff !important; } #site-header.scrolled .logo-text { color: #fff !important; } #site-header.scrolled .logo-text span { color: #a3c96e !important; } #site-header.scrolled .header-topbar { display: none; }
#site-header { background: transparent !important; box-shadow: none !important; } #site-header.scrolled { background: rgba(15,30,48,0.97) !important; box-shadow: 0 4px 30px rgba(0,0,0,0.2) !important; }
#site-header .main-nav a, #site-header .logo-text { color: #fff !important; } #site-header .logo-text span { color: #a3c96e !important; }
body:not(.home) #site-header { background: var(--ap-navy) !important; } body:not(.home) #site-header .main-nav a, body:not(.home) #site-header .nav-links a { color: #fff !important; } body:not(.home) #site-header .header-cta .btn-outline { color: #fff !important; border-color: rgba(255,255,255,0.5) !important; }
.home #site-header .main-nav a, .home #site-header .nav-links a { color: #fff !important; } .home #site-header { background: transparent !important; box-shadow: none !important; }
.home #site-header .main-nav a, .home #site-header .nav-links a, .home #site-header li a { color: #fff !important; text-shadow: 0 1px 3px rgba(0,0,0,0.5); } .home #site-header { background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, transparent 100%) !important; box-shadow: none !important; }
.main-nav .dropdown, .main-nav ul ul, .nav-dropdown { background: rgba(15,30,48,0.97) !important; backdrop-filter: blur(10px) !important; border: 1px solid rgba(255,255,255,0.1) !important; border-radius: 8px !important; } .main-nav .dropdown a, .main-nav ul ul a, .nav-dropdown a { color: #fff !important; } .main-nav .dropdown a:hover, .main-nav ul ul a:hover { background: rgba(255,255,255,0.1) !important; color: #a3c96e !important; }
.hero-stats { width: 100% !important; left: 0 !important; right: 0 !important; position: relative !important; background: rgba(15,30,48,0.95) !important; } .hero-stats-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-around; padding: 20px; }
#site-header .custom-logo { filter: brightness(0) invert(1) !important; } .home #site-header .custom-logo { filter: brightness(0) invert(1) !important; }
body:not(.home) #site-header .custom-logo { filter: brightness(0) invert(1) !important; }
.home #site-header { background: transparent !important; box-shadow: none !important; border-bottom: none !important; } .home #site-header .header-topbar { background: rgba(0,0,0,0.3) !important; }
.home #site-header.scrolled { background: rgba(15,30,48,0.97) !important; }
.home #site-header { background: var(--ap-navy) !important; box-shadow: 0 2px 12px rgba(0,0,0,0.15) !important; }
