/* only small desktops */
/* tablets */
/* only small tablets */

/* Only Small Desktops / Tablets Landscape */
@media (min-width: 768px) and (max-width: 991px) {
    .top-header .navbar .navbar-collapse ul li a{
        padding: 5px 15px;
    }
    .about-img{
        margin-bottom: 30px;
        margin-top: 30px;
    }
    .gallery-box ul li{
        width: 33.33%;
    }

    /* Slider captions */
    .lbox-details h1 { font-size: 56px; }
    .lbox-details h2 { font-size: 40px; }
    .lbox-details p { font-size: 16px; }
    .lbox-details a.btn { font-size: 18px; padding: 10px 18px; }

    .hero-title {
        font-size: 56px;
        line-height: 64px;
    }
    .hero-subtitle {
        font-size: 22px;
        line-height: 30px;
    }

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

    /* video gallery  */
    .owl-slider-video {
        width: 250px;
        height: 440px;
    }

    /* video Component  */
    .video-content video.slider-video,
    .slider-video {
        width: 100%;
        height: 450px;
    }
    /* ststus conter section  */
    .stat-card {
        border-right: 1px solid rgba(255,255,255,0.2);
    }
    
    .row.g-0 .col-md-3:last-child .stat-card {
        border-right: none;
    }
}

/* Mobile or Only Mobile */
@media (max-width: 767px) {
    .navbar-brand{
        margin-left: 15px;
    }
    .navbar-brand img{
        width: auto;
        height: 50px;
    }

    .top-header .navbar .navbar-collapse ul li a{
        padding: 5px 15px;
    }

    /* Slider captions */
    .lbox-details {
        padding: 0px 30px;
    }
    .lbox-details h1{
        font-size: 24px;
    }
    .lbox-details h2{
        font-size: 15px;
    }
    .lbox-details p strong{
        font-size: 20px;
    }
    .lbox-details a.btn{
        display: none;
    }
    .pogoSlider-nav-btn {
        width: 10px;
        height: 10px;
    }

    /* Titles and about headings */
    .title-box h2{
        font-size: 32px;
    }
    .about-main-info {
        padding: 10px 0;
    }
    .about-main-info h2{
        text-align: center;
        font-size: 24px;
    }
    .about-img{
        display: none;
    }


    /* Gallery adjustments */
    .gallery-box ul li{
        width: 50%;
    }

    /* Forms and buttons */
    .contact-block .form-group .form-control,
    .contact-block .form-group textarea.form-control,
    .custom-select,
    .btn-common,
    .btn-theme,
    .btn-custom {
        font-size: 14px;
        height: 40px;
        padding: 5px 10px;
    }

    .contact-block .form-group textarea.form-control {
        height: 100px;
    }
    
    .btn-common { line-height: 34px; }

    .service-img {
        max-height: 350px; /* reduce height on tablets */
    }

    /* Hero Section  */
    .hero-page-wrapper {
        height: auto; 
        min-height: 320px;
        padding: 60px 20px;
        background-attachment: scroll;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-divider::before, .hero-divider::after {
        width: 30px; 
    }

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

    /* video Component  */
    .video-container {
        max-height: 70vh;
        width: 100%;
        margin: 0 auto;
        border-radius: 12px;
    }
    
    #videoGalleries .col-12 {
        display: flex;
        justify-content: center;
    }
    
    .video-card {
        margin: 0 auto;
        max-width: 220px;
        background: transparent; 
        box-shadow: none;
    }
    
    .video-container {
        height: 380px;
        width: 220px;
    }

    /* Footer section  */
    .footer-section {
        padding: 60px 0 20px;
    }
    
    .footer-links a:hover {
        padding-left: 0;
    }

    /* ststus conter section  */
    .stat-card {
        padding: 30px 10px;
        border: 0.5px solid rgba(255,255,255,0.2);
    }
    .counter-value {
        font-size: 22px;
    }

    .stat-card p {
        font-size: 15px;
    }
}

/* Extra enhancements for buttons on tablets */
@media (min-width: 576px) and (max-width: 991px) {
    .btn-common,
    .btn-theme,
    .btn-custom {
        font-size: 16px;
        padding: 2px 16px;
    }
}

@media (max-width: 480px) {
    .service-img {
        max-height: 250px; 
    }

    .section-content {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    /* Video Gllary  */
    .owl-slider-video {
        width: 250px;
        height: 440px;
    }

    /* Video Component  */
    .video-content video.slider-video,
    .slider-video {
        width: 220px;
        height: 380px;
    }
}