/* ===================================
    Crafto - Elearning
====================================== */
/* font */
@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;300;400;500;600;700;800;900&display=swap");
/* variable */
:root {
  --base-color: #d5d52b;
  --dark-gray: #313e3b;
  --medium-gray: #828c8a;
  --yellow: #d5d52c;
  --extra-medium-gray: #e4e4e4;
  --alt-font: "Space Grotesk", sans-serif;
  --primary-font: "Inter", sans-serif;
}
/* reset */
body {
  font-size: 17px;
  line-height: 30px;
  overflow-x: hidden;
}
a:hover {
  color: var(--dark-gray);
}
.top-25 {
  top: 25%;
}
.mt-minus-12 {
  margin-top: -12%;
}
.mt-minus-1 {
  margin-top: -1%;
}
.left-minus-200px {
  left: -200px;
}
.mt-minus-4 {
  margin-top: -4px;
}
.bottom-minus-320px {
  bottom: -320px;
}
.terms-condition .box:before {
  border-color: #e4e4e4;
  background-color: var(--white);
  top: 1px;
}
.terms-condition .box:after {
  top: 5px;
}
/* border color */
.border-color-transparent-white-very-light {
  border-color: rgba(255, 255, 255, 0.2) !important;
}
.border-color-transparent-dark-very-light {
  border-color: var(--extra-medium-gray) !important;
}
/* bg gradient color */
.bg-gradient-deep-zuccini-green {
  background-image: linear-gradient(
    to right bottom,
    #19493e,
    #164339,
    #143e34,
    #113830,
    #0f332b
  );
}
.bg-gradient-aztec-green {
  background-image: linear-gradient(
    to right bottom,
    #313e3b,
    #2e3b38,
    #2c3835,
    #293532,
    #27322f
  );
}
.bg-gradient-tranquil-white {
  background-image: linear-gradient(
    to bottom,
    #ffffff,
    #f7f9f9,
    #f3f6f6,
    #eff3f3,
    #ecf1f1
  );
}
.bg-yellow {
  background-color: var(--yellow);
}
.bg-tranquil {
  background-color: #f3f8f8;
}
.bg-gradient-dark-transparent {
  background: -webkit-gradient(
    linear,
    left bottom,
    left top,
    color-stop(7%, #36332e),
    to(transparent)
  );
  background: linear-gradient(to top, #262a29 0%, transparent 100%);
}
/* header */
.navbar .navbar-nav .nav-link {
  font-size: 18px;
}
header .navbar-brand img {
  max-height: 68px;
}
header .navbar-brand {
  padding: 25px 0;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu {
  width: 335px;
  padding: 25px 35px;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu li a {
  padding: 15px 30px 21px 0;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu li a p {
  font-size: 14px;
  line-height: normal;
  font-weight: 400;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu li a span {
  font-size: 17px;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu li a i {
  color: var(--dark-gray);
  font-size: 34px;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu li.active > a {
  opacity: 0.7;
}
/* icon */
.icon-extra-medium {
  font-size: 22px;
}
.video-icon-large .video-icon {
  width: 70px;
  height: 70px;
  font-size: 18px;
}
.video-icon-large .video-icon .video-icon-sonar .video-icon-sonar-bfr {
  width: 120px;
  height: 120px;
}
.video-icon-large .video-icon .video-icon-sonar .video-icon-sonar-afr {
  width: 90px;
  height: 90px;
}
.medium-icon li,
.small-icon li {
  margin: 0 3px;
}
/* review  */
.review-star-icon i {
  letter-spacing: 1px;
}
/* btn */
.btn {
  font-family: var(--primary-font);
  text-transform: none;
  letter-spacing: 0;
}
.btn.btn-switch-text.btn-extra-large > span {
  padding: 15px 38px;
  font-size: 17px;
}
.btn.btn-switch-text.btn-large > span {
  padding: 13px 32px;
  font-size: 15px;
}
.btn.btn-switch-text.btn-medium > span {
  padding: 12px 30px;
  font-size: 14px;
}
.btn.btn-base-color {
  color: var(--dark-gray);
}
.btn.btn-base-color:hover,
.btn.btn-box-shadow.btn-base-color:hover {
  background-color: var(--base-color);
  color: var(--dark-gray);
}
.btn.btn-link {
  padding: 0 0 2px;
}
/* heading */
h2 {
  line-height: 3.2rem;
}
/* tab */
.tab-style-04 .nav-tabs .nav-item {
  padding: 0;
  width: 25%;
}
.tab-style-04 .nav-tabs .nav-item .nav-link {
  color: var(--medium-gray);
}
.tab-style-04 .nav-tabs .nav-item .nav-link .tab-border {
  height: 3px;
}
.tab-style-04 .nav-tabs .nav-item .nav-link.active {
  font-weight: 600;
  border: 0;
  outline: 0;
}
.tab-style-04 .nav-tabs .nav-item .nav-link:focus-visible {
  outline: none;
  box-shadow: none;
}
/* accordion */
.accordion-style-04 .accordion-item .accordion-body {
  padding: 0 35px 25px;
}
.accordion-style-04 .accordion-item .accordion-collapse {
  margin-top: -1px;
}
/* progress bar */
.progress-bar-style-02 .progress {
  height: 10px;
}
/* page title */
.page-title-extra-small h2 {
  font-size: 3.75rem;
  line-height: 3.75rem;
}
.page-title-extra-small h1 {
  font-size: 20px;
}
/* pages */
.contact-form-style-03 > div {
  border-radius: 6px 0 6px 0;
}
/* newsletter style 02 */
.newsletter-style-02 input {
  padding-right: 100px !important;
  font-size: 14px;
}
/* footer */
footer {
  padding-bottom: 30px;
}
footer .footer-logo img {
  max-height: 39px;
}
.footer-dark,
.footer-dark .newsletter-style-02 input,
.footer-dark p,
.footer-dark a {
  color: var(--medium-gray);
}
.footer-dark a:hover {
  color: var(--base-color);
}
.footer-dark .newsletter-style-02 input::placeholder {
  color: var(--medium-gray) !important;
  opacity: 1; /* Firefox */
}
.footer-dark .newsletter-style-02 input:-ms-input-placeholder {
  color: var(--medium-gray) !important;
}
.footer-dark .newsletter-style-02 input::-ms-input-placeholder {
  color: var(--medium-gray) !important;
}
.footer-dark .elements-social .light li a:hover {
  color: var(--white);
  opacity: 0.5;
}
.footer-dark .small-icon li {
  margin: 0 7px;
}
.footer-navbar li {
  line-height: normal;
}
footer ul li {
  margin-bottom: 2px;
}
/* media query responsive */
@media (max-width: 1399px) {
  .accordion-style-06 .accordion-item {
    padding-left: 35px;
  }
}
@media (max-width: 1199px) {
  .navbar .navbar-nav .nav-link {
    font-size: 16px;
  }
  .navbar .navbar-nav .nav-link {
    padding-left: 12px;
    padding-right: 12px;
  }
  .team-style-05 .social-icon a {
    margin: 0 10px;
  }
}
@media (max-width: 991px) {
  .widget-text {
    color: var(--dark-gray);
  }
  .navbar .navbar-nav .nav-link {
    font-size: 18px;
  }
  .team-style-05 .social-icon a {
    margin: 0 10px;
  }
  .navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu {
    padding: 0 15px 6px 15px;
  }
}
@media (max-width: 767px) {
  .accordion-style-05 .accordion-item {
    padding: 20px 35px 22px 55px;
  }
  .contact-form-style-03 > div {
    border-radius: 6px;
  }
  .tab-style-04 .nav-tabs .nav-item:last-child {
    margin-bottom: 0;
  }
  .accordion-style-04 .accordion-item .accordion-body {
    padding: 0 25px 25px;
  }
  .tab-style-04 .nav-tabs .nav-item {
    width: auto;
  }
}
@media (max-width: 575px) {
  .accordion-style-06 .accordion-item {
    padding-left: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .accordion-style-06 .accordion-item.active-accordion {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .accordion-style-05 .accordion-item {
    padding: 17px 20px 17px 45px;
  }
  .accordion-style-05 .accordion-item .accordion-body {
    padding-right: 15px;
  }
  .accordion .accordion-item .accordion-header .accordion-title {
    line-height: 28px;
  }
}
.services-box-style-06 {
  height: 400px;
  display: flex;
  flex-direction: column;
}
.services-box-style-06 .bg-white {
  flex: 1;
  overflow: hidden;
}

/* Capabilities cards grid */
.cards-grid {
  display: grid;
  /* grid-template-columns: repeat(4, 1fr); */
  gap: 24px;
}

.card {
  display: flex;
  flex-direction: column;
}

/* Services hover effects */
.service-item {
  transition: all 0.3s ease;
  cursor: pointer;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

a.service-item {
  color: inherit;
  text-decoration: none;
}

.service-arrow {
  transition: all 0.3s ease;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: transparent;
}

.service-item:hover .service-arrow {
  background-color: var(--base-color);
  transform: scale(1.1);
}

.service-arrow svg {
  width: 20px;
  height: 20px;
  stroke: var(--dark-gray);
  stroke-width: 2;
  transition: all 0.3s ease;
}

.service-item:hover .service-arrow svg {
  stroke: white;
}

/* =============================================
   HOME PAGE MOBILE FIXES
   ============================================= */

/* --- Hero section --- */
@media (max-width: 1199px) {
  .full-screen .col-xl-5[class*="col-lg-"] + .col-xl-7[class*="col-lg-"] {
    margin-top: 0;
  }
  .full-screen .atropos img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 991px) {
  .full-screen .alt-font.fs-75 {
    font-size: 2.5rem;
    line-height: 2.75rem;
  }
  .full-screen .fs-18.fw-300.opacity-5 {
    font-size: 15px;
    line-height: 24px;
  }
  .full-screen .w-80.md-w-60 {
    width: 100% !important;
  }
  .full-screen .counter-style-04 h5 {
    font-size: 1.25rem;
    line-height: 1.4rem;
  }
  .full-screen .counter-style-04 .col span {
    font-size: 18px;
  }
  .full-screen .outside-box-right-10 {
    margin-right: 0;
  }
  .full-screen .atropos {
    margin-top: 10px;
  }
  .full-screen .btn-extra-large {
    font-size: 13px;
    padding: 10px 22px;
  }
}

@media (max-width: 767px) {
  .full-screen .alt-font.fs-75 {
    font-size: 2.75rem;
    line-height: 3rem;
  }
  .full-screen .counter-style-04 h5 {
    font-size: 1.125rem;
    line-height: 1.25rem;
  }
  .full-screen .btn-extra-large {
    font-size: 12px;
    padding: 8px 18px;
  }
}

@media (max-width: 575px) {
  .full-screen .alt-font.fs-75 {
    font-size: 2.5rem;
    line-height: 3.75rem;
  }
  .full-screen .counter-style-04.row-cols-4 {
    /* display: grid; */
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }
  .full-screen .counter-style-04 .col {
    padding-inline: 0;
  }
  .full-screen .counter-style-04 h5 {
    font-size: 1rem;
    line-height: 1.15rem;
  }
  .full-screen .mb-70px {
    margin-bottom: 24px;
  }
  .full-screen .position-absolute.left-minus-80px {
    display: none;
  }
}

/* --- Services section --- */
@media (max-width: 575px) {
  .services {
    padding: 32px 16px 48px !important;
  }
  .service-item {
    padding: 32px 0;
  }
  .service-title {
    font-size: 22px;
  }
  .services__title {
    font-size: 28px;
  }
  .services__desc {
    font-size: 14px;
    max-width: 100%;
  }
  .services .btn-large {
    font-size: 13px;
    padding: 14px 28px;
  }
}

/* --- Marquee text --- */
@media (max-width: 991px) {
  .fs-190 {
    font-size: 5rem !important;
    line-height: 5rem !important;
  }
  .marquee-slide .fs-190 {
    white-space: nowrap;
  }
}

@media (max-width: 575px) {
  .fs-190 {
    font-size: 2.5rem !important;
    line-height: 2.5rem !important;
    letter-spacing: -0.02em !important;
  }
}

/* --- Capabilities section --- */
@media (max-width: 991px) {
  .capabilities {
    padding: 48px 32px 64px !important;
  }
  .capabilities__title {
    font-size: 32px;
  }
  .cards-grid {
    gap: 16px;
  }
  .card__top {
    padding: 24px 24px 28px;
  }
  .card__icon {
    width: 50px;
    height: 50px;
  }
  .card__icon svg {
    width: 22px;
    height: 22px;
  }
  .card__icon {
    margin-bottom: 18px;
  }
  .card__name {
    font-size: 18px;
  }
  .card__ghost {
    top: 20px;
  }
}

@media (max-width: 767px) {
  .capabilities {
    padding: 40px 20px 56px !important;
  }
  .capabilities__header {
    margin-bottom: 32px;
  }
  .capabilities__title {
    font-size: 28px;
  }
  .cards-grid {
    gap: 14px;
  }
  .card__top {
    padding: 20px 20px 24px;
  }
  .card__icon {
    width: 46px;
    height: 46px;
    margin-bottom: 16px;
  }
  .card__name {
    font-size: 17px;
  }
  .card__body {
    font-size: 13px;
    line-height: 1.55;
  }
}

@media (max-width: 575px) {
  .capabilities {
    padding: 32px 16px 48px !important;
  }
  .capabilities__header {
    margin-bottom: 24px;
  }
  .capabilities__title {
    font-size: 26px;
  }
  .cards-grid {
    gap: 12px;
  }
  .card__top {
    padding: 18px 16px 20px;
  }
  .card__icon {
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
  }
  .card__icon svg {
    width: 20px;
    height: 20px;
  }
  .card__name {
    font-size: 16px;
  }
  .card__body {
    font-size: 12.5px;
  }
  .card__ghost {
    top: 16px;
  }
}

/* --- Colleges filter bar --- */
.filter-bar-wrap {
  display: block !important;
  position: relative;
  z-index: 999999;
  background: #ffffff;
  border-bottom: 2px solid #d1d5db;
  box-shadow: 0 2px 16px rgba(17, 24, 39, 0.08);
  min-height: 60px;
}
.filter-bar {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  flex-wrap: wrap;
  opacity: 1 !important;
  visibility: visible !important;
}
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 50px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid #e5e7eb;
  background: transparent;
  color: #6b7280;
  font-family: "Poppins", sans-serif;
  transition: all 0.22s ease;
  white-space: nowrap;
}
.tab:hover:not(.tab--active) {
  border-color: #eef4a0;
  background: #f6fad0;
  color: #111827;
}
.tab--active {
  background: #111827;
  border-color: #111827;
  color: #ffffff;
}
.tab--active.tab--eng {
  background: #1a2e27;
  border-color: #1a2e27;
}
.tab--active.tab--mgmt {
  background: #2d1b4e;
  border-color: #2d1b4e;
}
.tab--active.tab--med {
  background: #1e3a5f;
  border-color: #1e3a5f;
}
.tab--active.tab--law {
  background: #3a1a0a;
  border-color: #3a1a0a;
}
.tab-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.tab--all .tab-dot {
  background: #111827;
}
.tab--eng .tab-dot {
  background: #d9e021;
}
.tab--mgmt .tab-dot {
  background: #c084fc;
}
.tab--med .tab-dot {
  background: #60b8f0;
}
.tab--law .tab-dot {
  background: #fb923c;
}
.tab--active .tab-dot {
  background: #ffffff;
}
.results-count {
  font-size: 12px;
  color: #6b7280;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}
.results-count strong {
  color: #111827;
  font-weight: 700;
}

/* --- Colleges section --- */
@media (max-width: 575px) {
  .colleges-section {
    padding: 32px 12px 48px !important;
  }
  .colleges-section .section-title {
    font-size: 22px;
  }
  .filter-tabs {
    gap: 6px;
  }
  .filter-btn {
    padding: 8px 16px;
    font-size: 11px;
  }
  .college-card__img {
    height: 160px;
  }
}

/* --- Program filter tabs (portfolio-filter) --- */
@media (max-width: 575px) {
  .portfolio-filter.nav-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
  }
  .portfolio-filter.nav-tabs li {
    display: inline-block;
    width: auto;
    margin-bottom: 0;
  }
  .portfolio-filter.nav-tabs li a {
    padding: 6px 14px;
    font-size: 12px;
  }
}

/* =============================================
   ENGINEERING BRANCHES SLIDER
   ============================================= */
.eng-branches-slider {
  padding: 0 50px;
}
.eng-branches-slider .swiper-wrapper {
  align-items: stretch;
}
.eng-branches-slider .swiper-slide {
  height: auto;
  display: flex;
}
.eng-branches-slider .swiper-slide > div {
  flex: 1;
}
.eng-branches-slider .swiper-pagination-bullet {
  background: var(--dark-gray);
  opacity: 0.3;
}
.eng-branches-slider .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--base-color, #d5d52b);
}
.eng-branches-slider .swiper-button-next,
.eng-branches-slider .swiper-button-prev {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #d5d52b;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.eng-branches-slider .swiper-button-next {
  right: 10px;
  left: auto;
}
.eng-branches-slider .swiper-button-prev {
  left: 10px;
  right: auto;
}
.eng-branches-slider .swiper-button-next:hover,
.eng-branches-slider .swiper-button-prev:hover {
  background: var(--base-color, #d5d52b);
  box-shadow: 0 4px 16px rgba(213, 213, 43, 0.35);
}
.eng-branches-slider .swiper-button-next::after,
.eng-branches-slider .swiper-button-prev::after {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark-gray);
}
.eng-branches-slider .swiper-button-next:hover::after,
.eng-branches-slider .swiper-button-prev:hover::after {
  color: #fff;
}

@media (max-width: 767px) {
  .eng-branches-slider .swiper-button-next,
  .eng-branches-slider .swiper-button-prev {
    width: 36px;
    height: 36px;
  }
  .eng-branches-slider .swiper-button-next::after,
  .eng-branches-slider .swiper-button-prev::after {
    font-size: 12px;
  }
}
@media (max-width: 575px) {
  .eng-branches-slider {
    padding: 0 8px;
  }
  .eng-branches-slider .swiper-button-next {
    right: 4px;
  }
  .eng-branches-slider .swiper-button-prev {
    left: 4px;
  }
}
