/* Modern Styling for Sali na Papa */
:root {
  --primary-color: #d49a2a;
  --primary-dark: #eb9b11;
  --secondary-color: #142b4a;
  --text-dark: #243b53;
  --text-light: #718096;
  --bg-light: #f4f7fb;
  --success-color: #51cf66;
  --error-color: #ff6b6b;
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

/* Dedicated EYM story sections */
.eym-story-section { padding: 105px 0 95px; background: #f7fafc; }
.eym-intro-row h2, .eym-motivation-section h2 { color: var(--secondary-color); font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.05; margin: 18px 0 24px; font-weight: 600; }
.eym-intro-row p { max-width: 600px; color: #526276; line-height: 1.9; margin-bottom: 14px; }
.eym-intro-row .eym-lead { color: var(--secondary-color); font-size: 19px; line-height: 1.7; }
.eym-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--primary-dark); font-size: 12px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; }
.eym-intro-visual { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 390px; padding: 36px 28px; border-radius: 8px; background: #ffffff; border: 1px solid #e7edf4; box-shadow: 0 12px 30px rgba(20, 43, 74, .08); }
.eym-visual-image { display: block; width: min(190px, 60%); height: auto; margin-bottom: 20px; }
.eym-visual-copy { display: block; max-width: 330px; color: var(--secondary-color); font-size: 14px; line-height: 1.6; text-align: center; }
.eym-visual-stamp { display: block; max-width: 360px; margin-top: 12px; color: var(--primary-dark); font-size: 15px; line-height: 1.5; text-align: center; font-weight: 700; }
@media (max-width: 767px) {
  .eym-intro-visual { min-height: 340px; margin-top: 35px; padding: 28px 18px; }
  .eym-visual-image { width: min(160px, 56%); }
  .eym-visual-copy, .eym-visual-stamp { max-width: 100%; }
}
.eym-history-section { background: #fff; }
.eym-section-heading { margin-bottom: 48px; }
.eym-section-heading h2 { margin: 12px 0 10px; color: var(--secondary-color); font-size: 42px; }
.eym-section-heading p { color: #718096; }
.eym-timeline { max-width: 850px; margin: 0 auto; border-left: 2px solid rgba(212,154,42,.35); padding-left: 38px; }
.eym-timeline-item { position: relative; display: grid; grid-template-columns: 125px 1fr; gap: 24px; padding-bottom: 38px; }
.eym-timeline-item:last-child { padding-bottom: 0; }
.eym-timeline-item:before { content: ''; position: absolute; left: -47px; top: 4px; width: 16px; height: 16px; border: 4px solid #fff; border-radius: 50%; background: var(--primary-color); box-shadow: 0 0 0 2px var(--primary-color); }
.eym-year { color: var(--primary-dark); font: 600 19px/1.2 'Oswald', sans-serif; }
.eym-timeline-item h3 { color: var(--secondary-color); font-size: 24px; margin-bottom: 8px; }
.eym-timeline-item p { color: #718096; line-height: 1.8; }
.eym-timeline-media:not(:empty) { margin-top: 18px; }
.eym-timeline-image { display: block; width: 100%; max-width: 640px; max-height: 360px; height: auto; margin: 0 auto; object-fit: contain; border-radius: 6px; }
.eym-motivation-section { position: relative; overflow: hidden; color: #fff; background: var(--secondary-color); }
.eym-motivation-section:after { content: ''; position: absolute; width: 280px; height: 280px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; right: -80px; top: -100px; }
.eym-motivation-section h2 { color: #fff; font-size: 48px; margin-bottom: 0; }
.eym-motivation-section p { position: relative; z-index: 1; color: #d7e1ee; font-size: 18px; line-height: 1.9; margin: 0; }
.eym-eyebrow-light { color: #f4bd4b; }
.eym-ideas-section { background: #f7fafc; }
.eym-idea-card { height: 100%; padding: 30px 24px; border: 1px solid #e7edf4; border-radius: 6px; background: #fff; box-shadow: 0 12px 30px rgba(20,43,74,.06); transition: transform .25s ease, box-shadow .25s ease; }
.eym-idea-card:hover { transform: translateY(-8px); box-shadow: 0 20px 36px rgba(20,43,74,.12); }
.eym-idea-icon { display: grid; place-items: center; width: 100%; height: 100px; margin-bottom: 25px; border-radius: 20%; color: #fff; background: #fff; font-size: 19px; }
.eym-idea-image { display: block; width: 200px; height: 95px; object-fit: contain; }
.eym-idea-card h3 { color: var(--secondary-color); font-size: 22px; margin-bottom: 12px; text-align: center; }
.eym-idea-card p { color: #718096; line-height: 1.75; font-size: 14px; }
@media (max-width: 767px) {
  .eym-story-section { padding: 75px 0; }
  .eym-intro-row h2 { font-size: 42px; }
  .eym-intro-visual { min-height: 340px; margin-top: 35px; }
  .eym-visual-circle { width: 155px; height: 155px; padding: 15px; }
  .eym-visual-stamp { top: 20px; right: 16px; width: 130px; }
  .eym-visual-copy { right: 20px; bottom: 22px; left: 20px; }
  .eym-timeline-item { grid-template-columns: 1fr; gap: 8px; }
  .eym-motivation-section h2 { font-size: 38px; margin-bottom: 24px; }
}

/* Update Sticky Header */
.site-navbar {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 16px rgba(20, 43, 74, 0.12);
  backdrop-filter: blur(10px);
}

.site-navbar.scrolled {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Navigation Styling */
.site-menu {
  list-style: none;
}

.nav-link {
  position: relative;
  font-weight: 500;
  color: var(--secondary-color);
  padding: 0.5rem 1rem;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-dark);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--primary-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* Footer Improvements */
.footer-modern {
  margin-top: 2.5rem;
  padding: 2.75rem 0 1rem;
  background: linear-gradient(135deg, #142b4a 0%, #243b53 100%) !important;
}

.footer-modern .container { max-width: 1200px; }
.footer-modern .footer_bg { row-gap: 1.5rem; }
.footer-modern .footer-column { margin-bottom: 0; }
.footer-modern .footer_logo img { width: 145px; max-width: 100%; height: auto; margin-bottom: .75rem; }
.footer-modern .footer_logo p { max-width: 340px; margin: 0; color: #a0aec0; line-height: 1.65; font-size: .9rem; }
.footer-modern .single_footer,
.footer-modern .newsletter-form { padding-top: 0; }
.footer-modern .single_footer h4,
.footer-modern .newsletter-form h4 { margin: 0 0 .9rem; font-size: .95rem; letter-spacing: .02em; }
.footer-modern .single_footer ul { margin: 0; }
.footer-modern .single_footer ul li { margin: 0; transition: transform .2s ease; }
.footer-modern .single_footer ul li a { display: block; color: #a0aec0; line-height: 1.9; font-size: .88rem; }
.footer-modern .single_footer ul li a:before { display: none; }
.footer-modern .single_footer ul li:hover { transform: translateX(4px); }
.footer-modern .newsletter { max-width: 360px; }
.footer-modern .subscribe__input { min-height: 42px; padding: .65rem .8rem; font-size: .85rem; }
.footer-modern .subs_btn { min-height: 42px; padding: .65rem 1rem; border: 0; border-radius: 0 4px 4px 0; background: linear-gradient(135deg, #00ffff 0%, #0099ff 100%); color: #142b4a; font-size: .85rem; font-weight: 600; }
.footer-modern .footer-bottom { margin-top: 1.75rem; }
.footer-modern .footer_copyright { padding-top: 1rem; margin-top: 0; }
.footer-modern .footer_copyright p { margin: .2rem 0; color: #8492a6; font-size: .78rem; }
.footer-modern .footer_copyright a { color: #00d9e8; }
.footer-modern .social_profile { margin-top: 1rem; }
.footer-modern .social_profile ul li a { width: 32px; height: 32px; line-height: 32px; margin-right: 6px; font-size: 14px; color: #a0aec0; background: rgba(255,255,255,.08); }

.footer-modern .social-icon:hover {
  color: var(--primary-color) !important;
  transform: translateY(-3px);
}

.footer-modern a:hover {
  color: var(--primary-color);
  text-decoration: none;
}

.footer-modern .single_footer h4 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

/* Modern Form Styling */
.form-control {
  border: 1px solid #e0e0e0;
  border-radius: var(--border-radius);
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: var(--transition);
  background: #fff;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(212, 154, 42, 0.2);
}

.form-control::placeholder {
  color: #999;
}

.preloader img {
  width: min(180px, 55vw);
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(212, 154, 42, 0.25));
}

.site-logo img {
  width: 132px;
  height: auto;
}

.site-navbar .site-menu > li > a {
  color: var(--secondary-color);
}

/* Floating pill navigation */
.site-navbar {
  top: 18px;
  left: 0;
  right: 0;
  width: auto;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  z-index: 1999;
}

.site-navbar > .container {
  max-width: 1440px;
  padding: 0 18px;
}

.site-navbar > .container > .row {
  min-height: 78px;
  margin: 0;
  padding: 8px 18px 8px 26px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(20, 43, 74, .08);
  border-radius: 26px;
  box-shadow: 0 14px 35px rgba(20, 43, 74, .15);
  backdrop-filter: blur(14px);
}

.site-navbar .col-xl-2 {
  flex: 0 0 280px;
  max-width: 280px;
  width: auto;
}

.site-navbar .col-md-10 {
  flex: 1 1 auto;
  max-width: none;
  width: auto;
}

.site-navbar .site-logo img {
  display: block;
  width: 320px;
  height: 95px;
  max-width: 100%;
  object-fit: fill;
  object-position: center;
  transform: none;
}

.site-navbar .site-logo {
  width: 320px;
  height: 95px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.site-navbar .site-navigation {
  width: 100%;
}

.site-navbar .site-navigation .site-menu {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  float: none;
  white-space: nowrap;
}

.site-navbar .site-navigation .site-menu > li {
  display: block;
}

.site-navbar .site-navigation .site-menu > li > a {
  padding: 13px 13px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1;
  transition: color .25s ease, background-color .25s ease, transform .25s ease;
}

.site-navbar .site-navigation .site-menu > li > a:hover,
.site-navbar .site-navigation .site-menu > li.is-current > a {
  color: var(--primary-dark) !important;
  background: rgba(212, 154, 42, .13);
  transform: translateY(-1px);
}

.site-navbar .site-navigation .site-menu > li > a::after {
  left: 18px;
  right: 18px;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary-color);
}

.site-navbar .site-navigation .site-menu > li.is-current > a::after {
  transform: scaleX(1);
}

.site-navbar .site-navigation .site-menu .has-children > a {
  padding-right: 27px;
}

.site-navbar .site-navigation .site-menu .has-children > a::before {
  right: 10px;
  font-size: 13px;
}

.site-navbar .site-navigation .site-menu .has-children .dropdown {
  margin-top: 14px;
  padding: 8px;
  border: 1px solid rgba(20, 43, 74, .08);
  border-top: 3px solid var(--primary-color);
  border-radius: 16px;
  box-shadow: 0 16px 30px rgba(20, 43, 74, .16);
}

.site-navbar .site-navigation .site-menu .has-children .dropdown > li > a {
  border-radius: 10px;
  padding: 11px 14px;
  transition: background-color .2s ease, color .2s ease, padding-left .2s ease;
}

/* Gallery */
.gallery-hero { background: linear-gradient(120deg, #142b4a 0%, #244d63 58%, #d49a2a 150%); }
.gallery-hero .section-top-title { padding: 150px 0 80px; }
.gallery-hero .section-top-title h1 { color: #fff; font-size: clamp(2.5rem, 6vw, 5rem); margin: .45rem 0 .75rem; }
.gallery-hero .section-top-title p { color: rgba(255,255,255,.8); font-size: 1.05rem; margin: 0; }
.gallery-page { background: #f4f7fb; }
.gallery-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.gallery-toolbar h2 { color: #142b4a; font-size: clamp(1.8rem, 3vw, 2.7rem); margin: .4rem 0 0; }
.gallery-kicker { color: #a97112; font-size: .72rem; font-weight: 700; letter-spacing: .16em; }
.gallery-search { display: flex; align-items: center; gap: .75rem; min-width: min(100%, 300px); padding: .85rem 1rem; border: 1px solid #d8e0e9; border-radius: 12px; background: #fff; color: #a97112; }
.gallery-search input { width: 100%; border: 0; outline: 0; color: #142b4a; background: transparent; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.gallery-card { overflow: hidden; background: #fff; border: 1px solid rgba(20,43,74,.07); border-radius: 16px; box-shadow: 0 18px 55px rgba(20,43,74,.09); transition: transform .25s ease, box-shadow .25s ease; }
.gallery-card:hover { transform: translateY(-7px); box-shadow: 0 25px 65px rgba(20,43,74,.15); }
.gallery-card-media { display: block; position: relative; height: 270px; overflow: hidden; background: #dbe5ec; }
.gallery-card-media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .45s ease; }
.gallery-card:hover .gallery-card-media img { transform: scale(1.06); }
.gallery-view { position: absolute; right: 1rem; bottom: 1rem; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.94); color: #142b4a; opacity: 0; transition: opacity .25s ease; }
.gallery-card:hover .gallery-view { opacity: 1; }
.gallery-card-body { padding: 1.25rem 1.35rem 1.4rem; }
.gallery-card-meta { display: flex; gap: .8rem; flex-wrap: wrap; color: #718096; font-size: .76rem; }
.gallery-card-meta i { color: #d49a2a; margin-right: .2rem; }
.gallery-card h3 { margin: .8rem 0 .5rem; color: #142b4a; font-size: 1.25rem; }
.gallery-card p { color: #718096; line-height: 1.7; margin: 0; white-space: pre-line; }
.gallery-empty, .gallery-no-results { padding: 4rem 1rem; text-align: center; color: #718096; }
.gallery-empty i { color: #d49a2a; font-size: 3rem; margin-bottom: 1rem; }
.gallery-empty h3 { color: #142b4a; }
.gallery-admin-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; }
.gallery-admin-heading h2 { color: #142b4a; margin: .35rem 0; }
.gallery-admin-heading p { color: #718096; margin: 0; }
.gallery-admin-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.gallery-admin-card { overflow: hidden; border: 1px solid #e0e7ef; border-radius: 12px; background: #fff; }
.gallery-admin-card > img { width: 100%; height: 180px; object-fit: cover; display: block; }
.gallery-admin-card-body { padding: 1rem; }
.gallery-admin-card-title { display: flex; align-items: start; justify-content: space-between; gap: .5rem; }
.gallery-admin-card h3 { color: #142b4a; font-size: 1rem; margin: 0; }
.gallery-admin-card p { color: #718096; font-size: .85rem; min-height: 42px; margin: .65rem 0; }
.gallery-admin-card small { color: #718096; }
.gallery-status { white-space: nowrap; padding: .25rem .5rem; border-radius: 20px; background: #edf2f7; color: #718096; font-size: .68rem; }
.gallery-status.is-live { background: #e6f8ed; color: #21804b; }
.gallery-admin-actions { display: flex; gap: 1rem; margin-top: 1rem; }
.gallery-form { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); gap: 1.5rem; }
.gallery-form-main, .gallery-form-side { min-width: 0; }
.gallery-upload-box { display: flex; flex-direction: column; align-items: center; gap: .65rem; padding: 2rem 1.25rem; border: 1.5px dashed #d49a2a; border-radius: 12px; background: #fffaf0; text-align: center; }
.gallery-upload-box i { color: #d49a2a; font-size: 2rem; }
.gallery-upload-box label { color: #142b4a; font-weight: 600; }
.gallery-upload-box small { color: #718096; }
.gallery-check { display: block; margin-top: 1rem; color: #334e68; }
.gallery-current-image { width: 100%; height: 210px; object-fit: cover; border-radius: 12px; margin-bottom: 1rem; }
.gallery-form-actions { grid-column: 1 / -1; display: flex; gap: .75rem; }
.gallery-empty-admin { padding: 3rem; text-align: center; color: #718096; border: 1px dashed #cbd5e1; border-radius: 12px; }
.gallery-empty-admin i { display: block; color: #d49a2a; font-size: 2.5rem; margin-bottom: .75rem; }
.gallery-empty-admin h3 { color: #142b4a; }
@media (max-width: 991px) { .gallery-grid, .gallery-admin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .gallery-toolbar, .gallery-admin-heading { align-items: stretch; flex-direction: column; } .gallery-grid, .gallery-admin-grid, .gallery-form { grid-template-columns: 1fr; } .gallery-search { min-width: 0; } .gallery-card-media { height: 230px; } }

.site-navbar .site-navigation .site-menu .has-children .dropdown > li > a:hover,
.site-navbar .site-navigation .site-menu .has-children .dropdown > li.is-current > a {
  color: var(--primary-dark) !important;
  background: rgba(212, 154, 42, .12);
  padding-left: 18px;
}

.mobile-menu-brand {
  display: inline-flex;
  align-items: center;
  height: 42px;
}

.mobile-menu-brand img {
  width: 154px;
  height: 42px;
  object-fit: contain;
  object-position: left center;
}

.site-mobile-menu .site-mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(20, 43, 74, .1);
}

.site-mobile-menu .site-mobile-menu-header .site-mobile-menu-close {
  margin-top: 0 !important;
}

.site-mobile-menu .site-nav-wrap > li {
  animation: mobileNavIn .35s ease both;
}

.site-mobile-menu .site-nav-wrap > li:nth-child(2) { animation-delay: .03s; }
.site-mobile-menu .site-nav-wrap > li:nth-child(3) { animation-delay: .06s; }
.site-mobile-menu .site-nav-wrap > li:nth-child(4) { animation-delay: .09s; }
.site-mobile-menu .site-nav-wrap > li:nth-child(5) { animation-delay: .12s; }

.site-mobile-menu .site-nav-wrap > li > a {
  margin: 3px 0;
  border-radius: 12px;
  font-size: 17px;
  transition: background-color .2s ease, color .2s ease, padding-left .2s ease;
}

.site-mobile-menu .site-nav-wrap > li > a:hover,
.site-mobile-menu .site-nav-wrap > li.is-current > a,
.site-mobile-menu .site-nav-wrap > li > a[aria-current="page"] {
  color: var(--primary-dark);
  background: rgba(212, 154, 42, .13);
  padding-left: 26px;
}

.site-mobile-menu .site-nav-wrap .dropdown > li.is-current > a {
  color: var(--primary-dark);
  font-weight: 600;
}

@keyframes mobileNavIn {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: translateX(0); }
}

.site-mobile-menu .site-nav-wrap a {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
}

.single_feature,
.single_service,
.home_single_blog,
.contact,
.skill_bg,
.promotional_content {
  border-radius: 14px;
}

.partners-section {
  position: relative;
  overflow: hidden;
  background: #f5f7f2;
}

.partners-heading {
  margin-bottom: 38px;
}

.partners-heading h2 {
  color: #173f35;
  margin-bottom: 12px;
}

.partners-heading p {
  color: #65746d;
}

.partners-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: #c6922d;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
}

.partners-marquee {
  position: relative;
  overflow: hidden;
  margin: 0 -15px;
  padding: 8px 15px 18px;
}

.partners-marquee::before,
.partners-marquee::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 12%;
  content: '';
  pointer-events: none;
}

.partners-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #f5f7f2, rgba(245, 247, 242, 0));
}

.partners-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #f5f7f2, rgba(245, 247, 242, 0));
}

.partners-track {
  display: flex;
  width: max-content;
  animation: partners-slide 28s linear infinite;
}

.partners-set {
  display: flex;
  gap: 20px;
  padding-right: 20px;
}

.partner-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 250px;
  min-height: 112px;
  padding: 20px 22px;
  border: 1px solid rgba(23, 63, 53, .1);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(23, 63, 53, .08);
  color: #173f35;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.partner-card:hover,
.partner-card:focus-visible {
  border-color: #c6922d;
  color: #173f35;
  transform: translateY(-7px);
  box-shadow: 0 20px 34px rgba(23, 63, 53, .16);
}

.partner-mark {
  display: grid;
  flex: 0 0 54px;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #173f35;
  color: #f4cf79;
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 700;
}

.partner-mark i {
  font-family: 'Font Awesome 6 Free';
  font-size: 21px;
}

.partner-name {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

.partner-jesuits {
  justify-content: center;
}

.partner-logo {
  display: block;
  width: 100%;
  max-width: 205px;
  height: auto;
}

.partner-east-africa .partner-mark { background: #246b55; }
.partner-vatican .partner-mark { background: #9d1c2e; }
.partner-prayer .partner-mark { background: #c6922d; color: #fff; }
.partner-click .partner-mark { background: #2d6f9f; color: #fff; }

@keyframes partners-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.partners-marquee:hover .partners-track,
.partners-marquee:focus-within .partners-track {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .partners-track { animation: none; }
  .partner-card { transition: none; }
}

img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 1199px) {
  .site-navbar .site-navigation .site-menu > li > a {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 14px;
  }

  .kenburns_061_slide {
    top: 20%;
    left: 7%;
    right: 7%;
    width: auto;
    text-align: center;
  }

  .kenburns_061_slide > h1 {
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.1;
  }

  .kenburns_061_slide > h2 {
    font-size: 21px;
    line-height: 1.45;
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .site-navbar > .container { padding: 0 10px; }
  .site-navbar > .container > .row { padding-left: 18px; padding-right: 12px; }
  .site-navbar .col-xl-2 { flex-basis: 220px; max-width: 220px; }
  .site-navbar .site-logo { width: 205px; height: 58px; }
  .site-navbar .site-logo img { width: 205px; height: 58px; transform: none; }
  .site-navbar .site-navigation .site-menu > li > a { padding-left: 9px; padding-right: 9px; font-size: 13px; }
}

@media (max-width: 768px) {
  .site-navbar {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    width: auto;
  }

  .site-navbar > .container { padding: 0; }
  .site-navbar > .container > .row { min-height: 68px; padding: 7px 14px 7px 18px; border-radius: 20px; }
  .site-navbar .col-xl-2 { flex: 0 0 75%; max-width: 75%; }
  .site-navbar .col-6.d-inline-block.d-xl-none { flex: 0 0 25%; max-width: 25%; padding-top: 0 !important; padding-bottom: 0 !important; }
  .site-navbar .site-logo { width: 178px; height: 50px; }
  .site-navbar .site-logo img { width: 178px; height: 50px; transform: none; }
  .site-navbar .site-menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(212, 154, 42, .13); color: var(--secondary-color); }

  .site-logo img {
    width: 112px;
  }

  .section-padding {
    padding: 56px 0;
  }

  .video_card {
    padding: 24px !important;
    border-radius: 20px !important;
  }

  .kenburns_061_slide > h1 {
    font-size: clamp(30px, 8vw, 48px);
  }

  .kenburns_061_slide > h2 {
    font-size: 18px;
    line-height: 1.5;
  }
}

@media (min-width: 769px) and (max-width: 1199px) {
  .site-navbar > .container { padding: 0 14px; }
  .site-navbar > .container > .row { min-height: 72px; padding: 7px 18px; }
  .site-navbar .col-xl-2 { flex: 0 0 50%; max-width: 50%; }
  .site-navbar .site-logo { width: 190px; height: 54px; }
  .site-navbar .site-logo img { width: 190px; height: 54px; transform: none; }
  .site-navbar .site-menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(212, 154, 42, .13); color: var(--secondary-color); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Button Styling */
.btn-primary,
.contact_btn,
.subs_btn {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  border: none;
  border-radius: var(--border-radius);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  color: var(--secondary-color);
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(212, 154, 42, 0.2);
}

.btn-primary:hover,
.contact_btn:hover,
.subs_btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 154, 42, 0.3);
}

.btn-primary:focus,
.contact_btn:focus,
.subs_btn:focus {
  box-shadow: 0 0 0 0.2rem rgba(212, 154, 42, 0.25);
}

/* Blog Card Styling */
.blog-card,
.home_single_blog {
  border: 1px solid #e0e0e0;
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.blog-card:hover,
.home_single_blog:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

.blog-card-image,
.home_single_blog img {
  height: 250px;
  object-fit: cover;
  overflow: hidden;
}

.blog-card-image img,
.home_single_blog img {
  transition: var(--transition);
}

.blog-card:hover .blog-card-image img,
.home_single_blog:hover img {
  transform: scale(1.05);
}

/* Admin Panel Styling */
.admin-container {
  padding: 2rem 0;
}

.admin-header {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--text-dark) 100%);
  color: #fff;
  padding: 2rem;
  border-radius: var(--border-radius);
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.admin-nav {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.admin-nav-btn {
  background: #fff;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}

.admin-nav-btn:hover,
.admin-nav-btn.active {
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
}

.admin-table {
  background: #fff;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.admin-table table {
  width: 100%;
  margin-bottom: 0;
}

.admin-table th {
  background: var(--secondary-color);
  color: #fff;
  padding: 1rem;
  font-weight: 600;
}

.admin-table td {
  padding: 1rem;
  border-bottom: 1px solid #e0e0e0;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-table tr:hover {
  background: var(--bg-light);
}

/* Action Buttons */
.btn-edit,
.btn-delete,
.btn-view {
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  font-size: 0.9rem;
  margin-right: 0.5rem;
  text-decoration: none;
  display: inline-block;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-edit {
  background: #3498db;
  color: #fff;
}

.btn-edit:hover {
  background: #2980b9;
  text-decoration: none;
  color: #fff;
}

.btn-delete {
  background: var(--error-color);
  color: #fff;
}

.btn-delete:hover {
  background: #e55039;
  text-decoration: none;
  color: #fff;
}

.btn-view {
  background: #2ecc71;
  color: #fff;
}

.btn-view:hover {
  background: #27ae60;
  text-decoration: none;
  color: #fff;
}

/* Form Sections */
.form-section {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.form-section h2 {
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.form-group label {
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

/* Alert Messages */
.alert {
  border-radius: var(--border-radius);
  border: none;
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
}

.alert-success {
  background: rgba(81, 207, 102, 0.1);
  color: #27ae60;
  border-left: 4px solid var(--success-color);
}

.alert-error {
  background: rgba(255, 107, 107, 0.1);
  color: #c92a2a;
  border-left: 4px solid var(--error-color);
}

.alert-info {
  background: rgba(0, 255, 255, 0.1);
  color: #0099ff;
  border-left: 4px solid var(--primary-color);
}

/* Loading States */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(0, 255, 255, 0.3);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .nav-link {
    padding: 0.5rem 0.75rem;
  }

  .footer-modern .row > div {
    margin-bottom: 1.5rem;
  }

  .admin-nav {
    flex-direction: column;
  }

  .admin-nav-btn {
    width: 100%;
  }

  .admin-table {
    overflow-x: auto;
  }

  .form-section {
    padding: 1.5rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fadeInUp {
  animation: fadeInUp 0.6s ease-out;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
