/* ========================================
   RESPONSIVE CSS FOR TIWARI COMMERCIAL
   ======================================== */

/* ==========================
   GLOBAL RESPONSIVE FIXES
   ========================== */
* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

/* ==========================
   LARGE DEVICES (1200px+)
   ========================== */
@media (min-width: 1200px) {
  .container {
    max-width: 1170px;
  }
}

/* ==========================
   MEDIUM DEVICES (992px - 1199px)
   ========================== */
@media (max-width: 1199px) {
  .page-title .lead {
    font-size: 28px;
  }
  
  .navbar-main .nav>li>a {
    padding: 10px 15px;
  }
  
  .info .info-item {
    margin-right: 40px;
  }
}


/* ==========================
   TABLET DEVICES (768px - 991px)
   ========================== */
@media (max-width: 991px) {
  /* Header & Navigation */
  .header-top {
    height: auto;
    padding: 10px 0;
  }
  
  .header-top .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .info .info-item {
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 0;
  }
  
  .top-sosmed {
    text-align: right;
    margin-top: 0;
  }
  
  /* Hide desktop navigation - use sidebar instead */
  .desktop-nav,
  .navbar-collapse {
    display: none !important;
  }
  
  /* Banner */
  .banner {
    margin-top: 100px;
  }
  
  .banner .imgbg {
    height: 350px;
  }
  
  .carousel-caption {
    padding-bottom: 100px;
  }
  
  /* Services */
  .services-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  
  .services-column {
    max-width: 100%;
  }
  
  /* Gallery */
  .in-gallery-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .tc-gallery .gallery-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Customers Section */
  .customer-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ==========================
   MOBILE DEVICES (576px - 767px)
   ========================== */
@media (max-width: 767px) {
  /* Typography */
  body {
    font-size: 13px;
  }
  
  h1, h2, h3, h4, h5, h6 {
    word-wrap: break-word;
    line-height: 1.2;
  }
  
  /* Header */
  .header-top {
    display: block !important;
    height: auto;
    padding: 6px 0;
  }

  .header-top .container {
    padding: 0 10px;
  }

  .header-top .row {
    margin: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .header-top .col-xs-12 {
    padding: 0;
    width: auto !important;
    flex: 0 0 auto;
  }

  .header-top .col-xs-12:first-child {
    flex: 1;
    padding-left: 5px;
  }

  .header-top .col-xs-12:last-child {
    padding-right: 5px;
  }

  .header-top .info {
    margin: 0;
    text-align: left;
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    flex-wrap: nowrap;
  }

  .header-top .info .info-item {
    display: inline-block;
    margin: 0;
  }

  .header-top .info .info-item .info-text {
    display: none;
  }

  .header-top .info .info-item a {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header-top .info .info-item .fa-solid,
  .header-top .info .info-item .fa {
    margin: 0;
    font-size: 14px;
    color: #fff;
    width: 32px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }

  .header-top .info .info-item .fa-solid:hover,
  .header-top .info .info-item .fa:hover {
    background-color: #FBA301;
    transform: scale(1.05);
  }

  .top-sosmed {
    text-align: right;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 6px;
    justify-content: flex-end;
  }

  .top-sosmed a {
    display: inline-block;
    margin: 0;
  }

  .top-sosmed span {
    width: 32px;
    height: 32px;
    padding-top: 8px;
    margin: 0;
    font-size: 14px;
  }

  .top-sosmed span.fa-brands {
    font-size: 14px;
  }
  
  .navbar-main {
    min-height: 70px;
    margin-bottom: 0;
  }
  
  .navbar-main .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    width: 100% !important;
  }
  
  .navbar-header {
    height: 70px;
    width: 100% !important;
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: flex-start !important;
    padding: 0 15px !important;
    margin: 0 !important;
    float: none !important;
  }
  
  .navbar-brand,
  .navbar-main .navbar-brand {
    padding: 5px 0 !important;
    height: 70px !important;
    min-height: 70px !important;
    float: none !important;
    display: flex !important;
    align-items: center;
    margin: 0 !important;
    margin-left: -10px !important;
    width: auto !important;
  }
  
  /* Sidebar toggle on the right */
  .sidebar-toggle {
    margin-left: auto !important;
  }
  
  .navbar-main .navbar-brand {
    padding: 5px 0 !important;
    margin: 0 !important;
    margin-left: -10px !important;
    min-height: 70px;
  }
  
  .navbar-main .navbar-brand > img {
    width: auto;
    height: 70px;
    max-width: 220px;
    object-fit: contain;
  }
  
  /* Sidebar toggle on the right */
  .sidebar-toggle {
    margin-left: auto !important;
  }
  
  /* Hide default Bootstrap navbar toggle - using sidebar instead */
  .navbar-toggle:not(.sidebar-toggle) {
    display: none !important;
  }
  
  /* Hide desktop navigation on mobile */
  .desktop-nav,
  .navbar-collapse {
    display: none !important;
  }
  
  /* Banner */
  .banner, .subbanner {
    margin-top: 120px !important;
  }
  
  .section.banner {
    margin-top: 120px !important;
    height: 300px;
  }
  
  .banner .imgbg {
    height: 300px;
  }
  
  .carousel-caption {
    padding-bottom: 50px;
  }
  
  .banner .caption {
    top: 50px;
    left: 15px;
    right: 15px;
  }
  
  .item .carousel-caption .caption-heading {
    font-size: 20px;
    line-height: 28px;
  }
  
  /* Page Title */
  .page-title {
    margin-bottom: 40px;
    margin-top: 40px;
  }
  
  .page-title .lead {
    font-size: 24px;
    line-height: 30px;
  }
  
  .page-title .sublead {
    font-size: 13px;
  }
  
  /* Sections */
  .section {
    padding: 40px 0;
  }
  
  .p-main, .pbot-main {
    padding: 40px 0;
  }
  
  /* About Section */
  .about-section {
    padding: 30px 15px;
  }
  
  .about-section h2 {
    font-size: 24px;
  }
  
  /* Gallery */
  .in-gallery-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .tc-gallery .gallery-container {
    grid-template-columns: 1fr;
  }
  
  /* Services */
  .our-services {
    padding: 40px 15px;
  }
  
  .section-title1 {
    font-size: 28px;
  }
  
  .section-subtitle {
    font-size: 14px;
  }
  
  /* Testimonials */
  .testimonials-section {
    padding: 40px 15px;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .testimonial-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .quote-box::before {
    left: 50%;
    top: -10px;
    transform: translateX(-50%) rotate(45deg);
  }
  
  /* Abu Customers Section */
  .abu-customers-section {
    padding: 40px 15px;
  }
  
  .customer-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  /* Contact Form */
  .contact-section {
    padding: 30px 0;
  }
  
  .contact-info, .contact-form {
    padding: 25px 15px;
  }
  
  .contact-details .detail {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .contact-details .icon {
    margin: 0 0 15px 0;
  }
  
  /* Footer */
  .footer-item {
    min-height: auto;
    margin-bottom: 30px;
  }
  
  .footer-getintouch-item {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-getintouch-item .icon {
    float: none;
    margin: 0 auto 10px;
  }
  
  .footer-getintouch-item .desc {
    float: none;
    text-align: center;
  }
  
  /* Work Info */
  .work-info-item {
    width: 100%;
    min-height: auto;
    padding: 20px;
  }
  
  .work-info-icon {
    margin: 0 auto 15px;
    float: none;
  }
  
  .work-info-body {
    float: none;
    text-align: center;
    width: 100%;
  }
}


/* ==========================
   SMALL MOBILE (480px - 575px)
   ========================== */
@media (max-width: 575px) {
  /* Typography */
  body {
    font-size: 12px;
  }
  
  .page-title .lead {
    font-size: 20px;
    line-height: 26px;
  }
  
  /* Banner */
  .banner .imgbg {
    height: 250px;
  }
  
  .section.banner {
    height: 250px;
  }
  
  .item .carousel-caption .caption-heading {
    font-size: 16px;
    line-height: 22px;
  }
  
  .item .caption-desc {
    display: none;
  }
  
  .banner .caption a.btn-default {
    font-size: 11px;
    padding: 6px 15px;
  }
  
  /* Sections */
  .section {
    padding: 30px 0;
  }
  
  /* About Section */
  .about-section {
    padding: 20px 10px;
  }
  
  .about-section h2 {
    font-size: 20px;
  }
  
  .about-section p {
    font-size: 12px;
  }
  
  /* Services */
  .section-title1 {
    font-size: 24px;
  }
  
  .card {
    padding: 15px;
  }
  
  .service-box {
    flex-direction: column;
    text-align: center;
  }
  
  .service-box img {
    width: 60px;
    height: 60px;
  }
  
  /* Contact */
  .contact-info, .contact-form {
    padding: 20px 10px;
  }
  
  .contact-form h2, .contact-info h2 {
    font-size: 20px;
  }
  
  .contact-form-control {
    height: 45px;
    padding: 0 15px 0 40px;
    font-size: 13px;
  }
  
  textarea.contact-form-control {
    height: 120px;
    padding: 12px 15px 12px 40px;
  }
  
  .contact-btn-primary {
    padding: 12px 30px;
    font-size: 13px;
  }
  
  /* Footer */
  .f-desc {
    padding: 30px 0;
  }
  
  .footer-logo img {
    width: 150px;
    height: auto;
  }
  
  .footer-title {
    font-size: 16px;
  }
  
  /* Notification Card */
  .notification-card {
    width: 90%;
    right: -100%;
    padding: 15px;
  }
  
  .notification-card.show {
    right: 5%;
  }
}


/* ==========================
   EXTRA SMALL MOBILE (320px - 479px)
   ========================== */
@media (max-width: 479px) {
  /* Typography */
  body {
    font-size: 11px;
    line-height: 18px;
  }
  
  .page-title .lead {
    font-size: 18px;
    line-height: 24px;
  }
  
  /* Banner */
  .banner .imgbg {
    height: 200px;
  }
  
  .section.banner {
    height: 200px;
  }
  
  .item .carousel-caption .caption-heading {
    font-size: 14px;
    line-height: 20px;
  }
  
  /* Buttons */
  .btn-default {
    padding: 5px 20px;
    font-size: 11px;
  }
  
  /* About Section */
  .about-section h2 {
    font-size: 30px;
  }
  
  /* Services */
  .section-title1 {
    font-size: 20px;
  }
  
  .ket h4 {
    font-size: 16px;
  }
  
  .ket p {
    font-size: 12px;
  }
  
  /* Contact */
  .contact-form h2, .contact-info h2 {
    font-size: 18px;
  }
  
  .contact-details .info h4 {
    font-size: 16px;
  }
  
  .contact-details .info p {
    font-size: 12px;
  }
  
  /* Map */
  .map-wrapper {
    height: 250px;
  }
  
  /* Footer */
  .footer-item {
    padding: 0 10px;
  }
  
  .footer-getintouch-item .desc .desc-1 {
    width: 100%;
    margin-bottom: 5px;
  }
  
  .footer-getintouch-item .desc .desc-2 {
    display: none;
  }
  
  .footer-getintouch-item .desc .desc-3 {
    width: 100%;
  }
}


/* ==========================
   PRODUCT PAGES RESPONSIVE
   ========================== */
@media (max-width: 991px) {
  .Washers-section {
    flex-direction: column;
    padding: 40px 20px;
  }
  
  .text-content, .image-container {
    flex: 1 1 100%;
    max-width: 100%;
  }
  
  .text-content {
    text-align: center;
  }
  
  .feature-boxes {
    margin-left: 0;
    justify-content: center;
  }
  
  .delivery-options {
    gap: 40px;
  }
}

@media (max-width: 767px) {
  .text-content h2 {
    font-size: 2rem;
  }
  
  .text-content .description {
    font-size: 1rem;
  }
  
  .water-banner {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  
  .water-banner img {
    margin-left: 0;
  }
  
  .features h2 {
    font-size: 1.8rem;
    margin-left: 0;
    text-align: center;
  }
  
  .feature-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .feature-item img {
    margin-left: 0;
  }
  
  .feature-item .info h4,
  .feature-item .info p {
    margin-left: 0;
  }
  
  .containerr .block {
    flex-direction: column;
    padding: 20px;
  }
  
  .containerr .text,
  .containerr .image {
    flex: 1 1 100%;
  }
  
  .solutions-grid {
    grid-template-columns: 1fr;
  }
  
  .product-gridd {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    padding: 0 1rem;
  }
  
  .essentia-section {
    flex-direction: column;
    padding: 30px 20px;
  }
  
  .essentia-button {
    justify-content: center;
  }
  
  .feature-boxes,
  .delivery-options {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  
  .commercial-container {
    flex-direction: column;
  }
  
  .commercial-container.reverse {
    flex-direction: column;
  }
}

@media (max-width: 575px) {
  .text-content h2 {
    font-size: 1.6rem;
  }
  
  .text-content .subheading {
    font-size: 1rem;
  }
  
  .water-banner .text h4 {
    font-size: 1.4rem;
  }
  
  .features h2 {
    font-size: 1.5rem;
  }
  
  .solution-card h3 {
    font-size: 1.1rem;
  }
  
  .prod-h2 {
    font-size: 1.5rem;
    padding: 20px 10px;
  }
  
  .product-gridd {
    grid-template-columns: 1fr;
  }
  
  .Unique-section h2 {
    font-size: 1.4rem;
  }
  
  .delivery-section h3 {
    font-size: 1.2rem;
  }
}


/* ==========================
   INDUSTRY & ABOUT PAGES
   ========================== */
@media (max-width: 991px) {
  .about-container {
    flex-direction: column;
    padding: 20px;
  }
  
  .about-left, .about-right {
    flex: 1 1 100%;
  }
  
  .strength-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .industry-row {
    gap: 20px;
  }
  
  .vision-card-grid {
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .about-container {
    padding: 15px 10px;
  }
  
  .about-left h2, .about-right h2 {
    font-size: 22px;
  }
  
  .strength-container h2,
  .Serve-section h2,
  .vision-section .section-title h2,
  .why-we-section-title h2 {
    font-size: 22px;
  }
  
  .strength-card-grid {
    grid-template-columns: 1fr;
  }
  
  .industry-row {
    flex-direction: column;
    gap: 15px;
  }
  
  .industry-img {
    max-width: 100%;
    text-align: center;
  }
  
  .industry-content h3 {
    font-size: 1.2rem;
  }
  
  .vision-card {
    padding: 20px 15px;
  }
  
  .vision-card-icon {
    font-size: 36px;
  }
  
  .tree-container {
    padding: 20px 10px;
  }
  
  .tree ul {
    display: block;
  }
  
  .tree li {
    display: block;
    padding: 15px 0;
  }
  
  .tree li::before,
  .tree li::after {
    display: none;
  }
  
  .tree li div {
    width: 90%;
    margin: 0 auto;
  }
  
  .why-we-section-block {
    flex-direction: column;
    padding: 20px 15px;
  }
  
  .why-we-section-block img {
    max-width: 100%;
    order: -1;
  }
  
  .why-we-section-block.reverse {
    flex-direction: column;
  }
}

@media (max-width: 575px) {
  .about-left h2, .about-right h2 {
    font-size: 20px;
  }
  
  .about-left p, .about-right p {
    font-size: 13px;
  }
  
  .strength-card {
    padding: 15px;
  }
  
  .strength-card h3 {
    font-size: 16px;
  }
  
  .industry-content h3 {
    font-size: 1rem;
  }
  
  .industry-content p {
    font-size: 0.85rem;
  }
  
  .vision-card h3 {
    font-size: 18px;
  }
  
  .tree-title {
    font-size: 20px;
  }
  
  .tree li div {
    font-size: 13px;
    padding: 10px 12px;
  }
}


/* ==========================
   CONTACT PAGE RESPONSIVE
   ========================== */
@media (max-width: 991px) {
  .support-banner {
    height: 250px;
    margin: 100px 0 30px 0;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .map-section {
    margin-top: 30px;
  }
}

@media (max-width: 767px) {
  .support-banner {
    height: 200px;
    margin: 80px 0 20px 0;
  }
  
  .contact-info, .contact-form-container {
    padding: 25px 15px;
  }
  
  .contact-details .detail {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
  }
  
  .contact-details .icon {
    margin: 0 15px 0 0;
  }
  
  .social-icons {
    justify-content: center;
  }
  
  .map-wrapper {
    height: 300px;
  }
}

@media (max-width: 575px) {
  .support-banner {
    height: 150px;
  }
  
  .contact-info h2, .contact-form h2 {
    font-size: 20px;
  }
  
  .contact-details .info h4 {
    font-size: 16px;
  }
  
  .contact-details .info p {
    font-size: 13px;
  }
  
  .contact-form-control {
    height: 45px;
    padding: 0 15px 0 40px;
  }
  
  textarea.contact-form-control {
    height: 120px;
  }
  
  .map-wrapper {
    height: 250px;
  }
}


/* ==========================
   ENQUIRY FORM RESPONSIVE
   ========================== */
@media (max-width: 767px) {
  .enquiry {
    padding: 30px 15px;
  }
  
  .enquiry h2 {
    font-size: 22px;
  }
  
  .segment-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .segment-card {
    padding: 15px 10px;
  }
  
  .segment-card span {
    font-size: 13px;
  }
  
  .form-group label {
    font-size: 13px;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 13px;
    padding: 10px;
  }
  
  .btn-segment {
    padding: 12px 25px;
    font-size: 14px;
  }
}

@media (max-width: 575px) {
  .segment-grid {
    grid-template-columns: 1fr;
  }
  
  .enquiry h2 {
    font-size: 20px;
  }
}

/* ==========================
   GALLERY SECTIONS
   ========================== */
@media (max-width: 991px) {
  .in-gallery-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .tc-gallery .gallery-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .in-section-title h2 {
    font-size: 24px;
  }
  
  .in-section-title p {
    font-size: 14px;
  }
  
  .in-gallery-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .tc-gallery .gallery-container {
    grid-template-columns: 1fr;
  }
  
  .in-gallery-caption h3,
  .gallery-caption h3 {
    font-size: 18px;
  }
  
  .in-gallery-caption p,
  .gallery-caption p {
    font-size: 13px;
  }
  
  /* Mobile: Show caption always without hover */
  .in-gallery-overlay {
    opacity: 1 !important;
  }
  
  .in-gallery-caption {
    transform: translateY(0) !important;
  }
  
  .in-gallery-item:hover .in-gallery-overlay,
  .in-gallery-item:hover .in-gallery-caption {
    /* Disable hover effects on mobile */
    opacity: 1;
    transform: translateY(0);
  }
  
  .in-gallery-item:hover img {
    transform: scale(1) !important;
  }
}

@media (max-width: 575px) {
  .in-section-title h2 {
    font-size: 20px;
  }
  
  .in-gallery-caption h3,
  .gallery-caption h3 {
    font-size: 16px;
  }
  
  /* Mobile: Show caption always without hover */
  .in-gallery-overlay {
    opacity: 1 !important;
  }
  
  .in-gallery-caption {
    transform: translateY(0) !important;
  }
}


/* ==========================
   CUSTOMERS SECTION
   ========================== */
@media (max-width: 991px) {
  .abu-customers-section {
    padding: 50px 20px;
  }
  
  .customer-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 767px) {
  .abu-customers-section h2 {
    font-size: 24px;
  }
  
  .customer-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .customer-card {
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 575px) {
  .abu-customers-section h2 {
    font-size: 20px;
  }
  
  .customer-card h3 {
    font-size: 18px;
  }
  
  .customer-card p {
    font-size: 13px;
  }
}

/* ==========================
   PRACTICAL OPTIONS
   ========================== */
@media (max-width: 991px) {
  .practical-options-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 767px) {
  .practical-options-section {
    padding: 40px 20px;
  }
  
  .practical-options-section h2 {
    font-size: 1.6rem;
  }
  
  .practical-options-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .practical-options-grid .option {
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 575px) {
  .practical-options-section h2 {
    font-size: 1.4rem;
  }
  
  .practical-options-grid .option h3 {
    font-size: 1.1rem;
  }
  
  .practical-options-grid .option p {
    font-size: 0.9rem;
  }
}


/* ==========================
   STAT FACTS & PRICING
   ========================== */
@media (max-width: 767px) {
  .bg-overlay {
    padding: 40px 0;
  }
  
  .stat-item .stat-title {
    font-size: 16px;
  }
  
  .stat-item .stat-title .number {
    font-size: 40px;
    line-height: 50px;
  }
  
  .panel-pricing {
    width: 95%;
  }
  
  .panel-pricing .price {
    font-size: 30px;
  }
  
  .panel-pricing h3 {
    font-size: 16px;
  }
}

@media (max-width: 575px) {
  .stat-item .icon {
    width: 60px;
    height: 60px;
    padding-top: 15px;
  }
  
  .stat-item .icon .fa {
    font-size: 24px;
  }
  
  .stat-item .stat-title .number {
    font-size: 32px;
    line-height: 40px;
  }
}

/* ==========================
   BLOG & POST ITEMS
   ========================== */
@media (max-width: 767px) {
  .blog-item {
    margin-bottom: 30px;
  }
  
  .item-body {
    min-height: auto;
    padding: 20px 15px 60px;
  }
  
  .item-body .lead {
    font-size: 16px;
  }
  
  .post-item .post-title,
  .post-item .post-title a {
    font-size: 20px;
    line-height: 26px;
  }
  
  .widget {
    padding: 20px 15px;
  }
  
  .widget .widget-heading {
    font-size: 16px;
  }
  
  .comments-box .media {
    padding: 15px;
  }
  
  .comments-box .media.reply-comment {
    margin-left: 20px;
  }
}

@media (max-width: 575px) {
  .item-body .lead {
    font-size: 15px;
  }
  
  .post-item .post-title,
  .post-item .post-title a {
    font-size: 18px;
    line-height: 24px;
  }
  
  .comments-box .media.reply-comment {
    margin-left: 10px;
  }
  
  .comments-box .media-left img {
    width: 60px;
    height: 60px;
  }
}


/* ==========================
   UTILITY CLASSES
   ========================== */
@media (max-width: 767px) {
  .hidden-xs {
    display: none !important;
  }
  
  .text-center-xs {
    text-align: center !important;
  }
  
  .no-padding-xs {
    padding: 0 !important;
  }
}

@media (max-width: 575px) {
  .hidden-xxs {
    display: none !important;
  }
  
  .text-center-xxs {
    text-align: center !important;
  }
}

/* ==========================
   OVERFLOW & SCROLL FIXES
   ========================== */
body {
  overflow-x: hidden;
}

.container-fluid {
  overflow-x: hidden;
}

/* Prevent horizontal scroll on mobile */
@media (max-width: 767px) {
  .row {
    margin-left: -10px;
    margin-right: -10px;
  }
  
  .row > [class*="col-"] {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* ==========================
   TOUCH DEVICE OPTIMIZATIONS
   ========================== */
@media (hover: none) and (pointer: coarse) {
  /* Increase tap targets for touch devices */
  .navbar-nav > li > a {
    padding: 15px 20px;
  }
  
  .btn {
    min-height: 44px;
    min-width: 44px;
  }
  
  .social-icon,
  .top-sosmed span {
    min-width: 44px;
    min-height: 44px;
  }
  
  /* Remove hover effects on touch devices */
  .card:hover,
  .why-item:hover,
  .testimonial-card:hover {
    transform: none;
  }
}

/* ==========================
   PRINT STYLES
   ========================== */
@media print {
  .navbar-main,
  .footer,
  .back-to-top,
  .notification-card {
    display: none !important;
  }
  
  .banner,
  .subbanner {
    margin-top: 0 !important;
  }
  
  a[href]:after {
    content: none !important;
  }
  
  .container {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* ==========================
   END OF RESPONSIVE CSS
   ========================== */


/* ==========================
   MOBILE HEADER FIX
   ========================== */
@media (max-width: 991px) {
  /* Fix navbar positioning */
  .navbar-main.navbar-fixed-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
  }
  
  /* Remove any extra margins */
  body {
    padding-top: 0;
  }
  
  /* Ensure banner starts right after header */
  .banner {
    margin-top: 120px !important;
    padding-top: 0 !important;
  }
  
  .section.banner {
    margin-top: 120px !important;
  }
  
  /* Fix logo and menu positioning */
  .navbar-header {
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0 10px;
  }
  
  .container > .navbar-header {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  .navbar-brand {
    float: left !important;
    margin-left: 0 !important;
    padding-left: 10px !important;
  }
}

/* ==========================
   EXTRA SMALL MOBILE FIX
   ========================== */
@media (max-width: 479px) {
  .navbar-main .navbar-brand > img {
    height: 60px;
    max-width: 180px;
  }
}
