/* ===== HERO BANNER - FULL COVER ===== */
.hero-banner-section {
  width: 100%;
  height: auto;
  margin: 145px 0 30px 0;
  overflow: hidden;
}
.hero-banner-section .hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
  min-height: 300px;
  object-fit: cover;
}
@media (max-width: 991px) {
  .hero-banner-section {
    margin: 120px 0 25px 0;
  }
}
@media (max-width: 767px) {
  .hero-banner-section {
    margin: 100px 0 20px 0;
  }
  .hero-banner-section .hero-banner-img {
    min-height: 200px;
  }
}
@media (max-width: 575px) {
  .hero-banner-section {
    margin: 85px 0 15px 0;
  }
  .hero-banner-section .hero-banner-img {
    min-height: 150px;
  }
}

/* ===== ABOUT PAGE BANNER - REDESIGNED ===== */
.page-banner-section {
  position: relative;
  padding: 130px 0 100px;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  margin-top: 145px;
  overflow: hidden;
}
.page-banner-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(14, 42, 71, 0.88) 0%,
    rgba(14, 42, 71, 0.7) 50%,
    rgba(255, 107, 53, 0.25) 100%
  );
  z-index: 1;
}
.page-banner-section .shape-1,
.page-banner-section .shape-2,
.page-banner-section .shape-3 {
  display: none;
}
.page-banner-section .container {
  position: relative;
  z-index: 2;
}
.page-banner-section .page-banner-wrap {
  position: relative;
}
.page-banner-section .page-banner .title {
  font-size: 42px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
  position: relative;
  display: inline-block;
}
.page-banner-section .page-banner .title::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #ff6b35, #f8db5e);
  border-radius: 2px;
}
.page-banner-section .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 18px 0 0;
  justify-content: center;
}
.page-banner-section .breadcrumb-item {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}
.page-banner-section .breadcrumb-item a {
  color: #f8db5e;
  text-decoration: none;
  transition: color 0.3s ease;
}
.page-banner-section .breadcrumb-item a:hover {
  color: #ff6b35;
}
.page-banner-section .breadcrumb-item.active {
  color: #ffffff;
}
.page-banner-section .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.4);
  content: "›";
  font-size: 16px;
  font-weight: 700;
}
@media (max-width: 991px) {
  .page-banner-section {
    padding: 80px 0 60px;
    margin-top: 120px;
  }
  .page-banner-section .page-banner .title {
    font-size: 32px;
  }
}
@media (max-width: 767px) {
  .page-banner-section {
    padding: 60px 0 50px;
    margin-top: 100px;
  }
  .page-banner-section .page-banner .title {
    font-size: 26px;
  }
  .page-banner-section .breadcrumb-item {
    font-size: 13px;
  }
}
@media (max-width: 575px) {
  .page-banner-section {
    padding: 50px 0 40px;
    margin-top: 85px;
  }
  .page-banner-section .page-banner .title {
    font-size: 22px;
  }
  .page-banner-section .page-banner .title::after {
    width: 40px;
    height: 2px;
  }
  .page-banner-section .breadcrumb-item {
    font-size: 12px;
  }
}

/* ===== ABOUT CONTENT - REDESIGNED ===== */
.upstudy-about-section-06 {
  padding: 80px 0;
  background: #ffffff;
}
.upstudy-about-section-06 .about-wrap {
  max-width: 1140px;
  margin: 0 auto;
}
.upstudy-about-section-06 .about-img-wrap {
  position: relative;
  margin-bottom: 30px;
  min-height: 400px;
}
.upstudy-about-section-06 .about-img-wrap .shape-1 {
  display: none;
}
.upstudy-about-section-06 .about-img-wrap .about-img-big {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(14, 42, 71, 0.1);
  position: relative;
}
.upstudy-about-section-06 .about-img-wrap .about-img-big img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.upstudy-about-section-06 .about-img-wrap .about-img-big:hover img {
  transform: scale(1.03);
}
.upstudy-about-section-06 .about-img-wrap .about-img-sm {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  border: 5px solid #ffffff;
  box-shadow: 0 8px 30px rgba(14, 42, 71, 0.15);
  z-index: 2;
}
.upstudy-about-section-06 .about-img-wrap .about-img-sm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.upstudy-about-section-06 .about-content {
  padding-left: 20px;
}
.upstudy-about-section-06 .about-content .about-title {
  font-size: 30px;
  font-weight: 800;
  color: #0e2a47;
  line-height: 1.3;
  margin-bottom: 18px;
  letter-spacing: -0.3px;
}
.upstudy-about-section-06 .about-content .about-title span {
  color: #ff6b35;
}
.upstudy-about-section-06 .about-content .text {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
}
.upstudy-about-section-06 .about-content .about-list {
  margin-bottom: 20px;
}
.upstudy-about-section-06 .about-content .about-list .list-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
  padding: 16px 20px;
  background: #f8f9fc;
  border-radius: 12px;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}
.upstudy-about-section-06 .about-content .about-list .list-item:hover {
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(14, 42, 71, 0.06);
  border-left-color: #ff6b35;
  transform: translateX(4px);
}
.upstudy-about-section-06 .about-content .about-list .list-item .icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0e2a47, #1a4a7a);
  border-radius: 10px;
  padding: 10px;
}
.upstudy-about-section-06 .about-content .about-list .list-item .icon img {
  width: 24px;
  height: auto;
  filter: brightness(0) invert(1);
}
.upstudy-about-section-06 .about-content .about-list .list-item .title {
  font-size: 16px;
  font-weight: 700;
  color: #0e2a47;
  margin: 0 0 4px;
  line-height: 1.4;
}
.upstudy-about-section-06 .about-content .about-list .list-item p {
  font-size: 14px;
  line-height: 1.7;
  color: #666;
  margin: 0;
}
.upstudy-about-section-06 .about-content .about-list .list-item .icon-sm {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0e2a47;
  border-radius: 8px;
  padding: 8px;
}
.upstudy-about-section-06 .about-content .about-list .list-item .icon-sm img {
  width: 20px;
  height: auto;
  filter: brightness(0) invert(1);
}

/* Divider between sections */
.about-section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e0e5ec, transparent);
  margin: 10px 0 40px;
}

/* Why Choose Us & Programs - Professional Cards */
.feature-card-modern {
  background: #ffffff;
  border: 1px solid #eef1f5;
  border-radius: 14px;
  padding: 24px 22px;
  margin-bottom: 16px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
.feature-card-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #ff6b35, #f8db5e);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.feature-card-modern:hover::before {
  opacity: 1;
}
.feature-card-modern:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(14, 42, 71, 0.07);
  border-color: #d5dbe3;
}
.feature-card-modern .fc-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.feature-card-modern .fc-head .fc-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f4ff;
  border-radius: 10px;
  font-size: 18px;
  color: #ff6b35;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.feature-card-modern:hover .fc-head .fc-icon {
  background: #ff6b35;
  color: #ffffff;
}
.feature-card-modern .fc-head .fc-title {
  font-size: 16px;
  font-weight: 700;
  color: #0e2a47;
  margin: 0;
  line-height: 1.3;
}
.feature-card-modern .fc-text {
  font-size: 14px;
  line-height: 1.7;
  color: #666;
  margin: 0;
  padding-left: 50px;
}

@media (max-width: 991px) {
  .upstudy-about-section-06 {
    padding: 60px 0;
  }
  .upstudy-about-section-06 .about-content {
    padding-left: 0;
    margin-top: 30px;
  }
  .upstudy-about-section-06 .about-content .about-title {
    font-size: 26px;
  }
  .upstudy-about-section-06 .about-img-wrap .about-img-big img {
    height: 340px;
  }
  .upstudy-about-section-06 .about-img-wrap .about-img-sm {
    width: 160px;
    height: 160px;
    bottom: -15px;
    right: -15px;
  }
}
@media (max-width: 767px) {
  .upstudy-about-section-06 {
    padding: 40px 0;
  }
  .upstudy-about-section-06 .about-content .about-title {
    font-size: 22px;
  }
  .upstudy-about-section-06 .about-content .text {
    font-size: 14px;
  }
  .upstudy-about-section-06 .about-img-wrap {
    min-height: 280px;
  }
  .upstudy-about-section-06 .about-img-wrap .about-img-big img {
    height: 260px;
  }
  .upstudy-about-section-06 .about-img-wrap .about-img-sm {
    width: 130px;
    height: 130px;
    bottom: -12px;
    right: -12px;
    border-width: 4px;
  }
  .upstudy-about-section-06 .about-content .about-list .list-item {
    padding: 14px 16px;
  }
  .feature-card-modern {
    padding: 18px 16px;
  }
  .feature-card-modern .fc-text {
    padding-left: 0;
    margin-top: 6px;
  }
  .feature-card-modern .fc-head {
    flex-wrap: wrap;
  }
}
@media (max-width: 575px) {
  .upstudy-about-section-06 {
    padding: 30px 0;
  }
  .upstudy-about-section-06 .about-content .about-title {
    font-size: 20px;
  }
  .upstudy-about-section-06 .about-img-wrap {
    min-height: 220px;
  }
  .upstudy-about-section-06 .about-img-wrap .about-img-big img {
    height: 220px;
  }
  .upstudy-about-section-06 .about-img-wrap .about-img-sm {
    width: 100px;
    height: 100px;
    bottom: -10px;
    right: -10px;
    border-width: 3px;
  }
  .upstudy-about-section-06 .about-content .about-list .list-item .icon {
    width: 36px;
    height: 36px;
    padding: 8px;
  }
  .upstudy-about-section-06 .about-content .about-list .list-item .icon img {
    width: 20px;
  }
  .upstudy-about-section-06 .about-content .about-list .list-item .title {
    font-size: 14px;
  }
  .upstudy-about-section-06 .about-content .about-list .list-item p {
    font-size: 13px;
  }
  .feature-card-modern .fc-head .fc-title {
    font-size: 14px;
  }
  .feature-card-modern .fc-text {
    font-size: 13px;
  }
}

.accreditation-ticker {
  width: 100%;
  background: #0e2a47;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
  padding: 0;
}
.accreditation-ticker .ticker-wrap {
  width: 100%;
  overflow: hidden;
  padding: 10px 0;
  position: relative;
}
.accreditation-ticker .ticker-wrap::before,
.accreditation-ticker .ticker-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  width: 60px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.accreditation-ticker .ticker-wrap::before {
  left: 0;
  background: linear-gradient(to right, #0e2a47, transparent);
}
.accreditation-ticker .ticker-wrap::after {
  right: 0;
  background: linear-gradient(to left, #0e2a47, transparent);
}
.accreditation-ticker .ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker-scroll 40s linear infinite;
  width: max-content;
}
.accreditation-ticker:hover .ticker-track {
  animation-play-state: paused;
}
.accreditation-ticker .ticker-item {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  padding: 0 8px;
  letter-spacing: 0.3px;
}
.accreditation-ticker .ticker-item strong {
  font-weight: 700;
  color: #f8db5e;
  margin-right: 5px;
}
.accreditation-ticker .ticker-sep {
  display: inline-flex;
  align-items: center;
  color: #f8db5e;
  font-size: 10px;
  padding: 0 12px;
  opacity: 0.6;
}
@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@media (max-width: 991px) {
  .accreditation-ticker .ticker-item {
    font-size: 12px;
  }
  .accreditation-ticker .ticker-sep {
    font-size: 9px;
    padding: 0 10px;
  }
  .accreditation-ticker .ticker-wrap::before,
  .accreditation-ticker .ticker-wrap::after {
    width: 40px;
  }
}
@media (max-width: 767px) {
  .accreditation-ticker .ticker-wrap {
    padding: 8px 0;
  }
  .accreditation-ticker .ticker-item {
    font-size: 11px;
  }
  .accreditation-ticker .ticker-item strong {
    font-size: 11px;
  }
  .accreditation-ticker .ticker-sep {
    font-size: 8px;
    padding: 0 8px;
  }
  .accreditation-ticker .ticker-wrap::before,
  .accreditation-ticker .ticker-wrap::after {
    width: 25px;
  }
}
@media (max-width: 575px) {
  .accreditation-ticker .ticker-wrap {
    padding: 6px 0;
  }
  .accreditation-ticker .ticker-item {
    font-size: 10px;
  }
  .accreditation-ticker .ticker-item strong {
    font-size: 10px;
  }
  .accreditation-ticker .ticker-sep {
    font-size: 7px;
    padding: 0 6px;
  }
  .accreditation-ticker .ticker-wrap::before,
  .accreditation-ticker .ticker-wrap::after {
    width: 18px;
  }
}

/* ===== ICON FIX: Ensure Font Awesome icons render ===== */
.fas,
.far,
.fab,
.fa {
  font-family:
    "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome" !important;
  font-weight: 900;
  display: inline-block;
}
.fab {
  font-family:
    "Font Awesome 6 Brands", "Font Awesome 5 Brands", "FontAwesome" !important;
  font-weight: 400;
}
.far {
  font-weight: 400;
}
[class*=" flaticon-"]:before,
[class^="flaticon-"]:before {
  font-family: Flaticon !important;
}

/* ===== RESPONSIVE FIXES ===== */
@media (max-width: 991px) {
  .testimonial-wrap-02 {
    padding: 40px 20px;
  }
  .upstudy-brand-section .brand-title-wrap {
    text-align: center;
  }
  .footer-widget {
    margin-bottom: 30px;
  }
  .header-bottom-section .header-top-content p span br {
    display: none;
  }
  .about-img {
    margin-bottom: 30px;
    text-align: center;
  }
  .about-img .image img {
    max-width: 100%;
  }
}
@media (max-width: 767px) {
  .counter-item-wrap-02 {
    margin-top: 0;
  }
  .footer-widget-wrap .col-sm-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .copyright-text {
    text-align: center;
    margin-bottom: 10px;
  }
  .copyright-social {
    text-align: center;
  }
  .counter-left .title {
    font-size: 20px;
  }
  .section-title .title {
    font-size: 24px;
  }
  .about-content .title {
    font-size: 22px;
  }
}
@media (max-width: 575px) {
  .brand-title-wrap .title {
    font-size: 20px;
  }
}

/* ===== PROFESSIONAL ABOUT SECTION ===== */
.upstudy-about-section {
  padding: 100px 0 70px;
  background: #ffffff;
  position: relative;
}
.upstudy-about-section .about-wrap-inner {
  background: #f8f9fc;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}
.upstudy-about-section .about-image-col {
  flex: 0 0 45%;
  max-width: 45%;
  position: relative;
  min-height: 500px;
  overflow: hidden;
}
.upstudy-about-section .about-content-col {
  flex: 0 0 55%;
  max-width: 55%;
  padding: 50px 50px 40px 45px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.upstudy-about-section .about-image-col .about-img-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.upstudy-about-section .about-image-col:hover .about-img-main {
  transform: scale(1.03);
}
.upstudy-about-section .about-image-col::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(to right, transparent, #f8f9fc);
  pointer-events: none;
}
.upstudy-about-section .about-badge {
  display: inline-block;
  background: #0e2a47;
  color: #f8db5e;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 14px;
}
.upstudy-about-section .about-title {
  font-size: 32px;
  font-weight: 800;
  color: #0e2a47;
  line-height: 1.25;
  margin-bottom: 16px;
}
.upstudy-about-section .about-title span {
  color: #ff6b35;
}
.upstudy-about-section .about-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 24px;
}
.upstudy-about-section .about-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 28px;
}
.upstudy-about-section .about-info-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 18px 20px;
  border-left: 4px solid #ff6b35;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}
.upstudy-about-section .about-info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.upstudy-about-section .about-info-card .info-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #ff6b35;
  margin-bottom: 4px;
}
.upstudy-about-section .about-info-card .info-value {
  font-size: 14px;
  font-weight: 600;
  color: #0e2a47;
  line-height: 1.5;
}
.upstudy-about-section .about-info-card .info-value strong {
  font-weight: 700;
}
.upstudy-about-section .about-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ff6b35;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 32px;
  border-radius: 40px;
  text-decoration: none;
  transition: all 0.3s ease;
  align-self: flex-start;
  border: none;
  cursor: pointer;
}
.upstudy-about-section .about-btn:hover {
  background: #0e2a47;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(14, 42, 71, 0.25);
}
.upstudy-about-section .about-btn i {
  font-size: 14px;
  transition: transform 0.3s ease;
}
.upstudy-about-section .about-btn:hover i {
  transform: translateX(4px);
}
@media (max-width: 991px) {
  .upstudy-about-section {
    padding: 60px 0 40px;
  }
  .upstudy-about-section .about-image-col {
    flex: 0 0 100%;
    max-width: 100%;
    min-height: 320px;
  }
  .upstudy-about-section .about-content-col {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 35px 30px 30px;
  }
  .upstudy-about-section .about-image-col::after {
    display: none;
  }
  .upstudy-about-section .about-title {
    font-size: 26px;
  }
  .upstudy-about-section .about-info-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767px) {
  .upstudy-about-section .about-image-col {
    min-height: 240px;
  }
  .upstudy-about-section .about-content-col {
    padding: 25px 20px 20px;
  }
  .upstudy-about-section .about-title {
    font-size: 22px;
  }
  .upstudy-about-section .about-badge {
    font-size: 11px;
    padding: 5px 14px;
  }
  .upstudy-about-section .about-info-card {
    padding: 14px 16px;
  }
  .upstudy-about-section .about-btn {
    font-size: 14px;
    padding: 11px 26px;
  }
}
@media (max-width: 575px) {
  .upstudy-about-section .about-image-col {
    min-height: 200px;
  }
  .upstudy-about-section .about-content-col {
    padding: 20px 16px 16px;
  }
  .upstudy-about-section .about-title {
    font-size: 20px;
  }
}

/* ===== PROFESSIONAL COUNTER SECTION ===== */
.upstudy-counter-section-02 {
  padding: 80px 0;
  background: #f8f9fc;
  position: relative;
  overflow: hidden;
}
.upstudy-counter-section-02::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(14, 42, 71, 0.03) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}
.upstudy-counter-section-02 .counter-wrap {
  position: relative;
  z-index: 2;
}
.upstudy-counter-section-02 .shape-1,
.upstudy-counter-section-02 .shape-2 {
  display: none;
}
.upstudy-counter-section-02 .counter-head-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 40px;
}
.upstudy-counter-section-02 .counter-head-col .counter-badge {
  display: inline-block;
  background: #0e2a47;
  color: #f8db5e;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 14px;
  align-self: flex-start;
}
.upstudy-counter-section-02 .counter-head-col .counter-title {
  font-size: 30px;
  font-weight: 800;
  color: #0e2a47;
  line-height: 1.3;
  margin-bottom: 16px;
}
.upstudy-counter-section-02 .counter-head-col .counter-title span {
  color: #ff6b35;
}
.upstudy-counter-section-02 .counter-head-col .counter-sub {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 24px;
}
.upstudy-counter-section-02 .counter-head-col .counter-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ff6b35;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 32px;
  border-radius: 40px;
  text-decoration: none;
  transition: all 0.3s ease;
  align-self: flex-start;
  border: none;
  cursor: pointer;
}
.upstudy-counter-section-02 .counter-head-col .counter-cta:hover {
  background: #e55a2b;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.35);
}
.upstudy-counter-section-02 .counter-head-col .counter-cta i {
  font-size: 14px;
  transition: transform 0.3s ease;
}
.upstudy-counter-section-02 .counter-head-col .counter-cta:hover i {
  transform: translateX(4px);
}
.upstudy-counter-section-02 .counter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.upstudy-counter-section-02 .counter-card {
  background: #ffffff;
  border: 1px solid #e8ecf1;
  border-radius: 16px;
  padding: 30px 24px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.upstudy-counter-section-02 .counter-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #ff6b35, #f8db5e);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.upstudy-counter-section-02 .counter-card:hover::before {
  opacity: 1;
}
.upstudy-counter-section-02 .counter-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(14, 42, 71, 0.1);
  border-color: #d0d7e0;
}
.upstudy-counter-section-02 .counter-card .counter-icon {
  width: 64px;
  height: 64px;
  line-height: 64px;
  text-align: center;
  background: #f0f2f5;
  border-radius: 50%;
  margin: 0 auto 16px;
  font-size: 28px;
  color: #ff6b35;
}
.upstudy-counter-section-02 .counter-card .counter-icon img {
  width: 32px;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}
.upstudy-counter-section-02 .counter-card .counter-number {
  font-size: 34px;
  font-weight: 800;
  color: #0e2a47;
  line-height: 1.1;
  margin-bottom: 4px;
}
.upstudy-counter-section-02 .counter-card .counter-number .counter {
  font-size: 34px;
  font-weight: 800;
  color: #0e2a47;
}
.upstudy-counter-section-02 .counter-card .counter-label {
  font-size: 14px;
  color: #666;
  font-weight: 500;
  margin: 0;
}
@media (max-width: 991px) {
  .upstudy-counter-section-02 {
    padding: 60px 0;
  }
  .upstudy-counter-section-02 .counter-head-col {
    padding-right: 0;
    margin-bottom: 30px;
    text-align: center;
  }
  .upstudy-counter-section-02 .counter-head-col .counter-badge,
  .upstudy-counter-section-02 .counter-head-col .counter-cta {
    align-self: center;
  }
  .upstudy-counter-section-02 .counter-head-col .counter-title {
    font-size: 24px;
  }
}
@media (max-width: 767px) {
  .upstudy-counter-section-02 .counter-grid {
    gap: 14px;
  }
  .upstudy-counter-section-02 .counter-card {
    padding: 22px 16px;
  }
  .upstudy-counter-section-02 .counter-card .counter-number,
  .upstudy-counter-section-02 .counter-card .counter-number .counter {
    font-size: 26px;
  }
  .upstudy-counter-section-02 .counter-card .counter-label {
    font-size: 12px;
  }
  .upstudy-counter-section-02 .counter-head-col .counter-title {
    font-size: 20px;
  }
}
@media (max-width: 575px) {
  .upstudy-counter-section-02 .counter-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== TESTIMONIAL CARDS ===== */
.testi-card-compact {
  background: #fff;
  border-radius: 12px;
  padding: 22px 24px;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.05);
  border: 1px solid #eef1f5;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.testi-card-compact:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  border-color: #d0d7e0;
  transform: translateY(-2px);
}
.testi-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.testi-user {
  display: flex;
  align-items: center;
  gap: 10px;
}
.testi-avatar-sm {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0e2a47, #1a4a7a);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testi-avatar-sm span {
  color: #f8db5e;
  font-size: 13px;
  font-weight: 700;
}
.testi-name {
  font-size: 14px;
  font-weight: 700;
  color: #0e2a47;
  line-height: 1.3;
}
.testi-role {
  font-size: 11px;
  color: #999;
  line-height: 1.3;
}
.testi-stars-sm {
  display: flex;
  gap: 2px;
  color: #ffb800;
  font-size: 11px;
  flex-shrink: 0;
}
.testi-text {
  font-size: 13px;
  line-height: 1.6;
  color: #555;
  margin: 6px 0 0;
  flex: 1;
}
.testi-section {
  padding: 60px 0 50px !important;
  background: #f8f9fc;
}
.testi-section .section-title {
  margin-bottom: 30px;
}
.testi-section .section-title .title {
  font-size: 30px;
}
.testi-section .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #ccc;
  opacity: 1;
  margin: 0 5px !important;
}
.testi-section .swiper-pagination-bullet-active {
  background: #ff6b35;
  width: 26px;
  border-radius: 5px;
}
@media (max-width: 991px) {
  .testi-section .section-title .title {
    font-size: 26px;
  }
}
@media (max-width: 767px) {
  .testi-card-compact {
    padding: 16px 18px;
  }
  .testi-avatar-sm {
    width: 32px;
    height: 32px;
  }
  .testi-avatar-sm span {
    font-size: 11px;
  }
  .testi-name {
    font-size: 13px;
  }
  .testi-role {
    font-size: 10px;
  }
  .testi-stars-sm {
    font-size: 10px;
  }
  .testi-text {
    font-size: 12px;
  }
  .testi-section .section-title .title {
    font-size: 22px;
  }
  .testi-section {
    padding: 40px 0 40px !important;
  }
}

/* ===== BACK TO TOP ARROW ===== */
.progress-wrap {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 46px;
  height: 46px;
  cursor: pointer;
  z-index: 9999;
  display: none;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.progress-wrap.active-progress {
  display: block;
}
.progress-wrap svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.progress-wrap svg path {
  fill: none;
  stroke: #ff6b35;
  stroke-width: 4;
  stroke-dasharray: 308;
  stroke-dashoffset: 308;
  transition: stroke-dashoffset 0.3s ease;
}
.progress-wrap.active-progress svg path {
  stroke-dashoffset: 0;
}
.back-to-top-arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  color: #0e2a47;
  z-index: 3;
  pointer-events: none;
}

/* ===== FOOTER IMPROVEMENTS ===== */
.footer-section {
  background: #0a0f2c;
  color: #fff;
  padding-top: 60px;
}
.footer-widget .footer-logo {
  margin-bottom: 20px;
}
.footer-widget .text {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}
.footer-widget .widget-info {
  display: flex;
  align-items: center;
  margin-top: 20px;
}
.footer-widget .widget-info .info-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-right: 15px;
  font-size: 20px;
  color: #ff6b35;
  flex-shrink: 0;
}
.footer-widget .widget-info .info-text .call-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2px;
}
.footer-widget .widget-info .info-text a {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}
.footer-widget .widget-info .info-text a:hover {
  color: #ff6b35;
}
.footer-widget .footer-widget-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 25px;
  padding-bottom: 15px;
  position: relative;
  letter-spacing: 0.5px;
}
.footer-widget .footer-widget-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: #ff6b35;
  border-radius: 2px;
}
.footer-widget .widget-link .link {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-widget .widget-link .link li {
  margin-bottom: 10px;
}
.footer-widget .widget-link .link li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  padding-left: 0;
  position: relative;
  display: inline-block;
}
.footer-widget .widget-link .link li a:hover {
  color: #ff6b35;
  padding-left: 8px;
}
.footer-widget .widget-link .link li a:before {
  content: "\f105";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 8px;
  color: #ff6b35;
  font-size: 12px;
}
.footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  margin-top: 40px;
}
.footer-copyright .copyright-text p {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  font-size: 14px;
}
.footer-copyright .copyright-social .social {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}
.footer-copyright .copyright-social .social li a {
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  transition: all 0.3s ease;
}
.footer-copyright .copyright-social .social li a:hover {
  background: #ff6b35;
  color: #fff;
  transform: translateY(-3px);
}

/* ===== CATEGORIES SECTION BADGE ===== */
.cat-section-badge {
  display: inline-block;
  background: linear-gradient(135deg, #0e2a47, #1a4a7a);
  color: #f8db5e;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  padding: 6px 22px;
  border-radius: 30px;
  margin-bottom: 10px;
  box-shadow: 0 4px 14px rgba(14, 42, 71, 0.2);
  position: relative;
}
.cat-section-badge::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 32px;
  background: linear-gradient(135deg, #ff6b35, #f8db5e);
  z-index: -1;
  opacity: 0.5;
}

/* ===== TOP CATEGORIES SECTION ===== */
.upstudy-category-section-03 {
  padding: 60px 0 40px;
  background: #ffffff;
}
.upstudy-category-section-03 .category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 35px;
}
.upstudy-category-section-03 .cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #ffffff;
  border: 1px solid #eef1f5;
  border-radius: 16px;
  padding: 30px 18px 22px;
  text-decoration: none;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}
.upstudy-category-section-03 .cat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #ff6b35, #f8db5e);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.upstudy-category-section-03 .cat-card:hover::before {
  opacity: 1;
}
.upstudy-category-section-03 .cat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(14, 42, 71, 0.08);
  border-color: #dde3ea;
}
.upstudy-category-section-03 .cat-card .cat-icon-wrap {
  width: 70px;
  height: 70px;
  line-height: 70px;
  text-align: center;
  background: #f0f4ff;
  border-radius: 16px;
  margin-bottom: 16px;
  font-size: 30px;
  color: #ff6b35;
  transition: all 0.35s ease;
}
.upstudy-category-section-03 .cat-card:hover .cat-icon-wrap {
  background: #ff6b35;
  color: #ffffff;
  transform: scale(1.05);
}
.upstudy-category-section-03 .cat-card .cat-title {
  font-size: 15px;
  font-weight: 700;
  color: #0e2a47;
  margin: 0;
  line-height: 1.4;
  transition: color 0.3s ease;
}
.upstudy-category-section-03 .cat-card:hover .cat-title {
  color: #ff6b35;
}
.upstudy-category-section-03 .cat-card .cat-count {
  font-size: 12px;
  color: #999;
  margin-top: 6px;
  font-weight: 500;
}
@media (max-width: 991px) {
  .upstudy-category-section-03 .category-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}
@media (max-width: 767px) {
  .upstudy-category-section-03 .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .upstudy-category-section-03 {
    padding: 40px 0 30px;
  }
  .upstudy-category-section-03 .cat-card {
    padding: 22px 14px 18px;
  }
  .upstudy-category-section-03 .cat-card .cat-icon-wrap {
    width: 56px;
    height: 56px;
    line-height: 56px;
    font-size: 24px;
  }
  .upstudy-category-section-03 .cat-card .cat-title {
    font-size: 13px;
  }
}
@media (max-width: 480px) {
  .upstudy-category-section-03 .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .upstudy-category-section-03 .cat-card {
    padding: 18px 10px 14px;
  }
  .upstudy-category-section-03 .cat-card .cat-icon-wrap {
    width: 48px;
    height: 48px;
    line-height: 48px;
    font-size: 20px;
  }
  .upstudy-category-section-03 .cat-card .cat-title {
    font-size: 12px;
  }
  .upstudy-category-section-03 .cat-card .cat-count {
    font-size: 10px;
  }
}

/* ===== RESPONSIVE LOGO ===== */
.header-logo a img {
  width: 100px;
  height: auto;
  max-width: 100%;
  transition: all 0.3s ease;
}
.offcanvas-logo a img {
  width: 80px;
  height: auto;
  max-width: 100%;
}
.footer-widget .footer-logo a img {
  width: 100px;
  height: auto;
  max-width: 100%;
}
@media (max-width: 767px) {
  .header-logo a img {
    width: 70px;
  }
  .footer-widget .footer-logo a img {
    width: 75px;
  }
}
@media (max-width: 575px) {
  .header-logo a img {
    width: 55px;
  }
  .footer-widget .footer-logo a img {
    width: 65px;
  }
}

/* ===== HEADER NAVBAR FULL WIDTH ===== */
.header-bottom-section {
  padding: 0;
}
.header .container-fluid.custom-container {
  padding-left: 0;
  padding-right: 0;
}
.header .header-logo {
  padding-left: 25px;
}

/* ===== GENERAL RESPONSIVE TWEAKS ===== */
img {
  max-width: 100%;
  height: auto;
}
.container,
.container-fluid {
  padding-left: 15px;
  padding-right: 15px;
}
.section-padding {
  padding: 80px 0;
}
.section-padding-02 {
  padding: 60px 0;
}
@media (max-width: 767px) {
  .section-padding {
    padding: 50px 0;
  }
  .section-padding-02 {
    padding: 40px 0;
  }
}
