@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700&family=Sarabun:wght@300;400;500;600;700&display=swap');

:root {
  /* Colors */
  --primary: #1A365D;
  --primary-rgb: 26, 54, 93;
  --primary-light: #2A4365;
  --primary-light-rgb: 42, 67, 101;
  --secondary: #D69E2E;
  --secondary-rgb: 214, 158, 46;
  --secondary-light: #F6E05E;
  --bg-color: #F7FAFC;
  --text-dark: #2D3748;
  --text-light: #718096;
  --white: #FFFFFF;
  
  /* Typography */
  --font-heading: 'Prompt', sans-serif;
  --font-body: 'Sarabun', sans-serif;
  
  /* Effects */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Transitions */
  --transition-fast: 0.2s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

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

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

ul {
  list-style: none;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
}

section.container {
  padding: 80px 20px;
}

/* Header & Nav (Glassmorphism) */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  border-top: 4px solid var(--secondary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-top: 4px solid var(--primary);
}

/* Top Bar / Breaking News */
.top-bar {
  background-color: var(--primary);
  color: var(--white);
  height: 40px;
  font-size: 0.85rem;
  transition: all 0.4s ease;
  overflow: hidden;
}

header.scrolled .top-bar {
  height: 0;
  opacity: 0;
}

.top-bar .container {
  display: flex;
  align-items: center;
  height: 100%;
}

.breaking-news-label {
  background-color: #e63946;
  color: white;
  padding: 0 15px;
  height: 100%;
  display: flex;
  align-items: center;
  font-weight: 600;
  margin-right: 20px;
  border-radius: 0 0 4px 0;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.breaking-news-ticker {
  flex-grow: 1;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.ticker-content {
  display: inline-flex;
  gap: 20px;
  animation: ticker 30s linear infinite;
}

.ticker-content:hover {
  animation-play-state: paused;
}

.ticker-content a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

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

.ticker-separator {
  color: rgba(255,255,255,0.3);
}

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 20px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.top-bar-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.top-bar-links a:hover {
  color: var(--white);
}

.lang-select {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 0.85rem;
  font-family: inherit;
  cursor: pointer;
  outline: none;
  transition: all 0.2s;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 5px center;
  background-size: 12px;
  padding-right: 25px; /* space for arrow */
}

.lang-select:hover, .lang-select:focus {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.lang-select option {
  background-color: var(--primary);
  color: var(--white);
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 10px)); }
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
  transition: height 0.4s ease;
}

header.scrolled .nav-container {
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.02);
}

.logo img {
  height: 65px;
  width: auto;
  transition: height 0.4s ease;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

header.scrolled .logo img {
  height: 50px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text h1 {
  font-size: 1.45rem;
  margin: 0;
  line-height: 1.2;
  transition: font-size 0.4s ease;
  color: var(--primary);
  white-space: nowrap;
}

header.scrolled .logo-text h1 {
  font-size: 1.2rem;
}

.logo-text span {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
  white-space: nowrap;
}

nav ul {
  display: flex;
  gap: clamp(10px, 1.5vw, 30px); /* Responsive gap */
}

nav ul li a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--text-dark);
  position: relative;
  padding: 8px 12px; /* Slightly reduced padding */
  border-radius: 8px;
  transition: all var(--transition-fast);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  white-space: nowrap; /* Prevent chevron from dropping to new line */
}

nav ul li a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(26, 54, 93, 0.08);
  border-radius: 8px;
  z-index: -1;
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

nav ul li a:hover::before, nav ul li a.active::before {
  transform: scale(1);
  opacity: 1;
}

nav ul li a:hover, nav ul li a.active {
  color: var(--primary);
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: all var(--transition-normal);
  transform: translateX(-50%);
  border-radius: 3px;
}

nav ul li a:hover::after, nav ul li a.active::after {
  width: 80%;
}

/* Dropdown Menu */
nav ul li.has-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  padding: 15px 0;
  border-radius: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0;
}

nav ul li.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu li a {
  display: block;
  padding: 8px 25px;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.dropdown-menu li a::after {
  display: none !important;
}

.dropdown-menu li a:hover {
  background: rgba(214, 158, 46, 0.1);
  color: var(--primary);
}

/* Two-column Dropdown Menu */
.dropdown-menu-columns {
  min-width: 500px !important;
  padding: 18px !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  border-radius: 14px !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12), 0 5px 15px rgba(0, 0, 0, 0.04) !important;
}

.dropdown-col-link {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 8px 12px !important;
  font-size: 0.92rem !important;
  color: var(--text-dark) !important;
  border-radius: 8px;
  transition: all 0.2s ease !important;
  font-weight: 500;
}

.dropdown-col-link i {
  width: 20px;
  text-align: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.dropdown-col-link:hover {
  background: #f0f9ff !important;
  color: var(--primary) !important;
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .dropdown-menu-columns {
    min-width: 100% !important;
    grid-template-columns: 1fr !important;
    gap: 15px;
    padding: 10px !important;
  }
}

/* Mega Menu */
nav {
  position: static;
}
.nav-container {
  position: relative;
}
nav ul li.has-mega-menu {
  position: static;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  padding: 30px;
  border-radius: 0 0 15px 15px;
  display: flex;
  gap: 30px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
  z-index: 100;
  border-top: 1px solid #E2E8F0;
}

nav ul li.has-mega-menu:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu-col {
  flex: 1;
}

.mega-menu-col h4 {
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--secondary);
  padding-bottom: 8px;
}

.mega-menu-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mega-menu-col ul li {
  width: 100%;
}

.mega-menu-col ul li a {
  font-size: 0.95rem;
  color: var(--text-dark);
  padding: 5px 0;
  display: inline-block;
  transition: all var(--transition-fast);
}

.mega-menu-col ul li a::after {
  display: none !important;
}

.mega-menu-col ul li a:hover {
  color: var(--secondary);
  transform: translateX(5px);
}

/* Mobile Responsiveness for Dropdowns */
@media (max-width: 768px) {
  .dropdown-menu, .mega-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 10px 15px;
    border: none;
    display: none;
  }
  nav ul li.has-dropdown:hover .dropdown-menu, nav ul li.has-mega-menu:hover .mega-menu {
    display: flex;
  }
  .mega-menu {
    flex-direction: column;
    gap: 15px;
  }
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 25px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Hero Section Slider */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background-color: var(--primary);
  overflow: hidden;
  margin-top: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(26, 54, 93, 0.9) 0%, rgba(26, 54, 93, 0.4) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  text-align: left;
}

.hero-slide.active h1 {
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 20px;
  animation: slideUp 1s ease forwards;
}

.hero-slide.active p {
  font-size: 1.2rem;
  color: var(--white);
  max-width: 600px;
  margin-bottom: 40px;
  animation: slideUp 1s ease 0.3s forwards;
  opacity: 0;
}

.hero-slide.active .hero-buttons {
  display: flex;
  gap: 15px;
  animation: slideUp 1s ease 0.6s forwards;
  opacity: 0;
}

/* Slider Controls */
.slider-controls {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 50px;
  z-index: 10;
  pointer-events: none;
}

.slider-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  pointer-events: auto;
  transition: all var(--transition-fast);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-arrow:hover {
  background: var(--secondary);
  color: var(--white);
  transform: scale(1.1);
}

.slider-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slider-dots .dot.active {
  background: var(--secondary);
  width: 35px;
  border-radius: 6px;
}

/* Cards & Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  background: var(--white);
  border-radius: 15px;
  padding: 30px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border-bottom: 4px solid transparent;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-bottom-color: var(--secondary);
}

.card-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(214, 158, 46, 0.1);
  color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  transition: all var(--transition-normal);
}

.card:hover .card-icon {
  background-color: var(--secondary);
  color: var(--white);
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 15px;
}

.card-desc {
  color: var(--text-light);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Steps Section */
.steps-section {
  background-color: var(--white);
  padding: 80px 0;
}
.step-card {
  text-align: center;
  position: relative;
}
.step-card::after {
  content: '\f054';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 40px;
  right: -25px;
  color: var(--text-light);
  font-size: 1.5rem;
  opacity: 0.3;
}
.step-card:last-child::after {
  display: none;
}
.step-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--white);
}

/* Stats Section */
.stats-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}
.stat-item h3 {
  color: var(--secondary);
  font-size: 3.5rem;
  margin-bottom: 5px;
}
.stat-item p {
  font-size: 1.2rem;
  opacity: 0.9;
}

@media (max-width: 992px) {
  .step-card::after {
    display: none;
  }
}

/* Section Headings */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  display: inline-block;
  position: relative;
  padding-bottom: 15px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--secondary);
  border-radius: 2px;
}

.section-title p {
  color: var(--text-light);
  margin-top: 15px;
  font-size: 1.1rem;
}

/* News Section */
.news-section {
  background-color: var(--white);
}

.news-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--white);
  transition: all var(--transition-normal);
}

.news-card:hover {
  box-shadow: var(--shadow-lg);
}

.news-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.news-card:hover .news-img {
  transform: scale(1.05);
}

.news-content {
  padding: 20px;
}

.news-date {
  font-size: 0.85rem;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

.news-title {
  font-size: 1.1rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

/* News Marquee */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  padding: 10px 0 30px;
}

.marquee-track {
  display: inline-flex;
  gap: 30px;
  animation: scrollNews 40s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-track .news-card {
  width: 350px;
  flex-shrink: 0;
  white-space: normal;
  display: flex;
  flex-direction: column;
  border-top: 4px solid var(--secondary);
}

@keyframes scrollNews {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 15px)); }
}

/* Layout Utils */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

/* Events Section */
.event-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid #E2E8F0;
  transition: all var(--transition-fast);
}
.event-item:last-child {
  border-bottom: none;
}
.event-item:hover {
  background-color: rgba(26, 54, 93, 0.02);
  transform: translateX(5px);
}
.event-date {
  background-color: rgba(214, 158, 46, 0.1);
  color: var(--secondary);
  padding: 10px 15px;
  border-radius: 8px;
  text-align: center;
  min-width: 80px;
}
.event-date .day {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}
.event-date .month {
  font-size: 0.85rem;
  font-weight: 500;
}
.event-info h4 {
  margin-bottom: 5px;
  color: var(--text-dark);
}
.event-info p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Multimedia Section */
.video-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.video-card img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 0 0 10px rgba(26, 54, 93, 0.3);
  transition: all var(--transition-normal);
}
.play-btn:hover {
  background: var(--secondary);
  box-shadow: 0 0 0 15px rgba(214, 158, 46, 0.3);
  transform: translate(-50%, -50%) scale(1.1);
}
.video-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: var(--white);
}

/* App Promo Section */
.app-promo {
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  padding: 80px 0;
  overflow: hidden;
}
.app-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}
.app-text {
  flex: 1;
}
.app-text h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}
.app-text p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--text-dark);
}
.app-buttons {
  display: flex;
  gap: 15px;
}
.app-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  color: #fff;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.2s;
}
.app-btn:hover {
  transform: translateY(-3px);
}
.app-btn i {
  font-size: 2rem;
}
.app-btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.app-btn-text small {
  font-size: 0.7rem;
}
.app-btn-text strong {
  font-size: 1.1rem;
}
.app-image {
  flex: 1;
  text-align: right;
  position: relative;
}
.app-image img {
  max-width: 80%;
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
  transform: rotate(-5deg);
  transition: transform var(--transition-normal);
}
.app-image:hover img {
  transform: rotate(0deg) scale(1.02);
}
@media (max-width: 992px) {
  .app-content {
    flex-direction: column;
    text-align: center;
  }
  .app-image {
    text-align: center;
  }
  .app-buttons {
    justify-content: center;
  }
}

/* Related Links */
.related-links {
  padding: 60px 0;
  background: var(--white);
}
.links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: center;
}
.link-logo {
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  width: 180px;
  height: 100px;
  text-decoration: none;
  gap: 10px;
}
.link-logo i {
  font-size: 2rem;
  color: var(--primary);
}
.link-logo h4 {
  font-size: 0.9rem;
  color: var(--text-dark);
  text-align: center;
}
.link-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  border-color: var(--secondary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-sm);
}

/* Footer */
footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  color: var(--secondary);
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.footer-col p {
  color: #CBD5E0;
  margin-bottom: 15px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #CBD5E0;
}

.footer-col ul li a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #A0AEC0;
  font-size: 0.9rem;
}

/* Page Header (Inner Pages) */
.page-header {
  --header-bg: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1920&q=80');
  position: relative;
  padding: 180px 0 90px;
  background: linear-gradient(135deg, rgba(var(--primary-rgb, 26, 54, 93), 0.94) 0%, rgba(var(--primary-light-rgb, 42, 67, 101), 0.88) 100%),
              var(--header-bg) center/cover no-repeat;
  color: var(--white);
  text-align: center;
  overflow: hidden;
  z-index: 1;
}

/* Contact Page & Forms Styles */
.contact-info-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light, #1a365d) 100%);
  color: white;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: 100%;
  box-sizing: border-box;
}

.contact-info-card h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 25px;
  border-bottom: 2px solid var(--secondary);
  padding-bottom: 12px;
  font-weight: 700;
}

.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-info-list li {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.contact-info-list li > i {
  font-size: 1.4rem;
  color: var(--secondary);
  margin-top: 4px;
  width: 28px;
  text-align: center;
  flex-shrink: 0;
}

.contact-form {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
}

.contact-form h2 {
  color: var(--primary);
  font-weight: 700;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  font-size: 0.95rem;
  color: #334155;
}

.form-control {
  width: 100%;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font-size: 1rem;
  font-family: var(--font-body);
  color: #1e293b;
  background: #f8fafc;
  outline: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-control:focus {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

select.form-control {
  cursor: pointer;
  appearance: auto;
}

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

/* Decorative Background Elements */
.page-header::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
  z-index: -1;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
  z-index: -1;
}

/* Dotted Pattern Overlay */
.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header .container::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 20px 20px;
  z-index: -1;
  opacity: 0.5;
}

.page-header h1 {
  color: var(--white);
  font-size: 3.2rem;
  margin-bottom: 30px;
  text-shadow: 0 4px 15px rgba(0,0,0,0.2);
  position: relative;
  display: inline-block;
  font-weight: 700;
}

/* Gold Accent Line under Title */
.page-header h1::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--secondary, #fbbf24);
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(var(--secondary-rgb, 251, 191, 36), 0.45);
}

.page-header p {
  font-size: 1.25rem;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Animations Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* Responsive */
@media (max-width: 992px) {
  .grid-3, .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  nav {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--white);
    flex-direction: column;
    padding: 30px;
    transition: left var(--transition-normal);
  }
  nav.active {
    left: 0;
  }
  nav ul {
    flex-direction: column;
    width: 100%;
    gap: 20px;
  }
  nav ul li {
    width: 100%;
  }
  nav ul li a {
    display: block;
    font-size: 1.2rem;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
