/* Desktop hover dropdown */
@media (min-width: 1200px) {
  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
  }
}

@media (max-width: 1399.98px) {
  .hero-content h1 {
    font-size: var(--hero-title-size-lg);
  }

  .why-card h4 {
    font-size: 20px;
  }

  .why-card p {
    font-size: 15px;
  }

  .footer-policy-links {
    justify-content: flex-start;
  }
}

@media (max-width: 1199.98px) {
  .main-navbar {
    background: var(--nav-bg-mobile);
    padding: 0.75rem 0;
    box-shadow: var(--shadow-soft);
  }

  .main-navbar .logo-img,
  .main-navbar.scrolled .logo-img {
    height: var(--logo-height-mobile);
  }

  .navbar-collapse {
    background: var(--nav-bg-mobile);
    margin-top: 0.9rem;
    padding: 1rem 1.1rem 1.4rem;
    border-radius: var(--radius-md);
  }

  .navbar-nav {
    align-items: flex-start !important;
  }

  .navbar-nav .nav-link {
    width: 100%;
    padding: 0.9rem 0 !important;
  }

  .nav-cta-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
  }

  .main-dropdown,
  .submenu-dropdown {
    position: static !important;
    transform: none !important;
    min-width: 100%;
    margin-top: 0.35rem;
    box-shadow: none;
    border: 1px solid var(--border-light);
  }

  .dropdown-submenu > .submenu-dropdown {
    display: none;
    margin-left: 0.9rem;
    margin-top: 0.5rem;
  }

  .dropdown-submenu.show > .submenu-dropdown {
    display: block;
  }
  .dropdown-mega-menu {
    min-width: 100%;
    padding: 20px;
  }

  .dropdown-mega-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .dropdown-mega-col h5 {
    margin-bottom: 16px;
  }

  .dropdown-mega-menu .dropdown-item {
    margin-bottom: 14px;
  }

  .impact-stat-card {
    min-height: 205px;
  }

  .value-card {
    min-height: 245px;
  }

  .footer-bottom-wrap {
    margin-top: 52px;
  }

  .footer-search-form {
    margin: 0;
  }
}

@media (max-width: 991.98px) {
  .heroSwiper {
    height: 600px;
  }

  .hero-content {
    padding-top: 6.5rem;
  }

  .hero-content h1 {
    font-size: var(--hero-title-size-md);
  }

  .hero-content p {
    font-size: var(--hero-text-size-md);
    max-width: 700px;
  }

  .custom-swiper-btn {
    width: 50px !important;
    height: 50px !important;
  }

  .custom-swiper-btn i {
    font-size: 1.45rem;
  }

  .swiper-button-prev {
    left: 16px !important;
  }

  .swiper-button-next {
    right: 16px !important;
  }

  .why-card {
    padding: 38px 24px 34px;
  }

  .why-image {
    width: 130px;
    height: 130px;
  }

  .why-image img {
    max-width: 130px;
    max-height: 130px;
  }

  .why-card h4 {
    font-size: 22px;
  }

  .why-card p {
    font-size: 18px;
  }

  .impact-values-section {
    padding: 50px 0;
  }

  .impact-stats-row {
    margin-bottom: 18px;
  }

  .impact-stat-card {
    min-height: 195px;
  }

  .impact-stat-icon {
    font-size: 46px;
  }

  .impact-stat-card h3 {
    font-size: 1.85rem;
  }

  .value-card {
    min-height: 230px;
    padding: 24px 18px 22px;
  }

  .value-icon {
    font-size: 44px;
  }

  .value-card h4 {
    font-size: 1.08rem;
  }

  .volunteerSwiper {
    padding: 0 42px;
  }

  .restoration-section {
    padding: 60px 0;
  }

  .video-thumbnail img,
  .video-iframe-wrap iframe {
    height: 440px;
  }

  .weforest-footer {
    padding: 48px 0 28px;
  }

  .footer-brand-block {
    max-width: 100%;
  }

  .footer-bottom-wrap {
    margin-top: 42px;
  }

  .footer-membership-logos {
    gap: 18px;
  }

  .footer-membership-logos img {
    max-height: 38px;
  }

  .photo-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 18px;
  }

  .photo-gallery-section .heading h2 {
    font-size: 1.9rem;
  }
}

@media (max-width: 767.98px) {
  .heroSwiper {
 height: 550px;
  }

  .hero-content {
    padding-top: 5.8rem;
  }

  .hero-content h1 {
    font-size: var(--hero-title-size-sm);
  }

  .hero-content p {
    font-size: var(--hero-text-size-sm);
    margin-bottom: 1.6rem;
  }

  .hero-btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }

  .custom-swiper-btn {
    width: 50px !important;
    height: 50px !important;
  }

  .custom-swiper-btn i {
    font-size: 1.2rem;
  }

  .swiper-pagination {
    bottom: 18px !important;
  }

  .swiper-pagination-bullet {
    width: 11px;
    height: 11px;
  }

  .swiper-pagination-bullet-active {
    width: 26px;
  }

  .volunteer-section {
    padding: 50px 0;
  }

  .heading {
    margin-bottom: 30px;
  }

  .heading h2 {
    font-size: 1.45rem;
  }

  .heading p {
    font-size: 0.9rem;
  }

  .volunteer-card-top {
    height: 78px;
  }

  .volunteer-avatar {
    width: 58px;
    height: 58px;
  }

  .volunteer-card-body h5 {
    font-size: 0.88rem;
  }

  .volunteerSwiper {
    padding: 0 34px;
  }

  .volunteer-button-prev,
  .volunteer-button-next {
    width: 34px;
    height: 34px;
  }

  .restoration-section {
    padding: 50px 0;
  }

  .video-thumbnail img,
  .video-iframe-wrap iframe {
    height: 280px;
  }

  .video-play-btn {
    width: 64px;
    height: 64px;
    font-size: 1.1rem;
  }

  .restoration-slider-head {
    gap: 8px;
    margin-bottom: 12px;
  }

  .restoration-button-prev,
  .restoration-button-next {
    width: 34px;
    height: 34px;
  }

  .restoration-card,
  .restoration-card img {
    min-height: 220px;
  }

  .restoration-card-overlay {
    padding: 16px 14px;
  }

  .restoration-card-overlay h4 {
    font-size: 0.95rem;
  }

  .restoration-card-overlay p {
    font-size: 0.82rem;
  }

  .whatsapp-widget {
    right: 16px;
    bottom: 16px;
  }

  .whatsapp-float-btn {
    width: 54px;
    height: 54px;
    font-size: 1.55rem;
  }

  .whatsapp-chat-box {
    width: 290px;
    bottom: 68px;
  }

  .measure-section {
    padding: 70px 0 50px;
  }

  .measure-content {
    margin-bottom: 30px;
  }

  .measure-content h2 {
    font-size: 1.7rem;
  }

  .measure-content p {
    font-size: 0.92rem;
  }

  .measure-card {
    min-height: auto;
    padding: 26px 18px;
  }

  .measure-icon img {
    width: 46px;
    height: 46px;
  }

  .measure-card p {
    font-size: 0.9rem;
  }

  .measure-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .weforest-footer {
    padding: 42px 0 24px;
  }

  .footer-logo img {
    max-width: 145px;
    margin-bottom: 22px;
  }

  .footer-social a {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }

  .footer-newsletter-form input,
  .footer-newsletter-form button {
    height: 48px;
  }

  .footer-newsletter-form button {
    width: 92px;
  }

  .footer-bottom-wrap {
    margin-top: 34px;
  }

  .footer-search-form {
    max-width: 100%;
  }

  .footer-policy-links {
    gap: 8px 12px;
  }

  .footer-policy-links a {
    font-size: 0.9rem;
  }

  .photo-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .gallery-item img {
    height: 140px;
  }

  .photo-gallery-section {
    padding: 50px 0;
  }

  .photo-gallery-section .heading h2 {
    font-size: 1.55rem;
  }

  .from-left,
  .from-right,
  .from-bottom-right {
    transform: translateY(40px);
  }

  .animate-item.in-view {
    transform: translateY(0);
  }
}

@media (max-width: 575.98px) {
  .heroSwiper {
    height: 350px;
  }

  .hero-content h1 {
    font-size: var(--hero-title-size-xs);
  }

  .hero-content p {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .swiper-button-prev,
  .swiper-button-next {
    top: 50%;
  }

  .why-volunteer-section {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .why-card {
    border-radius: 22px;
    padding: 30px 20px;
  }

  .why-image {
    width: 110px;
    height: 110px;
    margin-bottom: 24px;
  }

  .why-image img {
    max-width: 60px;
    max-height: 60px;
  }

  .why-card h4 {
    font-size: 20px;
  }

  .why-card p {
    font-size: 16px;
  }

  .impact-values-section {
    padding: 40px 0;
  }

  .impact-stat-card,
  .value-card {
    min-height: auto;
  }

  .footer-newsletter-form {
    flex-direction: row;
  }

  .footer-newsletter-form input {
    font-size: 0.92rem;
  }

  .footer-links ul li a,
  .language-switch,
  .footer-address p {
    font-size: 0.94rem;
  }

  .footer-policy-links a:not(:last-child)::after {
    margin-left: 10px;
  }

  .gallery-item img {
    height: 125px;
  }
}



/* banner section responsive */
@media (max-width: 1399.98px) {
  .banner-content h2 {
    font-size: 4.3rem;
  }
}

@media (max-width: 991.98px) {
  .banner-section {
    height: 300px;
  }

  .banner-subtitle {
    font-size: 0.92rem;
    margin-bottom: 18px;
  }

  .banner-content h2 {
    font-size: 3.2rem;
  }
}

@media (max-width: 767.98px) {
  .banner-section {
    min-height: 420px;
  }

  .banner-subtitle {
    font-size: 0.85rem;
    margin-bottom: 14px;
  }

  .banner-content h2 {
    font-size: 2.25rem;
  }
}

@media (max-width: 575.98px) {
  .banner-section {
    min-height: 360px;
  }

  .banner-content h2 {
    font-size: 1.85rem;
  }
}

@media (max-width: 991.98px) {
  .climate-goals-heading h2 {
    font-size: 2rem;
  }

  .climate-goals-content {
    padding: 40px 28px;
  }

  .climate-goals-content h3 {
    font-size: 1.18rem;
  }
}

@media (max-width: 767.98px) {
  .climate-goals-section {
    padding: 50px 0;
  }

  .climate-goals-heading {
    padding: 32px 18px 70px;
    margin-bottom: -40px;
  }

  .climate-goals-heading h2 {
    font-size: 1.65rem;
  }

  .climate-goals-grid {
    grid-template-columns: 1fr;
  }

  .climate-goals-content {
    padding: 32px 20px;
  }

  .climate-goals-image img {
    min-height: 220px;
  }

  .climate-goals-content h3 {
    font-size: 1.08rem;
  }

  .climate-goals-content p {
    font-size: 0.9rem;
  }

  .climate-goals-footer {
    padding-top: 34px;
  }

  .climate-goals-footer a {
    font-size: 0.92rem;
  }
}
@media (max-width: 991.98px) {
  .content-section {
    padding: 60px 0;
  }

  .content-intro h2,
  .section-main-title {
    font-size: 1.95rem;
  }

  .content-main h3 {
    font-size: 1.6rem;
  }

  .content-block p,
  .content-block li {
    font-size: 0.97rem;
  }
}

@media (max-width: 767.98px) {
  .content-section {
    padding: 50px 0;
  }

  .content-block {
    margin-bottom: 32px;
  }

  .content-intro h2,
  .section-main-title {
    font-size: 1.65rem;
    margin-bottom: 20px;
  }

  .content-main h3 {
    font-size: 1.35rem;
    margin-bottom: 14px;
  }

  .content-block p,
  .content-block li {
    font-size: 0.94rem;
    line-height: 1.65;
  }

  .content-block ul {
    padding-left: 18px;
  }

  .content-main .mt-5 {
    margin-top: 34px !important;
  }
}

