/* ============================================
   GLOBAL STYLES
   ============================================ */

/* App Section Styles */
.app-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.app-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 30px;
    padding: 60px 80px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}

.app-bg::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.app-bg::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    z-index: 0;
}

.app-content {
    position: relative;
    z-index: 2;
}

.app-header h5 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.app-header h2 {
    color: #ffffff;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 30px;
}

.app-scan {
    margin-bottom: 35px;
}

.app-scan p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 500;
}

.app-scan img {
    width: 140px;
    height: 140px;
    background: white;
    padding: 15px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.app-scan img:hover {
    transform: scale(1.05);
}

.google-imgs {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.google-imgs a {
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.google-imgs a img {
    height: 55px;
    width: auto;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

.google-imgs a:hover {
    transform: translateY(-3px);
}

.mobile-img {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: float 3s ease-in-out infinite;
}

.mobile-img img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* Extra Small Devices (Portrait Phones, less than 576px) */
@media (max-width: 575.98px) {
    /* Home Page Styles */
    .form-search-btn {
        margin-top: 12px;
    }
    .search-input.search-calendar-line input {
        padding: 0px 8px 0px 25px;
    }
    .work-details {
        padding-left: 18px;
    }

    /* Doctors Search Box Responsive */
    .doctors-search-box {
        padding: 2px;
    }

    .search-box-one {
        padding: 10px;
    }

    .search-box-one form {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .search-input {
        width: 100%;
        margin-bottom: 0;
    }

    .search-input.search-line input,
    .search-input.search-map-line input {
        padding: 10px 10px 10px 35px;
        font-size: 14px;
    }

    .search-input.search-calendar-line input {
        padding: 10px 10px 10px 35px !important;
        font-size: 14px;
    }

    .search-input i {
        font-size: 18px;
        left: 10px;
    }

    .form-search-btn {
        width: 100%;
        margin-top: 0;
    }

    .form-search-btn button {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 15px;
    }

    /* App Section Responsive */
    .app-bg {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .app-header h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .app-header h5 {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .app-scan {
        text-align: center;
        margin-bottom: 25px;
    }

    .app-scan img {
        width: 100px;
        height: 100px;
        padding: 10px;
    }

    .app-scan p {
        font-size: 14px;
    }

    .google-imgs {
        justify-content: center;
        gap: 10px;
    }

    .google-imgs a img {
        height: 45px;
    }

    .mobile-img {
        margin-top: 30px;
    }

    .mobile-img img {
        max-width: 280px;
    }

    .home-one .faq-info .accordion-item .accordion-body {
        padding: 7px 15px 15px 15px;
    }

    .home-one .faq-info .accordion-item {
        margin: 0 0 12px;
    }
}

/* Small Devices (Landscape Phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    /* App Section Responsive */
    .app-bg {
        padding: 40px 30px;
        border-radius: 25px;
    }

    .app-header h2 {
        font-size: 28px;
    }

    .app-scan {
        text-align: center;
    }

    .google-imgs {
        justify-content: center;
    }

    .mobile-img {
        margin-top: 35px;
    }

    .mobile-img img {
        max-width: 320px;
    }
}

/* Medium Devices (Tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Home page Style */
    .search-input.search-calendar-line input {
        padding: 0 0 0 36px;
    }

    /* App Section Responsive */
    .app-bg {
        padding: 50px 40px;
    }

    .app-header h2 {
        font-size: 32px;
    }

    .mobile-img {
        margin-top: 40px;
    }

    .mobile-img img {
        max-width: 380px;
    }
}

/* Large Devices (Desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    /* Home Page Style  */
    .search-input.search-calendar-line input {
        padding: 0 0 0 36px;
    }

    /* App Section Responsive */
    .app-bg {
        padding: 60px 50px;
    }

    .app-header h2 {
        font-size: 36px;
    }
}

/* Extra Large Devices (Large Desktops, 1200px and up) */
@media (min-width: 1200px) {
    /* Home Page Style  */
    .search-input.search-calendar-line input {
        padding: 0 0 0 36px;
    }

    /* App Section Responsive */
    .app-bg {
        padding: 60px 80px;
    }
}

/* Common Responsive Utilities */
@media (max-width: 991.98px) {
    /* Tablet and below */
    .app-content {
        text-align: center;
        margin-bottom: 30px;
    }

    .app-bg::before,
    .app-bg::after {
        opacity: 0.5;
    }
}

@media (max-width: 767.98px) {
    /* Mobile and below */
    .app-section {
        padding: 60px 0;
    }

    .app-bg {
        box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
    }
}
