@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap");

:root {
  --navy: #0b1f3a;
  --navy-2: #132c4f;
  --navy-soft: #1c3b63;
  --ink: #1c2433;
  --muted: #5c6678;
  --accent: #e25a12;
  --accent-dark: #c44b0e;
  --gold: #c9a44a;
  --paper: #f6f3ee;
  --white: #ffffff;
  --line: #e6e1d8;
  --shadow: 0 18px 40px rgba(11, 31, 58, 0.1);
  --radius: 18px;
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --serif: "Playfair Display", Georgia, serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font) !important;
  color: var(--ink) !important;
  font-size: 16px !important;
  background: var(--white);
  overflow-x: hidden;
}

body p {
  line-height: 1.8 !important;
  color: var(--muted);
}

h1, h2, h3, h4, h5,
.section-title h2,
.sub-title,
.sub-titlee,
.slider-content h2,
.hero-section h1,
.display-2 {
  font-family: var(--serif) !important;
  color: var(--navy);
  letter-spacing: -0.02em;
}

a {
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

img {
  max-width: 100%;
}

.container {
  max-width: 1180px !important;
}

/* Buttons */
.button_one,
.btn-theme,
.contact-form button[type="submit"] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent) !important;
  color: var(--white) !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 13px 28px !important;
  font-family: var(--font) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase !important;
  box-shadow: 0 10px 24px rgba(226, 90, 18, 0.28);
}

.button_one:hover,
.btn-theme:hover,
.contact-form button[type="submit"]:hover {
  background: var(--accent-dark) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
}

.button_one i {
  font-size: 13px;
}

/* Header */
.site-header {
  background: var(--white);
  position: relative;
  z-index: 40;
}

.announce-bar {
  background: var(--navy);
  color: #f3efe7;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  text-align: center;
}

.announce-bar span {
  color: var(--gold);
}

.header-brand {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.header-brand-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo img,
.header-brand .logo,
.site_logo img {
  width: auto !important;
  max-width: 420px;
  max-height: 72px;
  margin: 0 !important;
  object-fit: contain;
}

.header-meta {
  display: flex;
  align-items: stretch;
  gap: 16px;
}

.meta-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fcfbf8;
}

.meta-card i {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.meta-card h6 {
  margin: 0;
  font-family: var(--font) !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.meta-card p {
  margin: 2px 0 0;
  font-size: 13px;
  line-height: 1.45 !important;
  color: var(--ink);
}

.header-nav-wrap {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 8px 24px rgba(11, 31, 58, 0.18);
}

.header-nav-wrap .main-menu,
.header-nav-wrap .default_bg {
  background: transparent !important;
}

.header-nav-wrap .navbar {
  padding: 0;
}

.header-nav-wrap .navbar-collapse {
  width: 100%;
}

.header-nav-wrap .nav-item.show,
.header-nav-wrap .dropdown.show,
.header-nav-wrap .dropdown:hover,
.header-nav-wrap .nav-item:hover,
.header-nav-wrap .nav-item.active,
.header-nav-wrap .nav-item.dropdown.active,
.header-nav-wrap .main-menu .dropdown:hover,
.header-nav-wrap .main-menu .nav-item.dropdown.show,
.header-nav-wrap li.nav-item.last.dropdown:hover {
  background: transparent !important;
}

.header-nav-wrap .navbar-nav {
  width: 100%;
  align-items: center;
  gap: 2px;
}

.header-nav-wrap .nav-link,
.header-nav-wrap .main-menu ul li a.nav-link {
  color: #e9eef6 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 16px 14px !important;
  text-transform: none !important;
  letter-spacing: 0.01em;
  background: transparent !important;
  position: relative;
  border-radius: 0 !important;
}

.header-nav-wrap .nav-link:hover,
.header-nav-wrap .nav-link:focus,
.header-nav-wrap .nav-item.active > .nav-link,
.header-nav-wrap .nav-item.dropdown.active > .nav-link,
.header-nav-wrap .nav-item.dropdown.show > .nav-link,
.header-nav-wrap .main-menu ul li a.nav-link:hover {
  color: var(--gold) !important;
  background: transparent !important;
}

.header-nav-wrap .nav-item.active > .nav-link:after,
.header-nav-wrap .nav-item.dropdown.active > .nav-link:after,
.header-nav-wrap .nav-item.dropdown.show > .nav-link:after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 8px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.header-nav-wrap .nav-cta .nav-link,
.header-nav-wrap .nav-cta .nav-link:hover,
.header-nav-wrap .nav-cta .nav-link:focus,
.header-nav-wrap .nav-cta.active > .nav-link,
.header-nav-wrap .nav-cta.show > .nav-link {
  background: var(--accent) !important;
  color: var(--white) !important;
  border-radius: 999px !important;
  padding: 10px 22px !important;
  margin-left: 10px;
  min-width: auto !important;
  width: auto !important;
}

.header-nav-wrap .nav-cta .nav-link:after {
  display: none !important;
}

.header-nav-wrap .nav-cta {
  padding: 0 !important;
  background: transparent !important;
}

.header-nav-wrap .nav-cta .nav-link:hover {
  background: var(--accent-dark) !important;
}

.header-nav-wrap .dropdown-menu,
.header-nav-wrap .main-menu .dropdown-menu {
  border: 0 !important;
  border-radius: 12px !important;
  padding: 8px !important;
  margin-top: 0;
  background: #fff !important;
  box-shadow: 0 16px 40px rgba(11, 31, 58, 0.18) !important;
  min-width: 230px;
}

.header-nav-wrap .dropdown-item,
.header-nav-wrap .main-menu ul li .dropdown-item,
.header-nav-wrap .main-menu ul li a.dropdown-item {
  border-radius: 8px !important;
  padding: 10px 12px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--navy) !important;
  background: transparent !important;
}

.header-nav-wrap .dropdown-item:hover,
.header-nav-wrap .dropdown-item:focus,
.header-nav-wrap .dropdown-item.active,
.header-nav-wrap .main-menu ul li a.dropdown-item:hover,
.header-nav-wrap .main-menu ul li a.dropdown-item:focus {
  background: var(--paper) !important;
  color: var(--accent) !important;
}

.header-nav-wrap .navbar-toggler {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 12px;
  margin: 10px 0;
}

.mobile-brand {
  display: none;
}

@media (min-width: 992px) {
  .header-nav-wrap .dropdown:hover > .dropdown-menu {
    display: block;
  }

  .header-nav-wrap .dropdown:hover {
    background: transparent !important;
  }
}

/* Slider */
.slider-section {
  position: relative;
}

.slider-area.height-700 {
  height: 640px;
  background-position: center center !important;
  background-repeat: no-repeat;
}

.slider-area.overlay:before {
  background: linear-gradient(90deg, rgba(7, 18, 34, 0.78) 0%, rgba(7, 18, 34, 0.35) 58%, rgba(7, 18, 34, 0.15) 100%) !important;
}

.slider-content {
  margin-top: 12% !important;
  padding-bottom: 90px !important;
}

.slider-content h2,
.slider-content .display-2 {
  color: var(--white) !important;
  font-size: 64px !important;
  line-height: 1.12 !important;
  font-weight: 600 !important;
  max-width: 640px;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.slider-kicker {
  display: inline-block;
  color: var(--gold);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.slider-section .swiper-pagination {
  right: 28px !important;
  left: auto !important;
  width: auto !important;
  bottom: 50% !important;
  transform: translateY(50%);
}

.slider-section .swiper-pagination-bullet {
  background: #fff;
  opacity: 0.45;
  width: 9px;
  height: 9px;
}

.slider-section .swiper-pagination-bullet-active {
  background: var(--accent);
  opacity: 1;
}

/* Vision / Mission / Objectives */
.services-section.translate_34 {
  transform: translateY(-90px);
  margin-bottom: -50px;
}

.pillar-card,
.services-section .single-service {
  border-radius: var(--radius) !important;
  padding: 42px 28px !important;
  min-height: 280px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.services-section .single-service.default_bg {
  background: var(--navy) !important;
}

.services-section .single-service.hover_bg,
.services-section .single-service:hover {
  background: var(--accent) !important;
}

.services-section .service-icon img {
  width: 58px;
  filter: brightness(0) invert(1);
}

.services-section .service-text h4 {
  font-family: var(--serif) !important;
  font-size: 26px;
  color: var(--white) !important;
}

.services-section .service-text p {
  color: rgba(255, 255, 255, 0.86) !important;
}

.services-section .service-text a {
  color: var(--white) !important;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Admission notice */
.admission-block {
  background: var(--paper);
  padding: 80px 0 70px;
}

.admission-block h3 {
  font-size: 42px;
  text-align: center;
  margin-bottom: 22px;
}

.admission-block h3 span {
  color: var(--accent);
}

.admission-copy {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  font-size: 17px;
  line-height: 1.9 !important;
}

.admission-copy p + p {
  margin-top: 16px;
}

.office-note {
  margin: 28px auto 0;
  max-width: 720px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 22px;
}

.office-note p {
  margin: 0;
  color: var(--ink) !important;
  font-style: normal !important;
  font-weight: 600;
}

.office-note .phone {
  color: var(--accent);
  margin-top: 4px !important;
}

/* Brochure bar */
.brochure-bar {
  background: var(--accent);
  padding: 22px 0;
}

.brochure-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brochure-bar p {
  margin: 0;
  color: var(--white) !important;
  font-size: 22px;
  font-weight: 600;
}

.brochure-bar .btn-dark-cta {
  background: var(--navy);
  color: var(--white);
  border-radius: 999px;
  padding: 13px 26px;
  font-weight: 700;
  display: inline-block;
}

.brochure-bar .btn-dark-cta:hover {
  background: #071525;
  color: var(--white);
}

/* About */
.welcome-section {
  padding: 90px 0 !important;
}

.welcome-section .sub-titlee {
  font-size: 34px !important;
  padding: 0 0 18px !important;
  max-width: 920px;
}

.about-photo img {
  border-radius: 28px 8px 28px 8px !important;
  box-shadow: var(--shadow);
  width: 100%;
  object-fit: cover;
}

.welcome-section .half_column_content p {
  text-align: justify;
}

/* Departments */
.page-wrapper.semi_dark_bg {
  background: var(--paper) !important;
  padding: 90px 0 !important;
}

.section-title {
  padding-bottom: 12px;
}

.section-title h4 {
  color: var(--accent) !important;
  font-family: var(--font) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em;
}

.section-title h2 {
  font-size: 42px !important;
  color: var(--navy) !important;
}

.dept-grid .single-item,
.page-wrapper .single-item {
  background: var(--white);
  border: 1px solid var(--line) !important;
  border-radius: var(--radius);
  height: auto !important;
  min-height: 0;
  text-align: left;
  padding: 28px !important;
  box-shadow: none;
}

.dept-grid .single-item:hover,
.page-wrapper .single-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent !important;
}

.dept-grid .item-icon,
.page-wrapper .single-item .item-icon {
  padding-bottom: 12px !important;
}

.dept-grid .item-icon img,
.page-wrapper .single-item .item-icon img {
  width: 56px !important;
}

.dept-grid h4 a,
.page-wrapper .single-item h4 a {
  font-family: var(--serif) !important;
  font-size: 20px;
  color: var(--navy) !important;
  text-transform: capitalize;
}

.dept-grid h4 a:hover,
.page-wrapper .single-item h4 a:hover {
  color: var(--accent) !important;
}

/* Events */
.featured-section {
  padding: 90px 0 70px !important;
}

.single-featured {
  border: 0 !important;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow) !important;
  height: 100%;
}

.single-featured:hover {
  border-color: transparent !important;
  transform: translateY(-4px);
}

.feature-image img {
  height: 210px;
  object-fit: cover;
  width: 100%;
}

.featured-text-and-info {
  border: 0 !important;
}

.feature-status-wrapper {
  border: 0 !important;
}

.feature-status {
  padding: 12px 22px 0 !important;
}

.feature-status span {
  color: var(--accent) !important;
  font-weight: 600;
  font-size: 13px;
}

.feature-content h3 {
  font-size: 22px;
}

.feature-content h3 a {
  color: var(--navy) !important;
}

.feature-content h3 a:hover {
  color: var(--accent) !important;
}

.featured-section .button_one {
  margin-top: 10px;
}

.owl-nav button {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: var(--navy) !important;
  color: var(--white) !important;
}

.show_navigation .owl-nav {
  top: -70px;
}

/* Faculty */
.testimonials-section {
  background: var(--paper);
  padding: 80px 0 90px !important;
}

.single-testimonial {
  background: var(--white);
  border: 0 !important;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px !important;
  min-height: 280px;
  position: relative;
}

.single-testimonial:before {
  content: "“";
  font-family: var(--serif);
  font-size: 64px;
  color: var(--accent);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}

.single-testimonial p {
  color: var(--muted);
}

.testimonial-referance p,
.testimonial-referance strong {
  color: var(--navy) !important;
}

.owl-dots .owl-dot span {
  background: #d7d2c8 !important;
}

.owl-dots .owl-dot.active span {
  background: var(--accent) !important;
}

/* Footer */
.site-footer,
.footer-area.default_bg {
  background: var(--navy) !important;
}

.footer-top {
  padding: 70px 0 40px !important;
}

.footer-logo img {
  max-width: 260px;
  max-height: 70px;
  object-fit: contain;
  margin-bottom: 16px;
  background: var(--white);
  padding: 8px 10px;
  border-radius: 10px;
}

.single_widget h3 {
  font-family: var(--serif) !important;
  color: var(--white);
  font-size: 22px;
  margin-bottom: 18px;
}

.single_widget p,
.widget-list p,
.address-widget p {
  color: #c9d3e2 !important;
}

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

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

.footer-links a {
  color: #c9d3e2;
  font-size: 15px;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom-wrapper {
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.copyright-text p {
  margin: 0;
  color: #9eabc0 !important;
  font-size: 14px;
}

.social-accounts ul {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social-accounts a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-accounts a:hover {
  background: var(--accent);
  color: var(--white);
}

.scroll-top {
  background: var(--accent) !important;
  border-radius: 50%;
}

/* Inner pages */
.hero-section {
  background: linear-gradient(120deg, var(--navy), var(--navy-soft)) !important;
  min-height: 220px;
  padding: 70px 0 50px !important;
  display: flex !important;
  align-items: flex-end !important;
  border-radius: 0 !important;
}

.hero-section .container {
  width: 100%;
}

.event-detail-wrap h3 {
  margin-top: 0;
  text-transform: capitalize;
}

.event-detail-wrap small {
  color: var(--accent);
  font-weight: 600;
}

.event-images-gallery img {
  margin-bottom: 14px;
}

.services-area h4 {
  width: 100%;
  margin: 18px 0 8px;
  font-size: 26px;
}

.highlights-section ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.highlights-section li {
  margin-bottom: 14px;
  color: #e8eef7;
}

.highlights-section i {
  margin-right: 8px;
  color: var(--gold);
}

.highlights-section .social-links ul {
  display: flex;
  gap: 10px;
}

.highlights-section .social-links a {
  color: var(--white);
}

.gmap_canvas iframe {
  border-radius: 16px;
}

.inner-page .page-wrapper.section-pt,
.inner-page .page-wrapper.section-ptb-3 {
  padding-top: 60px;
  padding-bottom: 70px;
}

.section-title-2 h2 {
  font-family: var(--serif) !important;
  color: var(--navy) !important;
}

.inner-page .enquiry-wrap,
.inner-page form.contact-form,
.inner-page .col-md-9 form {
  background: var(--white);
}

.highlights-section h4 {
  color: var(--white) !important;
}

.hero-section.height-470 {
  min-height: 320px;
  background-image: linear-gradient(90deg, rgba(11, 31, 58, 0.82), rgba(11, 31, 58, 0.45)), url("../slider/1.jpg") !important;
  background-size: cover !important;
  background-position: center !important;
}

.hero-section .display-2,
.hero-section h1 {
  color: var(--white) !important;
  font-size: 48px !important;
  margin-bottom: 8px;
}

.hero-section .text-dark,
.page-breadcrumb p,
.page-breadcrumb a,
.hero-section .text-dark p,
.hero-section .text-dark a {
  color: #d7deea !important;
}

.page-breadcrumb a:hover {
  color: var(--gold) !important;
}

.inner-page .services-section,
.section-ptb-1 {
  padding-top: 60px;
  padding-bottom: 80px;
}

.inner-page .services-section.section-ptb-1 {
  background: var(--paper);
}

.subject .alert,
.subject .alert-warning {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--navy);
  border-radius: 12px;
  font-weight: 600;
  padding: 16px 18px;
  box-shadow: none;
  margin: 10px 0 !important;
}

.event-grid .event-card,
.services-area .box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  padding: 0 0 16px;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.services-area .box:hover,
.event-grid .event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.services-area .box img,
.event-grid .event-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  margin-bottom: 12px;
}

.services-area .box h6,
.event-grid .event-card h6 {
  padding: 0 14px;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--navy) !important;
  text-transform: capitalize;
}

.services-area .box small {
  padding: 0 14px;
  color: var(--accent) !important;
  display: block;
}

.event-detail-wrap h3 {
  font-size: 32px;
}

.event-images-gallery img,
.event-detail-wrap img {
  border-radius: 16px;
}

.contact-from-wrapper-2 h2,
.highlights-section h4 {
  font-family: var(--serif) !important;
}

.contact-form .form-control,
.form-control {
  border-radius: 12px;
  border: 1px solid var(--line);
  min-height: 48px;
  padding: 10px 14px;
  font-family: var(--font);
}

.contact-form textarea.form-control,
textarea.form-control {
  min-height: 140px;
}

.highlights-section {
  border-radius: var(--radius);
  background: var(--navy) !important;
}

.gallery-section .title {
  font-family: var(--serif) !important;
  color: var(--navy) !important;
  font-size: 38px;
}

.gallery.sets a img,
.gallery-section img {
  border-radius: 12px;
}

.modal-content {
  border: 0;
  border-radius: 18px;
  overflow: hidden;
}

.modal-header {
  background: var(--navy);
  color: var(--white);
  border: 0;
}

.modal-title {
  font-family: var(--serif);
  color: var(--white);
}

.modal-header .btn-close {
  filter: invert(1);
}

/* Admission eligibility cards */
.page-wrapper .single-item {
  height: auto !important;
}

/* Scrollbar polish */
.cms-page-content {
  line-height: 1.8;
}
.cms-page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Responsive */
@media (max-width: 991px) {
  .header-meta {
    display: none;
  }

  .header-brand {
    padding: 12px 0;
  }

  .site-logo img,
  .header-brand .logo,
  .site_logo img {
    max-width: 260px;
    max-height: 56px;
  }

  .mobile-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .header-nav-wrap .navbar-nav {
    align-items: stretch;
    padding: 8px 0 18px;
  }

  .header-nav-wrap .nav-link {
    padding: 10px 6px !important;
  }

  .header-nav-wrap .nav-cta .nav-link {
    margin: 8px 0 0;
    display: inline-block;
    text-align: center;
  }

  .slider-area.height-700 {
    height: 480px;
  }

  .slider-content {
    margin-top: 18% !important;
    padding-bottom: 40px !important;
  }

  .slider-content h2,
  .slider-content .display-2 {
    font-size: 38px !important;
  }

  .services-section.translate_34 {
    transform: none;
    margin: 0;
    padding: 40px 0 10px;
  }

  .brochure-bar-inner {
    flex-direction: column;
    text-align: center;
  }

  .section-title h2,
  .admission-block h3,
  .hero-section .display-2 {
    font-size: 32px !important;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .show_navigation .owl-nav {
    position: static;
    margin-top: 10px;
  }
}

@media (max-width: 575px) {
  .slider-area.height-700 {
    height: 420px;
  }

  .slider-content h2,
  .slider-content .display-2 {
    font-size: 30px !important;
  }

  .welcome-section,
  .featured-section,
  .page-wrapper.semi_dark_bg,
  .admission-block {
    padding: 50px 0 !important;
  }

  .pillar-card,
  .services-section .single-service {
    min-height: 0;
  }
}

/* =========================================================
   Compact equal-height + creative refresh
   ========================================================= */
.section-ptb,
.section-ptb-1,
.section-ptb-2,
.section-ptb-3,
.section-ptb-4,
.section-pt,
.section-ptb-5,
.section-ptb-6 {
  padding-top: 48px !important;
  padding-bottom: 48px !important;
}

.section-title {
  padding-bottom: 6px;
}

.section-title h2 {
  font-size: 34px !important;
  position: relative;
  display: inline-block;
}

.section-title.text-center h2:after,
.section-title h2:after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: var(--accent);
  margin-top: 8px;
}

.section-title.text-center h2:after {
  margin-left: auto;
  margin-right: auto;
}

.slider-area.height-700 {
  height: 520px;
}

.slider-content {
  margin-top: 8% !important;
  padding-bottom: 70px !important;
}

.slider-content h2,
.slider-content .display-2 {
  font-size: 54px !important;
}

.services-section.translate_34 {
  transform: translateY(-70px);
  margin-bottom: -36px;
}

.pillar-row > [class*="col-"] {
  display: flex;
}

.services-section .single-service,
.pillar-card {
  width: 100%;
  min-height: 0 !important;
  height: 100%;
  display: flex !important;
  flex-direction: column;
  text-align: left !important;
  padding: 26px 24px 22px !important;
  border-radius: 20px !important;
  position: relative;
  overflow: hidden;
}

.pillar-no {
  position: absolute;
  right: 16px;
  top: 8px;
  font-family: var(--serif);
  font-size: 64px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.12);
  font-weight: 700;
  pointer-events: none;
}

.services-section .service-icon {
  margin-bottom: 12px !important;
}

.services-section .service-icon img {
  width: 46px;
}

.services-section .service-text {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.services-section .service-text h4 {
  font-size: 22px !important;
  margin-bottom: 8px !important;
}

.services-section .service-text p {
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.services-section .service-text a {
  margin-top: auto;
}

.admission-block {
  padding: 28px 0 40px !important;
}

.admission-block h3 {
  font-size: 34px;
  margin-bottom: 14px;
}

.admission-copy {
  max-width: 900px;
}

.admission-copy p {
  margin-bottom: 10px;
  line-height: 1.65 !important;
}

.office-note {
  margin-top: 16px;
  padding: 14px 18px;
}

.brochure-bar {
  padding: 16px 0;
  position: relative;
  overflow: hidden;
}

.brochure-bar:before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border: 18px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  right: 8%;
  top: -90px;
}

.brochure-bar p {
  font-size: 18px;
}

.welcome-section {
  padding: 48px 0 !important;
}

.welcome-section .sub-titlee {
  font-size: 30px !important;
  padding: 0 0 12px !important;
}

.about-photo {
  position: relative;
}

.about-photo:before {
  content: "";
  position: absolute;
  left: -12px;
  top: 12px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--gold);
  border-radius: 28px 8px 28px 8px;
  z-index: 0;
}

.about-photo img {
  position: relative;
  z-index: 1;
  height: 360px;
  object-fit: cover;
}

.welcome-section .half_column_content p {
  margin-bottom: 12px;
  line-height: 1.7 !important;
}

.page-wrapper.semi_dark_bg {
  padding: 48px 0 !important;
  background-image: radial-gradient(rgba(11, 31, 58, 0.04) 1px, transparent 1px);
  background-size: 18px 18px;
}

.dept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

@media (min-width: 992px) {
  .dept-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .dept-card {
    grid-column: span 2;
  }

  .dept-card:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .dept-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

.dept-card {
  background: var(--white);
  border-radius: 18px;
  padding: 22px 20px 18px;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(11, 31, 58, 0.08);
  border-top: 3px solid var(--accent);
}

.dept-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.dept-no {
  position: absolute;
  right: 14px;
  top: 6px;
  font-family: var(--serif);
  font-size: 42px;
  color: rgba(11, 31, 58, 0.08);
  font-weight: 700;
  line-height: 1;
}

.dept-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  min-height: 54px;
}

.dept-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dept-icon img {
  width: 30px !important;
  height: 30px;
  object-fit: contain;
}

.dept-card h4 {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--navy);
  margin: 0;
  line-height: 1.3;
}

.dept-card p {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6 !important;
  font-size: 14.5px;
}

.featured-section {
  padding: 48px 0 40px !important;
}

.owl-carousel .owl-stage {
  display: flex;
}

.owl-carousel .owl-item {
  display: flex;
  height: auto;
}

.single-featured {
  display: flex !important;
  flex-direction: column;
  width: 100%;
  height: 100% !important;
}

.feature-image {
  position: relative;
}

.feature-image img {
  height: 170px !important;
}

.event-date-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
}

.featured-text-and-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.feature-content {
  padding: 14px 16px 16px !important;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.feature-content h3 {
  font-size: 18px !important;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 48px;
}

.feature-content p {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.55 !important;
}

.testimonials-section {
  padding: 40px 0 48px !important;
}

.single-testimonial {
  min-height: 0 !important;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 20px 20px 16px !important;
}

.single-testimonial:before {
  font-size: 42px;
  margin-bottom: 0;
}

.single-testimonial > p {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  margin-bottom: 12px;
  font-size: 14.5px;
  line-height: 1.6 !important;
}

.testimonial-referance {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.testimonial-referance p {
  margin: 0;
  font-size: 13px;
}

.footer-top {
  padding: 48px 0 28px !important;
}

.hero-section {
  min-height: 160px;
  padding: 42px 0 28px !important;
}

.inner-page .services-section,
.inner-page .services-section.section-ptb-1,
.section-ptb-1 {
  padding-top: 36px !important;
  padding-bottom: 48px !important;
}

.page-wrapper .single-item,
.inner-page .single-item {
  height: 100% !important;
  min-height: 0 !important;
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 24px !important;
}

.page-wrapper .row > .col-lg-6,
.page-wrapper .row > .col-md-6,
.page-wrapper .row > [class*="col-"]:has(.single-item) {
  display: flex;
}

.page-wrapper .row > [class*="col-"] > .single-item {
  width: 100%;
}

.event-grid > [class*="col-"] {
  display: flex;
}

.event-grid .event-card,
.event-grid .box {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.event-grid .event-card h6,
.event-grid .box h6 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 48px;
}

.subject .alert {
  min-height: 58px;
  display: flex;
  align-items: center;
  margin: 8px 0 !important;
}

.show_navigation .owl-nav {
  top: -58px;
}

@media (max-width: 991px) {
  .dept-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .slider-area.height-700 {
    height: 420px;
  }

  .about-photo img {
    height: 260px;
  }

  .services-section.translate_34 {
    transform: none;
    margin-bottom: 0;
    padding: 24px 0 8px;
  }
}

@media (max-width: 575px) {
  .dept-grid {
    grid-template-columns: 1fr;
  }

  .slider-area.height-700 {
    height: 360px;
  }

  .welcome-section,
  .featured-section,
  .page-wrapper.semi_dark_bg,
  .admission-block,
  .testimonials-section {
    padding: 32px 0 !important;
  }
}
