/* =========================================
   MODERN PREMIUM CONTACT PAGE (TOURISM UI)
   ========================================= */
:root {
  --bhagwa-start: #FF6A00;
  --bhagwa-end: #FFB347;
  --deep-blue: #0F172A;
  --accent-teal: #3B8C96;
  --light-bg: #f8fafc;
  --white: #ffffff;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --font-main: 'Poppins', sans-serif;
  --font-heading: 'Cinzel', serif;
}

body {
  font-family: var(--font-main);
  background-color: var(--light-bg);
  color: var(--text-dark);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.h-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* Typography & Buttons */
.h-btn {
  display: inline-block;
  padding: 14px 35px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: var(--font-main);
  font-size: 1.1rem;
}
.h-btn-primary {
  background: var(--accent-teal);
  color: var(--white);
  box-shadow: 0 10px 20px rgba(59, 140, 150, 0.3);
}
.h-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(59, 140, 150, 0.4);
}
.h-btn-saffron {
  background: linear-gradient(135deg, var(--bhagwa-start), var(--bhagwa-end));
  color: var(--white);
  box-shadow: 0 10px 20px rgba(255, 106, 0, 0.3);
}
.h-btn-saffron:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(255, 106, 0, 0.4);
}

/* =========================================
   1. HERO SECTION
   ========================================= */
.h-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  background-image: url('../assets/vrindawan photos/Mathura vrindavan prem mandir _ vrindavantoursandpackages_com.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Parallax effect */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 0;
  animation: fadeIn 1.5s ease-out forwards;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.h-hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.9));
  z-index: 1;
}

.h-hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  transform: translateY(20px);
  animation: slideUp 1s ease-out 0.5s forwards;
  opacity: 0;
}
@keyframes slideUp { to { opacity: 1; transform: translateY(0); } }

.h-hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 4.5rem);
  margin-bottom: 15px;
  color: var(--white);
  text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}
.h-hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #cbd5e1;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* =========================================
   2. CONTACT INFO SECTION (Teal)
   ========================================= */
.h-info-section {
  background-color: var(--accent-teal);
  position: relative;
  padding: 100px 0;
  margin-top: -30px;
}

/* Paint edges using mask or background SVG */
.brush-top-teal, .brush-bottom-teal {
  position: absolute;
  left: 0;
  width: 100%;
  height: 40px;
  background-repeat: repeat-x;
  background-size: 200px 40px;
  z-index: 5;
}
.brush-top-teal {
  top: -38px;
  background-image: url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 200 40' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,40 L0,20 Q10,25 20,10 T40,20 T60,5 T80,25 T100,10 T120,20 T140,5 T160,25 T180,10 T200,20 L200,40 Z' fill='%233B8C96'/%3E%3C/svg%3E");
}
.brush-bottom-teal {
  bottom: -38px;
  transform: rotate(180deg);
  background-image: url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 200 40' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,40 L0,20 Q10,25 20,10 T40,20 T60,5 T80,25 T100,10 T120,20 T140,5 T160,25 T180,10 T200,20 L200,40 Z' fill='%233B8C96'/%3E%3C/svg%3E");
}

.h-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}
.h-info-card {
  background: var(--white);
  padding: 40px 25px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  transition: all 0.4s ease;
  position: relative;
  top: 0;
}
.h-info-card:hover {
  top: -10px;
  box-shadow: 0 30px 50px rgba(0,0,0,0.15);
}
.icon-circle {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--bhagwa-start), var(--bhagwa-end));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  color: var(--white);
  font-size: 2rem;
  box-shadow: 0 10px 20px rgba(255,106,0,0.3);
}
.h-info-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--deep-blue);
  margin-bottom: 10px;
}
.h-info-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* =========================================
   3. CONTACT FORM SECTION (Glassmorphism)
   ========================================= */
.h-form-section {
  padding: 120px 0;
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  position: relative;
}
.h-form-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media(max-width: 992px) {
  .h-form-wrapper { grid-template-columns: 1fr; }
}
.h-form-text h2 {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--deep-blue);
  margin-bottom: 20px;
}
.h-form-text p {
  font-size: 1.15rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 30px;
}

.h-glass-form {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: 50px 40px;
  border-radius: 24px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.05);
}

/* Floating Labels */
.h-input-group {
  position: relative;
  margin-bottom: 30px;
}
.h-input-group input, .h-input-group textarea {
  width: 100%;
  padding: 15px 20px;
  font-size: 1rem;
  font-family: var(--font-main);
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid transparent;
  border-radius: 12px;
  outline: none;
  transition: all 0.3s;
  color: var(--text-dark);
}
.h-input-group input:focus, .h-input-group textarea:focus {
  border-color: var(--accent-teal);
  background: var(--white);
  box-shadow: 0 5px 15px rgba(59, 140, 150, 0.1);
}
.h-input-group label {
  position: absolute;
  top: 50%; left: 20px;
  transform: translateY(-50%);
  color: var(--text-light);
  transition: all 0.3s;
  pointer-events: none;
  font-size: 1rem;
}
.h-input-group textarea + label {
  top: 20px; transform: none;
}
.h-input-group input:focus + label,
.h-input-group input:not(:placeholder-shown) + label,
.h-input-group textarea:focus + label,
.h-input-group textarea:not(:placeholder-shown) + label {
  top: -12px;
  left: 15px;
  font-size: 0.85rem;
  color: var(--accent-teal);
  background: var(--white);
  padding: 0 8px;
  border-radius: 4px;
}

/* =========================================
   4. MAP SECTION (Dark overlay)
   ========================================= */
.h-map-section {
  position: relative;
  background: var(--deep-blue);
  padding-top: 80px;
}
/* Wave Divider */
.wave-top-dark {
  position: absolute;
  top: -1px; left: 0; width: 100%; height: 50px;
  background-image: url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1440 320' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%230F172A' fill-opacity='1' d='M0,160L80,144C160,128,320,96,480,101.3C640,107,800,149,960,154.7C1120,160,1280,128,1360,112L1440,96L1440,0L1360,0C1280,0,1120,0,960,0C800,0,640,0,480,0C320,0,160,0,80,0L0,0Z'%3E%3C/path%3E%3C/svg%3E");
  background-size: cover;
  background-repeat: no-repeat;
}

.map-embed {
  position: relative;
  width: 100%;
  height: 500px;
  margin-top: 40px;
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(10%) contrast(1.1); /* Subtle premium map styling */
}

/* =========================================
   5. UP TOURISM STYLE SLIDER SECTION
   ========================================= */
.up-slider-section {
  background-color: #e6cead; /* Exact UP Tourism Beige */
  padding: 80px 0 100px 0;
  position: relative;
  margin-top: 50px;
  overflow: hidden;
}

/* Scalloped / Torn Edges */
.up-slider-section::before {
  content: ''; position: absolute; top: -1px; left: 0; width: 100%; height: 30px;
  background-image: url("data:image/svg+xml,%3Csvg preserveAspectRatio='none' viewBox='0 0 120 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 30L0 0 120 0 120 30C110 15 100 30 90 15 80 30 70 15 60 30 50 15 40 30 30 15 20 30 10 15 0 30Z' fill='%23f8fafc'/%3E%3C/svg%3E");
  background-size: 120px 100%; z-index: 1;
}
.up-slider-section::after {
  content: ''; position: absolute; bottom: -1px; left: 0; width: 100%; height: 30px;
  background-image: url("data:image/svg+xml,%3Csvg preserveAspectRatio='none' viewBox='0 0 120 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0L0 30 120 30 120 0C110 15 100 0 90 15 80 0 70 15 60 0 50 15 40 0 30 15 20 0 10 15 0 0Z' fill='%23f8fafc'/%3E%3C/svg%3E");
  background-size: 120px 100%; z-index: 1;
}

/* Header */
.up-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
  position: relative;
  z-index: 2;
}
.up-slider-title-wrapper {
  text-align: center;
  flex-grow: 1;
}
.up-slider-subtitle {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: #111;
  letter-spacing: 1px;
  margin-bottom: 8px;
  text-transform: uppercase;
  font-family: var(--font-main);
}
.up-slider-title {
  font-size: 2.5rem;
  color: #111;
  font-weight: 300;
  margin: 0;
  font-family: var(--font-main);
}
.up-slider-title b {
  font-weight: 800;
}
.up-slider-archive-btn {
  background: white;
  color: #333;
  padding: 10px 24px;
  text-decoration: none;
  font-size: 0.95rem;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  font-family: var(--font-main);
  font-weight: 500;
  transition: all 0.3s;
}
.up-slider-archive-btn:hover {
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}
@media(max-width: 768px) {
  .up-slider-header { flex-direction: column; gap: 20px; }
  .up-slider-archive-btn { align-self: center; }
  .up-slider-title { font-size: 2rem; }
}

/* Slider Track */
.up-slider-container {
  overflow: hidden;
  margin: 0 -10px; /* Offset padding */
  padding: 10px;
  position: relative;
  z-index: 2;
}
.up-slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 20px;
}
.up-slider-card {
  flex: 0 0 calc(33.333% - 14px); /* 3 cards visible on desktop */
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
}
@media(max-width: 992px) {
  .up-slider-card { flex: 0 0 calc(50% - 10px); }
}
@media(max-width: 650px) {
  .up-slider-card { flex: 0 0 100%; }
}

.up-slider-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.up-slider-content {
  padding: 25px 20px;
  text-align: center;
  flex-grow: 1;
}
.up-slider-content h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: #222;
  margin-bottom: 12px;
  font-weight: 700;
}
.up-slider-content p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

/* Controls */
.up-slider-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
  position: relative;
  z-index: 2;
}
.up-nav-btn {
  background-color: #ed4e5e; /* Exact UP Tourism Red */
  color: white;
  border: none;
  padding: 10px 28px;
  font-size: 1.05rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  font-family: var(--font-main);
  box-shadow: 0 4px 8px rgba(237, 78, 94, 0.3);
}
.up-nav-btn:hover {
  background-color: #d13c4a;
  transform: translateY(-2px);
}
.up-nav-btn:active {
  transform: translateY(0);
}

/* SEO Bottom Box (Re-styled for the slider bg) */
.slider-seo-box {
  text-align: center;
  margin-top: 60px;
  position: relative;
  z-index: 2;
}
.slider-seo-box p {
  color: #555;
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.7;
}
.seo-glass-box {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  margin-top: 80px;
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}
