/* Mobile Layout Fixes for Suriname Onsite */

/* Hero Section Mobile Fixes */
@media (max-width: 767px) {
  .hero-1 {
    margin: 0;
    border-radius: 0;
  }
  
  .hero-1 .container-fluid {
    padding: 0 15px;
  }
  
  .hero-1 .hero-content {
    padding-top: 40px;
    padding-bottom: 30px;
    text-align: center;
  }
  
  .hero-1 .hero-content h4 {
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 600;
  }
  
  .hero-1 .hero-content h1 {
    font-size: 32px !important;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 700;
  }
  
  .hero-1 .hero-content .hero-button-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
    align-items: center;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-1 .hero-content .hero-button-item .theme-btn {
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 700;
    width: 100%;
    background: linear-gradient(135deg, #99A537 0%, #7A8A2A 100%);
    border: none;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(153, 165, 55, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
  }
  
  .hero-1 .hero-content .hero-button-item .theme-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(153, 165, 55, 0.4);
  }
  
  .hero-1 .hero-content .hero-button-item .logo-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    padding: 16px 24px;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  }
  
  .hero-1 .hero-content .hero-button-item .logo-item .cont span {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
  }
  
  .hero-1 .hero-content .hero-button-item .logo-item .cont p {
    font-size: 15px;
    margin: 0;
    opacity: 0.95;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

}

@media (max-width: 575px) {
  .hero-1 .hero-content h4 {
    font-size: 14px;
  }
  
  .hero-1 .hero-content h1 {
    font-size: 28px !important;
  }
  
  .hero-1 .hero-content .hero-button-item {
    max-width: 300px;
  }
  
  .hero-1 .hero-content .hero-button-item .theme-btn {
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 700;
  }
  
  .hero-1 .hero-content .hero-button-item .logo-item {
    padding: 14px 20px;
  }
  
  .hero-1 .hero-content .hero-button-item .logo-item .cont span {
    font-size: 20px;
    font-weight: 800;
  }
  
  .hero-1 .hero-content .hero-button-item .logo-item .cont p {
    font-size: 13px;
    font-weight: 600;
  }
}

/* Counter Section Mobile Fixes */
@media (max-width: 767px) {
  .counter-section {
    margin: 0;
    border-radius: 0;
    padding-top: 60px;
    padding-bottom: 60px;
    margin-top: 0;
  }
  
  .counter-items-style-1 {
    text-align: center;
    margin-bottom: 30px;
  }
  
  .counter-items-style-1 h2 {
    font-size: 24px !important;
  }
  
  .counter-items-style-1 h5 {
    font-size: 16px;
  }
  
  .counter-items-style-1 p {
    font-size: 14px;
    max-width: 100%;
  }
}

/* Footer Logo Desktop Fixes */
.offcanvas__logo a {
  display: flex;
  align-items: center;
  gap: 15px;
}

.offcanvas__logo .logo-icon {
  width: 50px;
  height: 50px;
  line-height: 50px;
  background-color: var(--theme);
  border-radius: 0 0 8px 0;
  text-align: center;
  display: inline-block;
}

.offcanvas__logo .logo-icon img {
  width: 24px;
  height: auto;
}

.offcanvas__logo .logo-text {
  display: inline-block !important;
}

.offcanvas__logo .logo-text img {
  width: 150px;
  display: block !important;
}

/* Footer Logo Desktop Fixes */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-logo .logo-icon {
  width: 50px;
  height: 50px;
  line-height: 50px;
  background-color: var(--theme);
  border-radius: 0 0 8px 0;
  text-align: center;
  display: inline-block;
}

.footer-logo .logo-icon img {
  width: 24px;
  height: auto;
}

.footer-logo .logo-text img {
  width: 180px;
}

/* Footer Mobile Fixes - Collapsible Sections */
@media (max-width: 767px) {
  .footer-wrapper-style-5 {
    padding: 40px 0 60px;
  }
  
  .footer-widget-items {
    margin-bottom: 20px;
  }
  
  .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .footer-logo .logo-icon {
    width: 40px;
    height: 40px;
    line-height: 40px;
    background-color: var(--theme);
    border-radius: 0 0 6px 0;
    text-align: center;
    display: inline-block;
  }
  
  .footer-logo .logo-icon img {
    width: 20px;
    height: auto;
  }
  
  .footer-logo .logo-text img {
    width: 120px !important;
  }
  
  .footer-widget-items .widget-head {
    margin-bottom: 15px;
    cursor: pointer;
    position: relative;
  }
  
  .footer-widget-items .widget-head::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 20px;
    color: var(--theme);
    transition: transform 0.3s ease;
  }
  
  .footer-widget-items.active .widget-head::after {
    content: '−';
    transform: rotate(180deg);
  }
  
  .footer-widget-items .list-items,
  .footer-widget-items .contact-info,
  .footer-widget-items .footer-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .footer-widget-items.active .list-items,
  .footer-widget-items.active .contact-info,
  .footer-widget-items.active .footer-content {
    max-height: 500px;
  }
  
  .footer-widget-items .widget-head h3 {
    font-size: 18px;
    margin: 0;
  }
  
  .footer-widget-items .footer-content p {
    font-size: 14px;
    line-height: 1.5;
  }
  
  .footer-widget-items .list-items li,
  .footer-widget-items .contact-info li {
    font-size: 14px;
    margin-bottom: 8px;
  }
  
  .footer-widget-items .social-icon {
    margin-top: 20px;
    gap: 15px;
  }
  
  .footer-widget-items .social-icon a {
    font-size: 18px;
  }
}

/* Newsletter Section Mobile Fixes */
@media (max-width: 767px) {
  .newsletter-wrapper-5 {
    padding: 30px 20px;
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  .newsletter-wrapper-5 .content h6 {
    font-size: 16px;
    margin-bottom: 10px;
  }
  
  .newsletter-wrapper-5 .content h3 {
    font-size: 24px;
  }
  
  .newsletter-wrapper-5 form {
    max-width: 100%;
  }
  
  .newsletter-wrapper-5 form .form-clt input {
    padding: 15px 20px;
    padding-right: 20px !important;
    margin-bottom: 15px;
  }
  
  .newsletter-wrapper-5 form .form-clt .theme-btn {
    position: static;
    width: 100%;
    padding: 15px 20px;
    margin-top: 0;
  }
}

/* Service Section Mobile Fixes */
@media (max-width: 767px) {
  .service-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  
  .service-card-items {
    text-align: center;
    padding: 20px;
  }
  
  .service-card-items .icon {
    margin-bottom: 15px;
  }
  
  .service-card-items .content h5 {
    font-size: 16px;
    line-height: 1.3;
  }
}

/* Feature Plant Section Mobile Fixes */
@media (max-width: 767px) {
  .feature-plant-section {
    padding: 40px 0;
  }
  
  .feature-plant-item-style-1 .top-items {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .feature-plant-item-style-1 .top-items .content h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  .feature-plant-item-style-1 .top-items .content p {
    font-size: 14px;
    max-width: 100%;
  }
  
  .feature-plant-item-style-1 .bottom-item {
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
  }
  
  .feature-plant-item-style-1 .bottom-item::before {
    display: none;
  }
}

/* About Section Mobile Fixes */
@media (max-width: 767px) {
  .about-content-style-1 .circle-progress-bar-wrapper {
    justify-content: center;
    gap: 30px;
  }
  
  .about-content-style-1 .about-button {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .about-left-items-style-1 .about-image .about-box {
    display: none;
  }
}

/* Best Feature Section Mobile Fixes */
@media (max-width: 767px) {
  .best-feature-image-style-1 .feature-image .feature-box {
    display: none;
  }
  
  .best-feature-image-style-1 .feature-image .circle {
    position: static;
    transform: none;
    margin: 20px auto;
  }
}

/* Header Mobile Fixes */
@media (max-width: 767px) {
  .header-1 .main-logo .logo-text { display: inline-block !important; }
  
  .header-1 .main-logo .logo-icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
  }
  
  .header-1 .header-right-icon .search-toggler,
  .header-1 .header-right-icon .cart-icon {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 14px;
  }
}

/* General Mobile Spacing */
@media (max-width: 767px) {
  /* Sidebar/Offcanvas Mobile Fixes */
  .offcanvas__wrapper {
    padding: 15px 20px;
  }
  
  .offcanvas__top {
    margin-bottom: 20px !important;
  }
  
  .offcanvas__logo a {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  
  .offcanvas__logo .logo-icon {
    width: 50px;
    height: 50px;
    line-height: 50px;
    background-color: var(--theme);
    border-radius: 0 0 8px 0;
    text-align: center;
    display: inline-block;
  }
  
  .offcanvas__logo .logo-icon img {
    width: 24px;
    height: auto;
  }
  
  .offcanvas__logo .logo-text {
    display: inline-block !important;
  }
  
  .offcanvas__logo .logo-text img {
    width: 150px !important;
    height: auto !important;
    display: block !important;
  }
  
  .section-padding {
    padding: 40px 0;
  }
  
  .container,
  .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  h2 {
    font-size: 24px !important;
    line-height: 1.3;
  }
  
  h3 {
    font-size: 18px !important;
  }
  
  .theme-btn {
    padding: 12px 20px;
    font-size: 14px;
  }
}




/* Hide Video Section on Mobile */
@media (max-width: 767px) {
  .video-bg-section {
    display: none !important;
  }
}

/* LOGO SWITCHING - do not override everything */
@media (max-width: 767.98px) {
  .header-1 .main-logo .logo-text { display: inline-block !important; }

  .header-1 .main-logo .logo-text img.d-md-none,
  .offcanvas__logo .logo-text img.d-md-none,
  .footer-logo .logo-text img.d-md-none { display: block !important; }

  .header-1 .main-logo .logo-text img.d-md-block,
  .offcanvas__logo .logo-text img.d-md-block,
  .footer-logo .logo-text img.d-md-block { display: none !important; }
}

@media (min-width: 768px) {
  .offcanvas__logo .logo-text img.d-md-block {
    display: inline-block !important;
    width: 180px !important;
  }
}

/* Offcanvas Contact Icons Fix */
.offcanvas__contact .contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.offcanvas__contact .contact-list li .icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background-color: var(--theme);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
}

.offcanvas__contact .contact-list li .content {
  flex: 1;
}

.offcanvas__contact .contact-list li .content p {
  margin: 0 0 5px 0;
  font-size: 14px;
  opacity: 0.8;
}

.offcanvas__contact .contact-list li .content h4 {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
}

.offcanvas__contact .contact-list li .content h4 a {
  color: inherit;
  text-decoration: none;
}

/* Hamburger Icon Fix for Contact Page */
.header-inner .header-bar span {
  background-color: #000 !important;
}

/* DELETE HERO IMAGE ON MOBILE */
@media (max-width: 767px) {
  .hero-1 .hero-image,
  .hero-1 .col-lg-6:has(.hero-image) {
    display: none !important;
  }
}

/* MOBILE HERO IMAGE FRAME */
@media (max-width: 767px) {
  .hero-mobile-image {
    margin-top: 30px;
    text-align: center;
  }
  
  .hero-mobile-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  }
}
