:root {
  --teal: #0DCDC2; --teal-deep: #0aa89f; --ink: #14213D;
  --paper: #FFFFFF; --line: #E5E5E5; --muted: #5A5A5A; --sand: #F7FEFD;
  --dark-card: #4a4a4a;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Montserrat', sans-serif; background: var(--paper); color: var(--ink); }
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; margin: 0; font-weight: 800; }
p { line-height: 1.7; color: var(--muted); margin: 0; }
a { text-decoration: none; color: inherit; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }

header { background: #fff; position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; justify-content: space-between; padding: 14px 28px; }
.brand img { height: 46px; }
nav { display: flex; gap: 30px; font-weight: 600; font-size: 14.5px; }
nav a.active { color: var(--teal-deep); }
.btn { background: var(--teal); color: #fff; padding: 12px 24px; border-radius: 999px; font-weight: 700; font-size: 14px; display: inline-block; }
.btn:hover { background: var(--teal-deep); }

/* Hero — real teal gradient overlay on real destination photo, so text stays readable */
.hero {
  padding: 90px 0 110px; color: #fff; position: relative;
  background-size: cover; background-position: center;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20,51,46,.88) 0%, rgba(31,75,69,.82) 30%, rgba(125,148,144,.6) 60%, rgba(232,236,236,.35) 100%);
}
.hero .wrap { position: relative; z-index: 1; }

/* Inner page hero (About / Destination / Contact) */
.page-hero {
  position: relative; padding: 70px 0 50px; color: #fff;
  background-size: cover; background-position: center;
}
.page-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20,51,46,.85), rgba(31,75,69,.55)); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; }
.page-hero .crumb { color: #cdece8; font-size: 14px; margin-bottom: 8px; display: block; }
.hero .price-tag { display: inline-block; background: #fff; color: var(--ink); font-weight: 700; padding: 10px 22px; border-radius: 999px; font-size: 15px; margin-bottom: 22px; }
.hero .small-tag { display: block; font-weight: 600; font-size: 16px; margin-bottom: 6px; }
.hero h1 { font-size: clamp(30px, 4.5vw, 46px); color: #fff; margin-bottom: 16px; line-height: 1.15; }
.hero .dots { color: var(--teal); letter-spacing: 4px; margin-bottom: 10px; }
.hero p.lead { color: #E8ECEC; font-size: 15.5px; margin-bottom: 26px; }

section { padding: 70px 0; }
.section-head { max-width: 600px; margin: 0 auto 44px; text-align: center; }
.section-head span.tag { color: var(--teal-deep); font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.section-head h2 { font-size: clamp(22px, 3vw, 30px); margin-top: 8px; letter-spacing: .02em; }
.section-head .rule { width: 60px; height: 3px; background: var(--teal); margin: 14px auto 0; }

/* Maldives resort cards — plain dark cards, no photo */
.resort-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.resort-card {
  color: #fff; border-radius: 8px; padding: 34px 24px; text-align: center; position: relative; overflow: hidden;
}
.resort-card::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.12) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,.08) 0%, transparent 40%);
}
.resort-card.p1 { background: linear-gradient(150deg, #0a3d38, #0dcdc2); }
.resort-card.p2 { background: linear-gradient(150deg, #14213D, #3a5a8a); }
.resort-card.p3 { background: linear-gradient(150deg, #1f4b45, #6fbfb8); }
.resort-card.p4 { background: linear-gradient(150deg, #2d2d2d, #5a5a5a); }
.resort-card.p5 { background: linear-gradient(150deg, #0a3585, #0f4bb9); }
.resort-card > * { position: relative; z-index: 1; }
.resort-card h3 { font-size: 17px; margin-bottom: 10px; }
.resort-card p { color: #ddd; font-size: 12.5px; margin-bottom: 18px; }
.resort-card .btn-outline-white { border: 1px solid #fff; color: #fff; padding: 8px 20px; border-radius: 4px; font-size: 13px; font-weight: 600; display: inline-block; }
.resort-card .placeholder-note { position: absolute; top: 10px; right: 10px; font-size: 9px; background: rgba(255,255,255,.15); padding: 2px 7px; border-radius: 999px; z-index: 2; }

/* Stats section visual — pattern until real photo arrives */
.stats-section {
  color: #fff; text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(120deg, #14332e, #1f4b45, #0dcdc2);
}
.stats-section::before {
  content: '';
  position: absolute; inset: 0; opacity: .15;
  background-image: radial-gradient(circle, #fff 1.5px, transparent 1.5px);
  background-size: 26px 26px;
}
.stats-section .wrap { position: relative; z-index: 1; }
@media (max-width: 700px) { .resort-grid { grid-template-columns: 1fr; } }

/* Trending tours / tour packages — photo + info card */
.tours-section { background: #6b6b6b; }
.tours-section .section-head h2, .tours-section .section-head span.tag { color: #fff; }
.tour-card { display: flex; gap: 20px; background: #fff; border-radius: 8px; overflow: hidden; margin-bottom: 20px; align-items: stretch; }
.tour-card img { width: 220px; object-fit: cover; flex: none; }
.tour-card .tour-body { padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; flex: 1; flex-wrap: wrap; gap: 16px; }
.tour-card h3 { font-size: 17px; margin-bottom: 10px; }
.tour-card .meta { display: flex; gap: 20px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.tour-card .meta span { display: flex; align-items: center; gap: 6px; }
.tour-card .price-block { text-align: right; }
.tour-card .price-block .label { font-size: 12px; color: var(--muted); }
.tour-card .price-block .price { font-size: 20px; font-weight: 700; }
.tour-card .stars { color: #F5A623; font-size: 14px; }
@media (max-width: 700px) { .tour-card { flex-direction: column; } .tour-card img { width: 100%; height: 180px; } }

/* Testimonials — one unified card style used on Home and About */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonials-grid.single { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
.testimonial-card { background: var(--sand); border: 1px solid var(--line); border-radius: 12px; padding: 28px; }
.testimonial-card .quote-mark { font-size: 34px; color: var(--teal); font-family: Georgia, serif; line-height: 1; display: block; margin-bottom: 4px; }
.testimonial-card .quote-text { font-size: 14px; font-style: italic; margin-bottom: 16px; min-height: 60px; }
.testimonial-card .avatar-row { display: flex; align-items: center; gap: 12px; }
.testimonial-card .avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--teal);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; flex: none;
}
.testimonial-card h4 { font-size: 15px; }
.testimonial-card p.role { font-size: 12.5px; margin: 0; }
@media (max-width: 800px) { .testimonials-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* Stats */
.stats-section { background: linear-gradient(120deg, #5a5a5a, #8a8a8a); color: #fff; text-align: center; }
.stats-section .section-head span.tag, .stats-section .section-head h2 { color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stats-grid .icon { font-size: 30px; margin-bottom: 10px; }
.stats-grid .num { font-size: 20px; font-weight: 700; display: block; }
@media (max-width: 700px) { .stats-grid { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: var(--dark-card); color: #fff; border-radius: 10px; margin: 0 15px; padding: 34px 40px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.cta-band h2 { color: var(--teal); font-size: 22px; }
.cta-band p { color: #ddd; font-size: 13.5px; margin-top: 6px; }

/* Category filters (Destination page) */
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.category-card { text-align: center; font-weight: 700; letter-spacing: .05em; padding: 30px 10px; background: var(--sand); border-radius: 8px; color: var(--teal-deep); }
@media (max-width: 700px) { .category-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .category-grid { grid-template-columns: 1fr; } }

@media (max-width: 800px) { .offers-layout, .offer-list { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .offer-item { flex-direction: column; } .offer-item img { width: 100%; height: 140px; } }

@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .why-grid { grid-template-columns: 1fr; } }

@media (max-width: 800px) { .planning-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .planning-grid { grid-template-columns: 1fr; } }

@media (max-width: 700px) { .stats-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .stats-grid { grid-template-columns: 1fr; } .hero { padding: 70px 0 60px; } .hero .price-tag { font-size: 13px; padding: 8px 16px; } }

@media (max-width: 500px) {
  header .wrap { padding: 10px 16px; }
  .brand img { height: 36px; }
  .btn { padding: 9px 16px; font-size: 12.5px; }
  section { padding: 44px 0; }
  .wrap { padding: 0 18px; }
  .tour-card .price-block { text-align: left; }
}

/* Special offers */
.offers-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 30px; }
.offer-sale-box { background: var(--sand); border-radius: 10px; padding: 30px; }
.offer-sale-box h3 { color: var(--teal-deep); font-size: 20px; margin-bottom: 8px; }
.offer-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.offer-item { display: flex; gap: 12px; }
.offer-item img { width: 60px; height: 60px; object-fit: cover; border-radius: 6px; flex: none; }
.offer-item .price { color: var(--teal-deep); font-weight: 700; font-size: 14px; }
.offer-item h5 { font-size: 14.5px; margin: 2px 0 4px; }
.offer-item p { font-size: 12.5px; }
@media (max-width: 800px) { .offers-layout, .offer-list { grid-template-columns: 1fr; } }

/* Benefits checklist */
.benefits-list { list-style: none; padding: 0; margin: 20px 0; columns: 2; }
.benefits-list li { padding: 6px 0; font-size: 14.5px; }
.benefits-list li:before { content: "✓ "; color: var(--teal-deep); font-weight: 700; }
@media (max-width: 600px) { .benefits-list { columns: 1; } }

/* Why choose us cards (About) */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card img { width: 100%; height: 130px; object-fit: cover; border-radius: 8px; margin-bottom: 14px; background: var(--sand); }
.why-card h4 { font-size: 15.5px; margin-bottom: 8px; }
.why-card p { font-size: 13px; }
@media (max-width: 800px) { .why-grid { grid-template-columns: 1fr 1fr; } }

/* Planning services (About Us) */
.planning-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.planning-card { background: var(--sand); border-radius: 10px; padding: 26px 20px; text-align: center; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.planning-card:hover { transform: translateY(-4px); box-shadow: 0 10px 20px rgba(0,0,0,.08); }
.planning-card .emoji { font-size: 30px; margin-bottom: 12px; display: block; }
.planning-card h4 { font-size: 15px; margin-bottom: 8px; }
.planning-card p { font-size: 12.5px; }
@media (max-width: 800px) { .planning-grid { grid-template-columns: 1fr 1fr; } }

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.25); transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* Destination detail page */
.detail-hero {
  padding: 90px 0 50px; color: #fff; position: relative;
}
.detail-hero.p1 { background: linear-gradient(150deg, #0a3d38, #0dcdc2); }
.detail-hero.p2 { background: linear-gradient(150deg, #14213D, #3a5a8a); }
.detail-hero.p3 { background: linear-gradient(150deg, #1f4b45, #6fbfb8); }
.detail-hero.p4 { background: linear-gradient(150deg, #2d2d2d, #5a5a5a); }
.detail-hero.p5 { background: linear-gradient(150deg, #0a3585, #0f4bb9); }
.detail-hero .badge { font-size: 12px; background: rgba(255,255,255,.15); padding: 4px 12px; border-radius: 999px; display: inline-block; margin-bottom: 14px; }
.detail-hero h1 { color: #fff; font-size: clamp(26px, 3.5vw, 38px); margin-bottom: 8px; }
.detail-hero .tagline { color: #E8ECEC; font-size: 15.5px; }

.detail-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.price-box { background: var(--sand); border: 1px solid var(--line); border-radius: 12px; padding: 26px; position: sticky; top: 90px; }
.price-box h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .03em; color: var(--teal-deep); margin-bottom: 16px; }
.price-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.price-row.total { border-bottom: none; border-top: 2px solid var(--ink); margin-top: 6px; padding-top: 14px; font-weight: 700; font-size: 17px; }
.price-box .btn { width: 100%; text-align: center; margin-top: 18px; }
.itinerary-item { display: flex; gap: 16px; margin-bottom: 20px; }
.itinerary-item .day-num { width: 34px; height: 34px; border-radius: 50%; background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; flex: none; }
.activity-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.activity-chip { background: var(--sand); border: 1px solid var(--line); padding: 7px 16px; border-radius: 999px; font-size: 13px; color: var(--teal-deep); font-weight: 600; }
@media (max-width: 900px) { .detail-layout { grid-template-columns: 1fr; } .price-box { position: static; } }

/* Policy pages */
.policy-hero { background: linear-gradient(120deg, #14332e, #1f4b45); color: #fff; padding: 60px 0; text-align: center; }
.policy-hero h1 { color: #fff; }
.policy-content { max-width: 780px; margin: 0 auto; }
.policy-content h2 { font-size: 20px; margin: 32px 0 12px; color: var(--teal-deep); }
.policy-content h2:first-child { margin-top: 0; }
.policy-content p, .policy-content li { font-size: 14.5px; margin-bottom: 10px; }
.policy-content ul { padding-left: 20px; }
.policy-nav { display: flex; gap: 12px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }
.policy-nav a { padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; }
.policy-nav a.active { background: var(--teal); color: #fff; border-color: var(--teal); }

/* Contact form */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info-item { margin-bottom: 26px; display: flex; gap: 14px; }
.contact-info-item .ic { color: var(--teal-deep); flex: none; }
.contact-info-item h4 { font-size: 15.5px; margin-bottom: 4px; }
.contact-form-box { background: var(--sand); border-radius: 14px; padding: 30px; border: 1px solid var(--line); }
.contact-form-box .field { margin-bottom: 16px; }
.contact-form-box label { font-size: 13.5px; font-weight: 600; display: block; margin-bottom: 6px; color: var(--ink); }
.contact-form-box input, .contact-form-box textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; font-family: inherit;
  background: #fff; transition: border-color .2s, box-shadow .2s;
}
.contact-form-box input:focus, .contact-form-box textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(13,205,194,.15);
}
.contact-form-box .btn { width: 100%; border: none; cursor: pointer; margin-top: 6px; }
@media (max-width: 800px) { .contact-layout { grid-template-columns: 1fr; } }

/* Footer */
footer { background: #F4F4F4; padding: 36px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 30px; padding-bottom: 24px; }
.footer-grid h5 { color: var(--teal-deep); font-size: 13.5px; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 14px; }
.footer-grid p { font-size: 13px; margin-bottom: 10px; }
.footer-grid a { color: inherit; display: block; font-size: 13px; margin-bottom: 8px; }
.social-row { display: flex; gap: 10px; }
.social-row a { width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--muted); margin: 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.gallery-item { position: relative; aspect-ratio: 1; border-radius: 4px; overflow: hidden; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-item .tag { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(20,33,61,.75); color: #fff; font-size: 9px; padding: 3px 5px; text-align: center; line-height: 1.2; }
.foot-bottom { background: var(--teal); color: #fff; text-align: center; padding: 14px; font-size: 13px; width: 100%; }

@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } nav { display: none; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
