/*
Theme Name: SPS Marketing
Template: astra
Version: 1.0
Description: Optimized landing page cho nail salon và restaurant marketing
*/

/* ===== CSS VARIABLES ===== */
:root {
  --primary: #0b4f7a;
  --primary-dark: #083d5f;
  --primary-light: #1a6fa0;
  --secondary: #10b981;
  --accent: #d97706;
  --accent-restaurant: #2563eb;
  --text-dark: #0b1720;
  --text-muted: #6b7280;
  --bg-light: #f9fafb;
  --border: #e5e7eb;
  --white: #ffffff;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
}

/* ===== RESET & BASE ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  background: var(--white);
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 16px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* ===== HEADER ===== */
.site-header {
  background: #fff;
  padding: 0;
  color: black;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  gap: 40px;
}

.site-title {
  position: absolute;
  left: 20px;
  margin: 0;
  z-index: 2;
}

.site-title img {
  width: 130px;
  height: 130px;
  transition: transform 0.3s ease;
}

/* ===== NAVIGATION ===== */
.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.main-nav ul,
.main-nav li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav > ul.menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
}

.main-nav > ul.menu > li {
  position: relative;
}

.main-nav > ul.menu > li > a {
  color: black;
  font-size: 18px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  padding: 10px 20px;
  display: block;
  transition: all 0.3s ease;
  position: relative;
}

.main-nav > ul.menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: black;
  transition: width 0.3s ease;
}

.main-nav > ul.menu > li > a:hover {
  background: transparent;
  color: black;
  transform: none;
}

.main-nav > ul.menu > li > a:hover::after {
  width: 100%;
}

/* Sub-menu */
.main-nav ul.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: rgb(255, 255, 255);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  pointer-events: auto !important;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  overflow: hidden;
  padding: 2px 0;
  margin-top: 0;
}

.main-nav ul.sub-menu li {
  display: block;
  width: 100%;
}

.main-nav ul.sub-menu li a {
  color: #333;
  padding: 12px 20px;
  text-decoration: none;
  display: block;
  transition: all 0.3s ease;
  font-size: 16px;
  font-weight: 500;
  pointer-events: auto !important;
  cursor: pointer !important;
}

.main-nav ul.sub-menu li a:hover {
  background: #f5f5f5;
  color: #0b4f7a;
  padding-left: 28px;
  transform: translateX(8px);

}

.main-nav ul.menu > li:hover > ul.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Submenu indicator (arrow) */
.main-nav ul.menu > li.menu-item-has-children > a::before {
  content: '';
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.5s ease;
}
.main-nav ul.menu > li.menu-item-has-children:hover > a::before {
  transform: translateY(-50%) rotate(180deg);
}

/* ===== LANGUAGE SWITCHER ===== */
.header-lang-switcher {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10000;
}

.lang-dropdown {
  position: relative;
}

.lang-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: 20px;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: black;
  transition: all 0.3s ease;
}

.lang-dropdown-btn:hover {
  background: #f0f9ff;
  border-color: black;
  color:black;
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(11, 79, 122, 0.2);
}

.current-lang-flag {
  font-size: 24px;
  line-height: 1;
}

.dropdown-arrow {
  font-size: 12px;
  transition: transform 0.3s ease;
  color: var(--primary);
}

.lang-dropdown-btn:hover .dropdown-arrow {
  transform: translateY(2px);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: 14px;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  list-style: none;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 9999;
}

.lang-dropdown-menu.show {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.lang-option:hover {
  background: #f0f9ff;
  transform: translateY(-8px);
  transform: translateX(8px);
  border-top-right-radius: 14px;
  border-bottom-right-radius:14px;
  color: var(--primary);
}

.lang-option.active {
  background: #e0f2fe;
  color: var(--primary);
  font-weight: 700;
}

/* ===== HAMBURGER MENU ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10001;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: black;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger.active {
  z-index: 10002;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(10.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-10.5px) rotate(-45deg);
}

/* Menu Overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 280px; /* Bắt đầu từ bên phải của menu */
  width: calc(100% - 280px); /* Chỉ che phần còn lại của màn hình */
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.4s ease;
  z-index: 9998;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
/* ===== HERO SLIDESHOW ===== */
.hero-slideshow {
  position: relative;
  width: 100%;
  height: 90vh;
  min-height: 550px;
  overflow: hidden;
  background: #f5f5f5;
}

.slideshow-container {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Individual Slides */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

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

.slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Overlay for better text readability */
.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.55) 50%, transparent 100%);
  z-index: 1;
}


/* Slide Content - Text Overlay */
.slide-content {
  position: relative;
  z-index: 2;
  max-width: 950px;
  padding: 60px 80px;
  margin-left: 5%;
  color: white;
}

/* Dark text for slide 2 */
.slide:nth-child(2) .slide-content {
  color: white;
}

.slide-content h1 {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 25px 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.slide:nth-child(2) .slide-content h1 {
  text-shadow: none;
}

.slide-content p {
  font-size: 20px;
  line-height: 1.6;
  margin: 0 0 15px 0;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.slide:nth-child(2) .slide-content p {
  text-shadow: none;
}

.slide-content .slide-question {
  font-weight: 600;
  margin-top: 25px;
  margin-bottom: 35px;
}

.slide-content h1{
  color: white;
}
.slide-content .cta-button {
  display: inline-block;
  background: white;
  color: black;
  padding: 16px 45px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  margin-top: 10px;
}


.slide-content .cta-button:hover {
  background: #1a1a1a;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Navigation Dots */
.slideshow-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.dot.active {
  background: white;
  border-color: rgba(255, 255, 255, 0.3);
  width: 40px;
  border-radius: 6px;
}

/* Social Media Icons - Inside Slide */
.social-icons-slide {
  position: absolute;
  top:150px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 10;
}

.social-icon {
  width: 56px;
  height: 56px;
  background: #3d3d3d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-icon svg {

  width: 28px;
  height: 28px;
}

.social-icon:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.social-icon.facebook:hover {
  background: #1877f2;
  color:white;
}

.social-icon.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color:white;
}

.social-icon.youtube:hover {
  background: #ff0000;
  color:white;
}

.social-icon.tiktok:hover {
  background: #000000;
  color:white;
}

/* ===================================================
   WHY CHOOSE SPS SECTION
   ================================================== */

.why-sps-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.why-sps-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  font-size: 42px;
  font-weight: 700;
  color: #0b4f7a;
  margin: 0 0 60px 0;
  line-height: 1.3;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin: 0 auto;
}

/* Feature Card */
.feature-card {
  background: white;
  border-radius: 24px;
  padding: 50px 40px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #0b4f7a, #1a6fa0);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  border-color: rgba(11, 79, 122, 0.2);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

/* Feature Icon */
.feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  transition: all 0.3s ease;
}

.feature-icon svg {
  width: 36px;
  height: 36px;
  color: white;
}

.feature-icon.blue {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.feature-icon.orange {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.feature-icon.green {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

/* Feature Title */
.feature-title {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 16px 0;
  line-height: 1.3;
}

/* Feature Description */
.feature-description {
  font-size: 16px;
  line-height: 1.7;
  color: #6b7280;
  margin: 0;
}


/* Section wrapper */
#two.wrapper.alt.style2 {
  background-color: transparent;
  padding: 0;
}

/* Spotlight sections */
.spotlight {
  display: flex;
  align-items: stretch;
  min-height: 400px;
  position: relative;
}


/* Alternate layout for even spotlights */
.spotlight:nth-child(even) {
  flex-direction: row-reverse;
}

/* Alternating background colors */
.spotlight:nth-child(odd) .content {
  background-color: rgb(21, 21, 21); /* Màu đen cho section lẻ */
}

.spotlight:nth-child(even) .content {
  background-color: #232323; /* Màu đỏ cho section chẵn */
}

/* Image container */
.spotlight .image {
  flex: 0 0 40%;
  position: relative;
  overflow: hidden;
}

.spotlight .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Content container */
.spotlight .content {
  flex: 1;
  background-color: #2e3842;
  color: #ffffff;
  padding: 4rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.spotlight .content h2 {
  color: #ffffff;
  text-transform: uppercase;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.4;
  margin: 0 0 1.5rem 0;
}

.spotlight .content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.8;
  margin: 0;
}


/* ===================================================
   CTA CONTACT SECTION
   ================================================== */

.cta-contact-section {
  position: relative;
  width: 100%;
  min-height: 500px;
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Background Image */
.cta-background-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}


/* Content Wrapper */
.cta-content-wrapper {
  position: relative;
  z-index: 2;
  text-align: left;
  padding: 80px 40px;
  max-width: 800px;
  margin: 0 auto;
}

/* CTA Title */
.cta-title {
  font-size: 56px;
  font-weight: 700;
  color: black;
  margin: 0 0 20px 0;
  line-height: 1.2;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* CTA Subtitle */
.cta-subtitle {
  font-size: 22px;
  color: black;
  margin: 0 0 40px 0;
  line-height: 1.5;
  opacity: 0.95;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* CTA Contact Button */
.cta-contact-btn {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: black;
  padding: 18px 50px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  text-transform: capitalize;
}

.cta-contact-btn:hover {
  background: white;
  color: #0b4f7a;
  border-color: white;
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

/* ===================================================
   CONTACT SECTION
   ================================================== */

.contact-section {
  padding: 80px 0;
  background: #f9fafb;
}

.contact-section .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Contact Form Area */
.contact-form-area {
  background: white;
  padding: 50px 40px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-title {
  font-size: 42px;
  font-weight: 700;
  color: #8B0000;
  margin: 0 0 10px 0;
  line-height: 1.2;
  position: relative;
  padding-bottom: 15px;
}

.contact-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background: #8B0000;
}

/* Contact Form 7 Styling */
.contact-form {
  margin-top: 30px;
}

.contact-form .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form label {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: #2d3748;
  margin-bottom: 8px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  font-size: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  color: #2d3748;
  transition: all 0.3s ease;
  font-family: inherit;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #0b4f7a;
  box-shadow: 0 0 0 3px rgba(11, 79, 122, 0.1);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form input[type="submit"] {
  width: 100%;
  padding: 16px;
  background: #e5e7eb;
  color: #4b5563;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.contact-form input[type="submit"]:hover {
  background: #0b4f7a;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(11, 79, 122, 0.3);
}

/* Contact Form 7 Response Messages */
.contact-form .wpcf7-response-output {
  margin: 20px 0 0 0;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 14px;
}

.contact-form .wpcf7-validation-errors {
  border: 1px solid #f59e0b;
  background: #fffbeb;
  color: #92400e;
}

.contact-form .wpcf7-mail-sent-ok {
  border: 1px solid #10b981;
  background: #ecfdf5;
  color: #065f46;
}

/* Map Area */
.contact-map-area {
  position: relative;
  height: 100%;
  min-height: 600px;
}

.map-info-card {
  position: absolute;
  top: 20px;
  left: 20px;
  background: white;
  padding: 20px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  z-index: 10;
  max-width: 280px;
}

.map-location-title {
  font-size: 18px;
  font-weight: 700;
  color: #2d3748;
  margin: 0 0 8px 0;
}

.map-location-address {
  font-size: 14px;
  color: #6b7280;
  margin: 0 0 12px 0;
  line-height: 1.5;
}

.map-directions-link {
  display: inline-block;
  font-size: 14px;
  color: #0b4f7a;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.map-directions-link:hover {
  color: #083d5f;
  text-decoration: underline;
}

.map-container {
  width: 600px;
  height: 600px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.map-container iframe {
  display: block;
}

/* ===== FOOTER ===== */
.custom-footer {
  background: #fff;
  color: black;
  font-family: "Segoe UI", sans-serif;
  border-top: 0.5px solid #8dc6ff;
  border-top-right-radius: 20px;
  border-top-left-radius: 20px;
  margin-top: 60px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 40px 20px;
  gap: 32px;
}

.footer-col {
  flex: 1 1 250px;
  min-width: 250px;
}

.footer-logo {
  width: 250px;
  height: 250px;
  margin-bottom: 10px;
}

.footer-col h3 {
  text-align:left;
  font-size: 20px;
  color: black;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col p,
.footer-col li {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 10px;
  text-align:left;
}

.footer-col ul {
  text-align:left;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col a {
  color: black;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-col a:hover {
  color: #D98760;
  text-decoration: underline;
}

.footer-social {
  text-align:left;
  margin-left: 50px;
  margin-top: 16px;
}

.footer-social a {
  text-align:left;
  display: inline-block;
  margin-right: 12px;
  font-size: 24px;
  color: black;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  color: #D98760;
  transform: scale(1.2) rotate(5deg);
}

.footer-bottom {
  text-align: center;
  border-top: 0.5px solid black;
  background: #fff;
  padding: 20px 0;
  font-size: 14px;
  margin-top: 20px;
  color: black;
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

/* ==========================================================
   RESPONSIVE CSS - CONSOLIDATED
   ========================================================== */

/* ===== TABLET (769px - 1024px) ===== */
@media (min-width: 769px) and (max-width: 1024px) {
  /* Header */
  .site-title img {
    width: 100px;
    height: 100px;
  }
  
  .main-nav > ul.menu {
    gap: 20px;
  }
  
  .main-nav > ul.menu > li > a {
    font-size: 16px;
    padding: 8px 16px;
  }
  
  /* Slideshow */
  .hero-slideshow {
    min-height: 550px;
  }
  
  .slide-content {
    padding: 50px 60px;
    max-width: 800px;
  }
  
  .slide-content h1 {
    font-size: 56px;
  }
  
  .slide-content p {
    font-size: 19px;
  }
  
  .slide-content .cta-button {
    padding: 16px 42px;
    font-size: 18px;
  }
  
  .slideshow-dots {
    bottom: 40px;
    padding: 12px 24px;
    gap: 14px;
  }
  
  .dot {
    width: 12px;
    height: 12px;
  }
  
  .dot.active {
    width: 44px;
  }
  
  .social-icons-slide {
    right: 25px;
    gap: 14px;
  }
  
  .social-icon {
    width: 52px;
    height: 52px;
  }
  
  .social-icon svg {
    width: 26px;
    height: 26px;
  }
  
  /* Why SPS Section */
  .why-sps-section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 36px;
    margin-bottom: 50px;
  }
  
  .features-grid {
    gap: 25px;
  }
  
  .feature-card {
    padding: 40px 30px;
  }
  
  .feature-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 25px;
  }
  
  .feature-icon svg {
    width: 32px;
    height: 32px;
  }
  
  .feature-title {
    font-size: 22px;
  }
  
  .feature-description {
    font-size: 15px;
  }
  
  /* Services Section */
  .services-section {
    padding: 60px 0;
  }
  
  .services-section .section-title {
    font-size: 42px;
    margin-bottom: 50px;
  }
  
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
  }
  
  .service-image {
    height: 260px;
  }
  
  .service-content {
    padding: 30px 25px;
  }
  
  .service-title {
    font-size: 24px;
  }
  
  .service-description {
    font-size: 15px;
  }
  /* CTA Section */
  .cta-contact-section {
    min-height: 450px;
  }
  
  .cta-content-wrapper {
    padding: 60px 40px;
  }
  
  .cta-title {
    font-size: 48px;
  }
  
  .cta-subtitle {
    font-size: 20px;
    margin-bottom: 35px;
  }
  
  .cta-contact-btn {
    padding: 16px 45px;
    font-size: 17px;
  }
}

/* ===== MOBILE (≤768px) ===== */
@media (max-width: 768px) {
  body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
  }
  
  /* Header */
  .site-header .container {
    padding: 15px 20px;
    position: relative;
    flex-wrap: nowrap !important;
  }
  
  .site-title {
    position: relative;
    left: 0;
    z-index: 10001;
  }
  
  .site-title img {
    width: 80px;
    height: 80px;
  }
  
  .hamburger {
    display: flex;
  }
  
  /* Language Switcher */
  .header-lang-switcher {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 10002;
  }
  
  .lang-dropdown-btn {
    padding: 8px 12px;
    font-size: 14px;
  }
  
  .current-lang-flag {
    font-size: 20px;
  }
  
  .current-lang-text,
  .dropdown-arrow {
    display: none;
  }
  
  .lang-dropdown-menu {
    right: 0;
    left: auto;
    min-width: 160px;
  }
  
  .lang-option {
    padding: 10px 14px;
    font-size: 14px;
  }
  
  /* Mobile Navigation */
  .main-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: #1a1a1a;
    padding: 100px 0 30px;
    overflow-y: auto;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
  }
  
  .main-nav.active {
    left: 0;
  }
  
  .main-nav > ul.menu {
    flex-direction: column;
    gap: 0;
    padding: 0;
  }
  
  .main-nav > ul.menu > li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .main-nav > ul.menu > li > a {
    display: block;
    padding: 16px 24px;
    font-size: 16px;
    border-radius: 0;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
  }
  
  .main-nav > ul.menu > li > a::after {
    display: none;
  }
  
  .main-nav > ul.menu > li > a:hover {
    background: #D98760;
    color: white;
    transform: translateX(8px);
    padding-left: 32px;
  }
  
  .main-nav ul.sub-menu {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    box-shadow: none;
    border-radius: 0;
    background: #252525;
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .main-nav ul.menu > li.menu-item-has-children > a::after {
    content: "▼";
    float: right;
    font-size: 12px;
    transition: transform 0.3s ease;
    display: inline-block;
  }
  
  .main-nav ul.menu > li.menu-item-has-children.active > a::after {
    transform: rotate(180deg);
  }
  
  .main-nav ul.menu > li.menu-item-has-children.active > ul.sub-menu {
    display: block;
    max-height: 500px;
  }
  
  .main-nav ul.sub-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .main-nav ul.sub-menu li:last-child {
    border-bottom: none;
  }
  
  .main-nav ul.sub-menu li a {
    padding: 12px 24px 12px 40px;
    font-size: 14px;
    color: #ccc;
  }
  
  .main-nav ul.sub-menu li a:hover {
    background: #D98760;
    color: white;
    padding-left: 48px;
  }
  
  /* Slideshow */
  .hero-slideshow {
    height: 85vh;
    min-height: 500px;
  }
  
  .slide {
    justify-content: center;
  }
  
  .slide-content {
    padding: 40px 30px;
    max-width: 90%;
    margin-left: 0;
    text-align: center;
  }
  
  .slide-overlay {
    background: rgba(0, 0, 0, 0.6);
  }
  
  .slide-overlay-custom {
    background: rgba(233, 213, 192, 0.93);
  }
  
  .slide-content h1 {
    font-size: 42px;
  }
  
  .slide-content p {
    font-size: 17px;
  }
  
  .slide-content .slide-question {
    font-size: 18px;
  }
  
  .slide-content .cta-button {
    padding: 15px 38px;
    font-size: 17px;
  }
  
  .slideshow-dots {
    bottom: 35px;
    padding: 10px 20px;
    gap: 14px;
  }
  
  .dot {
    width: 12px;
    height: 12px;
  }
  
  .dot.active {
    width: 42px;
  }
  
  .social-icons-slide {
    right: 20px;
    top: auto;
    bottom: 100px;
    gap: 12px;
  }
  
  .social-icon {
    width: 48px;
    height: 48px;
  }
  
  .social-icon svg {
    width: 24px;
    height: 24px;
  }
  
  /* Why SPS Section */
  .why-sps-section {
    padding: 50px 0;
  }
  
  .section-title {
    font-size: 30px;
    margin-bottom: 40px;
    padding: 0 10px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .feature-card {
    padding: 35px 25px;
    border-radius: 20px;
  }
  
  .feature-icon {
    width: 65px;
    height: 65px;
    border-radius: 16px;
    margin-bottom: 20px;
  }
  
  .feature-icon svg {
    width: 30px;
    height: 30px;
  }
  
  .feature-title {
    font-size: 20px;
    margin-bottom: 14px;
  }
  
  .feature-description {
    font-size: 15px;
    line-height: 1.6;
  }
  
  /* Services Section */
  .services-section {
    padding: 50px 0;
  }
  
  .services-section .section-title {
    font-size: 36px;
    margin-bottom: 40px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .service-card {
    border-radius: 24px;
  }
  
  .service-image {
    height: 240px;
  }
  
  .service-content {
    padding: 28px 22px;
  }
  
  .service-title {
    font-size: 23px;
    margin-bottom: 10px;
  }
  
  .service-description {
    font-size: 15px;
  }
  /* CTA Section */
  .cta-contact-section {
    min-height: 400px;
  }
  
  .cta-content-wrapper {
    padding: 60px 30px;
    text-align: center;
  }
  
  .cta-title {
    font-size: 38px;
  }
  
  .cta-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
  }
  
  .cta-contact-btn {
    padding: 15px 40px;
    font-size: 16px;
  }
  
  .contact-section {
    padding: 60px 0;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .contact-form-area {
    padding: 40px 35px;
    max-width: 100%;
  }
  
  .contact-title {
    font-size: 36px;
    margin-bottom: 25px;
  }
  
  .contact-form .wpcf7-form {
    gap: 18px;
  }
  
  .contact-form label {
    font-size: 15px;
    margin-bottom: 7px;
  }
  
  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form input[type="tel"],
  .contact-form textarea {
    padding: 13px 16px;
    font-size: 15px;
  }
  
  .contact-form textarea {
    min-height: 140px;
  }
  
  .contact-form input[type="submit"] {
    padding: 15px;
    font-size: 15px;
  }
  
  /* Map Area */
  .contact-map-area {
    min-height: 500px;
    order: 2;
  }
  
  .map-container {
    width: 100%;
    height: 500px;
  }
  
  .map-info-card {
    max-width: 280px;
    padding: 18px 22px;
  }
  
  .map-location-title {
    font-size: 17px;
  }
  
  .map-location-address {
    font-size: 13px;
    margin-bottom: 10px;
  }
  
  .map-directions-link {
    font-size: 13px;
  }
}

/* ===== MOBILE LARGE (481px - 768px) ===== */
@media (min-width: 481px) and (max-width: 768px) {
  .contact-section {
    padding: 50px 0;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-form-area {
    padding: 35px 30px;
    border-radius: 16px;
  }
  
  .contact-title {
    font-size: 32px;
    margin-bottom: 20px;
    padding-bottom: 12px;
  }
  
  .contact-title::after {
    width: 70px;
    height: 3px;
  }
  
  .contact-form .wpcf7-form {
    gap: 16px;
    margin-top: 25px;
  }
  
  .contact-form label {
    font-size: 15px;
    margin-bottom: 6px;
    font-weight: 600;
  }
  
  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form input[type="tel"],
  .contact-form textarea {
    padding: 12px 16px;
    font-size: 15px;
    border-radius: 8px;
  }
  
  .contact-form textarea {
    min-height: 130px;
  }
  
  .contact-form input[type="submit"] {
    padding: 14px;
    font-size: 15px;
    margin-top: 8px;
    border-radius: 8px;
  }
  
  /* Response Messages */
  .contact-form .wpcf7-response-output {
    margin: 18px 0 0 0;
    padding: 10px 16px;
    font-size: 13px;
  }
  
  /* Map Area */
  .contact-map-area {
    min-height: 450px;
    position: relative;
  }
  
  .map-container {
    width: 100%;
    height: 450px;
    border-radius: 16px;
  }
  
  .map-info-card {
    top: 15px;
    left: 15px;
    max-width: calc(100% - 30px);
    padding: 16px 20px;
    border-radius: 12px;
  }
  
  .map-location-title {
    font-size: 16px;
    margin-bottom: 6px;
  }
  
  .map-location-address {
    font-size: 13px;
    margin-bottom: 10px;
    line-height: 1.4;
  }
  
  .map-directions-link {
    font-size: 13px;
  }
}

/* ===== EXTRA SMALL MOBILE (≤480px) ===== */
@media (max-width: 480px) {
  /* Header */
  .site-title img {
    width: 70px;
    height: 70px;
  }
  
  .hamburger {
    width: 26px;
    height: 20px;
  }
  
  .hamburger span {
    height: 2.5px;
  }
  
  .main-nav {
    width: 260px;
  }
  
  .main-nav > ul.menu > li > a {
    padding: 14px 20px;
    font-size: 15px;
  }
  
  .header-lang-switcher {
    right: 15px;
  }
  
  .lang-dropdown-btn {
    padding: 6px 10px;
  }
  
  .current-lang-flag {
    font-size: 18px;
  }
  
  .menu-overlay {
    left: 260px;
    width: calc(100% - 260px);
  }
  
  /* Slideshow */
  .hero-slideshow {
    height: 80vh;
    min-height: 450px;
  }
  
  .slide-content {
    padding: 30px 20px;
  }
  
  .slide-content h1 {
    font-size: 32px;
    margin-bottom: 20px;
  }
  
  .slide-content p {
    font-size: 15px;
    margin-bottom: 12px;
  }
  
  .slide-content .slide-question {
    font-size: 16px;
    margin-top: 20px;
    margin-bottom: 30px;
  }
  
  .slide-content .cta-button {
    padding: 13px 32px;
    font-size: 16px;
  }
  
  .slideshow-dots {
    bottom: 25px;
    padding: 8px 16px;
    gap: 12px;
  }
  
  .dot {
    width: 10px;
    height: 10px;
  }
  
  .dot.active {
    width: 36px;
  }
  
  .social-icons-slide {
    right: 15px;
    bottom: 85px;
    gap: 10px;
  }
  
  .social-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }
  
  .social-icon svg {
    width: 22px;
    height: 22px;
  }
  
  /* Why SPS Section */
  .why-sps-section {
    padding: 40px 0;
  }
  
  .section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  
  .feature-card {
    padding: 30px 20px;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
  }
  
  .feature-icon svg {
    width: 28px;
    height: 28px;
  }
  
  .feature-title {
    font-size: 19px;
  }
  
  .feature-description {
    font-size: 14px;
  }
  
  /* Services Section */
  .services-section {
    padding: 40px 0;
  }
  
  .services-section .section-title {
    font-size: 30px;
    margin-bottom: 35px;
  }
  
  .services-grid {
    gap: 20px;
  }
  
  .service-card {
    border-radius: 20px;
  }
  
  .service-image {
    height: 220px;
  }
  
  .service-content {
    padding: 25px 20px;
  }
  
  .service-title {
    font-size: 21px;
  }
  
  .service-description {
    font-size: 14px;
  }
  .contact-section {
    padding: 40px 0;
  }
  
  .contact-section .container {
    padding: 0 15px;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .contact-form-area {
    padding: 30px 20px;
    border-radius: 16px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  }
  
  .contact-title {
    font-size: 28px;
    margin-bottom: 15px;
    padding-bottom: 10px;
  }
  
  .contact-title::after {
    width: 60px;
    height: 2.5px;
  }
  
  .contact-form {
    margin-top: 20px;
  }
  
  .contact-form .wpcf7-form {
    gap: 14px;
  }
  
  .contact-form label {
    font-size: 14px;
    margin-bottom: 6px;
    font-weight: 600;
    color: #1a202c;
  }
  
  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form input[type="tel"],
  .contact-form textarea {
    padding: 11px 14px;
    font-size: 14px;
    border-radius: 8px;
    border: 1.5px solid #e2e8f0;
  }
  
  .contact-form input[type="text"]:focus,
  .contact-form input[type="email"]:focus,
  .contact-form input[type="tel"]:focus,
  .contact-form textarea:focus {
    border-color: #0b4f7a;
    box-shadow: 0 0 0 3px rgba(11, 79, 122, 0.08);
  }
  
  .contact-form textarea {
    min-height: 120px;
  }
  
  .contact-form input[type="submit"] {
    padding: 13px;
    font-size: 14px;
    margin-top: 6px;
    border-radius: 8px;
    font-weight: 700;
  }
  
  /* Response Messages */
  .contact-form .wpcf7-response-output {
    margin: 16px 0 0 0;
    padding: 10px 14px;
    font-size: 12px;
    border-radius: 6px;
  }
  
  /* Map Area */
  .contact-map-area {
    min-height: 400px;
    position: relative;
  }
  
  .map-container {
    width: 100%;
    height: 400px;
    border-radius: 16px;
  }
  
  .map-info-card {
    top: 12px;
    left: 12px;
    right: 12px;
    max-width: calc(100% - 24px);
    padding: 14px 16px;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
  }
  
  .map-location-title {
    font-size: 15px;
    margin-bottom: 6px;
  }
  
  .map-location-address {
    font-size: 12px;
    margin-bottom: 8px;
    line-height: 1.4;
  }
  
  .map-directions-link {
    font-size: 12px;
    font-weight: 700;
  }
}

/* ===== MOBILE EXTRA SMALL (≤360px) ===== */
@media (max-width: 360px) {
  .contact-section {
    padding: 35px 0;
  }
  
  .contact-form-area {
    padding: 25px 18px;
  }
  
  .contact-title {
    font-size: 24px;
    margin-bottom: 12px;
  }
  
  .contact-title::after {
    width: 50px;
  }
  
  .contact-form .wpcf7-form {
    gap: 12px;
  }
  
  .contact-form label {
    font-size: 13px;
  }
  
  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form input[type="tel"],
  .contact-form textarea {
    padding: 10px 12px;
    font-size: 13px;
  }
  
  .contact-form textarea {
    min-height: 100px;
  }
  
  .contact-form input[type="submit"] {
    padding: 12px;
    font-size: 13px;
  }
  
  .contact-map-area {
    min-height: 350px;
  }
  
  .map-container {
    height: 350px;
    border-radius: 14px;
  }
  
  .map-info-card {
    padding: 12px 14px;
  }
  
  .map-location-title {
    font-size: 14px;
  }
  
  .map-location-address {
    font-size: 11px;
  }
  
  .map-directions-link {
    font-size: 11px;
  }
}


/* Responsive design */
@media screen and (max-width: 980px) {
  .spotlight {
    flex-direction: column !important;
    min-height: auto;
  }
  
  .spotlight .image {
    flex: 0 0 300px;
  }
  
  .spotlight .content {
    padding: 3rem 2rem;
  }
}

@media screen and (max-width: 736px) {
  .spotlight .content {
    padding: 2rem 1.5rem;
  }
  
  .spotlight .content h2 {
    font-size: 1.35rem;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .site-header,
  .cta-section,
  .contact-form,
  .btn,
  .hamburger,
  .menu-overlay,
  .social-icons-slide,
  .slideshow-dots {
    display: none;
  }
  
  section {
    page-break-inside: avoid;
  }
}


/*--------------------------------------------------------------
# Blog Page Styles
--------------------------------------------------------------*/

/* Blog Hero Section */
.blog-hero {
    background: transparent;
    padding: 30px 0;
    text-align: center;
    color: black;
    margin-bottom: 10px;
}

.blog-title {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 15px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}



/*--------------------------------------------------------------
# Featured Posts Section (Xem thêm)
--------------------------------------------------------------*/
.featured-posts-section {
    padding: 40px 0 60px 0;
    background: #f8f9fa;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 30px 0;
    color: #2d3748;
}

.featured-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

/* Main Featured Card (Largest) */
.featured-card-main {
    grid-row: 1 / 3;
    grid-column: 1;
}

/* Secondary Featured Cards */
.featured-card-secondary {
    grid-column: 2;
}

.featured-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.featured-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Featured Card Image */
.featured-card-image {
    width: 100%;
    height: 100%;
    max-height: 300px;
    overflow: hidden;
    background: #f5f5f5;
    position: relative;
}

.featured-card-main .featured-card-image {
    max-height: 300px;
}

.featured-card-secondary .featured-card-image {
    max-height: 100px;
}

.featured-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.featured-card-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.featured-card-image-placeholder span {
    font-size: 80px;
    opacity: 0.9;
}

.featured-card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(102, 126, 234, 0.95);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Featured Card Content */
.featured-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.featured-card-main .featured-card-content {
    padding: 30px;
}

.featured-card-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.4;
    color: #2d3748;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-card-main .featured-card-title {
    font-size: 28px;
    -webkit-line-clamp: 3;
    margin-bottom: 15px;
}

.featured-card:hover .featured-card-title {
    color: #667eea;
}

.featured-card-excerpt {
    font-size: 15px;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-card-meta {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
    font-size: 13px;
    color: #666;
}

.featured-card-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Responsive for Featured Section */
@media (max-width: 992px) {
    .featured-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .featured-card-main,
    .featured-card-secondary {
        grid-row: auto;
        grid-column: 1;
    }
    
    .featured-card-main .featured-card-image {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .featured-card-main .featured-card-title {
        font-size: 24px;
    }
    
    .featured-card-title {
        font-size: 18px;
    }
}

/*--------------------------------------------------------------
# Blog Grid Section
--------------------------------------------------------------*/

/* Blog Container */
.blog-container {
    padding: 0 0 30px 0;
}

/* Blog Grid Layout */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Blog Card */
.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Blog Card Image */
.blog-card-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #f5f5f5;
    position: relative;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.blog-card-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.blog-card-image-placeholder span {
    font-size: 80px;
    opacity: 0.9;
}

/* Blog Card Content */
.blog-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #666;
}

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

.blog-card-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.4;
    color: #2d3748;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card:hover .blog-card-title {
    color: #667eea;
}

.blog-card-excerpt {
    font-size: 15px;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-card-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

.blog-card-readmore {
    color: #667eea;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.blog-card:hover .blog-card-readmore {
    color: #764ba2;
    transform: translateX(5px);
    display: inline-block;
}

/* No Posts Message */
.blog-no-posts {
    text-align: center;
    padding: 80px 20px;
}

.no-posts-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.blog-no-posts h2 {
    font-size: 32px;
    color: #2d3748;
    margin-bottom: 10px;
}

.blog-no-posts p {
    font-size: 18px;
    color: #718096;
}

/* Pagination */
.blog-pagination {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.blog-pagination .page-numbers {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-pagination .page-numbers li {
    display: inline-block;
}

.blog-pagination a,
.blog-pagination span {
    display: inline-block;
    padding: 12px 18px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    color: #4a5568;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-pagination a:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
}

.blog-pagination .current {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.blog-pagination .prev,
.blog-pagination .next {
    font-weight: 700;
}

/* Single Blog Post Content */
.single-post .entry-content,
.single-post .post-content,
article.post .entry-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.single-post .entry-content p,
.single-post .post-content p {
    margin-bottom: 1.5em;
    line-height: 1.8;
}

.single-post .entry-content h1,
.single-post .entry-content h2,
.single-post .entry-content h3 {
    margin-top: 2em;
    margin-bottom: 1em;
}
.single-post .entry-title,
.single-post .entry-meta {
 	padding: 0px 60px;
    max-width: 1400px;
    margin-left: 1em;
}

.single-post .entry-content ul,
.single-post .entry-content ol {
    margin-left: 2em;
    margin-bottom: 1.5em;
}
/* Responsive */
@media (max-width: 768px) {
    .blog-hero {
        padding: 40px 20px;
    }
    
    .blog-title {
        font-size: 32px;
    }
    
    .blog-subtitle {
        font-size: 16px;
    }
    
    .blog-card-image {
        height: 200px;
    }
    
    .blog-card-content {
        padding: 20px;
    }
    
    .blog-card-title {
        font-size: 20px;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.featured-card {
    animation: fadeInUp 0.6s ease;
}

.featured-card:nth-child(1) { animation-delay: 0.1s; }
.featured-card:nth-child(2) { animation-delay: 0.2s; }
.featured-card:nth-child(3) { animation-delay: 0.3s; }

.blog-card {
    animation: fadeInUp 0.6s ease;
}

.blog-card:nth-child(1) { animation-delay: 0.1s; }
.blog-card:nth-child(2) { animation-delay: 0.2s; }
.blog-card:nth-child(3) { animation-delay: 0.3s; }
.blog-card:nth-child(4) { animation-delay: 0.1s; }
.blog-card:nth-child(5) { animation-delay: 0.2s; }
.blog-card:nth-child(6) { animation-delay: 0.3s; }
.blog-card:nth-child(7) { animation-delay: 0.1s; }
.blog-card:nth-child(8) { animation-delay: 0.2s; }
.blog-card:nth-child(9) { animation-delay: 0.3s; }

/*--------------------------------------------------------------
# Category Filter Section
--------------------------------------------------------------*/

.category-filter-section {
    background: white;
    padding: 30px 0;
    margin-bottom: 40px;
    border-bottom: 2px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.category-filter-wrapper {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.category-filter-item {
    padding: 12px 40px;
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    color: #4a5568;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.category-filter-item:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
    color: #2d3748;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.category-filter-item.active {
    background: #07467e;
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.category-filter-item.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.5);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .category-filter-section {
        padding: 20px 0;
        position: relative; /* Remove sticky on mobile */
    }
    
    .category-filter-wrapper {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding: 0 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/Edge */
    }
    
    .category-filter-wrapper::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }
    
    .category-filter-item {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* Animation for filter items */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-filter-item {
    animation: slideInDown 0.4s ease;
}

.category-filter-item:nth-child(1) { animation-delay: 0.05s; }
.category-filter-item:nth-child(2) { animation-delay: 0.1s; }
.category-filter-item:nth-child(3) { animation-delay: 0.15s; }
.category-filter-item:nth-child(4) { animation-delay: 0.2s; }
.category-filter-item:nth-child(5) { animation-delay: 0.25s; }
.category-filter-item:nth-child(6) { animation-delay: 0.3s; }

/* Additional spacing adjustment */
.featured-posts-section {
    margin-top: 0;
}

/* Scroll indicator for mobile */
@media (max-width: 768px) {
    .category-filter-section::after {
        content: '→';
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        color: #cbd5e0;
        font-size: 20px;
        pointer-events: none;
        animation: slideHint 2s ease-in-out infinite;
    }
}

@keyframes slideHint {
    0%, 100% {
        opacity: 0.3;
        transform: translateY(-50%) translateX(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-50%) translateX(5px);
    }
}