/* ==========================================================================
   AGELESS ENTERTAINMENTS - UNIVERSAL RESPONSIVE STYLESHEET
   Fluid Typography & Comprehensive Multi-Breakpoint Adaptive Layouts
   Breakpoints: 1400px, 1200px, 992px, 768px, 576px, 420px, 360px
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. GLOBAL RESPONSIVE RESETS, OVERFLOW GUARDS & FLUID BASE TYPOGRAPHY
   -------------------------------------------------------------------------- */
html {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden !important;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden !important;
    position: relative;
    font-family: var(--body-font, 'Poppins', sans-serif);
    font-size: clamp(13.5px, 0.45vw + 11.5px, 16px);
    line-height: 1.7;
    color: var(--grey-color, #64748b);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Fluid Heading Scale */
h1, .h1 {
    font-size: clamp(24px, 4.2vw + 8px, 48px);
    line-height: 1.18;
    margin-bottom: clamp(10px, 1.2vw, 18px);
}

h2, .h2 {
    font-size: clamp(20px, 3vw + 6px, 36px);
    line-height: 1.22;
    margin-bottom: clamp(8px, 1vw, 15px);
}

h3, .h3 {
    font-size: clamp(16px, 1.8vw + 6px, 24px);
    line-height: 1.3;
    margin-bottom: clamp(6px, 0.8vw, 12px);
}

h4, .h4 {
    font-size: clamp(14.5px, 1.3vw + 5px, 20px);
    line-height: 1.35;
    margin-bottom: clamp(6px, 0.6vw, 10px);
}

h5, .h5 {
    font-size: clamp(13px, 1vw + 5px, 16.5px);
    line-height: 1.4;
    margin-bottom: clamp(4px, 0.5vw, 8px);
}

h6, .h6 {
    font-size: clamp(11.5px, 0.8vw + 4.5px, 14px);
    line-height: 1.45;
    margin-bottom: clamp(4px, 0.4vw, 6px);
}

p {
    font-size: clamp(13px, 0.4vw + 11px, 16px);
    line-height: 1.65;
    margin-bottom: clamp(10px, 1vw, 16px);
}

/* Media Elements */
img,
picture,
video,
canvas,
svg {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

iframe {
    max-width: 100%;
}

/* Container Adjustments */
.container,
.container-fluid {
    width: 100%;
    padding-right: clamp(12px, 2vw, 24px);
    padding-left: clamp(12px, 2vw, 24px);
    margin-right: auto;
    margin-left: auto;
}

.row {
    margin-left: -12px;
    margin-right: -12px;
}

.row > [class*="col-"] {
    padding-left: 12px;
    padding-right: 12px;
}

/* --------------------------------------------------------------------------
   2. GLOBAL SECTION HEADINGS FLUID SCALING
   -------------------------------------------------------------------------- */
.section-heading {
    margin-bottom: clamp(25px, 4vw, 50px);
}

.section-heading h3 {
    font-size: clamp(12px, 0.9vw + 5px, 15px);
    letter-spacing: clamp(1px, 0.2vw, 2.5px);
    text-transform: uppercase;
    margin-bottom: clamp(6px, 0.8vw, 12px);
    color: var(--primary-color, #f5a100);
}

.section-heading h2 {
    font-size: clamp(22px, 3vw + 7px, 38px);
    line-height: 1.2;
    margin-bottom: clamp(10px, 1.2vw, 18px);
}

.section-heading p {
    font-size: clamp(13px, 0.45vw + 11px, 16px);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* Page Header & Breadcrumb Banners */
.page-header {
    position: relative;
    padding: clamp(110px, 14vw, 180px) 0 clamp(45px, 6vw, 90px);
    background-size: cover;
    background-position: center center;
    text-align: center;
}

.page-header h2 {
    font-size: clamp(24px, 3.8vw + 8px, 44px);
    margin-bottom: clamp(6px, 0.8vw, 12px);
    color: #ffffff;
}

.page-header h4 {
    font-size: clamp(13px, 1.2vw + 5px, 18px);
    color: rgba(255, 255, 255, 0.9);
}

.page-header p,
.page-header .breadcrumb {
    font-size: clamp(12px, 0.6vw + 9px, 15px);
}

/* --------------------------------------------------------------------------
   3. SINGLE WONDER CAPSULE HEADER RESPONSIVENESS
   -------------------------------------------------------------------------- */
.main-header.wonder-nav-header {
    position: fixed;
    top: 18px;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 0;
    background: transparent;
    transition: all 0.35s cubic-bezier(0.2, 0, 0.2, 1);
}

.main-header.wonder-nav-header.is-scrolled {
    top: 8px;
}

.wonder-nav-header .container {
    max-width: 1240px;
}

.wonder-nav-header .nav-capsule-wrapper {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    color: #fff;
    border-color: transparent !important;
    box-shadow: none !important;
    border-radius: 60px;
    padding: clamp(6px, 0.8vw, 10px) clamp(14px, 1.8vw, 26px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.35s cubic-bezier(0.2, 0, 0.2, 1);
    min-height: clamp(48px, 5vw, 62px);
}

.wonder-nav-header .site-logo a {
    display: inline-flex;
    align-items: center;
}

.main-header.wonder-nav-header.is-scrolled .nav-capsule-wrapper {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

.site-logo img {
    filter: none;
}

.wonder-nav-header .site-logo img {
    max-height: clamp(30px, 3.5vw, 46px);
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.wonder-nav-header .nav-menu {
    display: flex;
    align-items: center;
    gap: clamp(8px, 1vw, 16px);
    list-style: none;
    margin: 0;
    padding: 0;
}

.wonder-nav-header .nav-menu > li > a {
    font-size: clamp(11.5px, 0.75vw + 4px, 14px);
    padding: clamp(6px, 0.6vw, 9px) clamp(8px, 0.9vw, 14px);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.wonder-nav-header .nav-menu > li > a,
.main-header.wonder-nav-header.is-scrolled .nav-menu > li > a,
.wonder-nav-header .nav-menu > li:hover > a,
.main-header.wonder-nav-header.is-scrolled .nav-menu > li:hover > a {
    color: #fff !important;
}

.wonder-nav-header .burger-menu .line-menu,
.main-header.wonder-nav-header.is-scrolled .burger-menu .line-menu {
    background-color: #fff !important;
}

.wonder-nav-header .nav-menu > li > a[aria-current="page"],
.main-header.wonder-nav-header.is-scrolled .nav-menu > li > a[aria-current="page"],
.mobile-navigation-menu .nav-menu > li > a[aria-current="page"] {
    background: rgba(245, 161, 0, 0.12);
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(245, 161, 0, 0.4);
}

.wonder-nav-header .nav-right-actions {
    display: flex;
    align-items: center;
    gap: clamp(8px, 1vw, 14px);
}

.wonder-nav-header .nav-call-btn {
    font-size: clamp(11px, 0.7vw + 4px, 13px);
    padding: clamp(7px, 0.7vw, 10px) clamp(12px, 1.2vw, 20px);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 30px;
    text-decoration: none;
}

/* Keep the header clean: logo, labels and icons without capsule or button fills. */
body .main-header.wonder-nav-header .nav-capsule-wrapper,
body .main-header.wonder-nav-header.is-scrolled .nav-capsule-wrapper {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

body .main-header.wonder-nav-header .nav-menu > li > a,
body .main-header.wonder-nav-header .nav-menu > li:hover > a,
body .main-header.wonder-nav-header .nav-call-btn,
body .main-header.wonder-nav-header .nav-call-btn:hover,
body .main-header.wonder-nav-header.is-scrolled .nav-menu > li > a,
body .main-header.wonder-nav-header.is-scrolled .nav-menu > li:hover > a,
body .main-header.wonder-nav-header.is-scrolled .nav-call-btn,
body .main-header.wonder-nav-header.is-scrolled .nav-call-btn:hover {
    background: transparent !important;
    border: 0;
    box-shadow: none !important;
}

body .main-header.wonder-nav-header .nav-call-btn .call-icon-wrap {
    color: #f5a100;
}

/* --------------------------------------------------------------------------
   4. MOBILE NAVIGATION DRAWER & OVERLAY
   -------------------------------------------------------------------------- */
.mobile-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(3, 13, 40, 0.6);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
    pointer-events: none;
}

.mobile-menu-backdrop.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-navigation-menu {
    --drawer-spacing: clamp(16px, 2.5vw, 28px);
    position: fixed;
    top: 0;
    right: -100%;
    left: auto;
    width: clamp(360px, 44vw, 440px);
    max-width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
    border: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-radius: 0;
    padding: 0;
    visibility: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100001;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.mobile-navigation-menu.open-mobile-menu {
    right: 0;
    left: auto;
    visibility: visible;
    opacity: 1;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--drawer-spacing);
    padding-top: max(var(--drawer-spacing), env(safe-area-inset-top));
    flex-shrink: 0;
    border-bottom: 1px solid #edf0f3;
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 5;
}

.mobile-menu-header .mobile-logo img {
    max-height: clamp(30px, 4vw, 40px);
    max-width: 150px;
    width: auto;
    display: block;
}

#mobile-menu-close {
    width: 44px;
    height: 44px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    color: #172235;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 0;
}

#mobile-menu-close:hover,
#mobile-menu-close:focus {
    background: #f5a100;
    color: #030d28;
    border-color: #f5a100;
    transform: rotate(90deg);
}

.mobile-navigation-menu .mobile-menu-body {
    flex: 0 0 auto;
}

.mobile-navigation-menu .nav-menu {
    display: block;
    list-style: none;
    padding: 10px var(--drawer-spacing);
    margin: 0;
    flex-grow: 0;
}

.mobile-navigation-menu .nav-menu > li {
    margin: 0;
    border-bottom: 1px solid #edf0f3;
    position: relative;
}

.mobile-navigation-menu .nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 10px;
    min-height: clamp(64px, 8vw, 76px);
    font-family: 'Poppins', sans-serif;
    font-size: clamp(15px, 13px + 0.35vw, 18px);
    font-weight: 500;
    color: #172235 !important;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.4;
    border-radius: 10px;
    transition: all 0.25s ease;
    text-decoration: none;
}

.mobile-navigation-menu .nav-menu > li > a .nav-item-icon {
    font-size: clamp(23px, 3vw, 28px);
    color: #c67b00;
    width: 28px;
    flex-shrink: 0;
    text-align: center;
}

.mobile-navigation-menu .nav-menu > li:hover > a,
.mobile-navigation-menu .nav-menu > li.active > a {
    background: #fff3d6;
    color: #172235 !important;
    transform: none;
}

.mobile-menu-footer {
    padding: 12px var(--drawer-spacing);
    padding-bottom: max(20px, env(safe-area-inset-bottom));
    flex-shrink: 0;
    border-top: 0;
    background: transparent;
}

.mobile-menu-footer .drawer-socials {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: clamp(6px, 1.5vw, 14px);
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu-footer .drawer-socials > li {
    margin: 0;
    padding: 0;
    flex: 0 0 auto;
}

.mobile-menu-footer .drawer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: #526174;
    font-size: 18px;
    border-radius: 12px;
    background: #f5f7fa;
}

.mobile-menu-footer .drawer-socials a:hover,
.mobile-menu-footer .drawer-socials a:focus-visible {
    color: #f5a100;
    background: rgba(245, 161, 0, 0.12);
}

.mobile-menu-footer .drawer-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    min-height: 44px;
    background: linear-gradient(135deg, #f5a100 0%, #ff7b00 100%);
    color: #172235 !important;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(12px, 10px + 0.4vw, 14px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    border-radius: 12px;
    white-space: normal;
    text-align: center;
    text-decoration: none;
    box-shadow: none;
    margin-bottom: 12px;
}

.mobile-navigation-menu .drawer-link-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.mobile-navigation-menu .drawer-link-description {
    font-size: clamp(11px, 10px + 0.25vw, 13px);
    line-height: 1.5;
    font-weight: 400;
    color: #687383;
}

.mobile-navigation-menu a:focus-visible {
    outline: 2px solid #c67b00;
    outline-offset: -2px;
}

@media (max-width: 767.98px) {
    .mobile-navigation-menu {
        width: 100%;
        max-width: 100%;
        box-shadow: none;
    }
}

@media (max-height: 500px) {
    .mobile-navigation-menu .mobile-menu-header {
        padding-block: 8px;
    }
    .mobile-navigation-menu .nav-menu {
        padding-block: 6px;
    }
}

.wonder-nav-header .burger-menu {
    width: 26px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.wonder-nav-header .burger-menu .line-menu {
    width: 100%;
    height: 2.2px;
    background: #030d28;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.2, 0, 0.2, 1);
}

.wonder-nav-header .burger-menu.menu-open .line-menu:nth-child(1) {
    transform: translateY(8.9px) rotate(45deg);
}

.wonder-nav-header .burger-menu.menu-open .line-menu:nth-child(2) {
    opacity: 0;
}

.wonder-nav-header .burger-menu.menu-open .line-menu:nth-child(3) {
    transform: translateY(-8.9px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   5. HOME HERO PARALLAX & FLUID TITLES
   -------------------------------------------------------------------------- */
.hero-parallax-wrapper {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0;
}

.hero-content-container {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 85px 0 40px !important;
}

.dream-script-parallax {
    font-size: clamp(22px, 3.8vw + 4px, 48px) !important;
    line-height: 1.1;
    margin-bottom: clamp(-4px, -0.4vw, -2px);
}

.dream-title-parallax .dream-white,
.dream-title-parallax .dream-orange {
    font-size: clamp(28px, 5.8vw + 6px, 80px) !important;
    line-height: 1.05;
}

.dream-title-parallax .dream-small {
    font-size: clamp(16px, 2.8vw + 4px, 38px) !important;
    letter-spacing: clamp(1px, 0.3vw, 4px);
}

.hero-subtitle {
    font-size: clamp(16px, 1.2vw, 20px) !important;
    line-height: 1.55;
    margin-bottom: clamp(16px, 2vw, 30px);
}

.hero-badge-pill,
.home-hero-badge,
.products-hero-badge,
.about-badge {
    font-size: clamp(11px, 0.5vw + 8px, 13.5px) !important;
    padding: clamp(5px, 0.6vw, 8px) clamp(12px, 1.2vw, 18px);
}

/* --------------------------------------------------------------------------
   6. PRODUCTS & PROJECTS CARDS FLUID TYPOGRAPHY
   -------------------------------------------------------------------------- */
.service-item-3d,
.project-item,
.product-item,
.card-product {
    transition: all 0.35s ease;
}

.service-item-3d h3,
.project-content h3,
.card-product-title,
.product-item h3 {
    font-size: clamp(15px, 1.4vw + 5px, 20px) !important;
    line-height: 1.25;
    margin-bottom: clamp(6px, 0.6vw, 10px);
}

.service-item-3d p,
.project-content p,
.card-product-desc,
.product-item p {
    font-size: clamp(12.5px, 0.35vw + 10.5px, 14.5px) !important;
    line-height: 1.55;
    margin-bottom: 0;
}

.card-product-pill,
.project-content .category {
    font-size: clamp(10px, 0.4vw + 7px, 12px);
    padding: 3px 10px;
}

/* Project details & inner articles */
.project-details-content h2,
.post-details-content h2,
.about-content h2,
.about-details h2 {
    font-size: clamp(18px, 2.4vw + 6px, 28px) !important;
    line-height: 1.25;
    margin-top: clamp(15px, 2vw, 30px);
    margin-bottom: clamp(10px, 1.2vw, 16px);
}

.project-details-content h3,
.post-details-content h3,
.about-content h3,
.about-details h3 {
    font-size: clamp(15px, 1.6vw + 5px, 21px) !important;
    margin-bottom: clamp(6px, 0.8vw, 12px);
}

.project-details-content p,
.post-details-content p,
.about-content p,
.about-details p {
    font-size: clamp(13px, 0.4vw + 11px, 15.5px) !important;
    line-height: 1.65;
}

.overview-list li,
.project-info-list li {
    font-size: clamp(12.5px, 0.35vw + 10.5px, 14.5px) !important;
    line-height: 1.55;
    margin-bottom: 6px;
}

/* Interactive room & specialized modules */
.interactive-spec-table th,
.interactive-spec-table td {
    font-size: clamp(12px, 0.4vw + 9.5px, 14.5px);
    padding: clamp(8px, 1vw, 14px);
}

/* Common button scales */
.btn-glow-primary,
.btn-glow-secondary,
.btn-card-quote,
.default-btn,
.project-details .btn {
    font-size: clamp(11.5px, 0.4vw + 9.5px, 14px);
    padding: clamp(8px, 0.9vw + 3px, 13px) clamp(14px, 1.5vw + 5px, 24px);
}

/* --------------------------------------------------------------------------
   7. BREAKPOINT: LAPTOPS & DESKTOPS (max-width: 1199px)
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
    .wonder-nav-header .nav-menu {
        gap: 6px;
    }
    .wonder-nav-header .nav-menu > li > a {
        font-size: 12px;
        padding: 6px 8px;
    }
    .wonder-nav-header .nav-call-btn {
        padding: 8px 14px;
        font-size: 11.5px;
    }
}

/* --------------------------------------------------------------------------
   8. BREAKPOINT: TABLETS & MEDIUM SCREENS (max-width: 991px)
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    /* Navigation */
    .main-header.wonder-nav-header {
        top: 10px;
    }
    .wonder-nav-header .header-menu-wrap {
        display: none !important;
    }
    .wonder-nav-header .mobile-menu-icon {
        display: flex !important;
        align-items: center;
    }
    .wonder-nav-header .nav-capsule-wrapper {
        padding: 6px 14px;
        min-height: 50px;
    }
    .wonder-nav-header .site-logo img {
        max-height: 36px;
    }
    .wonder-nav-header .nav-call-btn {
        padding: 6px 12px;
        font-size: 11px;
    }

    /* Sections Padding */
    .padding {
        padding: clamp(40px, 6vw, 65px) 0;
    }

    .service-section,
    .project-section,
    .testimonial-section,
    .blog-section,
    .about-section {
        padding: clamp(35px, 5vw, 60px) 0;
    }

    /* Hero Parallax */
    .hero-parallax-wrapper {
        padding: 0;
        min-height: auto;
    }
    .hero-content-container {
        padding: 75px 0 30px !important;
    }
    .hero-text-block {
        text-align: center;
        max-width: 600px;
        margin: 0 auto;
    }
    .hero-btn-group {
        justify-content: center;
        gap: 12px;
    }
    .hero-floating-badges {
        display: none;
    }
    .hero-scroll-cue {
        display: none;
    }

    /* About stack */
    .about-image-stack {
        max-width: 440px;
        height: auto;
        min-height: auto;
        margin: 0 auto 30px;
    }
    .image-stack-wrapper {
        width: 100%;
        height: 270px;
    }
    .stack-card {
        width: 94%;
    }

    /* Counters */
    .counter-card-glass {
        padding: 20px 14px;
        margin-bottom: 16px;
    }
    .counter-card-glass .counter-num-wrap h2 {
        font-size: clamp(28px, 4vw, 36px);
    }

    /* Footer */
    .footer-section {
        padding-top: 45px;
    }
    .footer-area > div {
        margin-bottom: 30px;
    }

    /* Disable custom cursor on touch */
    .dl-cursor {
        display: none !important;
    }
}

/* --------------------------------------------------------------------------
   9. BREAKPOINT: SMARTPHONES & PHABLETS (max-width: 767px)
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
    /* Section padding */
    .padding {
        padding: 35px 0;
    }

    /* Page Header */
    .page-header {
        padding: 95px 0 35px;
    }

    /* Hero adjustments */
    .hero-parallax-wrapper {
        padding: 0;
    }
    .hero-content-container {
        padding: 68px 0 25px !important;
    }
    .hero-btn-group {
        flex-direction: column;
        width: 100%;
        max-width: 290px;
        margin: 0 auto;
    }
    .hero-btn-group a {
        width: 100%;
        justify-content: center;
        padding: 11px 18px;
        font-size: 12.5px;
    }

    /* Stack cards */
    .about-image-stack {
        max-width: 340px;
        margin: 0 auto 20px;
    }
    .image-stack-wrapper {
        height: 210px;
    }
    .stack-card {
        width: 95%;
        border-radius: 14px;
    }

    /* Grid layouts single-column */
    .project-grid,
    .product-grid,
    .service-grid,
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Service CTA Box */
    .service-cta-parallax {
        padding: 22px 16px;
        text-align: center;
        border-radius: 16px;
        margin-top: 35px;
    }
    .service-cta-inner {
        flex-direction: column;
        text-align: center;
        gap: 14px;
    }

    /* Form controls (16px font prevents iOS Safari auto-zoom) */
    .contact-form input,
    .contact-form textarea,
    .form-control,
    .form-grp input,
    .form-grp textarea {
        font-size: 16px !important;
        padding: 10px 14px;
    }

    /* FAQ */
    .faq-accordion .accordion-item .accordion-title {
        font-size: 14px;
        padding: 12px 15px;
    }

    /* Gallery */
    .post-details-gallery {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .post-details-gallery li {
        width: 100% !important;
    }
    .post-details-gallery li img {
        width: 100%;
        height: 190px;
        object-fit: cover;
        border-radius: 10px;
    }
}

/* --------------------------------------------------------------------------
   10. BREAKPOINT: SMALL MOBILES (max-width: 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
    /* Header Capsule */
    .main-header.wonder-nav-header {
        top: 6px;
    }
    .wonder-nav-header .nav-capsule-wrapper {
        padding: 5px 12px;
        border-radius: 35px;
        min-height: 46px;
    }
    .wonder-nav-header .site-logo img {
        max-height: 28px;
    }
    .wonder-nav-header .nav-call-btn span:not(.call-icon-wrap) {
        display: none;
    }
    .wonder-nav-header .nav-call-btn {
        padding: 6px 8px;
        border-radius: 50%;
        min-width: 32px;
        height: 32px;
        justify-content: center;
    }
    .wonder-nav-header .nav-call-btn .call-icon-wrap {
        margin: 0;
        font-size: 14px;
    }
    .wonder-nav-header .burger-menu {
        width: 22px;
        height: 16px;
    }

    /* Hero */
    .hero-parallax-wrapper {
        padding: 0;
    }
    .hero-content-container {
        padding: 62px 0 20px !important;
    }

    /* Image Stack */
    .about-image-stack {
        max-width: 290px;
    }
    .image-stack-wrapper {
        height: 185px;
    }
    .stack-card {
        border-radius: 12px;
    }

    /* Overview list 2-col split to 1-col */
    .overview-wrap {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    /* Footer */
    .footer-widget h3 {
        font-size: 15.5px;
        margin-bottom: 12px;
    }
    .copyright-text {
        font-size: 11.5px;
        line-height: 1.5;
        text-align: center;
    }
}

/* Keep stacked footer columns from combining padding, margins and row gaps. */
@media (max-width: 575.98px) {
    .footer-section .footer-area {
        row-gap: 24px;
        padding-bottom: 24px;
    }

    .footer-section .footer-area > .sm-padding {
        padding-top: 0;
        padding-bottom: 0;
        margin-bottom: 0;
    }
}

/* --------------------------------------------------------------------------
   11. BREAKPOINT: ULTRA-COMPACT SCREENS (max-width: 360px)
   -------------------------------------------------------------------------- */
@media (max-width: 360px) {
    .container {
        padding-right: 8px;
        padding-left: 8px;
    }
    .wonder-nav-header .site-logo img {
        max-height: 24px;
    }
    .about-image-stack {
        max-width: 260px;
    }
    .image-stack-wrapper {
        height: 160px;
    }
    .stack-card {
        border-radius: 10px;
    }
}

/* --------------------------------------------------------------------------
   12. INNER PAGES CLEARANCE & UNIFORM MEDIA SCALING
   -------------------------------------------------------------------------- */
body > section:first-of-type:not(.hero-parallax-wrapper),
.page-header,
.inner-page-hero,
.project-section:first-of-type,
.product-section:first-of-type,
.product-list-section:first-of-type,
.blog-section:first-of-type,
.about-section:first-of-type {
    padding-top: clamp(80px, 10vw, 120px) !important;
}

@media (max-width: 991px) {
    body > section:first-of-type:not(.hero-parallax-wrapper),
    .page-header,
    .inner-page-hero,
    .project-section:first-of-type,
    .product-section:first-of-type,
    .product-list-section:first-of-type,
    .blog-section:first-of-type,
    .about-section:first-of-type {
        padding-top: 85px !important;
    }
}

@media (max-width: 576px) {
    body > section:first-of-type:not(.hero-parallax-wrapper),
    .page-header,
    .inner-page-hero,
    .project-section:first-of-type,
    .product-section:first-of-type,
    .product-list-section:first-of-type,
    .blog-section:first-of-type,
    .about-section:first-of-type {
        padding-top: 72px !important;
    }
}

.project-thumb img,
.product-img img,
.post-thumb img {
    width: 100%;
    height: clamp(180px, 22vw, 240px);
    object-fit: cover;
    display: block;
}
