@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,600;1,700&family=Sarabun:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  /* Branding Colors */
  --primary-red: #A80000;
  --primary-red-hover: #800000;
  --primary-red-light: #FFF5F5;
  --primary-red-glow: rgba(168, 0, 0, 0.15);
  
  --gold-dark: #B89343;
  --gold-light: #D4AF37;
  --gold-soft: #F9F5EB;
  --gold-glow: rgba(212, 175, 55, 0.2);

  /* Layout Colors */
  --bg-light: #FAF9F6;
  --bg-white: #FFFFFF;
  --bg-dark: #1A0D0D;
  --bg-dark-accent: #2D1515;
  
  /* Text Colors */
  --text-dark: #2D3748;
  --text-medium: #4A5568;
  --text-muted: #718096;
  --text-light: #F7FAFC;
  --text-light-muted: #CBD5E0;

  /* Typography */
  --font-serif: 'Playfair Display', 'Lora', Georgia, serif;
  --font-sans: 'Inter', 'Sarabun', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Spacing & Borders */
  --border-radius: 8px;
  --border-radius-lg: 16px;
  --border-color: #E2E8F0;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 24px rgba(168, 0, 0, 0.06);
  --shadow-hover: 0 20px 32px rgba(168, 0, 0, 0.12);
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

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

a:hover {
  color: var(--primary-red-hover);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.3;
}

/* Base Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 80px 0;
}

/* Header Text Align Helpers */
.text-center { text-align: center; }
.text-right { text-align: right; }

/* Buttons & Elements */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: var(--transition-smooth);
  cursor: pointer;
  border: 2px solid transparent;
  font-family: var(--font-sans);
}

.btn-primary {
  background-color: var(--primary-red);
  color: var(--text-light);
  box-shadow: 0 4px 10px rgba(168, 0, 0, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-red-hover);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(168, 0, 0, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--gold-dark);
  border-color: var(--gold-dark);
}

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

.btn-white {
  background-color: var(--bg-white);
  color: var(--primary-red);
  box-shadow: var(--shadow-md);
}

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

/* Decorative Divider */
.sacred-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0 35px;
}

.sacred-divider::before,
.sacred-divider::after {
  content: "";
  height: 1px;
  width: 80px;
  background: linear-gradient(90deg, transparent, var(--gold-dark));
}

.sacred-divider::after {
  background: linear-gradient(-90deg, transparent, var(--gold-dark));
}

.sacred-cross {
  color: var(--gold-dark);
  font-size: 1.2rem;
  margin: 0 15px;
  display: inline-block;
  transform: rotate(0deg);
  transition: var(--transition-smooth);
}

/* Top Bar */
.top-bar {
  background-color: var(--bg-dark);
  color: var(--text-light-muted);
  padding: 8px 0;
  font-size: 0.8rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  font-style: italic;
  font-family: var(--font-serif);
}

.top-bar-right {
  display: flex;
  gap: 20px;
  align-items: center;
}

.top-bar-right a {
  color: var(--text-light-muted);
}

.top-bar-right a:hover {
  color: var(--gold-light);
}

/* Main Navigation Header */
.main-header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  border-bottom: 2px solid var(--gold-soft);
  transition: var(--transition-smooth);
}

.main-header.scrolled {
  padding: 4px 0;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-link {
  display: flex;
  align-items: center;
  height: 60px;
  text-decoration: none;
}

.logo-link img,
.logo-link .custom-logo {
  height: 100%;
  width: auto;
  transition: var(--transition-smooth);
}

.site-title {
  font-family: var(--font-serif);
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.site-title a {
  color: var(--primary-red);
}

.site-title a:hover {
  color: var(--primary-red-hover);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  height: 100%;
  align-items: center;
}

/* Navigation Menu Items (WordPress & Demo) */
.nav-menu li {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-menu li a,
.nav-link {
  color: var(--text-medium);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  transition: var(--transition-smooth);
}

/* Hover sliding underline */
.nav-menu li a::before,
.nav-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-red);
  transition: var(--transition-smooth);
}

.nav-menu li:hover > a {
  color: var(--primary-red);
}

.nav-menu li:hover > a::before,
.nav-link:hover::before {
  width: 100%;
}

/* Active Nav Item Underline */
.nav-menu li.current-menu-item > a,
.nav-menu li.current_page_item > a,
.nav-item.current-menu-item .nav-link {
  color: var(--primary-red);
}

.nav-menu li.current-menu-item > a::before,
.nav-menu li.current_page_item > a::before,
.nav-item.current-menu-item .nav-link::before {
  width: 100%;
  background-color: var(--gold-dark);
}

/* Dropdown Arrow Indicator (Chevron) */
.nav-menu li.menu-item-has-children > a::after,
.nav-menu li.dropdown > a::after,
.nav-item.dropdown > .nav-link::after {
  content: "▾";
  font-size: 0.75rem;
  margin-left: 6px;
  display: inline-block;
  transition: var(--transition-smooth);
  color: var(--text-muted);
  font-weight: normal;
}

.nav-menu li.menu-item-has-children:hover > a::after,
.nav-menu li.dropdown:hover > a::after,
.nav-item.dropdown:hover > .nav-link::after {
  transform: rotate(180deg);
  color: var(--primary-red);
}

/* Dropdown Sub-menu */
.nav-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background-color: var(--bg-white);
  box-shadow: var(--shadow-lg);
  border-radius: var(--border-radius);
  border-top: 3px solid var(--primary-red);
  list-style: none;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  padding: 10px 0;
  z-index: 1000;
}

/* Show Sub-menu on Hover (for larger screens) */
.nav-menu li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Reset sub-menu list item height and style */
.nav-menu .sub-menu li {
  width: 100%;
  height: auto;
  display: block;
}

.nav-menu .sub-menu li a {
  display: block;
  padding: 10px 20px;
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 500;
  width: 100%;
}

.nav-menu .sub-menu li a::before {
  display: none; /* Hide hover underline in sub-menus */
}

.nav-menu .sub-menu li a:hover {
  background-color: var(--primary-red-light);
  color: var(--primary-red);
  padding-left: 25px;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.mobile-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  margin-bottom: 5px;
  transition: var(--transition-smooth);
}

.mobile-toggle span:last-child {
  margin-bottom: 0;
}

/* Hero Section */
.hero-section {
  position: relative;
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 140px 0 120px;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 580px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  filter: scale(1.05);
  transition: var(--transition-slow);
}

.hero-section:hover .hero-bg {
  opacity: 0.4;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(45,21,21,0.2) 0%, rgba(26,13,13,0.9) 80%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
}

.hero-subtitle {
  font-family: var(--font-serif);
  color: var(--gold-light);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  line-height: 1.2;
  margin-bottom: 25px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  color: var(--text-light);
}

.hero-title span {
  color: var(--gold-light);
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-light-muted);
  margin-bottom: 35px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* President Section (Message) */
.president-section {
  background-color: var(--bg-white);
  position: relative;
}

.president-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 50px;
  align-items: center;
}

.president-image-wrapper {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 3px solid var(--gold-dark);
}

.president-image-wrapper::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid var(--gold-light);
  border-radius: calc(var(--border-radius-lg) - 8px);
  pointer-events: none;
}

.president-content h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.president-title {
  color: var(--gold-dark);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 25px;
  display: block;
}

.president-text {
  color: var(--text-medium);
  font-size: 1.05rem;
  margin-bottom: 20px;
  text-indent: 40px;
  text-align: justify;
}

.president-signature {
  margin-top: 30px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.president-signature-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.2rem;
}

.president-signature-title {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Core Pillars (Missions) */
.pillars-section {
  background-color: var(--gold-soft);
  position: relative;
}

.section-header {
  max-width: 650px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-header h2 {
  font-size: 2.4rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.pillar-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  padding: 45px 35px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--gold-dark);
  transition: var(--transition-smooth);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: var(--primary-red-light);
  z-index: 1;
  transition: var(--transition-smooth);
}

.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-top-color: var(--primary-red);
}

.pillar-card:hover::before {
  height: 100%;
}

.pillar-card-content {
  position: relative;
  z-index: 2;
}

.pillar-icon-wrapper {
  width: 70px;
  height: 70px;
  background-color: var(--gold-soft);
  color: var(--gold-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 1.8rem;
  transition: var(--transition-smooth);
  border: 1px solid rgba(184, 147, 67, 0.3);
}

.pillar-card:hover .pillar-icon-wrapper {
  background-color: var(--primary-red);
  color: var(--text-light);
  transform: rotateY(180deg);
}

.pillar-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.pillar-card p {
  color: var(--text-medium);
  font-size: 0.95rem;
  line-height: 1.5;
}

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

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.post-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-red-glow);
}

.post-thumbnail {
  position: relative;
  height: 200px;
  overflow: hidden;
  background-color: var(--bg-dark);
}

.post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.post-card:hover .post-thumbnail img {
  transform: scale(1.08);
}

.post-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--primary-red);
  color: var(--text-light);
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
}

.post-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.post-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  gap: 15px;
}

.post-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.post-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
  line-height: 1.4;
  font-family: var(--font-sans);
  font-weight: 700;
}

.post-title a {
  color: var(--text-dark);
}

.post-title a:hover {
  color: var(--primary-red);
}

.post-excerpt {
  color: var(--text-medium);
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.post-readmore {
  margin-top: auto;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-red);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.post-readmore:hover {
  color: var(--primary-red-hover);
}

/* Resources & Academic Documents Section */
.resources-section {
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-color);
}

.resources-grid {
  display: grid;
  grid-template-columns: 1.6fr 1.4fr;
  gap: 50px;
}

.document-list {
  background-color: var(--bg-white);
  padding: 40px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.document-list h3 {
  font-size: 1.6rem;
  margin-bottom: 25px;
  border-bottom: 2px solid var(--gold-dark);
  padding-bottom: 10px;
}

.doc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px dashed var(--border-color);
}

.doc-item:last-child {
  border-bottom: none;
}

.doc-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.doc-icon {
  font-size: 1.5rem;
  color: var(--primary-red);
  background-color: var(--primary-red-light);
  width: 45px;
  height: 45px;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.doc-details h4 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 3px;
}

.doc-details span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.doc-download-btn {
  color: var(--gold-dark);
  border: 1px solid var(--gold-dark);
  padding: 6px 14px;
  border-radius: var(--border-radius);
  font-size: 0.8rem;
  font-weight: 600;
}

.doc-download-btn:hover {
  background-color: var(--gold-dark);
  color: var(--text-light);
}

/* Events Calendar Section */
.events-sidebar {
  background-color: var(--bg-white);
  padding: 40px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.events-sidebar h3 {
  font-size: 1.6rem;
  margin-bottom: 25px;
  border-bottom: 2px solid var(--gold-dark);
  padding-bottom: 10px;
}

.event-item {
  display: flex;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
}

.event-item:last-child {
  border-bottom: none;
}

.event-date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-red-light);
  color: var(--primary-red);
  border-radius: var(--border-radius);
  width: 60px;
  height: 65px;
  text-align: center;
  flex-shrink: 0;
  border: 1px solid rgba(168, 0, 0, 0.1);
}

.event-day {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.1;
}

.event-month {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
}

.event-info h4 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.event-time-loc {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Call to Action Banner */
.cta-banner {
  background-color: var(--bg-dark);
  background-image: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-accent) 100%);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
  border-top: 2px solid var(--gold-dark);
  border-bottom: 2px solid var(--gold-dark);
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at bottom right, rgba(212,175,55,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-content h2 {
  font-size: 2.2rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.cta-content p {
  color: var(--text-light-muted);
  font-size: 1.1rem;
}

/* Footer Styles */
.main-footer {
  background-color: var(--bg-dark);
  color: var(--text-light-muted);
  padding: 80px 0 0;
  font-size: 0.9rem;
  border-top: 4px solid var(--primary-red);
}

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

.footer-widget-title {
  color: var(--text-light);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-widget-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--gold-dark);
}

.footer-widget-about p {
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-logo {
  max-width: 250px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px;
  border-radius: 4px;
}

.footer-widget-links ul {
  list-style: none;
}

.footer-widget-links ul li {
  margin-bottom: 12px;
}

.footer-widget-links ul li a {
  color: var(--text-light-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-widget-links ul li a:hover {
  color: var(--gold-light);
  padding-left: 5px;
}

.footer-widget-contact ul {
  list-style: none;
}

.footer-widget-contact ul li {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  align-items: flex-start;
}

.footer-contact-icon {
  color: var(--gold-dark);
  font-size: 1.1rem;
}

/* Footer Bottom */
.footer-bottom {
  background-color: #0E0707;
  padding: 25px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.8rem;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  color: var(--text-light-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: var(--text-light-muted);
}

.footer-bottom-links a:hover {
  color: var(--gold-light);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .news-grid,
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-grid .post-card:last-child,
  .pillars-grid .pillar-card:last-child {
    grid-column: span 2;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .resources-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
  .top-bar {
    display: none;
  }
  .main-header .container {
    height: 70px;
  }
  .logo-link {
    height: 48px;
  }
  .mobile-toggle {
    display: block;
  }
  
  /* Responsive Navigation Mobile Menu */
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: calc(100vh - 70px);
    background-color: var(--bg-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
    gap: 0;
    box-shadow: 4px 0 15px rgba(0,0,0,0.1);
    transition: var(--transition-smooth);
    z-index: 99;
    overflow-y: auto;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  /* Mobile Navigation Menu Items */
  .nav-menu li {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid var(--border-color);
  }
  
  .nav-menu li a,
  .nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    font-size: 1.05rem;
    width: 100%;
  }
  
  .nav-menu li a::before,
  .nav-link::before {
    display: none; /* Hide hover underline line on mobile */
  }
  
  .nav-menu li.menu-item-has-children > a::after,
  .nav-menu li.dropdown > a::after,
  .nav-item.dropdown > .nav-link::after {
    margin-left: auto;
    font-size: 0.85rem;
  }
  
  .nav-menu li.dropdown-active > a::after,
  .nav-item.dropdown-active > .nav-link::after {
    transform: rotate(180deg);
  }
  
  .nav-menu .sub-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border-radius: 0;
    border-top: none;
    padding: 0 0 15px 15px;
    display: none;
    width: 100%;
  }
  
  .nav-menu li.dropdown-active > .sub-menu,
  .nav-item.dropdown-active > .sub-menu {
    display: block;
  }

  .nav-menu li:hover > .sub-menu {
    transform: none;
  }

  /* Hero Section Mobile */
  .hero-section {
    padding: 100px 0 80px;
    min-height: 450px;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .hero-description {
    font-size: 1rem;
  }
  .hero-actions {
    flex-direction: column;
    gap: 12px;
    padding: 0 20px;
  }
  .btn {
    width: 100%;
  }

  /* Grid Layouts Mobile */
  .president-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .president-image-wrapper {
    max-width: 320px;
    margin: 0 auto;
  }
  .pillars-grid,
  .news-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .news-grid .post-card:last-child,
  .pillars-grid .pillar-card:last-child {
    grid-column: span 1;
  }
  .cta-flex {
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom .container {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}
