/* ================================================================
   RESPONSIVE FIXES + ANIMATIONS
   All pages — Mobile-first approach
   Breakpoints: 575 | 767 | 991 | 1199 | 1399
   ================================================================ */

/* ================================================================
   0. ANIMATION KEYFRAMES (global)
   ================================================================ */
@keyframes fadeInUp {
    from { opacity:0; transform:translateY(32px); }
    to   { opacity:1; transform:translateY(0); }
}
@keyframes fadeInDown {
    from { opacity:0; transform:translateY(-24px); }
    to   { opacity:1; transform:translateY(0); }
}
@keyframes fadeInLeft {
    from { opacity:0; transform:translateX(-32px); }
    to   { opacity:1; transform:translateX(0); }
}
@keyframes fadeInRight {
    from { opacity:0; transform:translateX(32px); }
    to   { opacity:1; transform:translateX(0); }
}
@keyframes scaleIn {
    from { opacity:0; transform:scale(.92); }
    to   { opacity:1; transform:scale(1); }
}
@keyframes slideInLeft {
    from { opacity:0; transform:translateX(-48px); }
    to   { opacity:1; transform:translateX(0); }
}
@keyframes slideInRight {
    from { opacity:0; transform:translateX(48px); }
    to   { opacity:1; transform:translateX(0); }
}
@keyframes glowPulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(2,255,247,0); }
    50%      { box-shadow: 0 0 0 8px rgba(2,255,247,.1); }
}
@keyframes borderGlow {
    0%,100% { border-color: rgba(2,255,247,.08); }
    50%      { border-color: rgba(2,255,247,.22); }
}
@keyframes shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
@keyframes floatY {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}
@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes dotBlink {
    0%,100% { opacity:1; }
    50%      { opacity:.3; }
}
@keyframes lineExpand {
    from { width: 0; }
    to   { width: 100%; }
}

/* Utility animation classes */
.anim-fade-up     { animation: fadeInUp .7s cubic-bezier(.25,.8,.25,1) both; }
.anim-fade-down   { animation: fadeInDown .7s cubic-bezier(.25,.8,.25,1) both; }
.anim-fade-left   { animation: fadeInLeft .7s cubic-bezier(.25,.8,.25,1) both; }
.anim-fade-right  { animation: fadeInRight .7s cubic-bezier(.25,.8,.25,1) both; }
.anim-scale-in    { animation: scaleIn .6s cubic-bezier(.25,.8,.25,1) both; }
.anim-float       { animation: floatY 4s ease-in-out infinite; }

/* Stagger delays */
.delay-1  { animation-delay: .1s; }
.delay-2  { animation-delay: .2s; }
.delay-3  { animation-delay: .3s; }
.delay-4  { animation-delay: .4s; }
.delay-5  { animation-delay: .5s; }
.delay-6  { animation-delay: .6s; }

/* ================================================================
   1. GLOBAL FIXES
   ================================================================ */
*  { -webkit-tap-highlight-color: transparent; }
html { overflow-x: hidden; }
body { overflow-x: hidden; }
img  { max-width: 100%; height: auto; }

/* Section padding — all pages consistent */
section.section-padding,
.section-padding {
    padding: 80px 0;
}
@media (max-width: 991px) {
    section.section-padding,
    .section-padding { padding: 64px 0; }
}
@media (max-width: 767px) {
    section.section-padding,
    .section-padding { padding: 52px 0; }
}
@media (max-width: 575px) {
    section.section-padding,
    .section-padding { padding: 40px 0; }
}

/* Container horizontal padding fix on small screens */
@media (max-width: 575px) {
    .container, .container-fluid {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* ================================================================
   2. SCROLL PROGRESS BAR
   ================================================================ */
#scroll-progress {
    position  : fixed;
    top       : 0; left: 0;
    height    : 3px;
    width     : 0%;
    background: linear-gradient(90deg, #02fff7, #7c3aed, #02fff7);
    background-size: 200% 100%;
    animation : shimmer 2s linear infinite;
    z-index   : 999999;
    transition: width .1s linear;
}

/* ================================================================
   3. HEADER — RESPONSIVE
   ================================================================ */
.header-1 {
    position     : fixed !important;
    top          : 0;
    left         : 0;
    right        : 0;
    z-index      : 9999;
    padding      : 0 !important;
    background   : rgba(7,10,16,.92) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(2,255,247,.08);
    border-radius: 0 !important;
    border-left  : none !important;
    border-right : none !important;
    border-top   : none !important;
    transition   : all .3s ease;
}
.header-1.sticky-header,
#header-sticky.sticky-header {
    box-shadow: 0 4px 30px rgba(0,0,0,.6);
}

/* Logo */
.header-logo img,
.logo-2 img {
    height   : 38px;
    width    : auto;
    max-width: 150px;
}
@media (max-width: 575px) {
    .header-logo img, .logo-2 img { height: 32px; max-width: 120px; }
}

/* Nav desktop */
.main-menu nav ul {
    display    : flex;
    align-items: center;
    gap        : 8px;
    list-style : none;
    margin     : 0;
    padding    : 0;
}
.main-menu nav ul li a {
    padding      : 8px 14px;
    border-radius: 6px;
    font-size    : 13px;
    font-weight  : 600;
    letter-spacing: .3px;
    color        : rgba(255,255,255,.75);
    text-decoration: none;
    transition   : all .3s;
    display      : block;
    white-space  : nowrap;
}
.main-menu nav ul li a:hover,
.main-menu nav ul li.active a {
    color     : #02fff7;
    background: rgba(2,255,247,.06);
}

/* Header right */
.header-right { gap: 10px !important; }
.location-badge {
    font-size: 11px;
    padding  : 4px 10px;
}

/* Theme button in header */
.header-right .theme-btn {
    padding      : 10px 20px !important;
    font-size    : 13px !important;
    border-radius: 8px;
    white-space  : nowrap;
}

/* Hamburger */
.header__hamburger .sidebar__toggle {
    cursor : pointer;
    padding: 6px;
}

/* ================================================================
   4. OFFCANVAS MOBILE MENU
   ================================================================ */
.offcanvas__info {
    position  : fixed;
    top       : 0;
    right     : -320px;
    width     : 300px;
    height    : 100vh;
    background: #0a0d18;
    border-left: 1px solid rgba(2,255,247,.12);
    z-index   : 99999;
    overflow-y: auto;
    transition: right .4s cubic-bezier(.4,0,.2,1);
    -webkit-overflow-scrolling: touch;
}
.offcanvas__info.info-open { right: 0; }
.offcanvas__overlay {
    position  : fixed;
    inset     : 0;
    background: rgba(0,0,0,.7);
    backdrop-filter: blur(4px);
    z-index   : 99998;
    opacity   : 0;
    visibility: hidden;
    transition: all .4s;
}
.offcanvas__overlay.overlay-open { opacity:1; visibility:visible; }
.offcanvas__close button {
    background   : rgba(2,255,247,.08);
    border       : 1px solid rgba(2,255,247,.2);
    border-radius: 8px;
    width        : 38px; height: 38px;
    display      : flex;
    align-items  : center;
    justify-content: center;
    color        : #02fff7;
    cursor       : pointer;
    transition   : all .3s;
}
.offcanvas__close button:hover {
    background: rgba(2,255,247,.15);
    transform : rotate(90deg);
}

/* Mobile menu list (meanmenu injects .mean-nav) */
.mean-nav ul { list-style: none; padding: 0; margin: 0; }
.mean-nav ul li a {
    display      : flex;
    align-items  : center;
    padding      : 12px 16px;
    font-size    : 14px;
    font-weight  : 600;
    color        : rgba(255,255,255,.8);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,.05);
    text-transform: uppercase;
    letter-spacing: .5px;
    transition   : all .3s;
}
.mean-nav ul li a:hover,
.mean-nav ul li.active a { color:#02fff7; padding-left:22px; }

/* ================================================================
   5. HERO SECTION — RESPONSIVE
   ================================================================ */
.agency-hero {
    padding-top   : 90px; /* header height offset */
    min-height    : 100vh;
}

@media (max-width: 1199px) {
    .agency-hero { padding-top:80px; }
    .hero-title  { font-size: 56px; }
}
@media (max-width: 991px) {
    .agency-hero {
        padding   : 100px 0 60px;
        min-height: auto;
    }
    .hero-title { font-size: 46px; letter-spacing:-1px; }
    .hero-desc  { max-width: 100%; }
}
@media (max-width: 767px) {
    .agency-hero    { padding: 90px 0 48px; }
    .hero-title     { font-size: 36px; letter-spacing:-.5px; line-height:1.1; }
    .hero-typed-wrap{ font-size: 16px; }
    .hero-desc      { font-size:14px; margin-bottom:1.5rem; }
    .hero-badges    { gap:8px; margin-bottom:1rem; }
    .hero-badge     { font-size:10px; padding:5px 12px; }
    .hero-badge-secondary { font-size:10px; padding:5px 12px; }
    .hero-ctas      { gap:10px; margin-bottom:1.5rem; }
    .btn-primary-glow,
    .btn-ghost-glow { padding:12px 20px; font-size:13px; }
    .hero-socials   { flex-wrap:wrap; gap:8px; }
}
@media (max-width: 575px) {
    .agency-hero { padding: 84px 0 40px; }
    .hero-title  { font-size: 30px; }
    .hero-ctas   { flex-direction: column; }
    .btn-primary-glow,
    .btn-ghost-glow { width:100%; justify-content:center; }
}

/* Hero stats */
.hero-stats-row {
    margin-top   : 48px;
    margin-bottom: 0;
}
@media (max-width: 767px) {
    .hero-stats-row {
        grid-template-columns: repeat(2,1fr) !important;
        margin-top  : 32px;
    }
    .hero-stat-divider { display:none; }
    .hero-stat { padding:20px 12px; }
    .hero-stat-number { font-size:32px; }
    .hero-stat-label  { font-size:10px; }
}
@media (max-width: 575px) {
    .hero-stat-number { font-size:28px; }
}

/* Floating cards (desktop only — already hidden below lg) */
.hero-cards-grid { padding:0; }

/* ================================================================
   6. MARQUEE — RESPONSIVE
   ================================================================ */
.marquee-premium {
    padding   : 14px 0;
    overflow  : hidden;
}
.marquee-premium-item {
    font-size     : 12px;
    padding       : 0 28px;
    letter-spacing: 1.5px;
}
@media (max-width: 767px) {
    .marquee-premium-item { font-size:11px; padding:0 20px; letter-spacing:1px; }
}

/* ================================================================
   7. SECTION BADGES & HEADINGS — RESPONSIVE
   ================================================================ */
.section-badge {
    font-size    : 11px;
    padding      : 6px 14px;
    margin-bottom: 12px;
}
.section-heading {
    font-size    : 42px;
    line-height  : 1.08;
}
.section-subtext { font-size:15px; }

@media (max-width: 991px) {
    .section-heading { font-size: 34px; }
}
@media (max-width: 767px) {
    .section-heading { font-size: 28px; letter-spacing:-.5px; }
    .section-subtext { font-size: 14px; }
}
@media (max-width: 575px) {
    .section-heading { font-size: 24px; }
}

/* ================================================================
   8. SERVICE CARDS — RESPONSIVE
   ================================================================ */
.services-premium { padding: 80px 0; }

.service-card-premium,
.svc-card {
    padding: 28px 24px;
}
.service-card-premium:hover,
.svc-card:hover {
    transform: translateY(-6px);
}
.service-icon-box,
.svc-card-icon {
    width : 50px; height: 50px;
    font-size: 20px;
    margin-bottom: 18px;
}
.service-card-title,
.svc-card-title { font-size: 18px; }
.service-card-desc,
.svc-card-desc  { font-size: 13px; line-height: 1.7; }
.service-card-number,
.svc-card-num   { font-size: 52px; }

@media (max-width: 767px) {
    .services-premium { padding: 52px 0; }
    .service-card-premium,
    .svc-card { padding: 24px 20px; }
    .service-card-title,
    .svc-card-title { font-size: 16px; }
}
@media (max-width: 575px) {
    .service-card-premium,
    .svc-card { padding: 20px 16px; }
}

/* ================================================================
   9. ABOUT SECTION — RESPONSIVE
   ================================================================ */
.about-premium { padding: 80px 0; }

@media (max-width: 991px) {
    .about-premium { padding: 64px 0; }
    .about-image-wrap { margin-bottom: 60px; }
    .about-exp-badge {
        bottom: -16px;
        right : -8px;
        padding: 16px 20px;
    }
    .about-exp-badge .num { font-size: 36px; }
    .about-clients-badge  { left:-8px; }
}
@media (max-width: 767px) {
    .about-premium { padding: 52px 0; }
    .about-exp-badge {
        bottom : 12px;
        right  : 12px;
        padding: 12px 16px;
    }
    .about-exp-badge .num { font-size: 28px; }
    .about-clients-badge  { display:none; }
    .about-stats-grid     { grid-template-columns: repeat(2,1fr); gap:12px; }
    .about-stat-num       { font-size: 28px; }
    .about-stat-item      { padding: 16px 12px; }
    .feature-list li      { font-size: 14px; padding: 8px 0; }
}
@media (max-width: 575px) {
    .about-stats-grid { grid-template-columns: repeat(2,1fr); gap:10px; }
    .about-stat-num   { font-size:24px; }
    .about-stat-lbl   { font-size:10px; }
}

/* ================================================================
   10. PROCESS SECTION — RESPONSIVE
   ================================================================ */
.process-section  { padding: 80px 0; }
.process-step,
.process-card     { padding: 28px 24px; }
.process-step-title,
.process-card-title { font-size: 17px; }
.process-step-number,
.process-card-step  { font-size: 48px; }

@media (max-width: 991px) {
    .process-section { padding: 64px 0; }
    .process-connector { display: none !important; }
}
@media (max-width: 767px) {
    .process-section { padding: 52px 0; }
    .process-step,
    .process-card    { padding: 24px 20px; }
    .process-step-title,
    .process-card-title { font-size: 15px; }
    .process-step-desc,
    .process-card-desc  { font-size: 13px; }
}

/* ================================================================
   11. PORTFOLIO SECTION — RESPONSIVE
   ================================================================ */
.portfolio-section,
.project-standard-section { padding: 80px 0; }

.portfolio-card,
.blog-card    { border-radius: 16px; }

.portfolio-card-image,
.blog-card-image { height: 220px; }

.portfolio-card-body,
.blog-card-body  { padding: 20px 22px; }

.portfolio-card-title { font-size: 17px; }

@media (max-width: 991px) {
    .portfolio-section { padding: 64px 0; }
    /* On tablet: first featured item takes full width */
    .portfolio-section .col-lg-7,
    .portfolio-section .col-lg-5 { width: 100%; }
}
@media (max-width: 767px) {
    .portfolio-section { padding: 52px 0; }
    .portfolio-card-image,
    .blog-card-image { height: 200px; }
    .portfolio-card-title { font-size: 15px; }
    .portfolio-card-body,
    .blog-card-body  { padding: 16px 18px; }
}
@media (max-width: 575px) {
    .portfolio-card-image,
    .blog-card-image { height: 180px; }
}

/* ================================================================
   12. WHY US SECTION — RESPONSIVE
   ================================================================ */
.why-us-section { padding: 80px 0; }

.why-item,
.why-card { padding: 24px 20px; gap: 16px; }
.why-item-icon,
.why-card-icon { width:44px; height:44px; font-size:18px; flex-shrink:0; }
.why-item-title,
.why-card-title { font-size:16px; }
.why-item-desc,
.why-card-desc  { font-size:13px; }

@media (max-width: 767px) {
    .why-us-section { padding: 52px 0; }
    .why-item,
    .why-card { padding:20px 16px; gap:14px; }
    .why-item-icon,
    .why-card-icon { width:40px; height:40px; font-size:16px; }
    .why-item-title,
    .why-card-title { font-size:15px; margin-bottom:4px; }
    .why-item-desc,
    .why-card-desc  { font-size:12px; }
    .why-card-accent { display:none; } /* perf on mobile */
}

/* ================================================================
   13. TESTIMONIALS — RESPONSIVE
   ================================================================ */
.testimonials-premium,
.testimonials-section { padding: 80px 0; }

.testimonial-card,
.testi-card { padding: 28px 24px; }
.testimonial-text,
.testi-text { font-size:14px; line-height:1.8; }
.testimonial-name,
.testi-name { font-size:14px; }
.testimonial-avatar,
.testi-avatar { width:42px; height:42px; font-size:18px; }

@media (max-width: 767px) {
    .testimonials-premium,
    .testimonials-section { padding: 52px 0; }
    .testimonial-card,
    .testi-card { padding:22px 18px; }
    .testimonial-text,
    .testi-text { font-size:13px; }
}

/* ================================================================
   14. BLOG SECTION — RESPONSIVE
   ================================================================ */
.blog-premium,
.blog-section { padding: 80px 0; }

.blog-card-title { font-size:17px; }
.blog-card-excerpt { font-size:13px; }
.blog-card-meta { font-size:11px; gap:10px; }

@media (max-width: 767px) {
    .blog-premium,
    .blog-section { padding: 52px 0; }
    .blog-card-title { font-size:15px; }
    .blog-card-image { height: 190px; }
    .blog-card-body  { padding: 16px 18px; }
}
@media (max-width: 575px) {
    .blog-card-image { height: 170px; }
}

/* ================================================================
   15. CTA SECTION — RESPONSIVE
   ================================================================ */
.cta-section { padding: 80px 0; }

.cta-box {
    padding      : 60px 48px;
    border-radius: 20px;
}
.cta-title {
    font-size    : 48px;
    margin-bottom: 16px;
}
.cta-subtitle    { font-size:15px; margin-bottom:28px; }
.cta-actions     { gap:12px; }

@media (max-width: 991px) {
    .cta-box   { padding:52px 40px; }
    .cta-title { font-size:40px; }
}
@media (max-width: 767px) {
    .cta-section { padding: 52px 0; }
    .cta-box     { padding:40px 24px; border-radius:16px; }
    .cta-title   { font-size:30px; letter-spacing:-.5px; }
    .cta-subtitle{ font-size:14px; margin-bottom:24px; }
    .cta-actions { flex-direction:column; align-items:stretch; }
    .cta-actions a { justify-content:center; text-align:center; }
    .cta-trust-row { gap:14px; font-size:10px; }
    .btn-lg-glow { padding:14px 24px; font-size:14px; }
}
@media (max-width: 575px) {
    .cta-box   { padding: 32px 16px; }
    .cta-title { font-size: 26px; }
}

/* ================================================================
   16. FOOTER — RESPONSIVE
   ================================================================ */
.footer-premium { overflow: hidden; }

.footer-main     { padding: 60px 0 40px; }
.footer-brand .footer-tagline { font-size:13px; max-width:100%; }

.footer-widget-title {
    font-size    : 13px;
    margin-bottom: 1rem;
    padding-bottom: 10px;
}
.footer-links a  { font-size:13px; }
.footer-wa-btn   { padding:.55rem 1rem; font-size:13px; }

.footer-bottom-bar { padding: 18px 0; }
.footer-bottom-bar p { font-size:12px; }

@media (max-width: 991px) {
    .footer-main { padding: 48px 0 32px; }
}
@media (max-width: 767px) {
    .footer-main { padding: 40px 0 24px; }
    .footer-brand .footer-contact-items { gap: 8px; }
    .footer-brand .footer-contact-item  { font-size:13px; }
    .footer-bottom-bar .d-flex { flex-direction:column; align-items:center; gap:8px !important; }
}
@media (max-width: 575px) {
    .footer-main    { padding: 32px 0 20px; }
    .footer-marquee-band { padding:12px 0; }
}

/* ================================================================
   17. BREADCRUMB — RESPONSIVE
   ================================================================ */
.breadcrumb-premium {
    padding: 100px 0 44px;
}
.breadcrumb-page-title {
    font-size    : clamp(28px, 6vw, 64px);
    letter-spacing: -1px;
}
.breadcrumb-trail {
    padding      : 5px 14px;
    font-size    : 12px;
    margin-bottom: 16px;
}

@media (max-width: 767px) {
    .breadcrumb-premium   { padding: 88px 0 36px; }
    .breadcrumb-page-title{ font-size: 28px; letter-spacing:0; }
}
@media (max-width: 575px) {
    .breadcrumb-premium   { padding: 80px 0 28px; }
    .breadcrumb-page-title{ font-size: 24px; }
}

/* ================================================================
   18. CONTACT PAGE — RESPONSIVE
   ================================================================ */
.contact-premium { padding: 64px 0; }

.contact-info-card {
    padding      : 16px 20px;
    margin-bottom: 12px;
    border-radius: 12px;
}
.cic-icon   { width:40px; height:40px; font-size:16px; border-radius:10px; }
.cic-label  { font-size:10px; }
.cic-value  { font-size:14px; }

.contact-form-premium { padding: 32px 28px; }

.form-label-premium   { font-size:11px; margin-bottom:5px; }
.form-control-premium { padding:11px 14px; font-size:14px; margin-bottom:14px; border-radius:8px; }

@media (max-width: 991px) {
    .contact-premium { padding: 52px 0; }
}
@media (max-width: 767px) {
    .contact-premium      { padding: 44px 0; }
    .contact-form-premium { padding: 24px 18px; }
    .contact-info-card    { padding: 14px 16px; }
}
@media (max-width: 575px) {
    .contact-form-premium { padding: 20px 14px; }
    .contact-info-card    { flex-direction:row; align-items:center; }
}

/* ================================================================
   19. ABOUT PAGE — RESPONSIVE
   ================================================================ */
.about-img-wrap { margin-bottom: 0; }

@media (max-width: 991px) {
    .about-img-wrap { margin-bottom: 60px; }
    .about-exp-badge { right:-10px; bottom:-10px; padding:14px 18px; }
    .about-exp-badge .num { font-size:32px; }
}
@media (max-width: 767px) {
    .about-img-wrap   { margin-bottom: 52px; }
    .about-exp-badge  { bottom:8px; right:8px; }
    .about-exp-badge .num { font-size:26px; }
    .about-clients-badge  { display:none !important; }
}

/* ================================================================
   20. SERVICES PAGE — RESPONSIVE
   ================================================================ */
.scp-card { padding: 28px 24px; }
.scp-title { font-size:17px; }
.scp-text  { font-size:13px; }

@media (max-width: 767px) {
    .scp-card  { padding:22px 18px; }
    .scp-title { font-size:15px; }
}

/* ================================================================
   21. BLOG DETAIL — RESPONSIVE
   ================================================================ */
.post-body { font-size:15px; line-height:1.85; }
.post-body h2 { font-size:22px; }
.post-body h3 { font-size:18px; }

@media (max-width: 767px) {
    .post-body     { font-size:14px; line-height:1.8; }
    .post-body h2  { font-size:19px; }
    .post-body h3  { font-size:16px; }
    .post-body pre { padding:1rem; font-size:12px; overflow-x:auto; }
    .post-body blockquote { padding:.75rem 1rem; }
}

/* ================================================================
   22. MAP SECTION — RESPONSIVE
   ================================================================ */
.map-wrapper { margin-bottom: 48px; border-radius:12px; }
.map-embed-wrapper iframe { height:320px !important; }

@media (max-width: 767px) {
    .map-embed-wrapper iframe { height:260px !important; }
}
@media (max-width: 575px) {
    .map-embed-wrapper iframe { height:220px !important; }
    .map-header { padding:12px 16px; font-size:13px; }
}

/* ================================================================
   23. WHATSAPP FLOAT BUTTON — RESPONSIVE
   ================================================================ */
.whatsapp-float {
    bottom: 20px;
    right : 20px;
    width : 52px;
    height: 52px;
    font-size: 22px;
}
@media (max-width: 575px) {
    .whatsapp-float {
        bottom: 16px;
        right : 16px;
        width : 46px;
        height: 46px;
        font-size: 20px;
    }
}

/* ================================================================
   24. BACK TO TOP — RESPONSIVE
   ================================================================ */
.back-to-top {
    bottom: 80px;
    right : 20px;
}
@media (max-width: 575px) {
    .back-to-top { right:16px; bottom:72px; }
}

/* ================================================================
   25. PRELOADER — RESPONSIVE
   ================================================================ */
@media (max-width: 767px) {
    .txt-loading { font-size:18px; }
}

/* ================================================================
   26. PAGINATION — RESPONSIVE
   ================================================================ */
.page-nav-wrap { padding: 24px 0; }
.page-nav-wrap .page-link,
.page-nav-wrap a {
    min-width    : 38px;
    height       : 38px;
    border-radius: 8px;
    font-size    : 13px;
}
@media (max-width: 575px) {
    .page-nav-wrap .page-link,
    .page-nav-wrap a { min-width:32px; height:32px; font-size:12px; }
}

/* ================================================================
   27. SERVICE DETAIL — RESPONSIVE
   ================================================================ */
@media (max-width: 991px) {
    /* Sidebar stacks below main content */
    .col-lg-4.wow { margin-top: 32px; }
}

/* ================================================================
   28. PORTFOLIO DETAIL — RESPONSIVE
   ================================================================ */
.portfolio-card-image {
    height: 240px;
}
@media (max-width: 767px) {
    .portfolio-card-image { height: 200px; }
    .portfolio-card-body  { padding: 16px 18px; }
}

/* ================================================================
   29. LEGAL PAGES — RESPONSIVE
   ================================================================ */
.legal-content { padding: 32px !important; }
.legal-content h4 { font-size:17px; margin-top:1.5rem; }

@media (max-width: 767px) {
    .legal-content        { padding: 24px 18px !important; }
}
@media (max-width: 575px) {
    .legal-content        { padding: 18px 14px !important; }
    .legal-content h4     { font-size:15px; }
}

/* ================================================================
   30. CARD HOVER — DISABLE ON TOUCH DEVICES (perf)
   ================================================================ */
@media (hover: none) and (pointer: coarse) {
    .service-card-premium:hover,
    .svc-card:hover,
    .process-step:hover,
    .process-card:hover,
    .why-item:hover,
    .why-card:hover,
    .testimonial-card:hover,
    .testi-card:hover,
    .blog-card:hover,
    .portfolio-card:hover {
        transform  : none;
        box-shadow : none;
    }
    /* Keep border color change on touch (still gives visual feedback) */
    .service-card-premium:active { border-color: rgba(2,255,247,.25); }
    .svc-card:active             { border-color: rgba(2,255,247,.25); }
}

/* ================================================================
   31. WOW.JS ANIMATION OVERRIDES — smoother on mobile
   ================================================================ */
@media (max-width: 767px) {
    .wow {
        visibility: visible !important;
        animation-name: fadeInUp !important;
        animation-duration: .5s !important;
        animation-fill-mode: both !important;
    }
}

/* ================================================================
   32. PULSE DOT (section badge)
   ================================================================ */
.pulse-dot {
    width        : 7px;
    height       : 7px;
    background   : #02fff7;
    border-radius: 50%;
    display      : inline-block;
    box-shadow   : 0 0 6px #02fff7;
    animation    : dotBlink 2s ease infinite;
    flex-shrink  : 0;
}

/* ================================================================
   33. SECTION DIVIDER
   ================================================================ */
.section-divider {
    height    : 1px;
    background: linear-gradient(90deg, transparent, rgba(2,255,247,.1), transparent);
    border    : none;
    margin    : 0;
}

/* ================================================================
   34. MISC FIXES
   ================================================================ */

/* Fix Bootstrap row negative margins on small screens */
@media (max-width: 575px) {
    .row { --bs-gutter-x: 1rem; }
}

/* Fix overlapping text in hero on very small screens */
@media (max-width: 360px) {
    .hero-title    { font-size: 26px; }
    .section-heading { font-size:22px; }
    .cta-title     { font-size:22px; }
    .btn-primary-glow,
    .btn-ghost-glow { font-size:12px; padding:10px 16px; }
}

/* Prevent horizontal scroll from animated elements */
.marquee-premium,
.footer-marquee-band { overflow: hidden; }

/* Smooth image loading */
img { transition: opacity .3s ease; }
img.lazy { opacity: 0; }
img.lazy.loaded { opacity: 1; }

/* Focus visible for accessibility */
a:focus-visible,
button:focus-visible {
    outline       : 2px solid #02fff7;
    outline-offset: 3px;
    border-radius : 4px;
}

/* ================================================================
   35. ANIMATIONS — ENTRY CLASSES (used in JS observer)
   ================================================================ */
.reveal {
    opacity  : 0;
    transform: translateY(24px);
    transition: opacity .6s cubic-bezier(.25,.8,.25,1),
                transform .6s cubic-bezier(.25,.8,.25,1);
}
.reveal.is-visible {
    opacity  : 1;
    transform: translateY(0);
}
.reveal-left {
    opacity  : 0;
    transform: translateX(-32px);
    transition: opacity .6s cubic-bezier(.25,.8,.25,1),
                transform .6s cubic-bezier(.25,.8,.25,1);
}
.reveal-left.is-visible {
    opacity  : 1;
    transform: translateX(0);
}
.reveal-right {
    opacity  : 0;
    transform: translateX(32px);
    transition: opacity .6s cubic-bezier(.25,.8,.25,1),
                transform .6s cubic-bezier(.25,.8,.25,1);
}
.reveal-right.is-visible {
    opacity  : 1;
    transform: translateX(0);
}
.reveal-scale {
    opacity  : 0;
    transform: scale(.94);
    transition: opacity .6s cubic-bezier(.25,.8,.25,1),
                transform .6s cubic-bezier(.25,.8,.25,1);
}
.reveal-scale.is-visible {
    opacity  : 1;
    transform: scale(1);
}

/* Stagger for child elements */
.stagger-children > *:nth-child(1)  { transition-delay: .05s; }
.stagger-children > *:nth-child(2)  { transition-delay: .12s; }
.stagger-children > *:nth-child(3)  { transition-delay: .19s; }
.stagger-children > *:nth-child(4)  { transition-delay: .26s; }
.stagger-children > *:nth-child(5)  { transition-delay: .33s; }
.stagger-children > *:nth-child(6)  { transition-delay: .40s; }

/* ================================================================
   36. THEME BUTTON (global)
   ================================================================ */
.theme-btn {
    display      : inline-flex;
    align-items  : center;
    justify-content: center;
    gap          : 8px;
    background   : #02fff7;
    color        : #070a10 !important;
    font-weight  : 700;
    font-size    : 14px;
    padding      : 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    border       : none;
    cursor       : pointer;
    transition   : all .3s ease;
    box-shadow   : 0 0 16px rgba(2,255,247,.3);
    white-space  : nowrap;
    text-transform: uppercase;
    letter-spacing: .4px;
}
.theme-btn:hover {
    transform : translateY(-2px);
    box-shadow: 0 0 32px rgba(2,255,247,.55);
    color     : #070a10 !important;
}
.theme-btn i { transition: transform .3s; }
.theme-btn:hover i { transform: translateX(4px); }
.theme-btn:active  { transform: translateY(0); }

@media (max-width: 575px) {
    .theme-btn { padding:10px 20px; font-size:13px; }
}
