/* ==========================================================================
   Dhanraj Baid Jain College — site stylesheet
   Same design as the WordPress site (Smarty theme + WPBakery), rewritten as clean CSS.
   ========================================================================== */

/* ---------------------------------------------------------------- icon fonts (only the glyphs the site uses) */
@font-face {
  font-family: "FontAwesome";
  src: url("../fonts/fontawesome-webfont.woff2") format("woff2"), url("../fonts/fontawesome-webfont.woff") format("woff");
  font-weight: normal; font-style: normal; font-display: block;
}
@font-face {
  font-family: "stm-icon";
  src: url("../fonts/stm-icon.woff") format("woff");
  font-weight: normal; font-style: normal; font-display: block;
}
.fa { display: inline-block; font: normal normal normal 14px/1 FontAwesome; font-size: inherit; text-rendering: auto; -webkit-font-smoothing: antialiased; }
.fa-caret-down::before { content: "\f0d7"; }
.fa-caret-right::before { content: "\f0da"; }
.fa-angle-right::before { content: "\f105"; }
.fa-graduation-cap::before { content: "\f19d"; }
.fa-users::before { content: "\f0c0"; }

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Roboto, sans-serif;
  font-size: 16px;
  line-height: 20px;
  color: #333;
  background: #f5f5f5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: #1a75bb; text-decoration: none; transition: all .3s; }
img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }
h1, h2, h3, h4, h5, h6 { font-family: Roboto, sans-serif; margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; }
iframe { border: 0; }
#wrapper { position: relative; overflow: hidden; }

.container { width: 1140px; max-width: 100%; margin: 0 auto; padding: 0 15px; }
.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.col-3, .col-4, .col-9 { position: relative; min-height: 1px; padding: 0 15px; }
.col-3 { width: 25%; }
.col-4 { width: 33.3333%; }
.col-9 { width: 75%; }

/* ================================================================ HEADER */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 99; }

/* top bar */
.top-bar { position: relative; z-index: 9; background: #1a75bb; border-bottom: 2px solid #8bc43f; text-align: center; }
.top-bar .container { display: table; height: 50px; padding: 0; }
.top-bar__contacts { display: table-cell; vertical-align: middle; padding: 5px 0 0 20px; text-align: justify; list-style: none; }
.top-bar__contact {
  position: relative; display: inline-block; vertical-align: top; margin-right: 37px; padding: 0 10px 0 30px;
  font-family: Roboto, sans-serif; font-size: 13px; line-height: 13px; color: #fff;
}
.top-bar__contact:last-child { margin-right: 0; }
.top-bar__contact a { color: #fff; }
.top-bar__contact::before {
  position: absolute; left: 0; top: 6.5px; transform: translateY(-8px);
  font-family: stm-icon; font-size: 16px; line-height: 16px; color: #8bc43f;
}
.top-bar__contact_phone::before { content: "\e904"; }
.top-bar__contact_email::before { content: "\e902"; }
.top-bar__contact_address::before { content: "\e905"; }

/* logo band */
.logo-band { background: #def1ff; padding: 10px 15px; height: 132px; text-align: center; }
.logo { display: block; line-height: 112px; }
.logo img { display: inline-block; vertical-align: middle; }

/* main menu */
.mobile-bar { display: none; }
.main-nav { position: relative; z-index: 8; background: #1a75bb; padding: 0 35px; box-shadow: 0 5px 5px rgba(0, 0, 0, .2); text-align: center; }
.main-nav .menu { margin: 0 -24px 0 0; list-style: none; font-size: 0; }
.menu > .menu-item { position: relative; z-index: 9; display: inline-block; margin: 0 23px; font-size: 16px; color: #1a75bb; }
.menu > .menu-item::before { /* dotted separator between items */
  content: ""; position: absolute; top: 50%; right: -20px; width: 2px; height: 15px; margin-top: -7px;
  border: 1px dotted #8bc43f;
}
.menu > .menu-item:last-child::before { display: none; }
.menu > .menu-item > a {
  position: relative; display: block; font-family: Roboto, sans-serif; font-size: 12px; font-weight: 500;
  line-height: 60px; color: #fff; text-transform: uppercase; white-space: nowrap;
}
.menu > .menu-item > a .fa { font-size: 12px; line-height: 12px; }

.sub-menu {
  position: absolute; top: 60px; left: 0; min-width: 150px; margin: -16px 0 0 -20px;
  list-style: none; text-align: left; background: #1a75bb; border-top: 2px solid #1a75bb;
  visibility: hidden; opacity: 0; transition: .3s;
}
.menu-item:hover > .sub-menu, .menu-item:focus-within > .sub-menu { visibility: visible; opacity: 1; }
.sub-menu > .menu-item { position: relative; display: block; border-left: 1px solid #ddd; border-right: 1px solid #ddd; font-size: 15px; }
.sub-menu > .menu-item:first-child { padding-top: 10px; }
.sub-menu > .menu-item:last-child { padding-bottom: 10px; }
.sub-menu > .menu-item > a {
  position: relative; display: block; padding: 9px 10px; border-bottom: 1px solid #ddd;
  font-size: 15px; line-height: 24px; color: #def1ff; text-transform: uppercase; white-space: nowrap; overflow: hidden;
  transition: none;
}
.sub-menu > .menu-item:hover > a { background: #def1ff; color: #1a75bb; }
.sub-menu .sub-menu { top: 0; left: 100%; margin: -11px 0 0 1px; border-top: 1px solid #ddd; }

/* ================================================================ BANNER AREA */
.banner { margin-top: 310px; }

/* image carousel (same behaviour as the WPBakery image carousel) */
.img-carousel { position: relative; }
.img-carousel__viewport { position: relative; overflow: hidden; transition: height .3s; }
.img-carousel__track { display: flex; align-items: flex-start; transition: transform .6s ease-in-out; will-change: transform; }
.img-carousel__item { flex: 0 0 100%; }
.img-carousel[data-per-view="3"] .img-carousel__item { flex-basis: 33.3333%; }
.img-carousel__inner { margin: 0 10px; }
.banner-carousel .img-carousel__inner { margin: 0; padding-bottom: 18px; }
.img-carousel__item img { display: block; width: 100%; height: auto; }
.img-carousel__dots {
  position: absolute; z-index: 15; bottom: 20px; left: 50%; width: 60%; margin: 0 0 0 -30%;
  padding: 0; list-style: none; text-align: center; line-height: 20px;
}
.img-carousel__dots li {
  display: inline-block; width: 10px; height: 10px; margin: 1px; vertical-align: middle;
  border: 1px solid #808080; border-radius: 10px; background: #808080; cursor: pointer;
}
.img-carousel__dots li.active { background: transparent; }
.img-carousel__control {
  position: absolute; z-index: 5; top: 50%; width: 60px; height: 30px; margin-top: -15px;
  font-family: serif; font-size: 30px; line-height: 20px; color: #1a75bb; text-align: center; opacity: .5;
}
.img-carousel__control:hover { opacity: .9; color: #1a75bb; }
.img-carousel__control span { position: relative; top: -10px; display: inline-block; line-height: 30px; }
.img-carousel__control_left { left: 0; }
.img-carousel__control_right { right: 0; }

/* latest news ticker */
.ticker-block { padding-top: 25px; margin-bottom: 10px; }
.dbjc-ticker-wrap {
  display: flex; align-items: center; background-color: #f4f4f4;
  border-top: 2px dashed #002147; border-bottom: 2px dashed #002147; height: 50px;
  position: relative; overflow: hidden; font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
.dbjc-ticker-badge {
  background-color: #002147; color: white; font-weight: bold; font-size: 18px; padding: 0 35px 0 20px;
  height: 100%; display: flex; align-items: center; position: absolute; left: 0; top: 0; z-index: 2;
  clip-path: polygon(0 0, 85% 0, 100% 100%, 0% 100%); white-space: nowrap;
}
.dbjc-ticker-scroll { flex: 1; overflow: hidden; white-space: nowrap; padding-left: 180px; }
.dbjc-ticker-track { display: inline-block; animation: dbjc-marquee 30s linear infinite; }
.dbjc-ticker-track:hover { animation-play-state: paused; }
@keyframes dbjc-marquee { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }
.dbjc-news-item { display: inline-flex; align-items: center; margin-right: 60px; color: #002147; font-size: 15px; }
.dbjc-news-item b { margin-right: 15px; }
.dbjc-news-btn { background-color: #002147; color: white !important; padding: 5px 15px; border-radius: 20px; text-decoration: none; font-size: 12px; font-weight: bold; }
.dbjc-news-btn:hover { background-color: #ff9900; }
.dbjc-new-tag { background-color: #ff9900; color: white; font-size: 10px; font-weight: bold; padding: 2px 6px; border-radius: 3px; margin-right: 10px; animation: blink 1.5s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }

/* admission box (fixed to the bottom-right corner) */
.image-postion {
  position: fixed; bottom: 20px; right: 20px; width: 260px; background-color: #8063a1;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  border-radius: 15px; padding: 20px 15px; z-index: 999999; font-family: "Montserrat", sans-serif;
  box-shadow: 0 8px 25px rgba(128, 99, 161, .4); animation: smoothPulse 2.5s infinite ease-in-out;
}
@keyframes smoothPulse {
  0% { transform: scale(1); box-shadow: 0 5px 15px rgba(128, 99, 161, .4); }
  50% { transform: scale(1.02); box-shadow: 0 15px 30px rgba(128, 99, 161, .6); }
  100% { transform: scale(1); box-shadow: 0 5px 15px rgba(128, 99, 161, .4); }
}
.image-postion h1 { font-size: 13px; text-align: center; font-weight: 700; color: white; line-height: 1.5; margin: 0 0 15px 0; }
.image-postion button {
  font-family: "Montserrat", sans-serif; font-size: 14px; font-weight: 700; padding: 10px 20px; border-radius: 25px;
  border: none; color: #8063a1; background-color: #fff; cursor: pointer; margin-bottom: 18px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .1); transition: transform .2s ease, background-color .2s ease;
}
.image-postion button:hover { background-color: #f8f8f8; transform: translateY(-2px); }
.image-postion h2 { font-size: 11px; line-height: 1.1; text-align: center; color: rgba(255, 255, 255, .8); font-weight: 600; margin: 0 0 8px 0; text-transform: uppercase; letter-spacing: .5px; }
.image-postion a.contact-link { font-size: 13px; padding: 4px 0; text-decoration: none; color: white; font-weight: 600; transition: opacity .3s ease; }
.image-postion a.contact-link:hover { opacity: .8; text-decoration: underline; }

/* campus highlights & events (videos) */
.campus-block { padding: 35px 0; }
.dbjc-youtube-section { width: 100%; max-width: 90%; margin: 0 auto; padding: 30px 15px; font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; }
.dbjc-gallery-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; border-bottom: 2px solid #e0e0e0; padding-bottom: 15px; }
.dbjc-gallery-header h2 { margin: 0; color: #003366; font-size: 24px; line-height: 1.1; font-weight: bold; }
.dbjc-youtube-btn { display: inline-flex; align-items: center; background-color: #FF0000; color: #fff !important; padding: 10px 20px; border-radius: 5px; text-decoration: none; font-weight: bold; font-size: 15px; transition: background-color .3s ease; }
.dbjc-youtube-btn:hover { background-color: #cc0000; }
.dbjc-slider-wrapper { position: relative; }
.dbjc-scroll-track { display: flex; gap: 20px; overflow-x: auto; padding: 5px 5px 20px 5px; scroll-behavior: smooth; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.dbjc-scroll-track::-webkit-scrollbar { display: none; }
.dbjc-video-card { flex: 0 0 320px; height: 320px; background-color: #000; border-radius: 12px; overflow: hidden; scroll-snap-align: start; box-shadow: 0 4px 15px rgba(0, 0, 0, .15); position: relative; border: 1px solid #eee; }
.dbjc-video-card iframe { width: 100%; height: 100%; border: none; position: absolute; top: 0; left: 0; }
.dbjc-video-card video { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; }
.dbjc-nav-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; background-color: #003366; color: #fff;
  border: none; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .25); z-index: 10; transition: all .3s ease; opacity: .95;
}
.dbjc-nav-arrow:hover { background-color: #FF0000; transform: translateY(-50%) scale(1.1); opacity: 1; }
.dbjc-nav-arrow:disabled { opacity: .3; cursor: not-allowed; background-color: #888; }
.dbjc-nav-arrow:disabled:hover { transform: translateY(-50%); background-color: #888; }
.dbjc-nav-arrow svg { width: 22px; height: 22px; fill: #fff; }
.dbjc-arrow-left { left: -10px; }
.dbjc-arrow-right { right: -10px; }

/* ================================================================ LATEST EVENTS + LATEST UPDATES */
.events-row { margin-top: 50px; }
.events-row > .col-9 { padding-bottom: 78px; }
.section-title { font-size: 32px; font-weight: 500; line-height: 35.2px; color: #1a75bb; margin: 0 10px 25px 0; text-align: left; }
.section-title_center { text-align: center; margin-right: 0; }

.tabs__list { display: table; width: calc(100% + 6px); margin: 0 -3px; list-style: none; table-layout: fixed; }
.tabs__tab:first-child { width: 16.13%; }
.tabs__tab { display: table-cell; padding: 0 3px; font-size: 14px; font-weight: 600; color: #1a75bb; text-align: center; }
.tabs__tab > a {
  position: relative; display: block; padding: 20px 10px 16px; font-size: 14px; font-weight: 600; line-height: 18px;
  color: #000; text-align: center;
}
.tabs__tab > a::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: #1a75bb; }
.tabs__tab > a:hover, .tabs__tab.active > a { background: #1a75bb; color: #fff; }
.tabs__tab.active > a::before { background: #def1ff; }
.tabs__panel { display: none; }
.tabs__panel.active { display: block; }
.tabs__panel-heading { display: none; }
.tabs__panel-body { padding-top: 30px; overflow: hidden; }
.tabs__panel-body .img-carousel { margin-bottom: 35px; }
.tabs__panel-body .img-carousel:last-child { margin-bottom: 0; }

.updates-menu { max-width: 255px; margin: 0 0 35px; }
.updates-menu ul { list-style: none; background: #fff; padding: 15px 0; border-top: 4px solid #1a75bb; }
.updates-menu li { padding: 0 30px; color: #1a75bb; }
.updates-menu a { position: relative; display: block; padding: 16px 0 19px; font-size: 16px; line-height: 24px; color: #000; }
.updates-menu li + li a { border-top: 1px solid #999; }
.updates-menu a::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 0; height: 1px; background: #1a75bb; transition: all .3s; }
.updates-menu a:hover { color: #1a75bb; }
.updates-menu a:hover::after { width: 100%; }

/* ================================================================ STUDENT NUMBERS */
.stats { position: relative; display: flex; overflow: hidden; height: 210px; padding: 37px 10px 50px; }
.stats__bg { position: absolute; left: 0; top: -50%; width: 100%; height: 150%; background-size: cover; background-position: 50% 0; background-repeat: no-repeat; will-change: transform; }
.stats__col { position: relative; width: 50%; padding: 35px 15px 0; }
.stats__col h2 { font-family: "Roboto Condensed", sans-serif; font-size: 35px; font-weight: 700; line-height: 38.5px; color: #fff; text-align: center; margin: 0 0 5px; }
.stats__col h2 + h2 { margin-top: 6px; }

/* ================================================================ FEATURED MEDIA / DIGITAL LEARNING / LOGIN */
.featured { background: #f5f5f5; }
.featured__main { padding-top: 35px; padding-bottom: 23px; }
.featured__title { font-size: 36px; font-weight: 700; line-height: 39.6px; color: #000; margin: 0 0 43px; }
.featured__sep { width: 42px; height: 2px; border-bottom: 2px solid #8c1515; margin: 0 0 41px; }

.gallery-slider { position: relative; margin-bottom: 35px; }
.gallery-slider__viewport { overflow: hidden; }
.gallery-slider__track { display: flex; transition: transform .3s ease; }
.gallery-slider__slide { flex: 0 0 33.3333%; padding: 0 5px; }
.gallery-slider__slide a { display: block; }
.gallery-slider__slide img { display: block; width: 100%; height: 300px; object-fit: cover; }
.gallery-slider__arrow {
  position: absolute; z-index: 9; top: 136.8px; width: 30px; height: 50px; padding: 0; border: 0; cursor: pointer;
  background: rgba(0, 0, 0, .7) center / 14px 24px no-repeat;
}
.gallery-slider__arrow_prev { left: 5px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 24'%3E%3Cpath d='M12 2 2 12l10 10' fill='none' stroke='%23fff' stroke-width='3'/%3E%3C/svg%3E"); }
.gallery-slider__arrow_next { right: 5px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 24'%3E%3Cpath d='m2 2 10 10L2 22' fill='none' stroke='%23fff' stroke-width='3'/%3E%3C/svg%3E"); }
.gallery-slider__dots { list-style: none; padding: 15px 0; text-align: center; font-size: 0; line-height: 0; }
.gallery-slider__dots li { display: inline-block; margin: 0 3px; vertical-align: top; }
.gallery-slider__dots button { display: block; width: 12px; height: 12px; padding: 0; border: 2px solid #444; border-radius: 50%; background: #fff; font-size: 0; cursor: pointer; }
.gallery-slider__dots li.active button { background: #8d8c8c; }

.condensed-title { font-family: "Roboto Condensed", sans-serif; font-size: 36px; font-weight: 400; line-height: 39.6px; color: #1a75bb; margin: 0 0 6.25px; }
.digital-logos { height: 127px; align-items: flex-start; }
.digital-logos .col-4 { display: flex; align-items: center; justify-content: center; height: 92px; padding-top: 5px; }
.digital-logos a { display: block; line-height: 30px; }
.digital-logos .col-4:nth-child(2) img { width: 255px; }
.digital-logos .col-4:nth-child(3) img { width: 145px; }

.login-col { display: flex; align-items: center; }
.login-box { display: flex; flex-direction: column; justify-content: center; width: 100%; margin: 0; padding: 35px 15px 0; background: #fff; text-align: center; }
.login-box h1 { font-size: 25px; font-weight: 700; line-height: 27.5px; color: #000; margin: 0 0 34px; }
.login-box__icon { height: 50px; margin: 0 0 17px; font-size: 50px; line-height: 50px; color: #1a75bb; }
.login-box__btn:last-child { margin-bottom: 20px; }
.login-box__sep { width: 40px; height: 1px; margin: 20px auto; border-bottom: 1px solid #8c1515; }
.btn-outline {
  display: inline-block; min-width: 180px; padding: 0 24px; border: 2px solid #1a75bb; border-radius: 4px;
  font-size: 16px; font-weight: 600; line-height: 46px; letter-spacing: -.5px; text-transform: uppercase; white-space: nowrap;
  color: #1a75bb; background: transparent; vertical-align: top; text-align: center;
}
.btn-outline:hover { border-color: #8c1515; color: #1a75bb; }

/* ================================================================ E-CONTENT */
.econtent { padding-top: 35px; }
.econtent .condensed-title { padding-bottom: 10px; }
.econtent .col-3 { margin-bottom: 35px; }
.video { position: relative; padding-top: 56.25%; }
.video iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* ================================================================ FOOTER */
.cta { background: #3277ae; }
.cta__in { display: flex; align-items: center; justify-content: space-between; height: 144px; }
.cta__text { font-size: 24px; line-height: 34px; color: #fff; }
.btn-outline_white { min-width: 180px; border-color: #fff; color: #fff; font-size: 15px; border-radius: 3px; }
.btn-outline_white .fa { position: relative; margin: -5px 0 0 17px; font-size: 16px; vertical-align: middle; }
.btn-outline_white:hover { background: #fff; border-color: #fff; color: #def1ff; }

.footer-main { background: #002147; padding: 28px 0 29px; }
.footer-widgets { position: relative; display: flex; flex-wrap: wrap; margin: 0 -15px; padding: 46px 0 0; }
.footer-widgets::after { content: ""; position: absolute; left: 15px; right: 15px; bottom: 0; border-bottom: 1px solid rgba(255, 255, 255, .25); }
.footer-col { width: 25%; padding: 0 15px; margin-bottom: 27px; }
.footer-title { font-size: 12px; font-weight: 300; line-height: 30px; letter-spacing: 1px; text-transform: uppercase; color: rgba(255, 255, 255, .75); margin: 0 0 20px; }
.footer-menu { list-style: none; }
.footer-menu li { margin: 0 0 16px; color: #1a75bb; }
.footer-menu a { position: relative; display: block; padding-left: 20px; font-size: 13px; line-height: 20px; color: rgba(255, 255, 255, .5); }
.footer-menu a::before { content: "\f105"; position: absolute; top: 3px; left: 0; font-family: FontAwesome; font-size: 12px; line-height: 12px; }
.footer-menu li.current a::before { content: ""; }
.contact-list { list-style: none; }
.contact-list li { position: relative; margin: 0 0 20px; padding-left: 40px; font-size: 13px; line-height: 20px; color: #b2b2b2; }
.contact-list li a { color: #b2b2b2; }
.contact-list li::before { position: absolute; top: 3px; left: 0; font-family: stm-icon; font-size: 16px; line-height: 16px; }
.contact-list__address::before { content: "\e905"; }
.contact-list__phone::before { content: "\e904"; }
.contact-list__fax::before { content: "\e903"; }
.contact-list__email::before { content: "\e902"; }
.contact-list__schedule::before { content: "\e901"; }
.copyright { padding-top: 26px; font-size: 13px; line-height: 20px; color: #808080; text-align: center; }
.copyright a { color: #fff; }

/* ================================================================ ENTRANCE ANIMATIONS (as on the WordPress page) */
.animated { animation-duration: 1s; animation-fill-mode: both; }
.animated.fadeInUp { animation-name: fadeInUp; }
.animated.slideInLeft { animation-name: slideInLeft; }
.animated.slideInRight { animation-name: slideInRight; }
.animated.slideInDown { animation-name: slideInDown; }
.animated.bottom-to-top { animation: wpb_btt .7s 1 cubic-bezier(.175, .885, .32, 1.275); }
.animated.top-to-bottom { animation: wpb_ttb .7s 1 cubic-bezier(.175, .885, .32, 1.275); }
@keyframes fadeInUp { from { opacity: 0; transform: translate3d(0, 100%, 0); } to { opacity: 1; transform: none; } }
@keyframes slideInLeft { from { transform: translate3d(-100%, 0, 0); visibility: visible; } to { transform: translate3d(0, 0, 0); } }
@keyframes slideInRight { from { transform: translate3d(100%, 0, 0); visibility: visible; } to { transform: translate3d(0, 0, 0); } }
@keyframes slideInDown { from { transform: translate3d(0, -100%, 0); visibility: visible; } to { transform: translate3d(0, 0, 0); } }
@keyframes wpb_btt { 0% { transform: translate(0, 10%); opacity: 0; } 100% { transform: translate(0, 0); opacity: 1; } }
@keyframes wpb_ttb { 0% { transform: translate(0, -10%); opacity: 0; } 100% { transform: translate(0, 0); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .animated { animation: none !important; } }

/* ================================================================ LIGHTBOX (same look as the WordPress lightbox) */
.lightbox-overlay { position: fixed; inset: 0; z-index: 9999999; background: rgba(0, 0, 0, .8); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lightbox-overlay[hidden] { display: none; }
.lightbox-frame { position: relative; padding: 4px; background: #fff; border-radius: 3px; }
.lightbox-frame img { display: block; max-width: 90vw; max-height: 82vh; width: auto; height: auto; }
.lightbox-nav { position: absolute; top: 0; bottom: 0; width: 40%; border: 0; background: transparent; cursor: pointer; opacity: 0; transition: opacity .6s; color: #fff; font-size: 44px; }
.lightbox-nav:hover { opacity: 1; }
.lightbox-prev { left: 0; text-align: left; padding-left: 12px; }
.lightbox-next { right: 0; text-align: right; padding-right: 12px; }
.lightbox-data { display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: 90vw; padding-top: 8px; color: #ccc; font-size: 12px; }
.lightbox-close { width: 30px; height: 30px; border: 0; background: transparent; color: #fff; font-size: 30px; line-height: 30px; cursor: pointer; opacity: .7; }
.lightbox-close:hover { opacity: 1; }

/* ================================================================ RESPONSIVE */
@media (max-width: 1199px) {
  .container { width: 970px; }
}
@media (max-width: 768px) {
  .top-bar { display: none; }
  .logo-band { height: auto; min-height: 132px; }
  .logo { line-height: 112px; }
  .mobile-bar { display: block; position: relative; height: 100px; background: #def1ff; border-top: 1px solid #aaa; }
  .nav-toggle { position: absolute; right: 25px; top: 35px; width: 30px; height: 30px; padding: 0; border: 0; background: transparent; cursor: pointer; }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { position: absolute; left: 5px; width: 20px; height: 2px; background: #fff; transition: all .3s; }
  .nav-toggle span { top: 14px; }
  .nav-toggle span::before, .nav-toggle span::after { content: ""; left: 0; }
  .nav-toggle span::before { top: -6px; }
  .nav-toggle span::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] span { background: transparent; }
  .nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
  .main-nav { display: none; padding: 0; background: #fff; box-shadow: none; border-top: 1px solid #ccc; }
  .main-nav.open { display: block; }
  .main-nav .menu { margin: 0; }
  .menu > .menu-item { display: block; margin: 0; border-bottom: 1px solid #ccc; }
  .menu > .menu-item::before { display: none; }
  .menu > .menu-item > a { font-size: 16px; font-weight: 400; line-height: 51px; color: #1a75bb; text-transform: none; white-space: normal; }
  .menu > .menu-item > a .fa-caret-down { font-size: 16px; }
  .sub-menu, .sub-menu .sub-menu { position: static; display: none; margin: 0; min-width: 0; visibility: visible; opacity: 1; transition: none; text-align: center; background: #f5f5f5; border-top: 1px solid #ccc; }
  .menu-item.open > .sub-menu { display: block; }
  .sub-menu > .menu-item { border: 0; }
  .sub-menu > .menu-item:first-child, .sub-menu > .menu-item:last-child { padding: 0; }
  .sub-menu > .menu-item > a { color: #1a75bb; white-space: normal; text-transform: none; border-bottom: 1px solid #e3e3e3; }
}
@media (max-width: 991px) {
  .container { width: 750px; }
}
@media (max-width: 767px) {
  .container { width: auto; }
  .col-3, .col-4, .col-9 { width: 100%; }
  .row { margin: 0 -15px; }
  .banner-carousel .img-carousel__dots { bottom: 0; }
  .dbjc-ticker-badge { font-size: 14px; padding: 0 25px 0 10px; }
  .dbjc-ticker-scroll { padding-left: 120px; }
  .dbjc-ticker-track { animation-duration: 20s; }
  .image-postion { bottom: 15px; right: 15px; width: 190px; padding: 15px 10px; border-radius: 12px; }
  .image-postion h1 { font-size: 11px; margin-bottom: 12px; }
  .image-postion button { font-size: 12px; padding: 8px 16px; margin-bottom: 12px; }
  .image-postion h2 { font-size: 10px; margin-bottom: 6px; }
  .image-postion a.contact-link { font-size: 12px; padding: 2px 0; }
  .image-postion .application-mail { display: none; }
  .dbjc-gallery-header { flex-direction: column; align-items: flex-start; gap: 15px; }
  .dbjc-video-card { flex: 0 0 280px; height: 280px; }
  .dbjc-nav-arrow { width: 40px; height: 40px; }
  .dbjc-arrow-left { left: 0; }
  .dbjc-arrow-right { right: 0; }
  /* year tabs become stacked panels */
  .tabs__list { display: none; }
  .tabs__panel { display: block; }
  .tabs__panel-heading { display: block; margin: 0 0 2px; font-size: 24px; font-weight: 400; }
  .tabs__panel-heading a { display: block; padding: 14px 20px; line-height: 24px; text-align: center; color: #fff; background: #def1ff; }
  .tabs__panel.active .tabs__panel-heading a { background: #1a75bb; }
  .tabs__panel-body { display: none; }
  .tabs__panel.active .tabs__panel-body { display: block; }
  .updates-menu { margin-left: auto; margin-right: auto; }
  .stats { height: auto; flex-direction: column; }
  .stats__col { width: 100%; }
  .gallery-slider__slide { flex-basis: 100%; }
  .digital-logos { height: auto; }
  .digital-logos .col-4 { height: auto; padding: 10px 15px; }
  .login-col { margin-bottom: 35px; }
  .cta__in { flex-direction: column; align-items: flex-start; justify-content: center; gap: 20px; height: auto; padding-top: 40px; padding-bottom: 40px; }
  .footer-col { width: 100%; }
}
