/* ============================================================
   SOKOTO ENERGY RESEARCH CENTRE (SERC) — Main Stylesheet
   ============================================================ */

/* ----------------------------------------------------------
   1. DESIGN TOKENS (CSS Custom Properties)
   ---------------------------------------------------------- */
:root {
  --serc-dark: #1C3F3A;
  --serc-primary: #016130;
  --serc-accent: #78E084;
  --serc-deep: #00483C;
  --serc-bg-dark: #0f2622;
  --serc-text: #475569;
  --serc-heading: #1e293b;
  --serc-light-bg: #fafafa;
  --serc-white: #ffffff;
  --serc-slate: #64748b;
  --font-heading: 'Rajdhani', sans-serif;
  --font-body: 'Roboto', sans-serif;
}

/* ----------------------------------------------------------
   2. RESET & BASE
   ---------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--serc-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
}

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

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-heading);
  color: var(--serc-heading);
}

p {
  margin: 0 0 1rem;
}

/* ----------------------------------------------------------
   3. LAYOUT UTILITIES
   ---------------------------------------------------------- */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 15px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

.row > * {
  padding-left: 15px;
  padding-right: 15px;
}

.col-xl-2 {
  flex: 0 0 16.666667%;
  max-width: 16.666667%;
}

.col-xl-3 {
  flex: 0 0 25%;
  max-width: 25%;
}

.col-xl-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
}

.col-xl-5 {
  flex: 0 0 41.666667%;
  max-width: 41.666667%;
}

.col-xl-6 {
  flex: 0 0 50%;
  max-width: 50%;
}

.col-xl-7 {
  flex: 0 0 58.333333%;
  max-width: 58.333333%;
}

.col-xl-8 {
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
}

.col-xl-9 {
  flex: 0 0 75%;
  max-width: 75%;
}

.col-xl-10 {
  flex: 0 0 83.333333%;
  max-width: 83.333333%;
}

.col-xl-11 {
  flex: 0 0 91.666667%;
  max-width: 91.666667%;
}

.col-xl-12 {
  flex: 0 0 100%;
  max-width: 100%;
}

.d-flex {
  display: flex;
}

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

.justify-content-between {
  justify-content: space-between;
}

.align-items-center {
  align-items: center;
}

.align-items-start {
  align-items: flex-start;
}

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

.text-white {
  color: var(--serc-white);
}

.text-uppercase {
  text-transform: uppercase;
}

.g-4 {
  gap: 1.5rem;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.p-0 { padding: 0; }

.w-100 {
  width: 100%;
}

.position-relative {
  position: relative;
}

.wow {
  visibility: visible;
}

/* ----------------------------------------------------------
   4. TOP STRIP & HEADER
   ---------------------------------------------------------- */
.strip_lines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  z-index: 9999;
  height: 4px;
}

.lineIn {
  flex: 1;
  height: 100%;
}

.top-strip-bar {
  background: #1C3F3A;
  padding: 8px 0;
  text-align: center;
}

.top-strip-text {
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--serc-white);
}

.ticker-wrap {
  overflow: hidden;
  white-space: nowrap;
  display: none;
}

.ticker-text {
  display: inline-block;
  animation: ticker-scroll 18s linear infinite;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(100vw);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* ----------------------------------------------------------
   5. MAIN HEADER
   ---------------------------------------------------------- */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: var(--serc-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
}

.main-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  max-width: 1200px;
  margin: auto;
  height: 70px;
}

.logo-box img {
  height: 44px;
  width: 44px;
}

.main-menu__list {
  display: flex;
  list-style: none;
  gap: 0;
  margin: 0;
  padding: 0;
}

.main-menu__list > li {
  position: relative;
}

.main-menu__list > li > a {
  padding: 24px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #1e293b;
  text-transform: capitalize;
  transition: color 0.2s;
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
  display: block;
}

.main-menu__list > li > a:hover,
.main-menu__list > li.active > a {
  color: var(--serc-primary);
}

/* Dropdown */
.main-menu__list > li > ul {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--serc-white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
  padding: 8px 0;
  z-index: 100;
  border-top: 3px solid var(--serc-primary);
  list-style: none;
  margin: 0;
}

.main-menu__list > li:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-menu__list > li > ul > li > a {
  padding: 10px 20px;
  font-size: 13px;
  color: #475569;
  transition: all 0.2s;
  display: block;
}

.main-menu__list > li > ul > li > a:hover {
  background: #f1f5f9;
  color: var(--serc-primary);
  padding-left: 24px;
}

.contact-btn {
  display: inline-block;
  padding: 10px 24px;
  background: var(--serc-deep);
  color: var(--serc-white);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.contact-btn:hover {
  background: var(--serc-primary);
  transform: translateY(-2px);
}

.mobile-nav__toggler {
  display: none;
}

/* ----------------------------------------------------------
   6. HERO SLIDER
   ---------------------------------------------------------- */
.hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-slide {
  height: 85vh;
  min-height: 500px;
  max-height: 800px;
  position: relative;
}

.hero-slide .image-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
}

.hero-slide .container {
  display: flex;
  align-items: center;
  height: 100%;
  padding-top: 200px;
  padding-bottom: 60px;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 640px;
}

.hero-date {
  font-size: clamp(0.75rem, 1.5vw, 0.8rem);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--serc-white);
  font-family: var(--font-heading);
  font-weight: 700;
}

.hero-excerpt {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(0.9rem, 2vw, 1rem);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.hero-read-btn {
  display: inline-block;
  padding: 10px 28px;
  background: var(--serc-white);
  color: #1C3F3A;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.hero-read-btn:hover {
  background: #e2e8f0;
}

/* Swiper navigation */
.swiper-button-prev,
.swiper-button-next {
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: rgba(0, 0, 0, 0.7);
}

.swiper-button-prev::after,
.swiper-button-next::after {
  display: none;
}

/* ----------------------------------------------------------
   7. SECTION TITLES
   ---------------------------------------------------------- */
.sec-title {
  margin-bottom: 40px;
}

.sec-subtext {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--serc-primary);
  margin-bottom: 8px;
  font-family: var(--font-heading);
}

.sec-title__title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--serc-heading);
  line-height: 1.3;
  font-family: var(--font-heading);
}

/* ----------------------------------------------------------
   8. SECTION PADDING
   ---------------------------------------------------------- */
.section-padding {
  padding: 80px 0;
}

/* ----------------------------------------------------------
   9. NEWS CARDS SECTION
   ---------------------------------------------------------- */
.news-section {
  padding: 80px 0;
}

.news__single {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  background: var(--serc-white);
  transition: transform 0.3s, box-shadow 0.3s;
  margin-bottom: 30px;
}

.news__single:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.news__single-img {
  height: 200px;
  overflow: hidden;
}

.news__single-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

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

.news__single-content {
  padding: 20px;
}

.news-card-title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--serc-heading);
  font-family: var(--font-heading);
}

.news-card-title a {
  color: inherit;
  transition: color 0.2s;
}

.news-card-title a:hover {
  color: var(--serc-primary);
}

.news-card-time {
  font-size: clamp(0.7rem, 1.5vw, 0.75rem);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--serc-slate);
}

.badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 3px;
}

.badge-news {
  background: #78E084;
  color: #00484D;
}

.two-lines {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.three-lines {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.one-line {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ----------------------------------------------------------
   10. ACTIVITIES SECTION
   ---------------------------------------------------------- */
.activities-section {
  padding: 80px 0;
  background: var(--serc-light-bg);
}

.feature-one__right-single {
  padding: 30px 25px;
  background: var(--serc-white);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.3s;
  cursor: pointer;
  margin-bottom: 30px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.feature-one__right-single:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.feature-one__right-single .icon-box {
  flex-shrink: 0;
}

.feature-one__right-single .icon-box img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

.feature-one__right-single .text-box h5 {
  font-size: 16px;
  font-weight: 700;
  color: var(--serc-heading);
  font-family: var(--font-heading);
}

.feature-one__right-single .text-box p {
  font-size: 14px;
  color: var(--serc-text);
  margin-top: 8px;
  line-height: 1.6;
}

/* ----------------------------------------------------------
   11. FEATURED PROJECTS SECTION
   ---------------------------------------------------------- */
.featured-projects-section {
  padding: 80px 0 90px;
  background-color: #0f2622;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}

.fp-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #78E084;
  margin-bottom: 12px;
}

.fp-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--serc-white);
  margin-bottom: 14px;
  line-height: 1.2;
  font-family: var(--font-heading);
}

.fp-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.fp-card-link {
  display: block;
  text-decoration: none;
}

.fp-card {
  border-radius: 6px;
  overflow: hidden;
  background-color: #1a3832;
  transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.35s ease;
}

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

.fp-card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.fp-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.fp-card:hover .fp-card-img {
  transform: scale(1.06);
}

.fp-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(1, 97, 48, 0.85) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.fp-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--serc-white);
  letter-spacing: 0.5px;
}

.fp-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.fp-card-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #78E084;
  margin-bottom: 8px;
}

.fp-card-title {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-weight: 600;
  color: #f1f5f9;
  line-height: 1.4;
  margin: 0;
  font-family: var(--font-heading);
}

.fp-footer {
  margin-top: 56px;
  text-align: center;
}

.fp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  background-color: #016130;
  color: var(--serc-white);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  border-radius: 50px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.fp-btn:hover {
  background-color: transparent;
  border-color: #78E084;
  color: #78E084;
}

/* ----------------------------------------------------------
   12. PARTNERSHIPS SECTION
   ---------------------------------------------------------- */
.partnerships-section {
  padding: 80px 0;
}

.partner-logo {
  height: 80px;
  object-fit: contain;
  transition: transform 0.3s;
  filter: grayscale(40%);
}

.partner-logo:hover {
  transform: scale(1.1);
  filter: grayscale(0);
}

/* ----------------------------------------------------------
   13. DIRECTOR SECTION
   ---------------------------------------------------------- */
.director-section {
  padding: 80px 0 90px;
  background-color: #f8faf9;
}

.dir-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #016130;
  margin-bottom: 10px;
}

.dir-title {
  font-size: clamp(1.8rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
  font-family: var(--font-heading);
}

.dir-photo-wrap {
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  min-height: 420px;
}

.dir-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.dir-photo-wrap:hover .dir-photo {
  transform: scale(1.03);
}

.dir-bio-wrap {
  padding: 2.5rem 2rem 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.dir-accent-bar {
  width: 50px;
  height: 4px;
  background: linear-gradient(90deg, #016130, #78E084);
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.dir-name {
  font-size: clamp(1.4rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 4px;
  font-family: var(--font-heading);
}

.dir-qualification {
  font-size: 0.95rem;
  color: #64748b;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.dir-bio-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #475569;
  text-align: justify;
}

.director-text-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 10;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.6;
  max-height: calc(1.6em * 10);
}

.director-text-clamp.expanded {
  -webkit-line-clamp: unset;
  max-height: none;
}

.dir-read-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 28px;
  background-color: #016130;
  color: var(--serc-white);
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dir-read-btn:hover {
  background-color: #00484D;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(1, 97, 48, 0.25);
}

/* ----------------------------------------------------------
   14. CONTACT SECTION
   ---------------------------------------------------------- */
.contact-section {
  padding: 80px 0;
}

.contact-form {
  max-width: 800px;
  margin: 0 auto;
}

.contact-form .input-box {
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--serc-heading);
  transition: border-color 0.3s;
  outline: none;
  background: var(--serc-white);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--serc-primary);
  box-shadow: 0 0 0 3px rgba(1, 97, 48, 0.1);
}

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

.submit-btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 36px;
  background: var(--serc-primary);
  color: var(--serc-white);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
}

.submit-btn:hover {
  background: var(--serc-deep);
  transform: translateY(-2px);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ----------------------------------------------------------
   15. FOOTER
   ---------------------------------------------------------- */
.footer {
  background: #0f2622;
  color: rgba(255, 255, 255, 0.7);
  padding-top: 60px;
}

.footer-logo img {
  max-width: 200px;
  margin-bottom: 20px;
}

.footer-description {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
}

.footer h3 {
  color: var(--serc-white);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: var(--font-heading);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  transition: color 0.2s, padding-left 0.2s;
  text-decoration: none;
}

.footer-links li a:hover {
  color: #78E084;
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: var(--serc-white);
  font-size: 16px;
  transition: all 0.3s;
}

.social-links a:hover {
  background: var(--serc-primary);
  transform: translateY(-3px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact-item i {
  color: var(--serc-accent);
  font-size: 16px;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  margin-top: 40px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* ----------------------------------------------------------
   16. SCROLL TO TOP
   ---------------------------------------------------------- */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: var(--serc-primary);
  color: var(--serc-white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s;
  z-index: 999;
  border: none;
  font-size: 18px;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: var(--serc-deep);
  transform: translateY(-3px);
}

/* ----------------------------------------------------------
   17. ANIMATION UTILITIES
   ---------------------------------------------------------- */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ----------------------------------------------------------
   18. MOBILE NAVIGATION OVERLAY
   ---------------------------------------------------------- */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
}

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

.mobile-nav__content {
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  height: 100%;
  background: var(--serc-white);
  transform: translateX(-100%);
  transition: transform 0.3s;
  overflow-y: auto;
  padding: 30px 20px;
}

.mobile-nav.active .mobile-nav__content {
  transform: translateX(0);
}

.mobile-nav__close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--serc-heading);
}

.mobile-nav__list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.mobile-nav__list > li {
  border-bottom: 1px solid #f1f5f9;
}

.mobile-nav__list > li > a {
  display: block;
  padding: 12px 0;
  font-size: 15px;
  color: var(--serc-heading);
  font-weight: 500;
}

.mobile-nav__list .dropdown-list {
  list-style: none;
  padding-left: 15px;
  display: none;
}

.mobile-nav__list .dropdown-list.active {
  display: block;
}

/* ----------------------------------------------------------
   19. ADDITIONAL COMPONENT STYLES
   ---------------------------------------------------------- */

/* Badge event variant */
.badge-event {
  background: #4D8EFF;
  color: #ffffff;
}

/* News card footer layout */
.news-card-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.news-card-meta {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--serc-slate);
  margin-bottom: 6px;
}

.news-card-time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--serc-slate);
}

.news-card-time svg {
  flex-shrink: 0;
}

/* Activity icon (Font Awesome variant) */
.activity-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--serc-primary), var(--serc-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #ffffff;
  flex-shrink: 0;
}

.activity-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Partners grid */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.partner-item {
  flex-shrink: 0;
  width: 120px;
  text-align: center;
}

.partner-placeholder {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--serc-slate);
  letter-spacing: 1px;
  transition: all 0.3s;
}

.partner-placeholder:hover {
  background: #e2e8f0;
  transform: scale(1.05);
}

/* Contact form wrapper */
.contact-form-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.form-btn-wrap {
  margin-top: 10px;
}

/* Form success message */
.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 16px 20px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  color: #065f46;
  font-size: 14px;
  font-weight: 500;
}

.form-success.visible {
  display: flex;
}

.form-success i {
  font-size: 20px;
  color: var(--serc-primary);
}

/* Form input error state */
.contact-form input.error,
.contact-form textarea.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Director button wrap */
.dir-btn-wrap {
  margin-top: 1.5rem;
}

/* Mobile nav logo area */
.mobile-nav__logo {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f1f5f9;
}

/* Footer logo link layout */
.footer-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* Justify content center for row */
.justify-content-center {
  justify-content: center;
}

/* Align items stretch for row */
.align-items-stretch {
  align-items: stretch;
}

.mobile-nav__list .dropdown-list li a {
  display: block;
  padding: 8px 0;
  font-size: 13px;
  color: var(--serc-text);
}

.mobile-nav__list .dropdown-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-nav__list .dropdown-toggle .arrow {
  transition: transform 0.3s;
}

.mobile-nav__list .dropdown-toggle .arrow.rotated {
  transform: rotate(180deg);
}
