/*
 * Escola Frutos - Custom CSS Override
 * Cores: Azul (#1565C0) e Amarelo (#FFC107)
 */

/* Primary color overrides - Orange to Blue */
.text-p1 {
  color: #1565C0 !important;
}

.text-theme {
  color: #0D47A1 !important;
}

.cmn-bgs {
  background: #E3F2FD;
}

.common_btn {
  background-color: #1565C0;
}

.common_btn:hover {
  background-color: #0D47A1;
}

.common_btn_outline {
  border: 1px solid #1565C0;
  color: #1565C0;
}

.common_btn_outline:hover {
  background-color: #1565C0;
  color: #fff;
}

.common_btn .icon_wrapper {
  background-color: #0D47A1;
}

.p1-bg {
  background: #1565C0 !important;
}

.p2-clr {
  color: #FFC107 !important;
}

.p2-bg {
  background: #FFC107 !important;
}

/* Header top */
.header-top-section {
  background-color: #0D47A1;
}

/* Banner section */
.banner-section {
  background: linear-gradient(135deg, #1565C0 0%, #0D47A1 50%, #1A237E 100%);
}

.hero-badge {
  background: #FFC107;
  color: #0D47A1;
  font-weight: 700;
}

/* Badge section */
.badge-section {
  background: #E3F2FD;
  color: #1565C0;
}

.badge-section.secondary {
  background: #FFF8E1;
  color: #F57F17;
}

/* Program items - Pilares */
.program-item-wrap.style1 .program-items .thumb img {
  filter: hue-rotate(200deg);
}

.preschool-title {
  color: #1565C0;
}

/* Counter section */
.counter-section-one .counter-wrapper-one {
  background: linear-gradient(135deg, #1565C0, #0D47A1);
}

.counter-section-one .count-bg {
  opacity: 0.1;
}

/* Progress bars */
.progress-theme-items {
  background: #1565C0;
}

.progress-theme-items.style2 {
  background: #FFC107;
}

/* Courses/Pain Points section */
.courses-section {
  background: linear-gradient(135deg, #0D47A1, #1A237E);
}

/* Testimonial */
.testimonial-card .icon-bg svg path {
  fill: #E3F2FD;
}

.ratting-area .fa-star {
  color: #FFC107;
}

/* Get in touch */
.getin-touch-section .common_btn {
  background-color: #1565C0;
}

/* Session/Schedule section */
.sassion-section {
  background: #1565C0;
  border-radius: 20px;
}

.morning-sassion .sassion-item {
  border-color: rgba(255, 255, 255, 0.2);
}

/* Newsletter/CTA section */
.newsletter-section {
  background: #E3F2FD;
}

/* Footer */
.footer-section {
  background: #0D47A1;
}

.footer-section .text-p1 {
  color: #FFC107 !important;
}

.footer-bottom-link a:hover {
  color: #FFC107;
}

/* Menu typography */
.header-section .main-menu ul li a {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: #1a1a2e;
  padding: 8px 16px;
  transition: color 0.3s ease, background 0.3s ease;
  border-radius: 6px;
}

.header-section .main-menu ul li a:hover,
.header-section .main-menu ul li.active > a {
  color: #1565C0;
  background: rgba(21, 101, 192, 0.08);
}

.header-section .main-menu ul li {
  margin: 0 4px;
}

/* Links and hover states */
a:hover {
  color: #1565C0;
}

/* Sticky header */
#header-sticky.sticky {
  background: #1565C0 !important;
  box-shadow: 0 2px 20px rgba(21, 101, 192, 0.3);
}

#header-sticky.sticky .main-menu ul li a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  background: transparent;
}

#header-sticky.sticky .main-menu ul li a:hover,
#header-sticky.sticky .main-menu ul li.active > a {
  color: #FFC107;
  background: rgba(255, 255, 255, 0.1);
}

#header-sticky.sticky .header-logo img {
  filter: brightness(0) invert(1);
}

/* Scroll and selection */
::selection {
  background: #1565C0;
  color: #fff;
}

::-webkit-scrollbar-thumb {
  background: #1565C0;
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
  color: #fff;
  font-size: 30px;
}

/* Preloader */
.preloader .animation-preloader .spinner {
  border-top-color: #1565C0;
}

.preloader .animation-preloader .txt-loading .letters-loading {
  color: #1565C0;
}

/* Offcanvas */
.offcanvas__info {
  background: #0D47A1;
}

.offcanvas__info ul li a,
.offcanvas__info .mean-nav ul li a,
.offcanvas__info p,
.offcanvas__info span,
.offcanvas__info h3,
.offcanvas__info h4,
.offcanvas__info a,
.offcanvas__info .contact-info a,
.offcanvas__info .contact-info p,
.offcanvas__info .social-icon a,
.offcanvas__info .social-icon a i,
.offcanvas__info i,
.offcanvas__info svg,
.offcanvas__info * {
  color: #fff !important;
}

/* Search */
.search-wrap {
  background: rgba(13, 71, 161, 0.95);
}

/* Additional overrides for consistency */
.read-more:hover {
  color: #1565C0;
}

.news-single-items .tags-single {
  background: #E3F2FD;
  color: #1565C0;
}

.dates-icon .text-p1 {
  color: #1565C0 !important;
}

/* =============================================
   RESPONSIVE - TABLET (max-width: 991px)
   ============================================= */
@media (max-width: 991px) {
  .banner-section .hero-thumb {
    justify-content: center;
  }
  .banner-section .hero-thumb .mimg {
    max-width: 380px;
    margin-left: 0;
  }
  .banner-section .hero-thumb .hero-circle {
    margin-left: 0;
    width: 260px;
  }
  .banner-section .hero-pen {
    width: 50px;
    right: 20px;
    top: 80px;
  }
  .banner-section .hero-thumb .flash-ele {
    width: 60px;
  }
  .banner-section .hero-thumb .bulp-ele {
    width: 40px;
    right: 10px;
  }
  .banner-section .hero-car {
    display: none !important;
  }
  .banner-section .hero-dump {
    display: none !important;
  }

  .counter__items .icon img {
    width: 48px !important;
  }
  .counter__items .count-item span {
    font-size: 36px;
  }

  .rock-ele {
    width: 60px;
  }

  .getin-touch-section .rain-box {
    width: 60px;
    bottom: 200px;
    right: 40px;
  }
  .getin-touch-section .rain-icon {
    width: 50px;
  }

  .sassion-section {
    padding: 30px 20px;
  }

  .admission-thumb-wap .count-box {
    transform: scale(0.85);
  }
}

/* =============================================
   RESPONSIVE - MOBILE (max-width: 768px)
   ============================================= */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
  .whatsapp-float i {
    font-size: 24px;
  }

  .banner-section .hero-thumb .mimg {
    max-width: 320px;
  }
  .banner-section .banner-content {
    padding-top: 30px;
    padding-bottom: 40px;
    text-align: center;
  }
  .banner-section .hero-pen {
    width: 40px;
    right: 10px;
    top: 60px;
  }
  .banner-section .hero-thumb .flash-ele {
    width: 45px;
  }
  .banner-section .hero-thumb .bulp-ele {
    width: 30px;
    right: 0;
    top: 60px;
  }
  .banner-section .hero-thumb .hero-circle {
    width: 220px;
  }
  .banner-section .hero-shape1 {
    display: none;
  }

  .histore-ele {
    width: 50px !important;
    top: 10px !important;
  }

  .counter__items .icon img {
    width: 40px !important;
  }
  .counter__items .count-item span {
    font-size: 30px;
  }
  .counter__items p {
    font-size: 13px;
  }
  .rock-ele {
    display: none !important;
  }

  .admission-thumb-wap .count-box {
    transform: scale(0.75);
    right: -10px;
    bottom: -10px;
  }

  .choose-thumb-wap .quick-rainbow,
  .choose-thumb-wap .quick-randay,
  .choose-thumb-wap .quick-ba {
    display: none !important;
  }

  .getin-touch-section .rain-box,
  .getin-touch-section .rain-icon {
    display: none !important;
  }

  .sassion-section {
    padding: 30px 20px;
    border-radius: 15px;
    margin-left: 10px;
    margin-right: 10px;
  }
  .sassion-section .section-title h2 {
    font-size: 22px;
    line-height: 30px;
    word-break: break-word;
  }
  .sassion-section .sassion-content {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }
  .sassion-bg {
    display: none !important;
  }

  .choose-thumb-wap .thumb img,
  .admission-thumb-wap .thumb img {
    height: 300px;
  }

  .thumb-shape-top img,
  .thumb-shape1 img {
    height: 40px;
    object-fit: cover;
  }
}

/* =============================================
   RESPONSIVE - MOBILE SMALL (max-width: 500px)
   ============================================= */
@media (max-width: 500px) {
  .banner-section .hero-thumb .mimg {
    max-width: 260px;
  }
  .banner-section .banner-content {
    padding-top: 10px;
    padding-bottom: 20px;
  }
  .banner-section .banner-content h1 {
    font-size: 26px;
    line-height: 34px;
  }
  .banner-section .hero-pen {
    width: 30px;
    right: 5px;
    top: 40px;
  }
  .banner-section .hero-thumb .flash-ele {
    width: 35px;
  }
  .banner-section .hero-thumb .bulp-ele {
    width: 25px;
    right: -5px;
    top: 40px;
  }
  .banner-section .hero-thumb .hero-circle {
    width: 180px;
  }

  .histore-ele {
    display: none !important;
  }

  .counter__items .icon {
    margin-bottom: 10px !important;
  }
  .counter__items .icon img {
    width: 36px !important;
  }
  .counter__items .count-item span {
    font-size: 26px;
  }
  .counter__items p {
    font-size: 12px;
  }

  .admission-thumb-wap .count-box {
    transform: scale(0.65);
    right: -15px;
    bottom: -15px;
  }

  .sassion-section {
    padding: 20px 16px;
    border-radius: 12px;
    margin-left: 5px;
    margin-right: 5px;
  }
  .sassion-section .sassion-item {
    padding: 12px 0;
  }
  .sassion-section .title {
    font-size: 15px;
  }
  .sassion-section .section-title h2 {
    font-size: 20px;
    line-height: 28px;
  }
  .sassion-section .badge-section {
    font-size: 12px;
  }
  .sassion-section p {
    font-size: 14px;
    line-height: 22px;
  }

  .choose-thumb-wap .thumb img,
  .admission-thumb-wap .thumb img {
    height: 250px;
    border-radius: 15px;
  }

  .thumb-shape-top img,
  .thumb-shape1 img {
    height: 30px;
    object-fit: cover;
  }

  .section-title h2 {
    font-size: 24px;
    line-height: 32px;
  }

  .badge-section {
    font-size: 13px;
    padding: 6px 14px;
  }
}

/* Count box text alignment */
.admission-thumb-wap .count-box .boxes {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.admission-thumb-wap .count-box .count-item {
  justify-content: center;
}

/* Real photos adjustments */
.choose-thumb-wap .thumb img,
.admission-thumb-wap .thumb img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
}

.cources-single-items .c-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.user-img img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 50%;
}

/* Banner hero adjustments */
.banner-section .hero-thumb {
  display: flex;
  justify-content: center;
}

.banner-section .hero-thumb .mimg {
  width: 100%;
  max-width: 480px;
  height: auto;
  position: relative;
  z-index: 1;
  margin-left: 40px;
}

.banner-section .hero-thumb .hero-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  margin-left: 20px;
}

.banner-section .banner-content {
  padding-top: 60px;
  padding-bottom: 80px;
}

/* Hide custom cursor */
.mouse-follower,
.cursor-outline,
.cursor-dot {
  display: none !important;
}

body {
  cursor: default !important;
}

.header-logo img,
.offcanvas__logo img {
  max-height: 60px;
  width: auto;
}

.footer-logo img {
  max-height: 70px;
  width: auto;
}
