/* Mobile-First Responsive CSS for Silver Feather Media */

/* ===== SILVER FEATHER MEDIA BRAND TEXT - LOBSTER FONT ===== */
/* Apply Lobster font specifically to "Silver Feather Media" brand name text */
.brand-name,
.nav-logo span.brand-name,
.mobile-menu-logo span,
.footer-logo span,
.footer-brand .footer-logo span {
    font-family: 'Lobster', cursive !important;
}

/* ===== STRICT HEADING & TEXT STABILITY RULES ===== */

/* ===== STRICT HEADING & TEXT STABILITY RULES ===== */
/* Prevent any unintentional translateY on headings, titles, names, and labels */
h1, h2, h3, h4, h5, h6,
.section-header h2, .section-header p,
.hero-title, .hero-subtitle,
.brand-name, .nav-logo span,
.service-hero h1, .service-hero-description,
.feature-card h3, .mobile-feature-card h3,
.service-card h3, .mobile-service-card h3,
.portfolio-content h3,
.client-content h3,
.team-member h3, .mobile-team-member h3,
.member-role, .member-description,
.stat-number, .stat-label,
.testimonial-card h3, .mobile-testimonial-card h3,
.breadcrumb-current, .breadcrumb-link,
.footer-logo span, .footer-section h4,
.section-header *,
.section-title, .section-subtitle,
.service-cta-section h2, .service-cta-section p,
.services-cta-section h2, .services-cta-section p,
[class*="section-header"] h2,
[class*="section-header"] p {
    /* Prevent translateY from scroll animations, hover effects, or transitions */
    transform: none !important;
    /* Prevent top animation interference */
    top: auto !important;
    /* Prevent margin-top animation interference */
    margin-top: 0 !important;
    /* Position stable */
    position: relative !important;
    /* No animation on headings */
    animation: none !important;
    /* No transitions on headings */
    transition: none !important;
    /* No will-change that could cause flickering */
    will-change: auto !important;
    /* Ensure full opacity */
    opacity: 1 !important;
    /* Force visibility */
    visibility: visible !important;
}

/* ===== STRICT NAVBAR RESPONSIVE SEPARATION ===== */
/* Hide desktop navigation elements by default on mobile */
.desktop-nav,
.nav-cta {
    display: none !important;
}

/* Show hamburger and mobile actions by default */
.hamburger,
.nav-actions {
    display: flex !important;
}

/* Mobile Navbar - Hamburger on LEFT, logo next to it */
@media (max-width: 1023px) {
    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 25px !important;
        height: 64px;
    }

    .nav-logo {
        flex-shrink: 0;
        order: 0;
    }

    .nav-actions {
        order: 0;
    }
}

/* Tablet (768px - 1023px): Can use either hamburger or compact nav */
@media (min-width: 768px) and (max-width: 1023px) {
    .desktop-nav,
    .nav-cta {
        display: none !important;
    }
    
    .hamburger,
    .nav-actions {
        display: flex !important;
    }
}

/*
  Desktop (true desktop/laptop): show full desktop nav, hide hamburger & mobile drawer.

  Why this change:
  - Previously this used only (min-width: 1024px). When a phone enables “Desktop site”,
    the *virtual viewport* becomes >=1024px and the hamburger was incorrectly hidden.
  - We now require BOTH a desktop-ish viewport AND a fine pointer + real hover capability.
    Touch devices in “Desktop site” mode typically still report (pointer: coarse) and/or (hover: none),
    so they will keep the hamburger.

  Cross-browser notes:
  - (hover) and (pointer) are widely supported in modern Chrome/Edge/Safari/Firefox.
  - The width condition remains to avoid showing desktop nav on small windows.
*/
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
    .desktop-nav {
        display: flex !important;
    }

    .nav-cta {
        display: inline-flex !important;
    }

    .hamburger,
    .nav-actions,
    .mobile-menu,
    #mobileMenu,
    .overlay,
    #overlay {
        display: none !important;
    }
}

/* ===== Global Layout Stability & Scroll Optimization ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    overscroll-behavior-x: none;
    -webkit-overflow-scrolling: touch;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    /* Use native momentum scrolling for smooth scroll */
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y pinch-zoom;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    aspect-ratio: auto;
    object-fit: cover;
}

video {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

section {
    /* Remove contain property that causes jitter - let sections flow naturally */
    width: 100%;
}

.mobile-services-grid,
.mobile-features-grid,
.mobile-portfolio-grid,
.mobile-testimonials-grid,
.mobile-clients-grid,
.mobile-team-grid {
    padding: 0 15px;
}

.portfolio-overlay,
.client-overlay {
    padding: 15px;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

/* GPU-accelerated cards only where needed for hover effects */
.mobile-service-card,
.mobile-team-member,
.mobile-feature-card,
.mobile-portfolio-item,
.mobile-testimonial-card,
.stat-card,
.mobile-client-card {
    position: relative;
}

img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.member-image img,
.portfolio-image img,
.client-image img,
.hero-background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header {
    will-change: background;
}

.header,
.overlay {
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

a {
    text-decoration: none;
    -webkit-touch-callout: none;
}

button {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input, textarea, select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.container {
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
    margin: 0 auto;
    overflow-x: hidden;
}

/* ===== SCROLL ANIMATION CLASSES ===== */
.sf-animated {
    opacity: 0;
    transform: none;
    transition: opacity 0.7s cubic-bezier(0.2, 0, 0.2, 1);
    will-change: opacity;
}

.sf-visible {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(0px);
    }
    to {
        opacity: 1;
        transform: translateY(0px);
    }
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    width: 56px !important;
    height: 56px !important;
    background: #25D366 !important;
    color: white !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 28px !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4) !important;
    z-index: 2147483647 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    top: auto !important;
    left: auto !important;
    text-decoration: none !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
    transform: translateZ(0) !important;
    will-change: transform !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.whatsapp-float:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5) !important;
    color: white !important;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 64px;
    background: linear-gradient(180deg, rgba(42, 45, 53, 0.97) 0%, rgba(35, 38, 46, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.3s ease;
}

.header.scrolled {
    background: linear-gradient(180deg, rgba(42, 45, 53, 0.98) 0%, rgba(35, 38, 46, 0.98) 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    display: block;
}

.brand-name {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.3px;
}

/* Hamburger Menu Button - Glassmorphism Premium */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    gap: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2.5px;
    background: #ffffff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 380px;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height accounts for mobile browser toolbars */
    max-height: 100vh;
    max-height: 100dvh;
    background: linear-gradient(180deg, #2a2d35 0%, #23262e 100%);
    z-index: 1001;
    padding: 0;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    overflow-y: auto;
    overflow-x: hidden;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-menu-logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.mobile-menu-logo span {
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.mobile-menu-close {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: white;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.mobile-menu-nav {
    flex: 0 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav-link {
    display: block;
    padding: 14px 16px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: rgba(255, 255, 255, 0.08);
    color: white;
}

.mobile-menu-cta {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.mobile-cta-btn {
    padding: 9px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
}

.mobile-cta-btn.btn-primary {
    background: #d4a017;
    color: white;
}

.mobile-cta-btn.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Desktop CTA */
.nav-cta {
    display: none;
    padding: 7px 22px;
    background: linear-gradient(135deg, #d4a017 0%, #e8b830 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(212, 160, 23, 0.3);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 64px;
    padding: 40px 20px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

/* ===== HERO VIDEO BACKGROUND ===== */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.25) 100%);
}

/* On mobile, show the ENTIRE video (no cropping) using object-fit: contain.
   This avoids showing only a section of the video on portrait phone screens.
   This rule set applies ONLY in portrait orientation for mobile devices. */
@media (max-width: 767px) and (orientation: portrait) {
    /* Reduce hero height so the contained video fills the area more naturally
       and the section looks visually appealing (no giant black void). */
    .hero {
        min-height: 0 !important;
        height: auto !important;
        aspect-ratio: 16 / 9 !important;
        max-height: 60vh !important;
        padding: 0 !important;
    }

    .hero-video {
        object-fit: contain !important;
        width: 100% !important;
        height: 100% !important;
        min-width: 100% !important;
        min-height: 100% !important;
        background: #000 !important;
    }

    .hero-video-container {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        overflow: hidden;
        background: #000 !important;
    }

    .hero-background {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #000 !important;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-visual {
    margin-bottom: 30px;
}

.floating-elements {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.floating-element {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #d4a017;
    animation: float 3s ease-in-out infinite;
}

.floating-element:nth-child(2) {
    animation-delay: 0.5s;
}

.floating-element:nth-child(3) {
    animation-delay: 1s;
}

.floating-element:nth-child(4) {
    animation-delay: 1.5s;
}

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

.hero-subtitle-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #f4f4f5 0%, #e8e9eb 100%);
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 12px;
    line-height: 1.2;
}

.section-header p {
    font-size: 16px;
    color: #6b6f78;
    max-width: 500px;
    margin: 0 auto;
}

/* "Pan India Services" subtitle - 50% of heading size (14px from 28px h2) with semi-bold */
.hero-subtitle-section .section-header p {
    font-size: 14px;
    font-weight: 600;
}

/* ===== STATS SECTION ===== */
.stats {
    padding: 60px 0;
    background: linear-gradient(135deg, #2a2d35 0%, #3a3d45 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    text-align: center;
    padding: 30px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: #d4a017;
    margin-bottom: 8px;
    display: block;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 60px 0;
    background: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.service-card {
    padding: 20px 16px;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    min-height: 120px;
    display: flex;
    flex-direction: column;
}

.service-card .service-icon,
.service-card h3 {
    flex-shrink: 0;
}

.service-card p {
    flex: 1;
}

.service-link {
    margin-top: auto;
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.service-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #d4a017 0%, #e8b830 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.service-icon i {
    font-size: 22px;
    color: #2a2d35;
}

.service-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.service-card h3 a {
    color: #1e293b;
    text-decoration: none;
}

.service-card p {
    font-size: 13px;
    color: #6b6f78;
    line-height: 1.5;
    margin-bottom: 10px;
}

.service-link {
    font-size: 13px;
    font-weight: 600;
    color: #d4a017;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}

.service-link:hover {
    gap: 10px;
}

/* ===== NUMBERED FEATURE BLOCKS (Premium Agency Style) ===== */
.numbered-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.numbered-feature {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    min-height: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.numbered-feature:hover {
    transform: none;
    box-shadow: none;
}

.numbered-feature-number {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
    color: rgba(212, 160, 23, 0.15);
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.04em;
    min-width: 60px;
    flex-shrink: 0;
    transition: color 0.4s ease;
}

.numbered-feature:hover .numbered-feature-number {
    color: rgba(212, 160, 23, 0.35);
}

.numbered-feature-content {
    flex: 1;
    padding-top: 6px;
}

.numbered-feature-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
    line-height: 1.3;
}

.numbered-feature-content p {
    font-size: 14px;
    color: #6b6f78;
    line-height: 1.7;
    max-width: 600px;
}

/* Feature block accent line */
.numbered-feature-content h3::before {
    content: '';
    display: block;
    width: 28px;
    height: 2.5px;
    background: #d4a017;
    border-radius: 2px;
    margin-bottom: 12px;
}

/* ===== FEATURES / WHY CHOOSE US SECTION (legacy, overridden) ===== */
.why-choose-us {
    padding: 60px 0;
    background: #f8fafc;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.feature-card {
    padding: 20px 16px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    min-height: 120px;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #d4a017 0%, #e8b830 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.feature-icon i {
    font-size: 22px;
    color: #2a2d35;
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 13px;
    color: #6b6f78;
    line-height: 1.5;
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 60px 0;
    background: #ffffff;
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio {
    padding: 60px 0;
    background: #f4f4f5;
}

/* All Work Subheading */
.all-work-subheading {
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
    margin: 10px 0 30px 0;
    text-align: center;
}

/* Category Section Headings for All Work */
.category-section-heading {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 50px 0 24px 0;
    padding-bottom: 12px;
    border-bottom: 3px solid #d4a017;
    position: relative;
}

.category-section-heading:first-of-type {
    margin-top: 0;
}

.all-work-section {
    margin-top: 10px;
}

.all-work-section .portfolio-grid {
    margin-bottom: 40px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.portfolio-item {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    opacity: 1;
    transform: scale(1);
}

.portfolio-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.portfolio-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-expand-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-expand-icon {
    opacity: 1;
}

.portfolio-content {
    padding: 20px;
}

.portfolio-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.portfolio-content p {
    font-size: 14px;
    color: #6b6f78;
    line-height: 1.5;
    margin-bottom: 14px;
}

.portfolio-tag {
    display: inline-block;
    padding: 4px 10px;
    background: #e8e9eb;
    color: #2a2d35;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    margin-bottom: 10px;
}

.portfolio-metrics {
    display: flex;
    gap: 20px;
}

.metric {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-size: 18px;
    font-weight: 800;
    color: #d4a017;
}

.metric-label {
    font-size: 12px;
    color: #8a8d95;
    font-weight: 500;
}

.portfolio-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.portfolio-cta span {
    font-size: 14px;
    font-weight: 600;
    color: #d4a017;
}

/* ===== CLIENTS SECTION ===== */
.clients-section {
    padding: 60px 0;
    background: #ffffff;
}

.clients-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.client-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.client-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.client-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.client-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.client-card:hover .client-image img {
    transform: scale(1.05);
}

.client-expand-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.client-card:hover .client-expand-icon {
    opacity: 1;
}

.client-content {
    padding: 20px;
}

.client-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.client-content p {
    font-size: 14px;
    color: #6b6f78;
    line-height: 1.5;
    margin-bottom: 12px;
}

.client-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.client-tags .tag {
    padding: 4px 10px;
    background: #e8e9eb;
    color: #2a2d35;
    font-size: 12px;
    font-weight: 500;
    border-radius: 6px;
}

.client-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===== TEAM SECTION ===== */
.team {
    padding: 60px 0;
    background: #f8fafc;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.team-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    display: flex;
    gap: 16px;
    padding: 16px;
}

.team-image-wrapper {
    width: 100px;
    min-height: 120px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.team-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-content h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.team-role {
    font-size: 12px;
    color: #d4a017;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.team-description {
    font-size: 13px;
    color: #6b6f78;
    line-height: 1.5;
}

/* ===== TEAM COLLABORATION SECTION ===== */
.team-collaboration-section {
    padding: 60px 0;
    background: #f4f4f5;
}

.team-collab-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.team-collab-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.team-collab-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.team-collab-card .team-collab-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.team-collab-card .team-collab-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-collab-card:hover .team-collab-image img {
    transform: scale(1.05);
}

.team-collab-expand-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.team-collab-card:hover .team-collab-expand-icon {
    opacity: 1;
}

.team-collab-card-content {
    padding: 20px;
}

.team-collab-card-content .team-collab-description {
    font-size: 14px;
    color: #6b6f78;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 60px 0;
    background: #ffffff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.testimonial-card {
    padding: 24px;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.testimonial-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.testimonial-card p {
    font-size: 14px;
    color: #6b6f78;
    line-height: 1.6;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 60px 0;
    background: linear-gradient(135deg, #2a2d35 0%, #3a3d45 100%);
}

.contact .section-header h2,
.contact .section-header p {
    color: #ffffff !important;
}

.contact-wrapper {
    display: grid;
    gap: 30px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-info h3 {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(212, 160, 23, 0.3);
    transform: translateY(-2px);
}

.contact-item i {
    font-size: 20px;
    color: #d4a017;
    margin-top: 2px;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.contact-item p,
.contact-item a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    text-decoration: none;
    margin: 0;
}

.contact-item a:hover {
    color: #d4a017;
}

.contact-social {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    justify-content: center;
}

.contact-social .social-link {
    width: 46px;
    height: 46px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-social .social-link:hover {
    transform: translateY(-4px) scale(1.1);
    color: #ffffff;
}

.contact-social .social-link[aria-label="Facebook"]:hover {
    background: #1877F2;
    border-color: #1877F2;
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.4);
}

.contact-social .social-link[aria-label="Twitter"]:hover {
    background: #000000;
    border-color: #000000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.contact-social .social-link[aria-label="Instagram"]:hover {
    background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    border-color: #d6249f;
    box-shadow: 0 4px 15px rgba(214, 36, 159, 0.4);
}

.contact-social .social-link[aria-label="LinkedIn"]:hover {
    background: #0A66C2;
    border-color: #0A66C2;
    box-shadow: 0 4px 15px rgba(10, 102, 194, 0.4);
}

/* ===== FOOTER SECTION ===== */
.footer {
    padding: 56px 0 28px;
    background: linear-gradient(135deg, #1a1d24 0%, #2a2d35 50%, #32353d 100%);
    color: white;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 160, 23, 0.2), transparent);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Brand Section */
.footer-brand {
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 14px;
}

.footer-logo img {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.footer-logo span {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.3px;
}

.footer-description {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.8;
    margin: 0 auto 24px;
    max-width: 340px;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.footer-social .social-link {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social .social-link:hover {
    transform: translateY(-2px);
    color: white;
}

.footer-social .social-link[aria-label="Facebook"] { color: #1877F2; }
.footer-social .social-link[aria-label="Twitter"] { color: #1DA1F2; }
.footer-social .social-link[aria-label="Instagram"] { color: #E1306C; }
.footer-social .social-link[aria-label="LinkedIn"] { color: #0A66C2; }

.footer-social .social-link[aria-label="Facebook"]:hover {
    background: #1877F2; border-color: #1877F2; box-shadow: 0 4px 14px rgba(24, 119, 242, 0.25); color: #ffffff !important;
}
.footer-social .social-link[aria-label="Twitter"]:hover {
    background: #1DA1F2; border-color: #1DA1F2; box-shadow: 0 4px 14px rgba(29, 161, 242, 0.25); color: #ffffff !important;
}
.footer-social .social-link[aria-label="Instagram"]:hover {
    background: linear-gradient(135deg, #F58529, #DD2A7B, #8134AF); border-color: transparent; box-shadow: 0 4px 14px rgba(225, 48, 108, 0.25); color: #ffffff !important;
}
.footer-social .social-link[aria-label="LinkedIn"]:hover {
    background: #0A66C2; border-color: #0A66C2; box-shadow: 0 4px 14px rgba(10, 102, 194, 0.25); color: #ffffff !important;
}

/* Accordion Styles */
.footer-accordion {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 24px;
}

.footer-accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.footer-accordion-trigger:hover {
    color: #d4a017;
}

.footer-accordion-icon {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.2);
    transition: transform 0.35s ease;
}

.footer-accordion-item.active .footer-accordion-icon {
    transform: rotate(180deg);
    color: #d4a017;
}

.footer-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
    opacity: 0;
    padding: 0;
}

.footer-accordion-item.active .footer-accordion-content {
    max-height: 600px;
    opacity: 1;
    padding-bottom: 20px;
}

/* Footer Links inside Accordion */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 6px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
    padding: 3px 0;
}

.footer-links li a:hover {
    color: #d4a017;
    padding-left: 4px;
}

.footer-links li a i {
    font-size: 9px;
    color: #d4a017;
    transition: transform 0.25s ease;
    opacity: 0.7;
}

.footer-links li a:hover i {
    transform: translateX(3px);
    opacity: 1;
}

/* Contact items inside Accordion */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
    padding: 4px 0;
}

.footer-contact-item i {
    color: #d4a017;
    font-size: 13px;
    margin-top: 4px;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
    opacity: 0.8;
}

.footer-contact-item span,
.footer-contact-item a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.7;
}

.footer-phone-link {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.7;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-phone-link:hover {
    color: #d4a017;
}

.btn-directions {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: rgba(212, 160, 23, 0.1);
    color: #d4a017;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
    border: 1px solid rgba(212, 160, 23, 0.18);
    transition: all 0.25s ease;
}

.btn-directions:hover {
    background: rgba(212, 160, 23, 0.16);
    border-color: rgba(212, 160, 23, 0.35);
    transform: translateY(-1px);
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    text-align: center;
}

.footer-copyright {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    margin: 0;
    letter-spacing: 0.02em;
}

/* Tablet+ Footer - Show as grid without accordion */
@media (min-width: 768px) {
    .footer {
        padding: 64px 0 32px;
    }

    .footer-brand {
        margin-bottom: 0;
    }

    .footer-description {
        margin: 0 0 24px 0;
        max-width: 300px;
    }

    .footer-accordion {
        display: grid;
        grid-template-columns: 1.2fr 1fr 1.2fr 0.8fr;
        gap: 40px;
        border-top: none;
        margin-bottom: 36px;
    }

    .footer-accordion-item {
        border-bottom: none;
    }

    .footer-accordion-trigger {
        padding: 0 0 16px 0;
        cursor: default;
        pointer-events: none;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.7);
        border-bottom: 1px solid rgba(212, 160, 23, 0.3);
        margin-bottom: 20px;
    }

    .footer-accordion-trigger .footer-accordion-icon {
        display: none;
    }

    .footer-accordion-content {
        max-height: none;
        opacity: 1;
        padding-bottom: 0;
    }

    .footer-bottom {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 24px;
        text-align: left;
    }
}

/* ===== CTAs and Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #d4a017 0%, #e8b830 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(212, 160, 23, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-large {
    padding: 14px 28px;
    font-size: 16px;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.breadcrumb-link {
    color: #d4a017;
    text-decoration: none;
}

.breadcrumb-separator {
    color: #8a8d95;
}

.breadcrumb-current {
    color: #6b6f78;
}

/* ===== SERVICE DETAIL PAGES ===== */
.service-hero {
    padding: 80px 0 60px;
    background: #f4f4f5;
}

.service-hero .breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.service-hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.service-hero-left h1 {
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 16px;
    line-height: 1.2;
}

.service-hero-description {
    font-size: 16px;
    color: #6b6f78;
    line-height: 1.6;
    margin-bottom: 24px;
}

.service-hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-hero-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #d4a017 0%, #e8b830 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(212, 160, 23, 0.2);
}

.service-hero-icon i {
    font-size: 40px;
    color: #2a2d35;
}

.service-portfolio {
    padding: 60px 0;
    background: #ffffff;
}

.service-portfolio-recommendations {
    background: #f4f4f5;
}

.service-portfolio-viewed {
    background: #ffffff;
}

.service-why-choose-us {
    padding: 60px 0;
    background: #f4f4f5;
}

/* ===== CTA SECTION (Service Pages + Homepage) ===== */
.service-cta-section,
.services-cta-section {
    padding: 24px 0;
    background: linear-gradient(135deg, #2a2d35 0%, #3a3d45 100%);
    color: white;
    text-align: center;
}

.service-cta-section h2,
.services-cta-section h2 {
    font-size: 16px;
    font-weight: 700;
    color: white;
    margin-bottom: 6px;
    line-height: 1.3;
}

.service-cta-section p,
.services-cta-section p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 200px;
    margin: 0 auto;
}

.cta-buttons .btn-large {
    padding: 8px 20px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 8px;
}

.cta-content {
    max-width: 500px;
    margin: 0 auto;
}

/* ===== NOTIFICATION ===== */
.mobile-notification {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: #10b981;
    color: white;
    padding: 14px 20px;
    border-radius: 10px;
    z-index: 10000;
    max-width: 90%;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: all 0.3s ease;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */
/* Compact Mobile (390-430px) */
@media (min-width: 390px) and (max-width: 430px) {
    .container { padding: 0 10px; max-width: 100%; overflow-x: hidden; }
    .mobile-services-grid, .mobile-features-grid, .mobile-portfolio-grid, .mobile-testimonials-grid, .mobile-clients-grid, .mobile-team-grid { padding: 0 10px; }
    .nav-container { padding: 0 15px; }
    .nav-logo .brand-name { font-size: 14px; }
    .hero { min-height: calc(100vh - 64px); margin-top: 64px; padding: 30px 10px; }
    .hero-title { font-size: 24px; word-wrap: break-word; overflow-wrap: break-word; }
    .hero-subtitle { font-size: 14px; word-wrap: break-word; overflow-wrap: break-word; }
    .mobile-btn-primary, .mobile-btn-secondary { padding: 8px 20px; font-size: 14px; min-width: 140px; }
    .mobile-stats, .mobile-services, .mobile-about, .mobile-team, .mobile-why-choose-us, .mobile-portfolio, .mobile-testimonials, .mobile-contact, .mobile-clients { padding: 40px 0; overflow-x: hidden; }
    .mobile-section-header { margin-bottom: 30px; padding: 0 5px; }
    .mobile-section-header h2 { font-size: 24px; word-wrap: break-word; overflow-wrap: break-word; }
    .mobile-section-header p { font-size: 14px; word-wrap: break-word; overflow-wrap: break-word; }
    .mobile-service-card, .mobile-team-member, .mobile-feature-card, .mobile-portfolio-item, .mobile-testimonial-card, .mobile-client-card { padding: 20px; overflow: hidden; }
    .stat-card { padding: 20px 10px; }
    .stat-number { font-size: 28px; }
    .stat-label { font-size: 12px; }
    .mobile-service-card h3, .mobile-feature-card h3, .mobile-team-member h3, .client-content h3 { font-size: 16px; word-wrap: break-word; overflow-wrap: break-word; }
    .mobile-service-card p, .mobile-feature-card p, .mobile-team-member p { font-size: 13px; word-wrap: break-word; overflow-wrap: break-word; }
    .mobile-services-grid { gap: 14px; padding: 0 10px; }
    .mobile-service-card { padding: 14px 12px; min-height: 110px; }
    .service-icon { width: 44px; height: 44px; margin-bottom: 10px; }
    .service-icon i { font-size: 20px; }
    .mobile-service-card h3 { font-size: 15px; margin-bottom: 7px; }
    .mobile-service-card p { font-size: 11px; margin-bottom: 10px; }
    .mobile-service-link { font-size: 11px; }
    .mobile-features-grid { gap: 14px; padding: 0 10px; }
    .mobile-feature-card { padding: 14px 12px; min-height: 110px; }
    .feature-icon { width: 44px; height: 44px; margin-bottom: 10px; }
    .feature-icon i { font-size: 20px; }
    .mobile-feature-card h3 { font-size: 15px; margin-bottom: 7px; }
    .mobile-feature-card p { font-size: 11px; }
    .mobile-portfolio .mobile-section-header h2 { font-size: 28px; }
    .mobile-portfolio .mobile-section-header p { font-size: 14px; }
    .mobile-portfolio-grid { gap: 20px; }
    .portfolio-image { height: 200px; }
    .portfolio-content { padding: 20px 16px; }
    .portfolio-content h3 { font-size: 18px; }
    .portfolio-content p { font-size: 13px; }
    .portfolio-cta span { font-size: 14px; }
    .member-image { width: 200px; height: 260px; border-radius: 0 0 18px 18px; box-shadow: 0 8px 30px rgba(0,0,0,0.2); border: 4px solid #d1d5db; background: #ffffff; display: flex; align-items: center; justify-content: center; }
    .member-image img { object-fit: contain; object-position: center; display: block; filter: brightness(1.2) contrast(1.15); }
    .portfolio-image, .client-image { height: 180px; }
    .portfolio-content h3, .client-content h3 { font-size: 16px; }
    .portfolio-content p, .client-content p { font-size: 12px; }
    .mobile-contact-form { padding: 20px; }
    .form-group input, .form-group select, .form-group textarea { padding: 12px; font-size: 14px; }
    .client-tags { flex-wrap: wrap; }
    .client-tags .tag { font-size: 11px; padding: 3px 10px; }
    .mobile-team { padding: 60px 0; }
    .mobile-team-grid { gap: 20px; padding: 0 10px; }
    .mobile-team-member { min-height: 130px; padding: 14px; gap: 14px; }
    .member-image { width: 99px; height: 100%; border-radius: 10px; }
    .mobile-team-member h3 { font-size: 16px; line-height: 1.3; }
    .member-role { font-size: 10px; letter-spacing: 0.09em; }
    .member-description { font-size: 12px; line-height: 1.4; }
}

/* Small Mobile (320-389px) */
@media (max-width: 389px) {
    .container { padding: 0 15px; }
    .mobile-services-grid, .mobile-features-grid, .mobile-portfolio-grid, .mobile-testimonials-grid, .mobile-clients-grid, .mobile-team-grid { padding: 0 15px; }
    .nav-logo .brand-name { font-size: 13px; }
    .nav-logo .logo-img { width: 48px; height: 48px; }
    .mobile-call-btn, .hamburger { width: 40px; height: 40px; }
    .mobile-call-btn { font-size: 14px; }
    .hamburger span { width: 20px; height: 2px; }
    .mobile-menu { width: 90%; max-width: 320px; }
    .hero { margin-top: 64px; padding: 25px 15px; }
    .hero-title { font-size: 22px; }
    .hero-subtitle { font-size: 14px; }
    .mobile-team { padding: 50px 0; }
    .mobile-services-grid { gap: 12px; padding: 0 15px; }
    .mobile-service-card { padding: 12px 10px; min-height: 100px; }
    .service-icon { width: 40px; height: 40px; margin-bottom: 8px; }
    .service-icon i { font-size: 18px; }
    .mobile-service-card h3 { font-size: 14px; margin-bottom: 6px; }
    .mobile-service-card p { font-size: 10px; margin-bottom: 8px; line-height: 1.4; }
    .mobile-service-link { font-size: 10px; }
    .mobile-features-grid { gap: 12px; padding: 0 15px; }
    .mobile-feature-card { padding: 12px 10px; min-height: 100px; }
    .feature-icon { width: 40px; height: 40px; margin-bottom: 8px; }
    .feature-icon i { font-size: 18px; }
    .mobile-feature-card h3 { font-size: 14px; margin-bottom: 6px; }
    .mobile-feature-card p { font-size: 10px; line-height: 1.4; }
}

/* Large Mobile/Tablet (431px+) */
@media (min-width: 431px) and (max-width: 768px) {
    .container { padding: 0 25px; max-width: 1200px; margin: 0 auto; }
    .mobile-services-grid, .mobile-features-grid, .mobile-portfolio-grid, .mobile-testimonials-grid, .mobile-clients-grid, .mobile-team-grid { padding: 0 25px; }
    .nav-logo .brand-name { font-size: 16px; }
    .mobile-menu { width: 75%; max-width: 420px; }
    .hero { padding: 50px 25px; }
    .mobile-team { padding: 90px 0; }
    .mobile-services-grid { gap: 20px; padding: 0 25px; }
    .mobile-service-card { padding: 20px 16px; min-height: 125px; }
    .service-icon { width: 52px; height: 52px; margin-bottom: 14px; }
    .service-icon i { font-size: 24px; }
    .mobile-service-card h3 { font-size: 17px; margin-bottom: 10px; }
    .mobile-service-card p { font-size: 13px; margin-bottom: 14px; line-height: 1.5; }
    .mobile-service-link { font-size: 13px; }
    .mobile-features-grid { gap: 20px; padding: 0 25px; }
    .mobile-feature-card { padding: 20px 16px; min-height: 125px; }
    .feature-icon { width: 52px; height: 52px; margin-bottom: 14px; }
    .feature-icon i { font-size: 24px; }
    .mobile-feature-card h3 { font-size: 17px; margin-bottom: 10px; }
    .mobile-feature-card p { font-size: 13px; line-height: 1.5; }
}

/* Tablet (768-1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .container { padding: 0 30px; max-width: 960px; margin: 0 auto; }
    .mobile-services-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .mobile-features-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .mobile-portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .mobile-clients-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .mobile-team-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .portfolio-image, .client-image { height: 240px; }
}

@media (min-width: 1024px) {
    .container { padding: 0 30px; max-width: 1200px; margin: 0 auto; }
    .mobile-services-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .mobile-features-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
    .mobile-portfolio-grid { grid-template-columns: repeat(3, 1fr); gap: 30px; }
    .clients-grid { grid-template-columns: repeat(4, 1fr); gap: 30px; }
    .portfolio-image, .client-image { height: 260px; }
    .hero { min-height: 80vh; }
}

/* ===== SINGLE COLUMN CARDS ON MOBILE - SPECIFIC SECTIONS ===== */
/* Display one card per row with reduced height for better information reveal
   Applies to:
   - Why Choose Silver Feather Media
   - Our Services
   - About Us
   - Why Choose This Service (service details pages)
*/
@media (max-width: 767px) {
    /* Services Section - Single column grid */
    .services .services-grid,
    .mobile-services .services-grid,
    .services .mobile-services-grid,
    .mobile-services .mobile-services-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* Services Section Cards - Rectangular with reduced height */
    .services .service-card,
    .mobile-services .service-card,
    .service-card.mobile-service-card {
        min-height: 100px;
        padding: 16px;
    }

    /* Why Choose Us / About Us / Why Choose This Service - Single column grid */
    .why-choose-us .features-grid,
    .mobile-why-choose-us .features-grid,
    .service-why-choose-us .features-grid,
    .why-choose-us .mobile-features-grid,
    .mobile-why-choose-us .mobile-features-grid,
    .service-why-choose-us .mobile-features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* Feature Cards - Rectangular with reduced height */
    .why-choose-us .feature-card,
    .mobile-why-choose-us .feature-card,
    .service-why-choose-us .feature-card,
    .feature-card.mobile-feature-card {
        min-height: 100px;
        padding: 16px;
    }
}

/* Small Mobile (320-389px) */
@media (max-width: 389px) {
    .service-card.mobile-service-card,
    .feature-card.mobile-feature-card {
        min-height: 95px;
        padding: 14px;
    }
}

/* Compact Mobile (390-430px) */
@media (min-width: 390px) and (max-width: 430px) {
    .service-card.mobile-service-card,
    .feature-card.mobile-feature-card {
        min-height: 100px;
        padding: 16px;
    }
}

/* Large Mobile (431px-767px) */
@media (min-width: 431px) and (max-width: 767px) {
    .service-card.mobile-service-card,
    .feature-card.mobile-feature-card {
        min-height: 110px;
        padding: 18px;
    }
}

/* ===== DESKTOP SITE MODE ON MOBILE BROWSERS ===== */
/* Optimizations for when users enable "Desktop site" in mobile browser
   This forces rendering at wider viewport (typically 980px-1024px)
   Applies to both portrait and landscape orientations
*/

/* Tablet-like viewport in portrait mode (Desktop site enabled) */
@media (min-width: 768px) and (max-width: 1023px) and (orientation: portrait) {
    .container {
        padding: 0 30px;
        max-width: 960px;
        margin: 0 auto;
    }

    /* Services grid - 2 columns for better readability */
    .services-grid,
    .mobile-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Features grid - 2 columns */
    .features-grid,
    .mobile-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Service cards - maintain desktop-like appearance */
    .service-card,
    .service-card.mobile-service-card {
        min-height: 160px;
        padding: 20px;
    }

    /* Feature cards - maintain desktop-like appearance */
    .feature-card,
    .feature-card.mobile-feature-card {
        min-height: 160px;
        padding: 20px;
    }

    /* Portfolio grid - 2 columns */
    .portfolio-grid,
    .mobile-portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    /* Team grid - 2 columns */
    .team-grid,
    .mobile-team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    /*
      Navigation behavior in “Desktop site” mode:
      Keep hamburger on touch devices (pointer: coarse / hover: none) even if the browser renders a wide viewport.
      Desktop-style nav should only appear on true desktop input devices.
    */
    @media (hover: hover) and (pointer: fine) {
        .desktop-nav { display: flex !important; }
        .hamburger, .nav-actions { display: none !important; }
    }

    /* Hero section adjustments */
    .hero {
        min-height: 60vh;
        padding: 60px 30px;
    }

    /* Section headers */
    .section-header h2 {
        font-size: 36px;
    }

    .section-header p {
        font-size: 18px;
    }
}

/* Tablet-like viewport in landscape mode (Desktop site enabled) */
@media (min-width: 768px) and (max-width: 1023px) and (orientation: landscape) {
    .container {
        padding: 0 30px;
        max-width: 960px;
        margin: 0 auto;
    }

    /* Services grid - 3 columns in landscape for better use of width */
    .services-grid,
    .mobile-services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    /* Features grid - 3 columns in landscape */
    .features-grid,
    .mobile-features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    /* Service cards */
    .service-card,
    .service-card.mobile-service-card {
        min-height: 150px;
        padding: 18px;
    }

    /* Feature cards */
    .feature-card,
    .feature-card.mobile-feature-card {
        min-height: 150px;
        padding: 18px;
    }

    /* Portfolio grid - 3 columns in landscape */
    .portfolio-grid,
    .mobile-portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    /* Team grid - 2 columns */
    .team-grid,
    .mobile-team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    /*
      Navigation behavior in “Desktop site” mode:
      Keep hamburger on touch devices even with wide virtual viewport.
    */
    @media (hover: hover) and (pointer: fine) {
        .desktop-nav { display: flex !important; }
        .hamburger, .nav-actions { display: none !important; }
    }

    /* Hero section - shorter in landscape */
    .hero {
        min-height: 50vh;
        padding: 40px 30px;
    }

    /* Section headers */
    .section-header h2 {
        font-size: 36px;
    }

    .section-header p {
        font-size: 18px;
    }

    /* Reduce vertical padding in landscape */
    section {
        padding: 60px 0;
    }

    .services,
    .why-choose-us,
    .about,
    .portfolio,
    .team,
    .contact {
        padding: 60px 0;
    }
}

/* Desktop viewport on mobile (Desktop site with wide viewport ~1024px) */
@media (min-width: 1024px) and (max-width: 1280px) {
    .container {
        padding: 0 40px;
        max-width: 1100px;
        margin: 0 auto;
    }

    /* Services grid - 3 columns */
    .services-grid,
    .mobile-services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    /* Features grid - 4 columns for desktop-like view */
    .features-grid,
    .mobile-features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }

    /* Service cards - desktop appearance */
    .service-card,
    .service-card.mobile-service-card {
        min-height: 180px;
        padding: 24px;
    }

    /* Feature cards - desktop appearance */
    .feature-card,
    .feature-card.mobile-feature-card {
        min-height: 180px;
        padding: 24px;
    }

    /* Portfolio grid - 3 columns */
    .portfolio-grid,
    .mobile-portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    /*
      Navigation behavior for wide “Desktop site” viewports on mobile:
      Do NOT automatically switch to desktop nav based on width alone.
      Only switch when the device has a fine pointer and supports hover.
    */
    @media (hover: hover) and (pointer: fine) {
        .desktop-nav { display: flex !important; }
        .hamburger, .nav-actions, .mobile-menu, #mobileMenu, .overlay, #overlay {
            display: none !important;
        }
    }

    /* Hero section */
    .hero {
        min-height: 70vh;
        padding: 80px 40px;
    }

    /* Section headers - desktop size */
    .section-header h2 {
        font-size: 42px;
    }

    .section-header p {
        font-size: 20px;
    }

    /* Footer grid - desktop layout */
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 40px;
    }
}

/* Landscape orientation adjustments for desktop site mode */
@media (min-width: 1024px) and (orientation: landscape) {
    /* Reduce vertical spacing in landscape */
    section {
        padding: 80px 0;
    }

    .services,
    .why-choose-us,
    .about,
    .portfolio,
    .team,
    .contact {
        padding: 80px 0;
    }

    /* Hero section - shorter in landscape */
    .hero {
        min-height: 60vh;
    }

    /* Stats section */
    .stats {
        padding: 60px 0;
    }
}

/* Portrait orientation for desktop site mode */
@media (min-width: 1024px) and (orientation: portrait) {
    /* Maintain normal desktop spacing in portrait */
    section {
        padding: 100px 0;
    }

    .services,
    .why-choose-us,
    .about,
    .portfolio,
    .team,
    .contact {
        padding: 100px 0;
    }
}
