/* ==========================================================================
   DULA WITH TRAVELS - OFFICIAL STYLESHEET
   Sri Lanka Province-to-Province Tourism Project
   Author: Student Project (Web Development Assignment)
   ========================================================================== */

/* --- Root Variables & Theme Palette --- */
:root {
  --primary: #0f5132;        /* Ceylon Tea Emerald Green */
  --primary-dark: #0a3622;
  --primary-light: #e8f5e9;
  --primary-soft: #2d6a4f;
  --secondary: #d97706;      /* Ceylon Amber / Golden Sun */
  --secondary-hover: #b45309;
  --accent-blue: #0284c7;    /* Indian Ocean Azure */
  --accent-blue-light: #e0f2fe;
  --dark: #0f172a;           /* Deep Slate */
  --gray-800: #1e293b;
  --gray-600: #475569;
  --gray-400: #94a3b8;
  --gray-200: #e2e8f0;
  --gray-100: #f8fafc;
  --white: #ffffff;
  --success: #16a34a;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 28px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 40px rgba(0,0,0,0.16);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  --container-max: 1200px;
}

/* --- Global Reset & Box Sizing --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: #fbfdfc;
  color: var(--gray-800);
  line-height: 1.65;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary);
}

ul, ol {
  padding-left: 1.5rem;
}

/* --- Container Utility --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  color: var(--dark);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.15rem; }

p {
  margin-bottom: 1rem;
  color: var(--gray-600);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem auto;
}

.section-badge {
  display: inline-block;
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  border: 1px solid rgba(15, 81, 50, 0.15);
}

.section-badge.amber {
  background-color: #fef3c7;
  color: #92400e;
  border-color: rgba(217, 119, 6, 0.2);
}

.section-header h2 {
  margin-bottom: 0.85rem;
}

.section-header p {
  font-size: 1.05rem;
}

/* --- Top Academic Bar --- */
.top-notice-bar {
  background-color: var(--dark);
  color: #cbd5e1;
  font-size: 0.8rem;
  padding: 0.4rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-notice-bar span.badge {
  background-color: var(--secondary);
  color: var(--white);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 600;
  margin-right: 6px;
}

.top-notice-contact {
  display: flex;
  gap: 1.25rem;
}

.top-notice-contact a {
  color: #94a3b8;
  font-size: 0.8rem;
}

.top-notice-contact a:hover {
  color: var(--white);
}

/* --- Main Site Header & Nav --- */
.site-header {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary) 0%, #198754 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.35rem;
  box-shadow: 0 4px 10px rgba(15, 81, 50, 0.25);
}

.logo-text h1 {
  font-size: 1.3rem;
  margin-bottom: 0;
  color: var(--dark);
  letter-spacing: -0.5px;
}

.logo-text h1 span {
  color: var(--secondary);
}

.logo-text .tagline {
  font-size: 0.75rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
}

/* Navigation Links */
.main-nav ul {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 0.5rem;
  padding-left: 0;
  margin-bottom: 0;
}

.main-nav a {
  color: var(--gray-800);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: inline-block;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
  background-color: var(--primary-light);
}

.main-nav a.nav-cta {
  background-color: var(--primary);
  color: var(--white);
  font-weight: 600;
  padding: 0.55rem 1.15rem;
  margin-left: 0.5rem;
  box-shadow: 0 2px 6px rgba(15, 81, 50, 0.2);
}

.main-nav a.nav-cta:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-1px);
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--dark);
  cursor: pointer;
  padding: 0.4rem;
}

/* --- Hero Banner Section --- */
.hero-section {
  position: relative;
  background: linear-gradient(rgba(10, 54, 34, 0.78), rgba(15, 23, 42, 0.85)),
              url('https://images.unsplash.com/photo-1586861635167-e5223aadc9fe?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  color: var(--white);
  padding: 6.5rem 0 5.5rem 0;
  text-align: center;
}

.hero-content {
  max-width: 860px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fef08a;
}

.hero-title {
  color: var(--white);
  font-size: 3.25rem;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  color: #e2e8f0;
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--secondary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
}

.btn-primary:hover {
  background-color: var(--secondary-hover);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--dark);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-primary {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: var(--white);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

/* --- Inner Page Hero Banners --- */
.page-hero {
  background: linear-gradient(rgba(10, 54, 34, 0.82), rgba(15, 23, 42, 0.88)),
              url('https://images.unsplash.com/photo-1546708973-b339540b5162?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  color: var(--white);
  padding: 4.5rem 0 3.5rem 0;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  font-size: 2.6rem;
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: #e2e8f0;
  font-size: 1.1rem;
  max-width: 720px;
  margin: 0 auto;
}

/* --- Concept Section (Province-to-Province) --- */
.concept-section {
  padding: 5rem 0;
  background-color: var(--white);
}

.concept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.concept-visual {
  position: relative;
}

.concept-visual img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.concept-card-float {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--secondary);
  max-width: 260px;
}

.concept-card-float strong {
  display: block;
  font-size: 1.1rem;
  color: var(--dark);
}

.concept-card-float span {
  font-size: 0.85rem;
  color: var(--gray-600);
}

.concept-text h2 {
  font-size: 2.2rem;
  margin-bottom: 1.25rem;
}

.concept-features {
  list-style: none;
  padding-left: 0;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.concept-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.concept-features .feature-icon {
  background-color: var(--primary-light);
  color: var(--primary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- 9 Provinces Section & Grid --- */
.provinces-section {
  padding: 5rem 0;
  background-color: var(--gray-100);
}

.provinces-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.province-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--gray-200);
}

.province-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(15, 81, 50, 0.3);
}

.province-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.province-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.province-card:hover .province-img-wrap img {
  transform: scale(1.06);
}

.province-number {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  color: var(--white);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.province-theme-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(15, 81, 50, 0.9);
  backdrop-filter: blur(4px);
  color: var(--white);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
}

.province-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.province-body h3 {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.province-hub {
  font-size: 0.85rem;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.province-body p {
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 1rem;
  flex: 1;
}

.province-meta-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.25rem;
  font-size: 0.84rem;
  border-top: 1px dashed var(--gray-200);
  padding-top: 0.85rem;
}

.province-meta-list li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.35rem;
  color: var(--gray-600);
}

.province-meta-list strong {
  color: var(--gray-800);
}

/* --- Places to Visit Cards (Famous vs Hidden) --- */
.filter-container {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(15, 81, 50, 0.2);
}

.places-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.place-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.place-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.place-img-wrap {
  position: relative;
  height: 220px;
}

.place-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tag-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.tag-badge.famous {
  background-color: #fef08a;
  color: #854d0e;
}

.tag-badge.hidden {
  background-color: #ccfbf1;
  color: #115e59;
}

.province-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  color: var(--white);
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 500;
}

.place-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.place-body h3 {
  font-size: 1.3rem;
  margin-bottom: 0.35rem;
}

.place-concept-text {
  font-size: 0.88rem;
  color: var(--gray-600);
  margin-bottom: 1rem;
  flex: 1;
}

.place-tip-box {
  background: var(--primary-light);
  border-left: 3px solid var(--primary);
  padding: 0.65rem 0.85rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.82rem;
  color: var(--primary-dark);
  margin-top: auto;
}

.place-tip-box strong {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 2px;
}

/* --- Tour Packages Section --- */
.packages-section {
  padding: 5rem 0;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2.25rem;
  margin-bottom: 4rem;
}

.package-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.package-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.package-header {
  position: relative;
  height: 200px;
}

.package-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.package-duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: var(--secondary);
  color: var(--white);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
}

.package-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.package-provinces-badge {
  display: inline-block;
  color: var(--primary);
  background: var(--primary-light);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 0.65rem;
}

.package-body h3 {
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
}

.package-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
}

.package-price span {
  font-size: 0.85rem;
  font-weight: normal;
  color: var(--gray-400);
}

.itinerary-list {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0 1.5rem 0;
  border-top: 1px solid var(--gray-200);
  padding-top: 1rem;
}

.itinerary-list li {
  margin-bottom: 0.5rem;
  font-size: 0.88rem;
  color: var(--gray-600);
  display: flex;
  gap: 0.6rem;
}

.itinerary-list li strong {
  color: var(--dark);
  min-width: 48px;
}

/* --- Data & Comparison Tables --- */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 2.5rem 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  background: var(--white);
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.custom-table thead {
  background-color: var(--primary);
  color: var(--white);
}

.custom-table th {
  padding: 1rem 1.25rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.custom-table tbody tr {
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
}

.custom-table tbody tr:nth-child(even) {
  background-color: #f8fafc;
}

.custom-table tbody tr:hover {
  background-color: var(--primary-light);
}

.custom-table td {
  padding: 1rem 1.25rem;
  color: var(--gray-800);
  vertical-align: middle;
}

.custom-table td strong {
  color: var(--dark);
}

/* --- Gallery & Lightbox --- */
.gallery-section {
  padding: 5rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 260px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.1) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: var(--transition);
  color: var(--white);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.gallery-overlay p {
  color: #cbd5e1;
  font-size: 0.8rem;
  margin-bottom: 0;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-modal.active {
  display: flex;
  animation: fadeIn 0.25s ease;
}

.lightbox-content {
  max-width: 860px;
  width: 100%;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-xl);
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 2rem;
  color: var(--dark);
  background: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  z-index: 10;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.lightbox-close:hover {
  background-color: #fee2e2;
  color: #b91c1c;
}

.lightbox-img-wrap {
  width: 100%;
  max-height: 500px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrap img {
  max-height: 500px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.lightbox-caption {
  padding: 1.25rem 1.5rem;
}

.lightbox-caption h3 {
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.lightbox-caption p {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 0;
}

/* --- Contact & Booking Page Layout --- */
.contact-section {
  padding: 5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.form-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.form-card h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.form-card > p {
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 1.35rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.4rem;
}

.form-group label span.req {
  color: #dc2626;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background-color: var(--gray-100);
  color: var(--dark);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(15, 81, 50, 0.12);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

/* Contact Info & Map Column */
.contact-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-icon {
  width: 44px;
  height: 44px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.info-text h4 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.info-text p, .info-text a {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 0;
}

/* OpenStreetMap Container */
.map-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.map-card-header {
  padding: 1.25rem 1.5rem;
  background-color: var(--white);
  border-bottom: 1px solid var(--gray-200);
}

.map-card-header h3 {
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
}

.map-card-header p {
  font-size: 0.85rem;
  margin-bottom: 0;
}

.map-frame-wrap {
  position: relative;
  width: 100%;
  height: 340px;
  background: #e5e7eb;
}

.map-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Interactive Form Confirmation Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.active {
  display: flex;
  animation: fadeIn 0.25s ease;
}

.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
  text-align: center;
  position: relative;
  animation: slideUp 0.3s ease;
}

.modal-icon-success {
  width: 72px;
  height: 72px;
  background-color: #dcfce7;
  color: var(--success);
  font-size: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}

.modal-box h3 {
  font-size: 1.7rem;
  margin-bottom: 0.5rem;
}

.modal-box .reference-badge {
  display: inline-block;
  background-color: #f1f5f9;
  border: 1px solid var(--gray-200);
  padding: 0.4rem 1.25rem;
  border-radius: var(--radius-full);
  font-family: monospace;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.modal-summary-box {
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  text-align: left;
  margin-bottom: 1.75rem;
  font-size: 0.9rem;
  border: 1px solid var(--gray-200);
}

.modal-summary-box p {
  margin-bottom: 0.4rem;
}

.modal-summary-box p:last-child {
  margin-bottom: 0;
}

/* --- External Acknowledgements Section --- */
.acknowledgements-section {
  background: var(--gray-100);
  padding: 4.5rem 0;
  border-top: 1px solid var(--gray-200);
}

.ack-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  margin-top: 1.5rem;
}

.ack-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
}

/* --- Footer --- */
.site-footer {
  background-color: var(--dark);
  color: #cbd5e1;
  padding: 4.5rem 0 1.5rem 0;
  margin-top: auto;
  border-top: 4px solid var(--primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.6fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.footer-brand h3 span {
  color: var(--secondary);
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.footer-student-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  font-size: 0.78rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--secondary);
}

.footer-links {
  list-style: none;
  padding-left: 0;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-contact-list {
  list-style: none;
  padding-left: 0;
  font-size: 0.88rem;
  color: #94a3b8;
}

.footer-contact-list li {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.footer-contact-list a {
  color: #cbd5e1;
}

.footer-contact-list a:hover {
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: #64748b;
}

.footer-bottom a {
  color: #94a3b8;
}

.footer-bottom a:hover {
  color: var(--white);
}

/* --- Animations --- */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Responsive Media Queries --- */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.6rem;
  }
  
  .concept-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .concept-card-float {
    right: 10px;
    bottom: -15px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.7rem; }
  
  .top-notice-bar {
    flex-direction: column;
    gap: 0.35rem;
    text-align: center;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    display: none;
    padding: 1.25rem;
    border-top: 1px solid var(--gray-200);
  }
  
  .main-nav.active {
    display: block;
  }
  
  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  
  .main-nav a.nav-cta {
    margin-left: 0;
    text-align: center;
    margin-top: 0.5rem;
  }
  
  .hero-section {
    padding: 4.5rem 0 3.5rem 0;
  }
  
  .hero-title {
    font-size: 2.1rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .form-card {
    padding: 1.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}
