/* ================================================
   DISHA DIGITALS SOLUTIONS — responsive.css
   Mobile-first responsive overrides & global UI
   ================================================ */


/* =============================================
   FLOATING WHATSAPP BUTTON
   ============================================= */
.whatsapp-float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 58px;
    height: 58px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.whatsapp-float-btn.visible {
    opacity: 1;
    transform: scale(1);
}

.whatsapp-float-btn:hover {
    background: #1ebe5c;
    transform: scale(1.12);
    color: #fff;
}

.wa-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-dark);
    color: #fff;
    white-space: nowrap;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.whatsapp-float-btn:hover .wa-tooltip { opacity: 1; }

@media (max-width: 576px) {
    .whatsapp-float-btn { bottom: 20px; right: 20px; width: 52px; height: 52px; font-size: 1.4rem; }
    .wa-tooltip { display: none; }
}


/* =============================================
   BACK TO TOP BUTTON
   ============================================= */
.back-to-top-btn {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--primary-dark);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 9998;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.35s ease;
    cursor: pointer;
}

.back-to-top-btn.visible { opacity: 1; transform: translateY(0); }
.back-to-top-btn:hover { background: var(--premium-gold); color: var(--primary-dark); }

@media (max-width: 576px) {
    .back-to-top-btn { bottom: 85px; right: 20px; }
}


/* =============================================
   ACTIVE NAV LINK
   ============================================= */
.nav-link.active-nav {
    color: var(--premium-gold) !important;
    background: rgba(245, 158, 11, 0.1);
}


/* =============================================
   SECTION SPACING — RESPONSIVE
   ============================================= */
@media (max-width: 991px) {
    section { padding: 80px 0; }
    .py-100 { padding: 80px 0 !important; }
    .hero-wrapper { min-height: 80vh; padding-top: 100px; }
    .section-title { font-size: 2.1rem; }
}

@media (max-width: 767px) {
    section { padding: 60px 0; }
    .py-100 { padding: 60px 0 !important; }
    .hero-wrapper { min-height: unset; padding: 120px 0 60px; }
    .section-title { font-size: 1.8rem; }
    .display-3 { font-size: 2.2rem !important; }
    .display-4 { font-size: 1.9rem !important; }
}

@media (max-width: 575px) {
    .display-3 { font-size: 1.9rem !important; }
    .display-4 { font-size: 1.7rem !important; }
    .section-title { font-size: 1.6rem; }
    .btn-premium-gold, .btn-outline-premium { padding: 12px 24px; font-size: 0.9rem; }
}


/* =============================================
   CARD GRID — RESPONSIVE
   ============================================= */
@media (max-width: 767px) {
    .card-premium { padding: 28px 24px; }
    .card-icon-wrapper { width: 52px; height: 52px; font-size: 1.3rem; }
}


/* =============================================
   NAVBAR — RESPONSIVE
   ============================================= */
@media (max-width: 991px) {
    .navbar-premium { padding: 12px 0; }
    .services-megamenu { width: 100% !important; max-width: 100%; }
    .navbar-nav { padding: 16px 0; }
    .navbar-nav .nav-link { padding: 10px 16px !important; }
    .btn-premium-gold.ms-lg-3 { margin: 16px 0 8px !important; width: 100%; justify-content: center; }
}


/* =============================================
   HERO — RESPONSIVE
   ============================================= */
@media (max-width: 991px) {
    .hero-wrapper .display-3 { font-size: 2.6rem !important; }
    .hero-wrapper .lead { font-size: 1rem; }
}

@media (max-width: 767px) {
    .hero-wrapper { text-align: center; }
    .hero-wrapper .d-flex.gap-3 { justify-content: center; }
    .hero-wrapper .d-flex.align-items-center.gap-4 { justify-content: center; flex-wrap: wrap; }
}


/* =============================================
   BLOG — RESPONSIVE
   ============================================= */
@media (max-width: 767px) {
    .blog-img-wrapper img { height: 200px; }
}


/* =============================================
   CONTACT FORM — RESPONSIVE
   ============================================= */
@media (max-width: 767px) {
    .bg-white.p-5 { padding: 24px !important; }
}


/* =============================================
   FOOTER — RESPONSIVE
   ============================================= */
@media (max-width: 991px) {
    .footer-premium .col-lg-4 { margin-bottom: 2rem; }
}


/* =============================================
   PROCESS TIMELINE — RESPONSIVE
   ============================================= */
@media (max-width: 767px) {
    .process-steps-vertical::before { display: none; }
    .step-item { flex-direction: column; }
    .step-number { margin-bottom: 12px; margin-right: 0 !important; }
}


/* =============================================
   PORTFOLIO — RESPONSIVE
   ============================================= */
@media (max-width: 575px) {
    .btn-group.portfolio-filters { display: flex; flex-wrap: wrap; border-radius: var(--border-radius-md); }
    .btn-filter { flex: 1 1 auto; border-radius: var(--border-radius-sm) !important; }
}


/* =============================================
   ACCESSIBILITY & FOCUS
   ============================================= */
:focus-visible {
    outline: 2px solid var(--premium-gold);
    outline-offset: 3px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .reveal, .card-premium, .whatsapp-float-btn, .back-to-top-btn { transition: none !important; }
    .reveal { opacity: 1 !important; transform: none !important; }
    .floating, .floating-delayed { animation: none !important; }
    .hover-lift { transition: none !important; }
}
