/* ========================================
   MIA Academia - Custom Style Overrides
   Loaded AFTER Raque theme CSS for modern refinements.
   ======================================== */

/* -----------------------------------------
   1. BUTTONS - Modern, rounded, gradient
   ----------------------------------------- */
.default-btn {
  border-radius: 30px !important;
  padding: 12px 28px 11px 50px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px;
  background: linear-gradient(135deg, #3c5a96 0%, #2d4a80 100%) !important;
  border-color: transparent !important;
  box-shadow: 0 4px 15px rgba(60, 90, 150, 0.3);
  text-transform: none;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.default-btn:hover, .default-btn:focus {
  background: linear-gradient(135deg, #0eb582 0%, #0a9b6e 100%) !important;
  border-color: transparent !important;
  box-shadow: 0 6px 20px rgba(14, 181, 130, 0.4);
  transform: translateY(-2px);
}

.default-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(14, 181, 130, 0.3);
}

.default-btn .icon-arrow {
  font-size: 20px !important;
  top: 10px !important;
}
.default-btn .icon-arrow.before {
  left: 18px !important;
}

.read-more-btn {
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
}
.read-more-btn:hover {
  letter-spacing: 1px;
}

/* -----------------------------------------
   2. TOP HEADER - Compact & refined
   ----------------------------------------- */
.top-header-style-four {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.top-header-style-four .top-header-contact-info {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}
.top-header-style-four .top-header-contact-info li {
  font-size: 12.5px !important;
}
.top-header-style-four .top-header-contact-info li a {
  font-size: 12.5px !important;
  font-weight: 400 !important;
}
.top-header-style-four .top-header-contact-info li a i {
  position: relative !important;
  transform: none !important;
  top: auto !important;
  font-size: 14px;
  margin-right: 6px;
}
.top-header-social {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}
.top-header-social span {
  font-size: 12px !important;
}
.top-header-social a {
  font-size: 14px !important;
}
.top-header-login-register li {
  font-size: 12.5px !important;
}
.top-header-login-register li a {
  font-size: 12.5px !important;
  padding-left: 18px !important;
}
.top-header-login-register li a i {
  font-size: 13px !important;
}

/* -----------------------------------------
   3. COURSE CARDS - Subtle polish
   ----------------------------------------- */
.single-courses-box {
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
.single-courses-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}
.single-courses-box .courses-image img {
  transition: transform 0.5s ease;
}
.single-courses-box:hover .courses-image img {
  transform: scale(1.05);
}
.single-courses-box .courses-content h3 a {
  transition: color 0.3s ease;
}
.single-courses-box .courses-tag a {
  border-radius: 20px;
  font-size: 12px;
  padding: 4px 14px;
}

/* -----------------------------------------
   4. PAGE TITLE - Compact
   ----------------------------------------- */
.page-title-area {
  padding-top: 50px !important;
  padding-bottom: 50px !important;
  position: relative;
}
.page-title-area::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(60, 90, 150, 0.85) 0%, rgba(14, 181, 130, 0.7) 100%);
  z-index: 0;
}
.page-title-content {
  position: relative;
  z-index: 1;
}
.page-title-content h2 {
  font-weight: 700;
  letter-spacing: -0.3px;
}

/* -----------------------------------------
   5. FOOTER - Subtle refinement
   ----------------------------------------- */
.footer-area {
  padding-top: 70px;
}
.footer-area .single-footer-widget h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}
.footer-area .social-link li a {
  transition: all 0.3s ease;
}
.footer-area .social-link li a:hover {
  transform: translateY(-3px);
}
.footer-bottom-area {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* -----------------------------------------
   6. CONTACT PAGE - Modern form
   ----------------------------------------- */
.contact-form .form-control {
  border-radius: 8px;
  border: 1.5px solid #e8e8e8;
  padding: 12px 18px;
  transition: all 0.3s ease;
}
.contact-form .form-control:focus {
  border-color: #3c5a96;
  box-shadow: 0 0 0 3px rgba(60, 90, 150, 0.1);
}
.contact-info-box {
  border-radius: 12px;
  transition: all 0.3s ease;
}
.contact-info-box:hover {
  transform: translateY(-4px);
}

/* -----------------------------------------
   7. SCROLLBAR - Modern thin
   ----------------------------------------- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #3c5a96;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #2d4a80;
}

/* -----------------------------------------
   8. NAVBAR - Subtle shadow on sticky
   ----------------------------------------- */
.navbar-area.is-sticky {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08) !important;
}
.raque-nav .navbar .navbar-nav .nav-item .nav-link {
  transition: color 0.3s ease;
  font-weight: 500;
}

/* -----------------------------------------
   9. GENERAL - Smooth transitions
   ----------------------------------------- */
a {
  transition: color 0.3s ease, background-color 0.3s ease;
}
img {
  transition: opacity 0.3s ease;
}
::selection {
  background-color: #3c5a96;
  color: #ffffff;
}

.is-inner-page .mean-container a.meanmenu-reveal span { background-color: #000 !important; }
.is-inner-page .raque-responsive-nav .logo img.white-logo { display: none !important; }
.is-inner-page .raque-responsive-nav .logo img.black-logo { display: inline-block !important; }

@media only screen and (max-width: 991px) { .navbar-area { padding-top: 5px !important; padding-bottom: 5px !important; } .raque-responsive-nav .logo img { max-height: 50px !important; } }
@media only screen and (max-width: 991px) { body.home-page .header-area { position: absolute !important; background: transparent !important; } body.home-page .navbar-area { background: transparent !important; } body.home-page .raque-responsive-nav .logo img.black-logo { display: none !important; } body.home-page .raque-responsive-nav .logo img.white-logo { display: inline-block !important; } }
body.inner-page .header-area { position: relative !important; }
