/* ============================================
   Global CSS - Portfolio & Blog Website
   ============================================ */

/* ============================================
   1. CSS Variables - Brand Colors & Typography
   ============================================ */
:root {
  /* Brand Colors */
  --color-primary: #365dab;
  --color-secondary: #212e60;
  --color-accent: #e2c042;
  --color-danger: #951c1f;

  /* Base Colors */
  --color-black: #000000;
  --color-white: #ffffff;

  /* Typography */
  --font-primary: 'Inter', sans-serif;
  --font-secondary: 'EB Garamond', serif;

  /* Transitions */
  --transition-default: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* ============================================
   2. Google Fonts Import
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=EB+Garamond:wght@400;500;600;700&family=Cormorant+Garamond:wght@400;500;600;700&display=swap');

/* ============================================
   3. Global Resets & Defaults
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  color: var(--color-black);
  line-height: 1.7;
  font-size: 1.05rem;
  margin: 0;
  padding: 0;
}

/* ============================================
   Header & Navigation Styles
   ============================================ */

/* Compact Header with Modern Spacing */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--color-white);
}

.custom-navbar {
  background-color: var(--color-white);
  padding: 8px 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
}

/* Brand Text Logo */
.brand-text {
  text-decoration: none;
  display: inline-block;
  transition: transform var(--transition-default);
  font-weight: 700;
  letter-spacing: 1px;
}

.brand-text:hover {
  transform: scale(1.05);
  text-decoration: none;
}

.brand-text-josong {
  color: #212e60;
  font-family: "Inter", Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.2;
}

.brand-text-tech {
  color: #951c1f;
  font-family: "Inter", Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.2;
}

.mobile-logo.brand-text {
  color: #ffffff;
}

.mobile-logo .brand-text-josong {
  color: #ffffff;
}

.mobile-logo .brand-text-tech {
  color: #e2c042;
}

/* Desktop Navigation - Center Aligned */
.desktop-nav {
  gap: 0.5rem;
}

.desktop-nav .nav-link {
  position: relative;
  padding: 6px 12px;
  color: var(--color-secondary);
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition-default);
}

/* Custom Hover Underline Effect */
.desktop-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--color-primary);
  transition: transform var(--transition-default);
  transform-origin: center;
}

.desktop-nav .nav-link:hover {
  color: var(--color-primary);
}

.desktop-nav .nav-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* Transparent Header State (Homepage) */
.custom-navbar.transparent-header {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
  box-shadow: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  padding-top: 20px;
  /* Slight extra spacing at top for premium feel */
  padding-bottom: 20px;
}

.custom-navbar.transparent-header .nav-link {
  color: rgba(255, 255, 255, 0.9);
}

.custom-navbar.transparent-header .nav-link:hover,
.custom-navbar.transparent-header .nav-link.active {
  color: #ffffff;
}

.custom-navbar.transparent-header .nav-link::after {
  background: #ffffff;
}

.custom-navbar.transparent-header .brand-text-josong {
  color: #ffffff;
}

.custom-navbar.transparent-header .brand-text-tech {
  color: #951c1f;
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.5);
  /* Enhance visibility on dark bg */
}

.custom-navbar.transparent-header .search-box .form-control {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  backdrop-filter: blur(4px);
}

.custom-navbar.transparent-header .search-box .form-control::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.custom-navbar.transparent-header .search-btn {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
  color: #ffffff;
}

.custom-navbar.transparent-header .search-btn:hover {
  background-color: #212e60;
  border-color: #212e60;
  color: #ffffff;
}

/* Mobile Toggle Button on Transparent Header */
.custom-navbar.transparent-header .mobile-menu-toggle {
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

/* Ensure lines (if they use standard colors) are visible on white - assuming they are dark by default */
.custom-navbar.transparent-header .mobile-menu-toggle .hamburger-line {
  background-color: #212e60;
  /* Force dark blue lines */
}

/* Transparent Header CTA Button - Use Default Blue */
.custom-navbar.transparent-header .cta-btn {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

.custom-navbar.transparent-header .cta-btn:hover {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(54, 93, 171, 0.4);
}

/* Scrolled Header State (Applied via JS) */
.custom-navbar.scrolled-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
  animation: slideDown 0.3s ease-out;
  padding-top: 8px;
  /* Reset padding */
  padding-bottom: 8px;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

.custom-navbar.scrolled-header .nav-link {
  color: var(--color-secondary);
}

.custom-navbar.scrolled-header .nav-link:hover,
.custom-navbar.scrolled-header .nav-link.active {
  color: var(--color-primary);
}

.custom-navbar.scrolled-header .nav-link::after {
  background: var(--color-primary);
}

.custom-navbar.scrolled-header .brand-text-josong {
  color: #212e60;
}

.custom-navbar.scrolled-header .brand-text-tech {
  color: #951c1f;
}

.custom-navbar.scrolled-header .search-btn {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.custom-navbar.scrolled-header .search-btn:hover {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
}

/* Active Navigation Link */
.desktop-nav .nav-link.active {
  color: var(--color-primary);
  font-weight: 600;
}

.desktop-nav .nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
  width: 80%;
}

.mobile-nav-link.active {
  color: var(--color-accent);
  background-color: rgba(255, 255, 255, 0.15);
  font-weight: 600;
}

/* Search Box - Polished Design */
.search-box {
  max-width: 250px;
}

.header-search {
  margin-left: 1rem;
}

.search-box .form-control {
  border-radius: 6px 0 0 6px;
  border: 1px solid #dee2e6;
  padding: 8px 12px;
}

.search-box .form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.2rem rgba(54, 93, 171, 0.25);
}

.search-btn {
  border-radius: 0 6px 6px 0;
  padding: 8px 16px;
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  transition: all var(--transition-default);
}

.search-btn:hover {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
  text-decoration: none;
}

/* CTA Button - Professional Style */
.cta-btn {
  padding: 10px 24px;
  border-radius: 7px;
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  font-weight: 600;
  transition: all var(--transition-default);
}

.cta-btn:hover {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(54, 93, 171, 0.2);
  text-decoration: none;
}

/* Outline Button Styles */
.btn-outline-primary {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background-color: transparent;
  transition: all var(--transition-default);
}

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

/* Header Actions Container */
.header-actions {
  gap: 1rem;
}

/* ============================================
   Mobile Menu Styles
   ============================================ */

/* Hamburger Button */
.mobile-menu-toggle {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 10000;
}

.hamburger-line {
  width: 25px;
  height: 2px;
  background-color: var(--color-secondary);
  transition: all var(--transition-default);
  border-radius: 2px;
}

.mobile-menu-toggle:hover .hamburger-line {
  background-color: var(--color-primary);
}

/* Mobile Menu Slide Panel */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--color-secondary);
  transition: right 0.4s ease;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
}

.mobile-menu.open {
  right: 0;
}

/* Mobile Menu Header */
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-logo .logo-img {
  height: 35px;
  max-height: 35px;
}

.mobile-menu-close {
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
  transition: color var(--transition-default);
}

.mobile-menu-close:hover {
  color: var(--color-accent);
}

/* Mobile Navigation */
.mobile-menu-nav {
  flex: 1;
  overflow-y: auto;
  padding: 20px 0;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-link {
  display: block;
  padding: 16px 20px;
  color: var(--color-white);
  text-decoration: none;
  font-weight: 500;
  transition: all var(--transition-default);
}

.mobile-nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-accent);
  padding-left: 25px;
}

/* Mobile Menu Footer */
.mobile-menu-footer {
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-footer .search-box {
  max-width: 100%;
}

.mobile-menu-footer .search-box .form-control {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
}

.mobile-menu-footer .search-box .form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.mobile-menu-footer .search-box .form-control:focus {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: var(--color-accent);
  color: var(--color-white);
}

.mobile-menu-footer .cta-btn {
  width: 100%;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 9998;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .custom-navbar {
    padding: 6px 12px;
  }

  .brand-text-josong,
  .brand-text-tech {
    font-size: 1.2rem;
  }
}

@media (max-width: 575.98px) {
  .custom-navbar {
    padding: 5px 10px;
  }

  .brand-text-josong,
  .brand-text-tech {
    font-size: 1.1rem;
  }

  .mobile-menu {
    width: 85%;
  }
}

/* ============================================
   4. Typography System
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--color-secondary);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  font-family: var(--font-primary);
  margin-bottom: 1rem;
}

/* Optional classy sections (quotes, blog intros) */
.quote,
.blog-intro,
.elegant-text {
  font-family: var(--font-secondary);
}

/* ============================================
   5. Link Styles
   ============================================ */
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-default), text-decoration var(--transition-default);
  position: relative;
}

a:hover {
  color: var(--color-secondary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ============================================
   6. Button Styles
   ============================================ */
.btn-primary,
button.btn-primary,
input[type="submit"].btn-primary {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  transition: all var(--transition-default);
}

.btn-primary:hover,
button.btn-primary:hover,
input[type="submit"].btn-primary:hover {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-white);
  text-decoration: none;
}

.btn-secondary,
button.btn-secondary {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-white);
  transition: all var(--transition-default);
}

.btn-secondary:hover,
button.btn-secondary:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  text-decoration: none;
}

.btn-accent,
button.btn-accent {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-black);
  transition: all var(--transition-default);
}

.btn-accent:hover,
button.btn-accent:hover {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-white);
  text-decoration: none;
}

.btn-danger,
button.btn-danger {
  background-color: var(--color-danger);
  border-color: var(--color-danger);
  color: var(--color-white);
  transition: all var(--transition-default);
}

.btn-danger:hover,
button.btn-danger:hover {
  background-color: #7a1518;
  border-color: #7a1518;
  color: var(--color-white);
  text-decoration: none;
}

/* ============================================
   7. Background Utility Classes
   ============================================ */
.bg-primary {
  background-color: var(--color-primary) !important;
}

.bg-secondary {
  background-color: var(--color-secondary) !important;
}

.bg-accent {
  background-color: var(--color-accent) !important;
}

.bg-danger {
  background-color: var(--color-danger) !important;
}

/* ============================================
   8. Text Color Utility Classes
   ============================================ */
.text-primary {
  color: var(--color-primary) !important;
}

.text-secondary {
  color: var(--color-secondary) !important;
}

.text-accent {
  color: var(--color-accent) !important;
}

.text-danger {
  color: var(--color-danger) !important;
}

/* ============================================
   9. Transitions
   ============================================ */
.transition-default {
  transition: all var(--transition-default);
}

/* ============================================
   10. Additional Utility Classes
   ============================================ */
/* Highlighted elements using primary color */
.highlight {
  color: var(--color-primary);
  font-weight: 600;
}

/* Strong text accents using secondary color */
.strong-accent {
  color: var(--color-secondary);
  font-weight: 700;
}

/* Premium details using accent color */
.premium-detail {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/* Warning/Error labels using danger color */
.error-label,
.warning-label {
  color: var(--color-danger);
}

/* Border utilities */
.border-primary {
  border-color: var(--color-primary) !important;
}

.border-secondary {
  border-color: var(--color-secondary) !important;
}

.border-accent {
  border-color: var(--color-accent) !important;
}

.border-danger {
  border-color: var(--color-danger) !important;
}

/* ============================================
   Hero Section Styles - Premium Design
/* Hero Section Styles - Premium Design */
.hero-section {
  position: relative;
  padding: 0;
  margin-top: 0;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Video Background */
.hero-video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(33, 46, 96, 0.75) 0%, rgba(54, 93, 171, 0.65) 100%);
  z-index: 1;
}

/* Hero Badge */
.hero-badge {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 0.6s ease-out;
}

.hero-badge span {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

/* Hero Content */
.hero-content {
  padding: 1rem 0;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: "Garamond", "EB Garamond", serif;
  font-size: 4.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  animation: fadeInUp 0.8s ease-out;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.hero-title-highlight {
  color: #e2c042;
  position: relative;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-subtitle {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2.5rem;
  line-height: 1.8;
  max-width: 85%;
  animation: fadeInUp 1s ease-out 0.2s both;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .hero-content {
    padding-top: 100px;
    /* Prevent overlap with transparent header on mobile */
  }

  .hero-title {
    font-size: 2.8rem;
  }
}


.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-buttons .btn-lg {
  padding: 14px 36px;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: "Inter", Arial, sans-serif;
  transition: all 0.3s ease;
}

/* Primary Button - Filled #365dab */
.hero-buttons .btn-primary {
  background-color: #365dab;
  border-color: #365dab;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(54, 93, 171, 0.3);
}

.hero-buttons .btn-primary:hover {
  background-color: #2d4d8f;
  border-color: #2d4d8f;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(54, 93, 171, 0.4);
  text-decoration: none;
}

/* Secondary Button - Outline #e2c042 with white text */
.btn-hero-secondary {
  background-color: rgba(226, 192, 66, 0.1);
  border: 2px solid #e2c042;
  color: #ffffff;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.btn-hero-secondary:hover {
  background-color: #e2c042;
  border-color: #e2c042;
  color: #212e60;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(226, 192, 66, 0.3);
  text-decoration: none;
}


/* Hero Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: bounce 2s infinite;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.hero-scroll-indicator.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.scroll-down-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.scroll-down-arrow:hover {
  background-color: rgba(255, 255, 255, 0.3);
  border-color: #e2c042;
  color: #e2c042;
  transform: scale(1.1);
  text-decoration: none;
}

.scroll-down-arrow i {
  font-size: 1.5rem;
  font-weight: bold;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-10px);
  }

  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Responsive Hero Section */
@media (max-width: 991.98px) {
  .hero-section {
    padding: 30px 0 50px 0;
    min-height: 75vh;
  }

  .hero-scroll-indicator {
    bottom: 20px;
  }

  .scroll-down-arrow {
    width: 45px;
    height: 45px;
  }

  .scroll-down-arrow i {
    font-size: 1.3rem;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    max-width: 100%;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn-lg {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .hero-section {
    padding: 25px 0 40px 0;
    min-height: 70vh;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    max-width: 100%;
  }

  .hero-buttons .btn-lg {
    padding: 12px 28px;
    font-size: 1rem;
  }

  .hero-badge {
    padding: 6px 16px;
  }

  .hero-badge span {
    font-size: 0.8rem;
  }

  .hero-scroll-indicator {
    bottom: 15px;
  }

  .scroll-down-arrow {
    width: 40px;
    height: 40px;
  }

  .scroll-down-arrow i {
    font-size: 1.1rem;
  }
}

/* ============================================
   What We Do Section Styles
   ============================================ */
.what-we-do-section {
  padding: 80px 0;
  background-color: #ffffff;
  position: relative;
}

.section-title {
  font-family: "Garamond", "EB Garamond", serif;
  font-size: 3rem;
  font-weight: 700;
  color: #212e60;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #e2c042;
  border-radius: 2px;
}

.section-subtitle {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1.2rem;
  color: #444;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Services Carousel */
.services-carousel-wrapper {
  position: relative;
  margin: 2rem 0;
}

.services-carousel-container {
  overflow: hidden;
  margin: 0 50px;
  width: calc(100% - 100px);
}

.services-carousel {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s ease;
  will-change: transform;
}

.service-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 3rem 2rem;
  width: calc((100% - 3rem) / 3);
  flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #365dab, #e2c042);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(54, 93, 171, 0.1);
  border-color: rgba(54, 93, 171, 0.1);
}

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

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #365dab 0%, #212e60 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.service-icon i {
  font-size: 2rem;
  color: #ffffff;
}

/* Service icon hover effect removed */

.service-title {
  font-family: "Garamond", "EB Garamond", serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: #212e60;
  margin-bottom: 1rem;
}

.service-description {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1rem;
  color: #444;
  line-height: 1.7;
  margin: 0 0 1.5rem 0;
  flex-grow: 1;
  min-height: 80px;
}

/* View Service Button */
.btn-read-more {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #365dab;
  background: rgba(54, 93, 171, 0.08);
  /* slightly stronger bg? No, keep light */
  border: 1px solid rgba(54, 93, 171, 0.2);
  border-radius: 50px;
  /* Pillow shape for modern feel */
  padding: 10px 20px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  margin-top: auto;
  align-self: flex-start;
}

.btn-read-more:hover {
  color: #ffffff;
  background: #365dab;
  border-color: #365dab;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(54, 93, 171, 0.3);
  text-decoration: none;
}

.btn-read-more::after {
  content: "→";
  font-weight: 500;
  font-size: 1rem;
  transition: transform 0.3s ease;
  opacity: 0.8;
}

.btn-read-more:hover::after {
  transform: translateX(4px);
  opacity: 1;
}

.btn-read-more:focus {
  outline: 2px solid #e2c042;
  outline-offset: 2px;
}

/* Carousel Navigation Buttons */
.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #365dab;
  color: #ffffff;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(54, 93, 171, 0.3);
}

.carousel-nav-btn:hover {
  background-color: #212e60;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(54, 93, 171, 0.4);
}

.carousel-nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.carousel-prev {
  left: 0;
}

.carousel-next {
  right: 0;
}

/* Carousel Pagination Bullets */
.carousel-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.carousel-bullet {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #d0d0d0;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-bullet:hover {
  background-color: #365dab;
  transform: scale(1.2);
}

.carousel-bullet.active {
  background-color: #365dab;
  width: 32px;
  border-radius: 6px;
}

/* ============================================
   Portfolio Section Styles
   ============================================ */
.portfolio-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.portfolio-privacy-note {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.7rem;
  color: #555;
  margin-top: 0.75rem;
  line-height: 1.4;
  font-weight: 400;
  opacity: 0.8;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.portfolio-privacy-note i {
  font-size: 0.75rem;
  color: #365dab;
  opacity: 0.7;
}

.portfolio-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(54, 93, 171, 0.12);
}

.portfolio-image {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: linear-gradient(135deg, #212e60 0%, #365dab 100%);
}

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

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

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 0%, rgba(33, 46, 96, 0.3) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.portfolio-title {
  font-family: "Garamond", "EB Garamond", serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: #212e60;
  margin-bottom: 1rem;
}

.portfolio-description {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.portfolio-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tech-badge {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: #365dab;
  background-color: rgba(54, 93, 171, 0.1);
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid rgba(54, 93, 171, 0.2);
}

.portfolio-link {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #365dab;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(54, 93, 171, 0.08);
  border-radius: 50px;
  transition: all 0.3s ease;
  align-self: flex-start;
  margin-top: 10px;
  border: 1px solid rgba(54, 93, 171, 0.2);
}

.portfolio-link:hover {
  color: #ffffff;
  background: #365dab;
  border-color: #365dab;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(54, 93, 171, 0.3);
  text-decoration: none;
}

.portfolio-link::after {
  content: "→";
  font-weight: 500;
  font-size: 1rem;
  transition: transform 0.3s ease;
  opacity: 0.8;
}

.portfolio-link:hover::after {
  transform: translateX(4px);
  opacity: 1;
}

/* Responsive Portfolio Section */
@media (max-width: 991.98px) {
  .portfolio-section {
    padding: 60px 0;
  }

  .portfolio-image {
    height: 220px;
  }

  .portfolio-content {
    padding: 1.5rem;
  }

  .portfolio-privacy-note {
    font-size: 0.65rem;
    padding: 0 1rem;
  }
}

@media (max-width: 575.98px) {
  .portfolio-section {
    padding: 40px 0;
  }

  .portfolio-image {
    height: 200px;
  }

  .portfolio-title {
    font-size: 1.5rem;
  }

  .portfolio-description {
    font-size: 0.95rem;
  }

  .portfolio-privacy-note {
    font-size: 0.6rem;
    padding: 0 1.5rem;
    text-align: center;
  }
}

/* Portfolio Page Specific Styles */
.portfolio-page-section {
  background-color: #ffffff;
}

.portfolio-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #212e60 0%, #365dab 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 250px;
}

.portfolio-image-placeholder i {
  font-size: 4rem;
  color: #ffffff;
  opacity: 0.8;
}

/* Portfolio Stats Section */
.portfolio-stats-section {
  background-color: #f8f9fa;
}

.portfolio-stat-card {
  background-color: #ffffff;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.portfolio-stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(54, 93, 171, 0.15);
}

.portfolio-stat-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #365dab 0%, #212e60 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.portfolio-stat-icon i {
  font-size: 2rem;
  color: #ffffff;
}

.portfolio-stat-number {
  font-family: "Garamond", "EB Garamond", serif;
  font-size: 3rem;
  font-weight: 700;
  color: #212e60;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.portfolio-stat-label {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1rem;
  color: #444;
  margin: 0;
  font-weight: 500;
}

/* Portfolio CTA Section */
.portfolio-cta-section {
  background: linear-gradient(135deg, #212e60 0%, #365dab 100%);
  color: #ffffff;
}

.portfolio-cta-section .cta-title {
  color: #ffffff;
}

.portfolio-cta-section .cta-text {
  color: rgba(255, 255, 255, 0.9);
}

/* Responsive Styles for Portfolio Page */
@media (max-width: 991.98px) {
  .portfolio-page-section {
    padding: 60px 0;
  }

  .portfolio-stat-number {
    font-size: 2.5rem;
  }
}

@media (max-width: 575.98px) {
  .portfolio-page-section {
    padding: 40px 0;
  }

  .portfolio-image-placeholder {
    min-height: 200px;
  }

  .portfolio-image-placeholder i {
    font-size: 3rem;
  }

  .portfolio-stat-card {
    padding: 2rem 1.5rem;
  }

  .portfolio-stat-icon {
    width: 60px;
    height: 60px;
  }

  .portfolio-stat-icon i {
    font-size: 1.75rem;
  }

  .portfolio-stat-number {
    font-size: 2rem;
  }

  .portfolio-stat-label {
    font-size: 0.9rem;
  }
}

/* ============================================
   About Us Section Styles
   ============================================ */
.about-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.about-content {
  padding: 2rem 0;
}

.about-text {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1.1rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-stats {
  display: flex;
  gap: 2rem;
  margin: 2.5rem 0;
  padding: 2rem 0;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: "Garamond", "EB Garamond", serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #365dab;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.9rem;
  color: #444;
  margin: 0;
  font-weight: 500;
}

.about-cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.about-image {
  padding: 2rem;
}

.about-image-placeholder {
  background: linear-gradient(135deg, #212e60 0%, #365dab 100%);
  border-radius: 20px;
  padding: 4rem 2rem;
  text-align: center;
  color: #ffffff;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(54, 93, 171, 0.2);
  position: relative;
  overflow: hidden;
}

.about-image-placeholder::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: rgba(226, 192, 66, 0.2);
  border-radius: 50%;
  filter: blur(40px);
}

.about-image-placeholder::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 150px;
  height: 150px;
  background: rgba(226, 192, 66, 0.15);
  border-radius: 30% 70% 50% 50%;
  filter: blur(30px);
}

.about-image-placeholder i {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.9;
  z-index: 1;
  position: relative;
}

.about-image-placeholder p {
  font-size: 1.2rem;
  margin: 0;
  opacity: 0.9;
  z-index: 1;
  position: relative;
}

/* Responsive About Section */
@media (max-width: 991.98px) {
  .about-section {
    padding: 60px 0;
  }

  .about-stats {
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 1.5rem 0;
  }

  .stat-number {
    font-size: 2rem;
  }

  .about-image {
    margin-top: 3rem;
    padding: 1rem;
  }

  .about-image-placeholder {
    min-height: 350px;
  }

  .about-cta {
    flex-direction: column;
  }

  .about-cta .btn {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .about-section {
    padding: 40px 0;
  }

  .about-text {
    font-size: 1rem;
  }

  .about-stats {
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1.5rem 0;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .about-image-placeholder {
    min-height: 300px;
    padding: 2rem 1rem;
  }

  .about-image-placeholder i {
    font-size: 3rem;
  }
}

/* ============================================
   Featured Blogs Section Styles
   ============================================ */
.featured-blogs-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.blog-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(54, 93, 171, 0.12);
}

.blog-image {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: linear-gradient(135deg, #212e60 0%, #365dab 100%);
}

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

.blog-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #365dab 0%, #212e60 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.blog-image-placeholder i {
  font-size: 3rem;
  opacity: 0.7;
  margin-bottom: 0.5rem;
}

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

.blog-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, rgba(33, 46, 96, 0.9) 0%, rgba(33, 46, 96, 0.6) 60%, transparent 100%);
  z-index: 1;
}

.blog-title-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.25rem 1.5rem;
  z-index: 2;
  max-height: 40%;
  display: flex;
  align-items: flex-end;
}

.blog-title-overlay .blog-title {
  font-family: "Garamond", "EB Garamond", serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: calc(1.3em * 2);
}

.blog-title-overlay .blog-title-link {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.3s ease;
  position: relative;
  display: inline-block;
  cursor: pointer;
  width: 100%;
}

.blog-title-overlay .blog-title-link:hover {
  opacity: 0.85;
  text-decoration: none;
}

.blog-title-overlay .blog-title-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ffffff;
  transition: width 0.3s ease;
}

.blog-title-overlay .blog-title-link:hover::after {
  width: 100%;
}

.blog-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.blog-date {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.85rem;
  color: #444;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.blog-date i {
  font-size: 0.9rem;
  color: #365dab;
}

.blog-category {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #365dab;
  background-color: rgba(54, 93, 171, 0.1);
  padding: 4px 10px;
  border-radius: 12px;
}

.blog-title {
  font-family: "Garamond", "EB Garamond", serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #212e60;
  margin-bottom: 0;
  line-height: 1.3;
}

.blog-excerpt {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.blog-link {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #365dab;
  background: rgba(54, 93, 171, 0.08);
  border: 1px solid rgba(54, 93, 171, 0.2);
  border-radius: 50px;
  padding: 10px 20px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  margin-top: 10px;
  align-self: flex-start;
}

.blog-link:hover {
  color: #ffffff;
  background: #365dab;
  border-color: #365dab;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(54, 93, 171, 0.3);
  text-decoration: none;
}

.blog-link::after {
  content: "→";
  font-weight: 500;
  font-size: 1rem;
  transition: transform 0.3s ease;
  opacity: 0.8;
}

.blog-link:hover::after {
  transform: translateX(4px);
  opacity: 1;
}

/* Responsive Featured Blogs Section */
@media (max-width: 991.98px) {
  .featured-blogs-section {
    padding: 60px 0;
  }

  .blog-image {
    height: 240px;
  }

  .blog-title-overlay {
    padding: 1rem 1.25rem;
  }

  .blog-title-overlay .blog-title {
    font-size: 1.35rem;
    -webkit-line-clamp: 2;
    max-height: calc(1.3em * 2);
  }

  .blog-content {
    padding: 1.25rem;
  }
}

@media (max-width: 575.98px) {
  .featured-blogs-section {
    padding: 40px 0;
  }

  .blog-image {
    height: 220px;
  }

  .blog-title-overlay {
    padding: 0.875rem 1rem;
  }

  .blog-title-overlay .blog-title {
    font-size: 1.25rem;
    -webkit-line-clamp: 2;
    max-height: calc(1.3em * 2);
  }

  .blog-excerpt {
    font-size: 0.9rem;
  }
}

/* Responsive What We Do Section */
@media (max-width: 991.98px) {
  .what-we-do-section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .section-subtitle {
    font-size: 1.1rem;
  }

  .service-card {
    padding: 2rem 1.5rem;
    width: calc((100% - 1.5rem) / 2);
  }

  .services-carousel-container {
    margin: 0 45px;
    width: calc(100% - 90px);
  }

  .carousel-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }
}

@media (max-width: 575.98px) {
  .what-we-do-section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .service-icon {
    width: 60px;
    height: 60px;
  }

  .service-icon i {
    font-size: 1.75rem;
  }

  .service-title {
    font-size: 1.5rem;
  }

  .service-card {
    padding: 1.5rem 1.25rem;
    width: 100%;
  }

  .services-carousel-container {
    margin: 0 40px;
    width: calc(100% - 80px);
  }

  .carousel-nav-btn {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}

/* ============================================
   Footer Styles
   ============================================ */
.custom-footer {
  background-color: #212E60;
  color: #ffffff;
  padding: 60px 0 40px 0;
  margin-top: 0;
}

/* Footer Logo */
.footer-logo-img {
  height: 70px;
  width: auto;
  max-height: 70px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.footer-logo:hover .footer-logo-img {
  transform: scale(1.05);
}

/* Footer Description */
.footer-description {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Footer Titles */
.footer-title {
  font-family: "Cormorant Garamond", "EB Garamond", serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

/* Footer Navigation */
.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 0.75rem;
}

/* Footer Links with Custom Underline Animation */
.footer-link {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  position: relative;
  display: inline-block;
  transition: color 0.3s ease;
}

.footer-link::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #ffffff;
  transition: width 0.3s ease;
}

.footer-link:hover {
  color: #ffffff;
  text-decoration: none;
}

.footer-link:hover::after {
  width: 100%;
}

/* Footer Contact */
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-contact i {
  font-size: 1.1rem;
  color: #e2c042;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-text {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* Social Icons */
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.social-icon:hover {
  background-color: #e2c042;
  color: #212E60;
  transform: scale(1.1);
  text-decoration: none;
}

/* Footer Bottom Strip */
.footer-bottom {
  background-color: rgba(33, 46, 96, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 0;
  margin-top: 40px;
}

.footer-copyright,
.footer-credit {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* Footer Legal Links */
.footer-legal-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-legal-link {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.footer-legal-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.7);
  transition: width 0.3s ease;
}

.footer-legal-link:hover {
  color: #ffffff;
  text-decoration: none;
}

.footer-legal-link:hover::after {
  width: 100%;
}

.footer-legal-separator {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  margin: 0 0.25rem;
}

/* ============================================
   Subscribe Section Styles
   ============================================ */
.subscribe-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #212e60 0%, #365dab 100%);
  position: relative;
  overflow: hidden;
}

.subscribe-section::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: rgba(226, 192, 66, 0.1);
  border-radius: 50%;
  filter: blur(40px);
}

.subscribe-section::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 150px;
  height: 150px;
  background: rgba(226, 192, 66, 0.08);
  border-radius: 30% 70% 50% 50%;
  filter: blur(30px);
}

.subscribe-content {
  position: relative;
  z-index: 1;
}

.subscribe-title {
  font-family: "Cormorant Garamond", "EB Garamond", serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.subscribe-description {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.subscribe-form {
  max-width: 600px;
  margin: 0 auto;
}

.subscribe-input-group {
  display: flex;
  gap: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border-radius: 50px;
  overflow: hidden;
}

.subscribe-input {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1rem;
  background-color: rgba(255, 255, 255, 0.95);
  border: none;
  color: #212e60;
  padding: 14px 24px;
  flex: 1;
  transition: all 0.3s ease;
}

.subscribe-input::placeholder {
  color: rgba(33, 46, 96, 0.6);
}

.subscribe-input:focus {
  background-color: #ffffff;
  outline: none;
  box-shadow: none;
}

.subscribe-btn {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 0 50px 50px 0;
  background-color: #e2c042;
  border: none;
  color: #212e60;
  transition: all 0.3s ease;
  white-space: nowrap;
  text-decoration: none;
}

.subscribe-btn:hover {
  background-color: #d4b23a;
  color: #212e60;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(226, 192, 66, 0.4);
  text-decoration: none;
}

/* Responsive Subscribe Section */
@media (max-width: 991.98px) {
  .subscribe-section {
    padding: 60px 0;
  }

  .subscribe-title {
    font-size: 2rem;
  }

  .subscribe-description {
    font-size: 1rem;
  }
}

@media (max-width: 575.98px) {
  .subscribe-section {
    padding: 40px 0;
  }

  .subscribe-title {
    font-size: 1.75rem;
  }

  .subscribe-description {
    font-size: 0.95rem;
  }

  .subscribe-content {
    padding: 0 15px;
  }

  .subscribe-form {
    max-width: 100%;
    width: 100%;
  }

  .subscribe-input-group {
    flex-direction: column;
    border-radius: 12px;
    width: 100% !important;
    display: flex !important;
  }

  .subscribe-input-group>.form-control,
  .subscribe-input {
    border-radius: 12px 12px 0 0;
    padding: 14px 20px;
    width: 100% !important;
    flex: none !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .subscribe-input-group>.btn,
  .subscribe-btn {
    border-radius: 0 0 12px 12px;
    padding: 14px 24px;
    width: 100% !important;
    flex: none !important;
  }
}

/* ============================================
   Work With Us Modal Styles
   ============================================ */
.work-with-us-modal {
  border-radius: 16px;
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.work-with-us-modal .modal-header {
  background: linear-gradient(135deg, #365dab 0%, #212e60 100%);
  color: #ffffff;
  border-bottom: none;
  padding: 1.5rem 2rem;
  border-radius: 16px 16px 0 0;
}

.work-with-us-modal .modal-title {
  font-family: "Cormorant Garamond", "EB Garamond", serif;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
  color: #ffffff;
}

.work-with-us-modal .btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.work-with-us-modal .btn-close:hover {
  opacity: 1;
}

.work-with-us-modal .modal-body {
  padding: 2rem;
  font-family: "Inter", Arial, sans-serif;
}

.work-with-us-intro {
  margin-bottom: 2rem;
  text-align: center;
}

.intro-heading {
  font-family: "Cormorant Garamond", "EB Garamond", serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #212e60;
  margin-bottom: 1rem;
}

.intro-description {
  font-size: 1rem;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #365dab 0%, #212e60 100%);
  color: #ffffff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.step-title {
  font-family: "Cormorant Garamond", "EB Garamond", serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #212e60;
  margin: 0;
}

.type-selection {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.type-option {
  margin: 0;
  cursor: pointer;
}

.type-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.type-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  background-color: #ffffff;
  transition: all 0.3s ease;
  text-align: center;
  min-height: 150px;
}

.type-card i {
  font-size: 2.5rem;
  color: #365dab;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.type-card span {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #212e60;
  transition: all 0.3s ease;
}

.type-option input[type="radio"]:checked+.type-card {
  border-color: #365dab;
  background-color: #f8f9ff;
  box-shadow: 0 4px 12px rgba(54, 93, 171, 0.15);
}

.type-option input[type="radio"]:checked+.type-card i {
  color: #e2c042;
  transform: scale(1.1);
}

.type-option:hover .type-card {
  border-color: #365dab;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(54, 93, 171, 0.1);
}

.type-card.is-invalid {
  border-color: #dc3545 !important;
  background-color: #fff5f5;
}

.form-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e0e0e0;
}

.navigation-right {
  display: flex;
  gap: 0.75rem;
}

.form-navigation .btn-secondary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.file-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  background-color: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 0.9rem;
}

.file-item .file-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  color: #212e60;
}

.file-item .file-name i {
  color: #dc3545;
}

.file-item .file-size {
  color: #666;
  font-size: 0.85rem;
  margin-left: 0.5rem;
}

.file-item .file-remove {
  background: none;
  border: none;
  color: #dc3545;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  font-size: 1.1rem;
  transition: color 0.2s;
}

.file-item .file-remove:hover {
  color: #c82333;
}

.terms-link {
  color: #365dab;
  text-decoration: none;
  font-weight: 600;
}

.terms-link:hover {
  text-decoration: underline;
}

.form-check {
  margin-top: 0.5rem;
}

.form-check-label {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

/* Responsive Work With Us Modal */
@media (max-width: 991.98px) {
  .work-with-us-modal .modal-dialog {
    max-width: 90%;
    margin: 1rem auto;
  }

  .work-with-us-modal .modal-body {
    padding: 1.5rem;
  }

  .intro-heading {
    font-size: 1.5rem;
  }

  .intro-description {
    font-size: 0.95rem;
  }

  .step-title {
    font-size: 1.25rem;
  }

  .type-selection {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .type-card {
    padding: 1.5rem 1rem;
    min-height: 120px;
  }

  .type-card i {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }
}

@media (max-width: 575.98px) {
  .work-with-us-modal .modal-dialog {
    max-width: 95%;
    margin: 0.5rem auto;
  }

  .work-with-us-modal .modal-header {
    padding: 1rem 1.25rem;
  }

  .work-with-us-modal .modal-title {
    font-size: 1.5rem;
  }

  .work-with-us-modal .modal-body {
    padding: 1.25rem;
  }

  .intro-heading {
    font-size: 1.35rem;
  }

  .intro-description {
    font-size: 0.9rem;
  }

  .step-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .step-number {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .step-title {
    font-size: 1.15rem;
  }

  .type-card {
    padding: 1.25rem 1rem;
    min-height: 110px;
  }

  .type-card i {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
  }

  .type-card span {
    font-size: 0.95rem;
  }

  .form-navigation {
    flex-direction: column;
    gap: 0.75rem;
  }

  .navigation-right {
    width: 100%;
    flex-direction: column;
  }

  .form-navigation .btn {
    width: 100%;
  }

  .form-navigation .btn-secondary {
    order: 2;
  }

  .navigation-right {
    order: 1;
  }
}

/* Responsive Footer */
@media (max-width: 991.98px) {
  .custom-footer {
    padding: 50px 0 35px 0;
  }

  .footer-title {
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
  }

  .footer-description {
    font-size: 0.9rem;
  }
}

@media (max-width: 575.98px) {
  .custom-footer {
    padding: 40px 0 30px 0;
  }

  .footer-logo {
    text-align: center;
  }

  .footer-description {
    text-align: center;
    font-size: 0.9rem;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-title {
    font-size: 1.25rem;
    text-align: center;
    margin-bottom: 1rem;
  }

  .footer-nav,
  .footer-contact {
    text-align: center;
  }

  .footer-nav li,
  .footer-contact li {
    justify-content: center;
  }

  .footer-contact li {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .footer-bottom {
    text-align: center;
  }

  .footer-copyright,
  .footer-credit {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
  }

  .footer-legal-links {
    justify-content: center;
    margin-bottom: 0.5rem;
  }

  .footer-legal-link {
    font-size: 0.8rem;
  }

  .footer-legal-separator {
    font-size: 0.8rem;
  }
}

/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #365dab;
  color: #ffffff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(54, 93, 171, 0.3);
  font-size: 1.2rem;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: #212e60;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(54, 93, 171, 0.4);
}

.back-to-top:active {
  transform: translateY(-1px);
}

/* Responsive Back to Top Button */
@media (max-width: 575.98px) {
  .back-to-top {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
    font-size: 1rem;
  }
}

/* ============================================
   About Page Styles
   ============================================ */

/* Page Hero Section */
.page-hero-section {
  background: linear-gradient(135deg, #212e60 0%, #365dab 100%);
  padding: 100px 0 80px 0;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.blog-title-above-breadcrumb {
  font-family: "Garamond", "EB Garamond", serif;
  font-size: 2.25rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 1rem 0;
  line-height: 1.3;
}

.page-hero-title {
  font-family: "Garamond", "EB Garamond", serif;
  font-size: 4rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.2;
}

/* Blog Archive Page Title Specific Styles */
.page-hero-section.blog-archive-hero .page-hero-title {
  font-size: 3rem;
  text-transform: uppercase;
  text-decoration: none !important;
  border-bottom: none !important;
}

.page-hero-section.blog-archive-hero .page-hero-title::after,
.page-hero-section.blog-archive-hero .page-hero-title::before {
  display: none !important;
  content: none !important;
}

.page-hero-subtitle {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1.3rem;
  color: #e2c042;
  font-weight: 400;
  margin: 0;
}

/* Breadcrumb styles in page hero section */
.page-hero-section .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}

.page-hero-section .breadcrumb-item {
  color: #ffffff;
}

.page-hero-section .breadcrumb-item a {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.page-hero-section .breadcrumb-item a:hover {
  opacity: 1;
  text-decoration: underline;
  color: #ffffff;
}

.page-hero-section .breadcrumb-item.active {
  color: #ffffff;
  opacity: 1;
}

.page-hero-section .breadcrumb-item+.breadcrumb-item::before {
  color: #ffffff;
  opacity: 0.7;
  content: "/";
}

/* About Story Section */
.about-story-section {
  background-color: #ffffff;
}

.about-story-content {
  padding: 1rem 0;
}

.about-story-image {
  padding: 1rem;
}

.story-image-placeholder {
  background: linear-gradient(135deg, #212e60 0%, #365dab 100%);
  border-radius: 20px;
  padding: 4rem 2rem;
  text-align: center;
  color: #ffffff;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(54, 93, 171, 0.2);
}

.story-image-placeholder i {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.story-image-placeholder p {
  font-family: "Garamond", "EB Garamond", serif;
  font-size: 1.5rem;
  margin: 0;
}

/* Inspiration Section */
.inspiration-section {
  background-color: #ffffff;
}

.inspiration-content {
  padding: 1rem 0;
}

.inspiration-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #365dab 0%, #212e60 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.inspiration-icon i {
  font-size: 2.5rem;
  color: #ffffff;
}

.inspiration-title {
  font-family: "Garamond", "EB Garamond", serif;
  font-size: 2rem;
  font-weight: 600;
  color: #212e60;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.inspiration-text {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1.05rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.inspiration-image {
  padding: 1rem;
}

.inspiration-image-placeholder {
  background: linear-gradient(135deg, #212e60 0%, #365dab 100%);
  border-radius: 20px;
  padding: 4rem 2rem;
  text-align: center;
  color: #ffffff;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(54, 93, 171, 0.2);
  transition: transform 0.3s ease;
}

.inspiration-image-placeholder:hover {
  transform: translateY(-5px);
}

.inspiration-image-placeholder.ai-placeholder {
  background: linear-gradient(135deg, #365dab 0%, #212e60 100%);
}

.inspiration-image-placeholder i {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.inspiration-image-placeholder p {
  font-family: "Garamond", "EB Garamond", serif;
  font-size: 1.5rem;
  margin: 0;
  font-weight: 500;
}

.inspiration-commitment {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 4rem 3rem;
  border-radius: 20px;
  border: 2px solid #e9ecef;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  margin-top: 3rem;
}

.commitment-content {
  max-width: 900px;
  margin: 0 auto;
}

.commitment-title {
  font-family: "Garamond", "EB Garamond", serif;
  font-size: 2.25rem;
  font-weight: 600;
  color: #212e60;
  margin-bottom: 2rem;
  text-align: center;
}

.commitment-text {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1.1rem;
  color: #555;
  line-height: 1.9;
  margin-bottom: 1.5rem;
  text-align: justify;
}

.commitment-text:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .inspiration-title {
    font-size: 1.75rem;
  }

  .inspiration-text {
    font-size: 1rem;
  }

  .inspiration-commitment {
    padding: 2.5rem 1.5rem;
  }

  .commitment-title {
    font-size: 1.75rem;
  }

  .commitment-text {
    font-size: 1rem;
    text-align: left;
  }

  .inspiration-image-placeholder {
    min-height: 300px;
    padding: 3rem 1.5rem;
  }
}

/* About Stats Section */
.about-stats-section {
  background: linear-gradient(135deg, #212e60 0%, #365dab 100%);
  color: #ffffff;
}

.stat-card {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 3rem 2rem;
  border-radius: 16px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.stat-card .stat-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.stat-card .stat-icon i {
  font-size: 2rem;
  color: #ffffff;
}

.stat-card .stat-number {
  font-family: "Garamond", "EB Garamond", serif;
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-card .stat-label {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-weight: 500;
}

/* Why Choose Us Section */
.why-choose-section {
  background-color: #f8f9fa;
}

.feature-card {
  background-color: #ffffff;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(54, 93, 171, 0.15);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #365dab 0%, #212e60 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.feature-icon i {
  font-size: 2rem;
  color: #ffffff;
}

.feature-title {
  font-family: "Garamond", "EB Garamond", serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #212e60;
  margin-bottom: 1rem;
}

.feature-text {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.95rem;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

/* About CTA Section */
.about-cta-section {
  background-color: #ffffff;
}

.cta-content {
  padding: 2rem 0;
}

.cta-title {
  font-family: "Garamond", "EB Garamond", serif;
  font-size: 3rem;
  font-weight: 700;
  color: #212e60;
  margin-bottom: 1rem;
}

.cta-text {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Responsive Styles for About Page */
@media (max-width: 991.98px) {
  .page-hero-title {
    font-size: 3rem;
  }

  .page-hero-subtitle {
    font-size: 1.1rem;
  }

  .about-story-image {
    margin-top: 2rem;
  }

  .about-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .cta-title {
    font-size: 2.5rem;
  }

  .cta-text {
    font-size: 1.1rem;
  }
}

@media (max-width: 575.98px) {
  .page-hero-section {
    padding: 80px 0 60px 0;
  }

  .page-hero-title {
    font-size: 2.25rem;
  }

  .page-hero-subtitle {
    font-size: 1rem;
  }

  .mission-vision-card {
    padding: 2rem 1.5rem;
  }

  .mv-title {
    font-size: 1.75rem;
  }

  .value-card,
  .feature-card {
    padding: 2rem 1.5rem;
  }

  .stat-card {
    padding: 2.5rem 1.5rem;
  }

  .stat-card .stat-number {
    font-size: 2.5rem;
  }

  .cta-title {
    font-size: 2rem;
  }

  .cta-text {
    font-size: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* ============================================
   Services Page Styles
   ============================================ */

/* Services Overview Section */
.services-overview-section {
  background-color: #ffffff;
}

.service-detail-card {
  background-color: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.service-detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(54, 93, 171, 0.15);
  border-color: #e2c042;
}

.service-detail-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #365dab 0%, #212e60 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-detail-icon i {
  font-size: 2rem;
  color: #ffffff;
}

.service-detail-title {
  font-family: "Garamond", "EB Garamond", serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: #212e60;
  margin-bottom: 1rem;
}

.service-detail-description {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.service-features li {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}

.service-features li i {
  color: #365dab;
  margin-right: 0.75rem;
  font-size: 1.1rem;
}

.btn-service-link {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #365dab;
  background-color: transparent;
  border: none;
  padding: 0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.btn-service-link:hover {
  color: #212e60;
  transform: translateX(5px);
  text-decoration: none;
}

/* Detailed Services Section */
.detailed-services-section {
  background-color: #f8f9fa;
}

.service-detail-section {
  padding: 3rem 0;
}

.service-detail-section:not(:last-child) {
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 4rem;
}

.service-detail-content {
  padding: 1rem 0;
}

.service-detail-heading {
  font-family: "Garamond", "EB Garamond", serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #212e60;
  margin-bottom: 1.5rem;
}

.service-detail-text {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1.1rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.service-detail-image {
  padding: 1rem;
}

.service-image-placeholder {
  background: linear-gradient(135deg, #212e60 0%, #365dab 100%);
  border-radius: 20px;
  padding: 4rem 2rem;
  text-align: center;
  color: #ffffff;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(54, 93, 171, 0.2);
}

.service-image-placeholder i {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.service-image-placeholder p {
  font-family: "Garamond", "EB Garamond", serif;
  font-size: 1.5rem;
  margin: 0;
}

.service-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.tech-tag {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #365dab;
  background-color: rgba(54, 93, 171, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(54, 93, 171, 0.2);
}

/* Process Section */
.process-section {
  background-color: #ffffff;
}

.process-step {
  text-align: center;
  padding: 2rem 1.5rem;
}

.process-number {
  font-family: "Garamond", "EB Garamond", serif;
  font-size: 4rem;
  font-weight: 700;
  color: #e2c042;
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.3;
}

.process-title {
  font-family: "Garamond", "EB Garamond", serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #212e60;
  margin-bottom: 1rem;
}

.process-text {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.95rem;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

/* Services CTA Section */
.services-cta-section {
  background: linear-gradient(135deg, #212e60 0%, #365dab 100%);
  color: #ffffff;
}

.services-cta-section .cta-title {
  color: #ffffff;
}

.services-cta-section .cta-text {
  color: rgba(255, 255, 255, 0.9);
}

/* Responsive Styles for Services Page */
@media (max-width: 991.98px) {
  .service-detail-heading {
    font-size: 2rem;
  }

  .service-detail-text {
    font-size: 1rem;
  }

  .service-detail-image {
    margin-top: 2rem;
  }

  .process-number {
    font-size: 3rem;
  }
}

@media (max-width: 575.98px) {
  .service-detail-card {
    padding: 2rem 1.5rem;
  }

  .service-detail-heading {
    font-size: 1.75rem;
  }

  .service-detail-text {
    font-size: 0.95rem;
  }

  .service-image-placeholder {
    min-height: 300px;
    padding: 3rem 1.5rem;
  }

  .service-image-placeholder i {
    font-size: 3rem;
  }

  .process-step {
    padding: 1.5rem 1rem;
  }

  .process-number {
    font-size: 2.5rem;
  }

  .process-title {
    font-size: 1.25rem;
  }
}

/* ============================================
   Contact Page Styles
   ============================================ */

/* Contact Section */
.contact-section {
  background-color: #ffffff;
}

.contact-form-wrapper {
  background-color: #ffffff;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-form-title {
  font-family: "Garamond", "EB Garamond", serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #212e60;
  margin-bottom: 0.5rem;
}

.contact-form-subtitle {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1rem;
  color: #666;
  margin-bottom: 2rem;
}

.contact-form {
  margin-top: 2rem;
}

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

.form-label {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #212e60;
  margin-bottom: 0.5rem;
  display: block;
}

.form-control {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  transition: all 0.3s ease;
  width: 100%;
}

.form-control:focus {
  outline: none;
  border-color: #365dab;
  box-shadow: 0 0 0 3px rgba(54, 93, 171, 0.1);
}

.form-control::placeholder {
  color: #999;
}

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

select.form-control {
  cursor: pointer;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.form-check-input {
  margin-top: 0.25rem;
  cursor: pointer;
}

.form-check-label {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
}

.form-check-label a {
  color: #365dab;
  text-decoration: none;
}

.form-check-label a:hover {
  text-decoration: underline;
}

/* Contact Info Section */
.contact-info-wrapper {
  background-color: #f8f9fa;
  padding: 2.5rem;
  border-radius: 16px;
  height: 100%;
}

.contact-info-title {
  font-family: "Garamond", "EB Garamond", serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #212e60;
  margin-bottom: 0.5rem;
}

.contact-info-subtitle {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1rem;
  color: #666;
  margin-bottom: 2rem;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-card {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  display: flex;
  gap: 1rem;
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

.contact-info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(54, 93, 171, 0.1);
  border-color: #e2c042;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #365dab 0%, #212e60 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon i {
  font-size: 1.5rem;
  color: #ffffff;
}

.contact-info-content {
  flex: 1;
}

.contact-info-label {
  font-family: "Garamond", "EB Garamond", serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #212e60;
  margin-bottom: 0.5rem;
}

.contact-info-link {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1rem;
  color: #365dab;
  text-decoration: none;
  display: block;
  margin-bottom: 0.25rem;
  transition: color 0.3s ease;
}

.contact-info-link:hover {
  color: #212e60;
  text-decoration: none;
}

.contact-info-text {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1rem;
  color: #212e60;
  margin: 0 0 0.25rem 0;
  font-weight: 500;
}

.contact-info-note {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.85rem;
  color: #999;
  margin: 0;
}

.contact-social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.contact-social-link {
  width: 40px;
  height: 40px;
  background-color: #f0f0f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #365dab;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-social-link:hover {
  background-color: #365dab;
  color: #ffffff;
  transform: translateY(-3px);
  text-decoration: none;
}

/* Map Section */
.map-section {
  background-color: #f8f9fa;
}

.map-wrapper {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.map-placeholder {
  background: linear-gradient(135deg, #212e60 0%, #365dab 100%);
  padding: 5rem 2rem;
  text-align: center;
  color: #ffffff;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.map-placeholder i {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.map-placeholder p {
  font-family: "Garamond", "EB Garamond", serif;
  font-size: 1.5rem;
  margin: 0 0 0.5rem 0;
}

.map-note {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* FAQ Section */
.contact-faq-section {
  background-color: #ffffff;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: #365dab;
  box-shadow: 0 4px 12px rgba(54, 93, 171, 0.1);
}

.faq-question {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background-color: #f8f9fa;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #f0f0f0;
}

.faq-question[aria-expanded="true"] {
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
}

.faq-question span {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #212e60;
  flex: 1;
}

.faq-question i {
  font-size: 1.2rem;
  color: #365dab;
  transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 1.5rem;
  font-family: "Inter", Arial, sans-serif;
  font-size: 1rem;
  color: #666;
  line-height: 1.7;
  background-color: #ffffff;
}

/* Responsive Styles for Contact Page */
@media (max-width: 991.98px) {

  .contact-form-wrapper,
  .contact-info-wrapper {
    padding: 2rem;
  }

  .contact-form-title,
  .contact-info-title {
    font-size: 2rem;
  }

  .map-placeholder {
    min-height: 350px;
    padding: 4rem 1.5rem;
  }
}

@media (max-width: 575.98px) {

  .contact-form-wrapper,
  .contact-info-wrapper {
    padding: 1.5rem;
  }

  .contact-form-title,
  .contact-info-title {
    font-size: 1.75rem;
  }

  .contact-info-card {
    flex-direction: column;
    text-align: center;
  }

  .contact-info-icon {
    margin: 0 auto;
  }

  .contact-social-links {
    justify-content: center;
  }

  .map-placeholder {
    min-height: 300px;
    padding: 3rem 1rem;
  }

  .map-placeholder i {
    font-size: 3rem;
  }

  .map-placeholder p {
    font-size: 1.25rem;
  }

  .faq-question {
    padding: 1.25rem;
  }

  .faq-question span {
    font-size: 1rem;
  }

  .faq-answer {
    padding: 1.25rem;
    font-size: 0.95rem;
  }
}

/* ============================================
   Learn Page Styles
   ============================================ */

/* Courses Section */
.courses-section {
  background-color: #ffffff;
}

.course-card {
  background-color: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(54, 93, 171, 0.15);
  border-color: #e2c042;
}

.course-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #365dab 0%, #212e60 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.course-icon i {
  font-size: 2.5rem;
  color: #ffffff;
}

.course-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-title {
  font-family: "Garamond", "EB Garamond", serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: #212e60;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.course-description {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.course-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f0f0f0;
}

.course-duration,
.course-level {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.9rem;
  color: #666;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.course-duration i,
.course-level i {
  color: #365dab;
  font-size: 1rem;
}

.course-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-course-view {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #365dab;
  background-color: transparent;
  border: 2px solid #365dab;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  flex: 1;
  text-align: center;
  min-width: 120px;
}

.btn-course-view:hover {
  background-color: #365dab;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(54, 93, 171, 0.3);
  text-decoration: none;
}

.btn-course-enroll {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  background-color: #e2c042;
  border: 2px solid #e2c042;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  flex: 1;
  text-align: center;
  min-width: 120px;
}

.btn-course-enroll:hover {
  background-color: #d4b23a;
  border-color: #d4b23a;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(226, 192, 66, 0.4);
  text-decoration: none;
}

/* Why Learn Section */
.why-learn-section {
  background-color: #f8f9fa;
}

.learn-feature-card {
  background-color: #ffffff;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.learn-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(54, 93, 171, 0.15);
}

.learn-feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #365dab 0%, #212e60 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.learn-feature-icon i {
  font-size: 2rem;
  color: #ffffff;
}

.learn-feature-title {
  font-family: "Garamond", "EB Garamond", serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #212e60;
  margin-bottom: 1rem;
}

.learn-feature-text {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.95rem;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

/* Learn CTA Section */
.learn-cta-section {
  background: linear-gradient(135deg, #212e60 0%, #365dab 100%);
  color: #ffffff;
}

.learn-cta-section .cta-title {
  color: #ffffff;
}

.learn-cta-section .cta-text {
  color: rgba(255, 255, 255, 0.9);
}

/* Responsive Styles for Learn Page */
@media (max-width: 991.98px) {
  .course-card {
    padding: 2rem 1.5rem;
  }

  .course-title {
    font-size: 1.5rem;
  }

  .course-actions {
    flex-direction: column;
  }

  .btn-course-view,
  .btn-course-enroll {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .course-card {
    padding: 1.75rem 1.25rem;
  }

  .course-icon {
    width: 70px;
    height: 70px;
  }

  .course-icon i {
    font-size: 2rem;
  }

  .course-title {
    font-size: 1.4rem;
  }

  .course-description {
    font-size: 0.95rem;
  }

  .course-meta {
    flex-direction: column;
    gap: 0.75rem;
  }

  .learn-feature-card {
    padding: 2rem 1.5rem;
  }

  .learn-feature-icon {
    width: 60px;
    height: 60px;
  }

  .learn-feature-icon i {
    font-size: 1.75rem;
  }

  .learn-feature-title {
    font-size: 1.25rem;
  }
}

/* ============================================
   Jobs Page Styles
   ============================================ */

/* Jobs Section */
.jobs-section {
  background-color: #ffffff;
}

.job-card {
  background-color: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.job-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(54, 93, 171, 0.15);
  border-color: #e2c042;
}

.job-header {
  background: linear-gradient(135deg, #365dab 0%, #212e60 100%);
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
}

.job-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.job-icon i {
  font-size: 2rem;
  color: #ffffff;
}

.job-badge {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #212e60;
  background-color: #e2c042;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.job-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.job-title {
  font-family: "Garamond", "EB Garamond", serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: #212e60;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #f0f0f0;
}

.job-department,
.job-location {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.9rem;
  color: #666;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.job-department i,
.job-location i {
  color: #365dab;
  font-size: 1rem;
}

.job-description {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.95rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.job-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.skill-tag {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: #365dab;
  background-color: rgba(54, 93, 171, 0.1);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  border: 1px solid rgba(54, 93, 171, 0.2);
}

.job-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-job-view {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #365dab;
  background-color: transparent;
  border: 2px solid #365dab;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  flex: 1;
  text-align: center;
  min-width: 100px;
}

.btn-job-view:hover {
  background-color: #365dab;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(54, 93, 171, 0.3);
  text-decoration: none;
}

.btn-job-apply {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  background-color: #e2c042;
  border: 2px solid #e2c042;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  flex: 1;
  text-align: center;
  min-width: 100px;
}

.btn-job-apply:hover {
  background-color: #d4b23a;
  border-color: #d4b23a;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(226, 192, 66, 0.4);
  text-decoration: none;
}

.btn-job-contact {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #365dab;
  background-color: transparent;
  border: 2px solid #365dab;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex: 1;
  text-align: center;
  min-width: 100px;
}

.btn-job-contact:hover {
  background-color: #365dab;
  border-color: #365dab;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(54, 93, 171, 0.3);
}

/* Why Work Section */
.why-work-section {
  background-color: #f8f9fa;
}

.work-feature-card {
  background-color: #ffffff;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.work-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(54, 93, 171, 0.15);
}

.work-feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #365dab 0%, #212e60 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.work-feature-icon i {
  font-size: 2rem;
  color: #ffffff;
}

.work-feature-title {
  font-family: "Garamond", "EB Garamond", serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #212e60;
  margin-bottom: 1rem;
}

.work-feature-text {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.95rem;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

/* Jobs CTA Section */
.jobs-cta-section {
  background: linear-gradient(135deg, #212e60 0%, #365dab 100%);
  color: #ffffff;
}

.jobs-cta-section .cta-title {
  color: #ffffff;
}

.jobs-cta-section .cta-text {
  color: rgba(255, 255, 255, 0.9);
}

/* Responsive Styles for Jobs Page */
@media (max-width: 991.98px) {
  .job-card {
    margin-bottom: 1.5rem;
  }

  .job-title {
    font-size: 1.5rem;
  }

  .job-actions {
    flex-direction: column;
  }

  .btn-job-view,
  .btn-job-apply {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .job-header {
    padding: 1.5rem;
    flex-direction: column;
    gap: 1rem;
  }

  .job-icon {
    width: 50px;
    height: 50px;
  }

  .job-icon i {
    font-size: 1.75rem;
  }

  .job-content {
    padding: 1.5rem;
  }

  .job-title {
    font-size: 1.4rem;
  }

  .job-description {
    font-size: 0.9rem;
  }

  .job-meta {
    flex-direction: column;
    gap: 0.75rem;
  }

  .work-feature-card {
    padding: 2rem 1.5rem;
  }

  .work-feature-icon {
    width: 60px;
    height: 60px;
  }

  .work-feature-icon i {
    font-size: 1.75rem;
  }

  .work-feature-title {
    font-size: 1.25rem;
  }
}

/* Post Job CTA Section */
.post-job-cta-section {
  background-color: #f8f9fa;
  border-bottom: 1px solid #e0e0e0;
}

.post-job-cta-section .d-flex {
  flex-wrap: wrap;
}

.post-job-cta-section .btn {
  white-space: nowrap;
}

.post-job-cta-card {
  background-color: #ffffff;
  border: 2px solid #e2c042;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(226, 192, 66, 0.1);
}

.post-job-cta-title {
  font-family: "Garamond", "EB Garamond", serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #212e60;
  margin-bottom: 0.5rem;
}

.post-job-cta-text {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
}

.post-job-disclaimer {
  padding-top: 1rem;
  border-top: 1px solid #e0e0e0;
}

.post-job-disclaimer small {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.875rem;
  color: #666;
  line-height: 1.5;
}

.post-job-disclaimer i {
  color: #365dab;
}

.post-job-disclaimer a {
  color: #365dab;
  text-decoration: underline;
}

.post-job-disclaimer a:hover {
  color: #212e60;
}

/* Jobs Community Section */
.jobs-community-section {
  background-color: #ffffff;
}

.community-content {
  max-width: 800px;
  margin: 0 auto;
}

/* Youth for Youth Section */
.youth-for-youth-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border: 2px solid #e2c042;
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 8px 30px rgba(226, 192, 66, 0.15);
}

.genz-movement {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.genz-movement .hashtag {
  color: #365dab;
  font-size: 1.2rem;
}

.genz-movement .movement-text {
  color: #212e60;
  text-transform: lowercase;
}

.opportunity-type-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}

.opportunity-type-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(54, 93, 171, 0.1);
  border-color: #365dab;
}

.opportunity-type-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #365dab 0%, #212e60 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
}

.opportunity-type-icon i {
  font-size: 1.5rem;
  color: #ffffff;
}

.opportunity-type-title {
  font-family: "Garamond", "EB Garamond", serif;
  font-size: 1rem;
  font-weight: 600;
  color: #212e60;
  margin-bottom: 0.5rem;
}

.opportunity-type-text {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

.community-stats-card {
  background: linear-gradient(135deg, #365dab 0%, #212e60 100%);
  border-radius: 16px;
  padding: 1.5rem;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 8px 25px rgba(54, 93, 171, 0.3);
}

.community-stats-title {
  font-family: "Garamond", "EB Garamond", serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.community-stats-text {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.community-stats-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  font-size: 1.75rem;
  color: #e2c042;
}

.skill-listing-card {
  border: 2px solid #28a745;
}

.skill-listing-card:hover {
  border-color: #28a745;
  box-shadow: 0 12px 30px rgba(40, 167, 69, 0.15);
}

.skill-badge {
  background-color: #28a745;
  color: #ffffff;
}

/* Join Blogging Community Section */
.join-blogging-section {
  background: linear-gradient(135deg, #212e60 0%, #365dab 100%);
  color: #ffffff;
}

.blogging-community-card {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.blogging-community-title {
  font-family: "Garamond", "EB Garamond", serif;
  font-size: 2rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.blogging-community-title i {
  color: #e2c042;
  font-size: 2.25rem;
}

.blogging-community-text {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.blogging-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blogging-benefits-list li {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.blogging-benefits-list li:last-child {
  margin-bottom: 0;
}

.blogging-benefits-list i {
  color: #e2c042;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.join-blogger-btn {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(226, 192, 66, 0.3);
  transition: all 0.3s ease;
}

.join-blogger-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(226, 192, 66, 0.4);
}

/* Jobs Listing Section */
.jobs-listing-section {
  background-color: #f8f9fa;
}

.jobs-sidebar {
  position: sticky;
  top: 100px;
}

.jobs-sidebar .sidebar-widget {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.5rem;
}

/* Sidebar Disclaimer Widget */
.jobs-sidebar .sidebar-disclaimer-widget {
  background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
  border: 2px solid #ffc107;
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.2);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.disclaimer-card-sidebar {
  background-color: transparent;
}

.disclaimer-header-sidebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(220, 53, 69, 0.2);
}

.disclaimer-header-sidebar .d-flex {
  flex: 1;
}

.disclaimer-header-sidebar i {
  font-size: 1.5rem;
  color: #dc3545;
  flex-shrink: 0;
}

.disclaimer-title-sidebar {
  font-family: "Garamond", "EB Garamond", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #dc3545;
  margin: 0;
  line-height: 1.3;
}

.btn-close-disclaimer {
  background: transparent;
  border: none;
  color: #dc3545;
  font-size: 1.25rem;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.btn-close-disclaimer:hover {
  background-color: rgba(220, 53, 69, 0.1);
  color: #a0262f;
}

.btn-close-disclaimer:focus {
  outline: 2px solid #dc3545;
  outline-offset: 2px;
}

.disclaimer-content-sidebar {
  font-family: "Inter", Arial, sans-serif;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

/* Custom scrollbar for disclaimer */
.disclaimer-content-sidebar::-webkit-scrollbar {
  width: 6px;
}

.disclaimer-content-sidebar::-webkit-scrollbar-track {
  background: rgba(255, 193, 7, 0.1);
  border-radius: 3px;
}

.disclaimer-content-sidebar::-webkit-scrollbar-thumb {
  background: rgba(220, 53, 69, 0.3);
  border-radius: 3px;
}

.disclaimer-content-sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(220, 53, 69, 0.5);
}

.disclaimer-text-sidebar {
  font-size: 0.85rem;
  color: #856404;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.disclaimer-text-sidebar strong {
  color: #dc3545;
  font-weight: 600;
}

.disclaimer-list-sidebar {
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem 0;
}

.disclaimer-list-sidebar li {
  font-size: 0.8rem;
  color: #856404;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  padding-left: 1.25rem;
  position: relative;
}

.disclaimer-list-sidebar li:before {
  content: "⚠";
  position: absolute;
  left: 0;
  color: #dc3545;
  font-weight: bold;
}

.disclaimer-list-sidebar li:last-child {
  margin-bottom: 0;
}

.jobs-sidebar .widget-title {
  font-family: "Garamond", "EB Garamond", serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #212e60;
  margin-bottom: 1rem;
}

.jobs-sidebar .widget-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.jobs-sidebar .widget-list li {
  margin-bottom: 0.5rem;
}

.jobs-sidebar .widget-link {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.95rem;
  color: #666;
  text-decoration: none;
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.jobs-sidebar .widget-link:hover {
  background-color: #f8f9fa;
  color: #365dab;
}

.jobs-sidebar .widget-link.active {
  background-color: #365dab;
  color: #ffffff;
  font-weight: 600;
}

/* Job Listing Deadline */
.job-listing-deadline {
  font-family: "Inter", Arial, sans-serif;
  margin-bottom: 0.75rem;
}

.deadline-label {
  font-size: 0.85rem;
  color: #666;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.deadline-label i {
  color: #dc3545;
  font-size: 1rem;
}

.deadline-label strong {
  color: #212e60;
  font-weight: 600;
}

.deadline-date {
  color: #365dab;
  font-weight: 500;
}

.deadline-label.deadline-expired {
  color: #dc3545;
}

.deadline-label.deadline-expired .deadline-date {
  color: #dc3545;
  text-decoration: line-through;
}

.deadline-label.deadline-soon {
  color: #856404;
}

.deadline-label.deadline-soon .deadline-date {
  color: #ffc107;
  font-weight: 600;
}

/* Section Title Small */
.section-title-small {
  font-family: "Garamond", "EB Garamond", serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #212e60;
  line-height: 1.2;
  white-space: nowrap;
}

/* Jobs/Skills Tabs */
.jobs-skills-tabs {
  border-bottom: 2px solid #e0e0e0;
  margin-bottom: 1.5rem;
}

.jobs-skills-tabs .nav-link {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #666;
  padding: 0.75rem 1.5rem;
  border: none;
  border-bottom: 3px solid transparent;
  background: transparent;
  transition: all 0.3s ease;
}

.jobs-skills-tabs .nav-link:hover {
  color: #365dab;
  border-bottom-color: rgba(54, 93, 171, 0.3);
}

.jobs-skills-tabs .nav-link.active {
  color: #365dab;
  border-bottom-color: #365dab;
  background: transparent;
}

.jobs-skills-tabs .nav-link i {
  font-size: 1.1rem;
}

.jobs-listing-header {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  margin-bottom: 2.5rem;
}

.skills-listing-header {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.jobs-description-single-line {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.jobs-grid {
  display: grid;
  gap: 1.5rem;
}

.job-listing-card {
  background-color: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  padding: 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.job-listing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(54, 93, 171, 0.15);
  border-color: #e2c042;
}

.job-listing-header {
  background: linear-gradient(135deg, #365dab 0%, #212e60 100%);
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
}

.job-listing-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.job-listing-icon i {
  font-size: 1.75rem;
  color: #ffffff;
}

.job-listing-badge {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #212e60;
  background-color: #e2c042;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.job-listing-placeholder-badge {
  background-color: #6c757d;
  color: #ffffff;
  font-size: 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.job-listing-header .d-flex {
  flex-wrap: wrap;
  gap: 0.5rem;
}

.job-listing-content {
  padding: 1.5rem;
}

.job-listing-title {
  font-family: "Garamond", "EB Garamond", serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #212e60;
  margin-bottom: 1rem;
}

.job-listing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.9rem;
  color: #666;
}

.job-listing-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.job-listing-meta i {
  color: #365dab;
  font-size: 0.875rem;
}

.job-listing-date {
  font-size: 0.85rem;
  color: #999;
  font-style: italic;
}

.job-listing-date i {
  color: #999;
  font-size: 0.875rem;
}

/* Job Details Modal */
.job-details {
  font-family: "Inter", Arial, sans-serif;
}

.job-details h4 {
  font-family: "Garamond", "EB Garamond", serif;
  color: #212e60;
  font-weight: 600;
}

.job-details-meta {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.8;
}

.job-details-meta strong {
  color: #212e60;
  font-weight: 600;
}

.job-details-meta i {
  color: #365dab;
  width: 20px;
}

.job-listing-description {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.95rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.job-listing-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.job-listing-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.btn-job-report {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #dc3545;
  background-color: transparent;
  border: 1px solid #dc3545;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  min-width: 40px;
}

.btn-job-report:hover {
  background-color: #dc3545;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* Jobs Disclaimer Section */
.jobs-disclaimer-section {
  background-color: #ffffff;
}

.disclaimer-card {
  background-color: #fff3cd;
  border: 2px solid #ffc107;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.1);
}

.disclaimer-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.disclaimer-header i {
  font-size: 2rem;
  color: #856404;
}

.disclaimer-title {
  font-family: "Garamond", "EB Garamond", serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #856404;
  margin: 0;
}

.disclaimer-content {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.95rem;
  color: #856404;
  line-height: 1.7;
}

.disclaimer-content p {
  margin-bottom: 1rem;
}

.disclaimer-content p:last-child {
  margin-bottom: 0;
}

.disclaimer-list {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.disclaimer-list li {
  margin-bottom: 0.5rem;
}

/* Report Spam Section */
.report-spam-section {
  background-color: #f8f9fa;
  border-top: 1px solid #e0e0e0;
}

.report-spam-card {
  background-color: #ffffff;
  border: 2px solid #dc3545;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.1);
}

.report-spam-title {
  font-family: "Garamond", "EB Garamond", serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #dc3545;
  margin-bottom: 0.5rem;
}

.report-spam-title i {
  color: #dc3545;
}

.report-spam-text {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

/* Responsive Styles for New Jobs Page Sections */
@media (max-width: 991.98px) {
  .jobs-sidebar {
    position: static;
    margin-bottom: 2rem;
  }

  .jobs-sidebar .sidebar-disclaimer-widget {
    padding: 1rem;
  }

  .disclaimer-title-sidebar {
    font-size: 1rem;
  }

  .disclaimer-text-sidebar {
    font-size: 0.8rem;
  }

  .disclaimer-list-sidebar li {
    font-size: 0.75rem;
  }

  .job-listing-card {
    margin-bottom: 1.5rem;
  }

  .job-listing-actions {
    flex-wrap: wrap;
  }

  .btn-job-view,
  .btn-job-apply,
  .btn-job-contact {
    flex: 1;
    min-width: 120px;
  }

  .post-job-cta-card {
    padding: 1.5rem;
  }

  .post-job-cta-title {
    font-size: 1.25rem;
  }

  .blogging-community-card {
    padding: 2rem;
  }

  .blogging-community-title {
    font-size: 1.75rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .blogging-community-title i {
    font-size: 2rem;
  }

  .join-blogger-btn {
    width: 100%;
  }

  .youth-for-youth-card {
    padding: 1.5rem;
  }

  .opportunity-type-card {
    padding: 0.875rem;
  }

  .opportunity-type-icon {
    width: 45px;
    height: 45px;
  }

  .opportunity-type-icon i {
    font-size: 1.25rem;
  }

  .opportunity-type-title {
    font-size: 0.95rem;
  }

  .opportunity-type-text {
    font-size: 0.8rem;
  }

  .community-stats-card {
    padding: 1.25rem;
    margin-top: 1.5rem;
  }

  .community-stats-title {
    font-size: 1.1rem;
  }

  .community-stats-text {
    font-size: 0.85rem;
  }

  .genz-movement {
    font-size: 1rem;
  }
}

@media (max-width: 575.98px) {
  .job-listing-header {
    padding: 1.25rem;
    flex-direction: column;
    gap: 1rem;
  }

  .job-listing-icon {
    width: 45px;
    height: 45px;
  }

  .job-listing-icon i {
    font-size: 1.5rem;
  }

  .job-listing-content {
    padding: 1.25rem;
  }

  .job-listing-title {
    font-size: 1.25rem;
  }

  .job-listing-meta {
    flex-direction: column;
    gap: 0.75rem;
  }

  .job-listing-actions {
    flex-direction: column;
  }

  .btn-job-view,
  .btn-job-apply,
  .btn-job-contact,
  .btn-job-report {
    width: 100%;
  }

  .disclaimer-card {
    padding: 1.5rem;
  }

  .disclaimer-title {
    font-size: 1.25rem;
  }

  .report-spam-card {
    padding: 1.25rem;
  }

  .report-spam-title {
    font-size: 1.1rem;
  }

  .blogging-community-card {
    padding: 1.5rem;
  }

  .blogging-community-title {
    font-size: 1.5rem;
  }

  .blogging-community-title i {
    font-size: 1.75rem;
  }

  .blogging-community-text {
    font-size: 1rem;
  }

  .blogging-benefits-list li {
    font-size: 0.95rem;
  }
}

/* ============================================
   Blog Page Styles
   ============================================ */

/* Blog Search Section */
.blog-search-section {
  background-color: #f8f9fa;
  border-bottom: 1px solid #e0e0e0;
}

.blog-main-search-form .input-group {
  max-width: 800px;
  margin: 0 auto;
}

.blog-main-search-form .form-control {
  border: 2px solid #e0e0e0;
  border-radius: 50px 0 0 50px;
  padding: 1rem 1.5rem;
  font-size: 1.1rem;
}

.blog-main-search-form .btn {
  border-radius: 0 50px 50px 0;
  padding: 1rem 2rem;
  font-weight: 600;
}

/* Featured Post Section */
.featured-post-section {
  background-color: #ffffff;
}

.featured-post-card {
  background-color: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(54, 93, 171, 0.15);
}

.featured-post-image {
  position: relative;
  height: 100%;
  min-height: 400px;
  overflow: hidden;
}

.featured-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-post-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 0%, rgba(33, 46, 96, 0.3) 100%);
}

.featured-post-content {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  min-height: 400px;
}

.featured-post-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.featured-post-date {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.9rem;
  color: #666;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.featured-post-date i {
  color: #365dab;
}

.featured-post-category {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #365dab;
  background-color: rgba(54, 93, 171, 0.1);
  padding: 0.4rem 1rem;
  border-radius: 20px;
}

.featured-post-title {
  font-family: "Garamond", "EB Garamond", serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #212e60;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.featured-post-excerpt {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1.1rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.featured-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.post-tag {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #365dab;
  background-color: rgba(54, 93, 171, 0.1);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  border: 1px solid rgba(54, 93, 171, 0.2);
}

/* Blog Posts Section */
.blog-posts-section {
  background-color: #f8f9fa;
}

.blog-controls {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.blog-section-title {
  font-family: "Garamond", "EB Garamond", serif;
  font-size: 2rem;
  font-weight: 700;
  color: #212e60;
  margin: 0;
}

.blog-filter-info {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.9rem;
  color: #666;
  margin: 0.5rem 0 0 0;
}

.clear-filters {
  color: #365dab;
  text-decoration: none;
  margin-left: 0.5rem;
}

.clear-filters:hover {
  text-decoration: underline;
}

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

@media (min-width: 768px) {
  .blog-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .blog-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.blog-post-card {
  background-color: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(54, 93, 171, 0.15);
}

.blog-post-image {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.blog-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 0;
  display: block;
}

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

.blog-post-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #212e60 0%, #365dab 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-post-image-placeholder i {
  font-size: 3rem;
  color: #ffffff;
  opacity: 0.8;
}

.blog-post-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, rgba(33, 46, 96, 0.9) 0%, rgba(33, 46, 96, 0.6) 60%, transparent 100%);
  z-index: 1;
}

.blog-post-title-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.25rem 1.5rem;
  z-index: 2;
  max-height: 40%;
  display: flex;
  align-items: flex-end;
}

.blog-post-title-overlay .blog-post-title {
  font-family: "Garamond", "EB Garamond", serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: calc(1.3em * 2);
}

.blog-post-title-overlay .blog-post-title a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.3s ease;
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.blog-post-title-overlay .blog-post-title a:hover {
  opacity: 0.85;
  text-decoration: none;
}

.blog-post-title-overlay .blog-post-title a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ffffff;
  transition: width 0.3s ease;
}

.blog-post-title-overlay .blog-post-title a:hover::after {
  width: 100%;
}

.blog-post-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  /* Prevent horizontal scrolling */
}

/* Image and media constraints in blog content */
.blog-post-content img,
.blog-post-content video,
.blog-post-content iframe,
.blog-post-content embed,
.blog-post-content object {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5rem auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.blog-post-content img {
  width: auto;
  max-width: 100%;
  height: auto;
}

.blog-post-content video {
  width: 100%;
  max-width: 100%;
  height: auto;
}

.blog-post-content iframe,
.blog-post-content embed,
.blog-post-content object {
  width: 100%;
  max-width: 100%;
  min-height: 300px;
}

/* Ensure tables don't overflow */
.blog-post-content table {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  display: block;
  margin: 1.5rem 0;
}

.blog-post-content table thead,
.blog-post-content table tbody {
  display: table;
  width: 100%;
}

/* Prevent any element from causing horizontal scroll */
.blog-post-content * {
  max-width: 100%;
  box-sizing: border-box;
}

/* Garamond font for all headings in blog content */
.blog-post-content h1,
.blog-post-content h2,
.blog-post-content h3,
.blog-post-content h4,
.blog-post-content h5,
.blog-post-content h6 {
  font-family: Garamond, "EB Garamond", serif;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--color-secondary);
}

.blog-post-content h1 {
  font-size: 2.5rem;
  margin-top: 0;
}

.blog-post-content h2 {
  font-size: 2rem;
}

.blog-post-content h3 {
  font-size: 1.75rem;
}

.blog-post-content h4 {
  font-size: 1.5rem;
}

.blog-post-content h5 {
  font-size: 1.25rem;
}

.blog-post-content h6 {
  font-size: 1.1rem;
}

.blog-post-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.blog-post-date {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.85rem;
  color: #666;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-post-date i {
  color: #365dab;
  font-size: 0.9rem;
}

.blog-post-category {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #365dab;
  background-color: rgba(54, 93, 171, 0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
}

.blog-post-title {
  font-family: "Garamond", "EB Garamond", serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: #212e60;
  margin-bottom: 0;
  line-height: 1.3;
}

.blog-post-excerpt {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: calc(1.7em * 3);
}

.blog-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.blog-post-link {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #365dab;
  background: rgba(54, 93, 171, 0.08);
  border: 1px solid rgba(54, 93, 171, 0.15);
  border-radius: 6px;
  padding: 8px 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  margin-top: 10px;
  align-self: flex-start;
}

.blog-post-link:hover {
  color: #212e60;
  background: rgba(54, 93, 171, 0.12);
  border-color: rgba(54, 93, 171, 0.25);
  transform: translateX(3px);
  text-decoration: none;
}

.blog-post-link::after {
  content: "→";
  font-weight: 500;
  font-size: 1rem;
  transition: transform 0.3s ease;
  opacity: 0.8;
}

.blog-post-link:hover::after {
  transform: translateX(4px);
  opacity: 1;
}

/* Blog Sidebar */
.blog-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
}

/* Override for sidebar-widget-featured to ensure it's always visible */
.sidebar-widget.sidebar-widget-featured {
  background: linear-gradient(135deg, #365dab 0%, #212e60 100%) !important;
  padding: 1.5rem !important;
  margin-top: 1rem !important;
  margin-bottom: 2rem !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
}

.widget-title {
  font-family: "Garamond", "EB Garamond", serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #212e60;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #e2c042;
}

.blog-search-form .input-group {
  border-radius: 8px;
  overflow: hidden;
}

.blog-search-form .form-control {
  border: 2px solid #e0e0e0;
  border-right: none;
  padding: 0.75rem 1rem;
}

.blog-search-form .btn {
  border: 2px solid #365dab;
  border-left: none;
  padding: 0.75rem 1rem;
}

.widget-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.widget-list li {
  margin-bottom: 0.75rem;
}

.widget-link {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.95rem;
  color: #666;
  text-decoration: none;
  display: block;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 1.5rem;
}

.widget-link::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #365dab;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.widget-link:hover,
.widget-link.active {
  color: #365dab;
  padding-left: 1.5rem;
  text-decoration: none;
}

.widget-link:hover::before,
.widget-link.active::before {
  opacity: 1;
}

.widget-link.active {
  font-weight: 600;
}

/* Tag Cloud */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-link {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #365dab;
  background-color: rgba(54, 93, 171, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  text-decoration: none;
  border: 1px solid rgba(54, 93, 171, 0.2);
  transition: all 0.3s ease;
}

.tag-link:hover {
  background-color: #365dab;
  color: #ffffff;
  transform: translateY(-2px);
  text-decoration: none;
}

/* Recent Posts */
.recent-posts-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.recent-post-item {
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #f0f0f0;
}

.recent-post-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.recent-post-link {
  text-decoration: none;
  display: block;
}

.recent-post-content {
  transition: transform 0.3s ease;
}

.recent-post-link:hover .recent-post-content {
  transform: translateX(5px);
}

.recent-post-title {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #212e60;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.recent-post-link:hover .recent-post-title {
  color: #365dab;
}

.recent-post-date {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.8rem;
  color: #999;
}

/* ============================================
   Blog Comments Section
   ============================================ */
.blog-comments-section {
  margin-top: 3rem;
  padding-top: 2rem;
}

.comments-list {
  margin-bottom: 2rem;
}

.comment-item {
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #e9ecef;
}

.comment-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.comment-header {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.comment-avatar {
  flex-shrink: 0;
}

.avatar-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #365dab 0%, #212e60 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  font-family: var(--font-primary);
}

.comment-author-info {
  flex: 1;
}

.comment-author-name {
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin-right: 0.5rem;
}

.comment-date {
  font-family: var(--font-primary);
  font-size: 0.85rem;
  color: #6c757d;
}

.comment-date i {
  margin-right: 0.25rem;
}

.comment-content {
  margin-left: 3rem;
  padding-left: 0.5rem;
}

.comment-content p {
  font-family: var(--font-primary);
  font-size: 0.95rem;
  line-height: 1.7;
  color: #333;
  margin: 0;
}

.no-comments {
  text-align: center;
  padding: 3rem 1rem;
}

.no-comments i {
  font-size: 3rem;
  color: #ccc;
  margin-bottom: 1rem;
}

.no-comments p {
  font-family: var(--font-primary);
  color: #6c757d;
  margin: 0;
}

/* Comment Form */
.comment-form {
  margin-top: 2rem;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 8px;
}

.comment-form h4 {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 1.5rem;
}

.comment-form .form-label {
  font-family: var(--font-primary);
  font-weight: 500;
  color: var(--color-secondary);
  margin-bottom: 0.5rem;
}

.comment-form .form-control,
.comment-form textarea.form-control {
  font-family: var(--font-primary);
  border: 1px solid #dee2e6;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.comment-form .form-control:focus,
.comment-form textarea.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.15rem rgba(54, 93, 171, 0.1);
  outline: none;
}

.comment-form #comment-submit-btn {
  font-family: var(--font-primary);
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

#subscription-required {
  margin-top: 1rem;
  padding: 1rem;
  border-left: 4px solid var(--color-primary);
}

#subscription-required strong {
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--color-secondary);
}

#subscription-required p {
  font-family: var(--font-primary);
  font-size: 0.9rem;
  margin: 0.5rem 0;
  color: #6c757d;
}

#quick-subscribe-form {
  margin-top: 0.75rem;
}

#quick-subscribe-form .form-control {
  flex: 1;
}

#comment-alert {
  margin-bottom: 1rem;
}

/* Comment Replies */
.comment-replies {
  margin-top: 1rem;
  padding-left: 1rem;
}

.comment-replies-container {
  margin-top: 1rem;
}

.view-replies-btn {
  font-size: 0.875rem;
  padding: 0.25rem 0.5rem;
  color: var(--color-primary);
  text-decoration: none;
  border: none;
  background: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.view-replies-btn:hover {
  color: var(--color-secondary);
  text-decoration: underline;
}

.view-replies-btn i {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.view-replies-btn[data-expanded="true"] i {
  transform: rotate(180deg);
}

.comment-item.border-start {
  border-left: 2px solid #e9ecef !important;
  padding-left: 1rem;
}

/* Add Comment Section */
.add-comment-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
}

.add-comment-section .btn {
  font-family: var(--font-primary);
  font-weight: 500;
  padding: 0.75rem 1.5rem;
}

.comment-form-container {
  margin-bottom: 2rem;
}

.view-more-comments-btn {
  font-family: var(--font-primary);
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  margin-top: 1rem;
}

.comment-actions {
  margin-left: auto;
}

.reply-btn {
  font-size: 0.875rem;
  padding: 0.375rem 0.5rem;
  min-width: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.reply-form-container {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 6px;
  margin-top: 0.75rem;
}

.reply-form textarea {
  font-size: 0.9rem;
  resize: vertical;
}

.reply-form .btn-sm {
  font-size: 0.875rem;
  padding: 0.375rem 0.75rem;
}

/* Responsive */
@media (max-width: 768px) {
  .comment-content {
    margin-left: 0;
    padding-left: 0;
  }

  .comment-header {
    flex-wrap: wrap;
  }

  .comment-author-name {
    display: block;
    margin-bottom: 0.25rem;
  }

  .comment-date {
    display: block;
    margin-left: 0;
  }

  .comment-actions {
    width: 100%;
    margin-top: 0.5rem;
    margin-left: 0;
  }

  .comment-item.border-start {
    margin-left: 0.5rem !important;
    padding-left: 0.75rem;
  }
}

.recent-post-link:hover {
  text-decoration: none;
}

/* Sidebar Featured Content */
.sidebar-widget.sidebar-widget-featured,
.sidebar-widget-featured {
  background: linear-gradient(135deg, #365dab 0%, #212e60 100%) !important;
  border-radius: 12px !important;
  padding: 1.5rem !important;
  margin-top: 1rem !important;
  margin-bottom: 2rem !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  position: relative !important;
  z-index: 1 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
}

.sidebar-widget-featured * {
  visibility: visible !important;
}

.sidebar-widget-featured .featured-content,
.sidebar-widget.sidebar-widget-featured .featured-content {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
}

.sidebar-widget-featured .featured-link,
.sidebar-widget.sidebar-widget-featured .featured-link {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  text-decoration: none !important;
  transition: transform 0.3s ease !important;
}

.sidebar-widget-featured .featured-link:hover,
.sidebar-widget.sidebar-widget-featured .featured-link:hover {
  text-decoration: none !important;
  transform: translateY(-2px) !important;
}

.sidebar-widget-featured .featured-box,
.sidebar-widget.sidebar-widget-featured .featured-box {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  background: #ffffff !important;
  border-radius: 8px !important;
  padding: 1.25rem !important;
  align-items: flex-start !important;
  gap: 1rem !important;
  transition: box-shadow 0.3s ease !important;
}

.sidebar-widget-featured .featured-link:hover .featured-box,
.sidebar-widget.sidebar-widget-featured .featured-link:hover .featured-box {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.sidebar-widget-featured .widget-title {
  color: #ffffff;
  margin-bottom: 1rem;
}

/* Base featured content styles */
.featured-content {
  width: 100%;
}

.featured-link {
  text-decoration: none;
  display: block;
  transition: transform 0.3s ease;
}

.featured-link:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.featured-box {
  background: #ffffff;
  border-radius: 8px;
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: box-shadow 0.3s ease;
}

.featured-link:hover .featured-box {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.featured-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #365dab 0%, #212e60 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.5rem;
}

.featured-text {
  flex: 1;
}

.featured-title {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #212e60;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}

.featured-description {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.875rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

.featured-link:hover .featured-title {
  color: #365dab;
}

/* Blog Pagination */
.blog-pagination .pagination {
  margin: 0;
}

.blog-pagination .page-link {
  font-family: "Inter", Arial, sans-serif;
  color: #365dab;
  border-color: #e0e0e0;
  padding: 0.75rem 1rem;
  margin: 0 0.25rem;
  border-radius: 8px;
}

.blog-pagination .page-link:hover {
  background-color: #f8f9fa;
  border-color: #365dab;
  color: #212e60;
}

.blog-pagination .page-item.active .page-link {
  background-color: #365dab;
  border-color: #365dab;
  color: #ffffff;
}

.blog-pagination .page-item.disabled .page-link {
  color: #999;
  background-color: #f8f9fa;
  border-color: #e0e0e0;
  cursor: not-allowed;
}

/* Responsive Styles for Blog Page */
@media (max-width: 991.98px) {
  .blog-title-above-breadcrumb {
    font-size: 1.875rem;
  }

  .blog-sidebar {
    position: static;
    margin-top: 3rem;
  }

  .featured-post-content {
    padding: 2rem;
    min-height: auto;
  }

  .featured-post-title {
    font-size: 2rem;
  }

  .blog-post-image {
    height: 240px;
  }

  .blog-post-title-overlay {
    padding: 1rem 1.25rem;
  }

  .blog-post-title-overlay .blog-post-title {
    font-size: 1.5rem;
    -webkit-line-clamp: 2;
    max-height: calc(1.3em * 2);
  }
}

@media (max-width: 767.98px) {
  .blog-title-above-breadcrumb {
    font-size: 1.5rem;
  }

  .blog-post-card {
    flex-direction: column;
  }

  .blog-post-image {
    width: 100%;
    height: 220px;
  }

  .blog-post-title-overlay {
    padding: 0.875rem 1rem;
  }

  .blog-post-title-overlay .blog-post-title {
    font-size: 1.35rem;
    -webkit-line-clamp: 2;
    max-height: calc(1.3em * 2);
  }

  .featured-post-card .row {
    flex-direction: column;
  }

  .featured-post-image {
    min-height: 300px;
  }

  .featured-post-content {
    min-height: auto;
  }

  .featured-post-title {
    font-size: 1.75rem;
  }

  .blog-section-title {
    font-size: 1.75rem;
  }
}

/* ============================================
   Related Posts Section Styles
   ============================================ */
.related-posts-section {
  margin-top: 3rem;
  padding-top: 3rem;
}

.related-posts-section h3 {
  font-family: "Garamond", "EB Garamond", serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: #212e60;
  margin-bottom: 2rem;
}

.related-posts-section .row {
  display: flex;
  flex-wrap: wrap;
}

.related-posts-section .col-md-4 {
  display: flex;
  margin-bottom: 2rem;
}

.related-post-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.related-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(54, 93, 171, 0.15);
}

.related-post-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, #212e60 0%, #365dab 100%);
  flex-shrink: 0;
}

.related-post-image a {
  display: block;
  width: 100%;
  height: 100%;
}

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

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

.related-post-title {
  padding: 1.25rem 1.25rem 0.75rem;
  margin: 0;
  flex-grow: 1;
}

.related-post-title a {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #212e60;
  text-decoration: none;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s ease;
}

.related-post-title a:hover {
  color: #365dab;
}

.related-post-date {
  padding: 0 1.25rem 1.25rem;
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.875rem;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.related-post-date i {
  color: #365dab;
  font-size: 0.875rem;
}

/* Responsive Related Posts */
@media (max-width: 767.98px) {
  .related-posts-section .col-md-4 {
    margin-bottom: 1.5rem;
  }

  .related-post-image {
    height: 180px;
  }

  .related-posts-section h3 {
    font-size: 1.5rem;
  }
}

/* ============================================
   Privacy Policy & Legal Pages Styles
   ============================================ */

/* Policy Content Section */
.policy-content-section {
  background-color: #ffffff;
}

.policy-content {
  background-color: #ffffff;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.policy-last-updated {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.9rem;
  color: #999;
  font-style: italic;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e0e0e0;
}

.policy-section {
  margin-bottom: 3rem;
}

.policy-section:last-child {
  margin-bottom: 0;
}

.policy-heading {
  font-family: "Garamond", "EB Garamond", serif;
  font-size: 2rem;
  font-weight: 700;
  color: #212e60;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #e2c042;
}

.policy-subheading {
  font-family: "Garamond", "EB Garamond", serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #365dab;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.policy-text {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.policy-text strong {
  color: #212e60;
  font-weight: 600;
}

.policy-text a {
  color: #365dab;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.policy-text a:hover {
  border-bottom-color: #365dab;
  text-decoration: none;
}

.policy-list {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1rem;
  color: #666;
  line-height: 1.8;
  margin: 1.25rem 0;
  padding-left: 1.5rem;
}

.policy-list li {
  margin-bottom: 0.75rem;
}

.policy-list li strong {
  color: #212e60;
  font-weight: 600;
}

.contact-info-box {
  background-color: #f8f9fa;
  padding: 2rem;
  border-radius: 12px;
  margin-top: 1.5rem;
  border-left: 4px solid #365dab;
}

.contact-info-box p {
  margin-bottom: 0.75rem;
}

.contact-info-box i {
  color: #365dab;
  margin-right: 0.5rem;
}

.contact-info-box a {
  color: #365dab;
  text-decoration: none;
}

.contact-info-box a:hover {
  text-decoration: underline;
}

/* Responsive Styles for Policy Pages */
@media (max-width: 991.98px) {
  .policy-content {
    padding: 2rem;
  }

  .policy-heading {
    font-size: 1.75rem;
  }

  .policy-subheading {
    font-size: 1.3rem;
  }
}

@media (max-width: 575.98px) {
  .policy-content {
    padding: 1.5rem;
  }

  .policy-heading {
    font-size: 1.5rem;
  }

  .policy-subheading {
    font-size: 1.2rem;
  }

  .policy-text {
    font-size: 0.95rem;
  }

  .policy-list {
    font-size: 0.95rem;
    padding-left: 1.25rem;
  }

  .contact-info-box {
    padding: 1.5rem;
  }
}

/* ============================================
   20. Premium Page Hero Section
   ============================================ */
.page-hero-section {
  position: relative;
  background: linear-gradient(135deg, #1a2345 0%, #365dab 100%);
  padding: 120px 0 100px;
  overflow: hidden;
  margin-bottom: 0;
  text-align: center;
}

/* Subtle pattern overlay for depth */
.page-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

/* Optional noise texture for premium feel */
.page-hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.page-hero-title {
  font-family: var(--font-secondary);
  font-size: 3.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  animation: fadeUp 0.8s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

.page-hero-subtitle {
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 3px;
  display: inline-block;
  position: relative;
  margin-top: 0.5rem;
  animation: fadeUp 0.8s ease-out 0.2s forwards;
  opacity: 0;
  transform: translateY(20px);
}

/* Simple separator line */
.page-hero-subtitle::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background-color: var(--color-accent);
  margin: 0 auto 1.5rem;
  opacity: 0.8;
}

/* Animation Keyframes */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .page-hero-section {
    padding: 100px 0 80px;
  }

  .page-hero-title {
    font-size: 2.75rem;
  }
}

@media (max-width: 575.98px) {
  .page-hero-section {
    padding: 80px 0 60px;
  }

  .page-hero-title {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .page-hero-subtitle {
    font-size: 0.85rem;
    letter-spacing: 2px;
  }
}

/* ============================================
   21. Hero Button Styles (High Contrast)
   ============================================ */
.btn-hero-secondary {
  background-color: transparent;
  border: 2px solid #ffffff;
  color: #ffffff !important;
  font-weight: 600;
  padding: 10px 24px;
  transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
  background-color: #ffffff;
  color: #212e60 !important;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-hero-secondary-dark {
  background-color: transparent;
  border: 2px solid #212e60;
  color: #212e60 !important;
  font-weight: 600;
  padding: 10px 24px;
  transition: all 0.3s ease;
}

.btn-hero-secondary-dark:hover {
  background-color: #212e60;
  color: #ffffff !important;
  border-color: #212e60;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(33, 46, 96, 0.25);
}