/* ================================================================
   GeM Tender Service — Full Responsive Stylesheet
   Mobile-First | Cross-Browser | All Devices
   Breakpoints: 360px | 480px | 640px | 768px | 900px | 1024px | 1200px
   ================================================================ */

/* ================================================================
   CSS CUSTOM PROPERTIES
   ================================================================ */
:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --accent-glow: rgba(245, 158, 11, 0.5);
    --tech-blue: #3b82f6;
    --tech-purple: #8b5cf6;
    --gradient-digital: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --text-main: #334155;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --container-width: 1200px;
    --header-height: 70px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --transition: all 0.3s ease;
}

/* ================================================================
   RESET & BASE
   ================================================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
    font-family: 'Outfit', 'Inter', sans-serif;
    color: var(--primary);
    line-height: 1.2;
    word-break: break-word;
    overflow-wrap: break-word;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
}

ul { list-style: none; }

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

input, textarea, select, button {
    font-family: inherit;
    font-size: inherit;
}

/* Prevent horizontal overflow */
section, footer, header, nav, div {
    max-width: 100%;
}

/* ================================================================
   UTILITIES
   ================================================================ */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.highlight {
    color: var(--accent);
    position: relative;
    display: inline;
}

.section {
    padding: 4rem 0;
}

.subtitle {
    display: inline-block;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    margin-bottom: 0.75rem;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-light);
    font-size: 1rem;
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    text-align: center;
    border: 2px solid transparent;
    -webkit-appearance: none;
    appearance: none;
    text-decoration: none;
    line-height: 1.4;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(245,158,11,0.35);
}

.btn-primary:hover,
.btn-primary:focus {
    box-shadow: 0 6px 20px rgba(245,158,11,0.5);
    transform: translateY(-2px);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.35);
    color: var(--white);
}

.btn-outline:hover,
.btn-outline:focus {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(255,255,255,0.05);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-white:hover { background: var(--bg-light); }

/* ================================================================
   NAVBAR
   ================================================================ */
.navbar {
    height: var(--header-height);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: var(--transition);
}

.nav-container {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.2rem, 3vw, 1.7rem);
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Phone in header */
/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary);
    cursor: pointer;
    padding: 0.4rem;
    flex-shrink: 0;
    line-height: 1;
    -webkit-tap-highlight-color: transparent;
    border-radius: var(--radius-sm);
}

/* Desktop nav links */
.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-left: auto;
}

.nav-links > li > a:not(.btn) {
    font-weight: 500;
    color: var(--text-main);
    font-size: 0.9rem;
    padding: 0.3rem 0;
    white-space: nowrap;
}

.nav-links > li > a:not(.btn):hover,
.nav-links > li > a:not(.btn).active-link {
    color: var(--accent);
}

/* Dropdown */
.dropdown {
    position: relative;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.dropdown-trigger ion-icon {
    font-size: 0.9rem;
    transition: transform 0.3s;
}

.dropdown:hover .dropdown-trigger ion-icon,
.dropdown.active .dropdown-trigger ion-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    background: var(--white);
    min-width: 240px;
    padding: 0.75rem 0;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.06);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.16,1,0.3,1);
    z-index: 1100;
    pointer-events: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: all;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px; height: 12px;
    background: var(--white);
    border-left: 1px solid rgba(0,0,0,0.06);
    border-top: 1px solid rgba(0,0,0,0.06);
}

.dropdown-menu a {
    display: block;
    padding: 0.7rem 1.5rem;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--accent);
    padding-left: 1.8rem;
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
    min-height: 100vh;
    padding-top: var(--header-height);
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(59,130,246,0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(245,158,11,0.1) 0%, transparent 40%);
    z-index: 0;
    animation: pulseBg 10s ease-in-out infinite alternate;
}

@keyframes pulseBg {
    0%   { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.1); opacity: 1; }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 3rem 0;
}

.hero-text h1 {
    font-size: clamp(1.8rem, 4.5vw, 3.8rem);
    color: var(--white);
    margin-bottom: 1.25rem;
    line-height: 1.1;
    font-weight: 700;
    background: -webkit-linear-gradient(right, #fff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text h1 .highlight {
    -webkit-text-fill-color: var(--accent);
    background: none;
}

.hero-text > p {
    color: rgba(255,255,255,0.85);
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.badge {
    background: rgba(255,255,255,0.1);
    color: var(--accent);
    padding: 0.45rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(245,158,11,0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: inline-block;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.3rem;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 520px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blob-animate {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary-light), transparent 70%);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.8;
    pointer-events: none;
}

/* Glass Cards */
.glass-morph {
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: inset 0 0 20px rgba(255,255,255,0.02), 0 20px 40px rgba(0,0,0,0.3);
}

.visual-card {
    padding: 2rem;
    border-radius: var(--radius-xl);
    width: 240px;
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.visual-card:first-child {
    transform: translate(-50px,-50px);
    z-index: 2;
}

.visual-card.floating {
    transform: translate(50px, 50px);
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

.visual-card h3 { color: var(--white); font-size: 1rem; margin-bottom: 0.25rem; }
.visual-card p  { color: rgba(255,255,255,0.7); font-size: 0.85rem; }

@keyframes float {
    0%, 100% { transform: translate(50px, 50px); }
    50%       { transform: translate(50px, 32px); }
}

.card-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
    filter: drop-shadow(0 0 10px rgba(245,158,11,0.4));
}

/* ================================================================
   LOGO STRIP
   ================================================================ */
.logo-strip {
    background: var(--primary-light);
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
}

.logo-strip .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.logo-strip p {
    color: #94a3b8;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    white-space: nowrap;
}

.logo-strip .logos {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.platform-logo {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--white);
    font-weight: 500;
    font-size: 1rem;
    opacity: 0.7;
    transition: var(--transition);
}

.platform-logo:hover { opacity: 1; color: var(--accent); transform: translateY(-2px); }
.platform-logo ion-icon { font-size: 1.4rem; }

/* ================================================================
   SERVICES GRID
   ================================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.service-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    transition: all 0.35s cubic-bezier(0.175,0.885,0.32,1.275);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(245,158,11,0.3);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before { transform: scaleX(1); }

.service-card h3 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.service-card p  { color: var(--text-light); font-size: 0.93rem; line-height: 1.6; }

.icon-box {
    width: 62px;
    height: 62px;
    background: #fffbeb;
    color: var(--accent);
    border-radius: var(--radius-md);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    margin-bottom: 1.25rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.service-card:hover .icon-box { background: var(--accent); color: var(--white); transform: rotate(5deg); }

.highlight-card:hover  { border-color: rgba(59,130,246,0.3); }
.highlight-card::before { background: var(--gradient-digital); }
.gradient-icon { background: #eff6ff; color: var(--tech-blue); }
.highlight-card:hover .gradient-icon { background: var(--gradient-digital); color: var(--white); }

/* ================================================================
   PROCESS GRID
   ================================================================ */
.process-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.process-content h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); margin-bottom: 1rem; }
.process-content p  { color: var(--text-light); }

.process-image {
    width: 100%;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.img-placeholder {
    width: 100%;
    height: 420px;
    border-radius: var(--radius-xl);
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.img-placeholder::after {
    content: '';
    position: absolute;
    bottom: -20px; right: -20px;
    width: 160px; height: 160px;
    background-image: radial-gradient(var(--accent) 1px, transparent 1px);
    background-size: 18px 18px;
    opacity: 0.25;
    z-index: -1;
    border-radius: var(--radius-xl);
}

.process-list { margin-top: 1.5rem; }

.process-list li {
    background: var(--bg-light);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.25rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    transition: transform 0.3s;
}

.process-list li:hover {
    transform: translateX(8px);
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.process-list h4 { font-size: 1rem; margin-bottom: 0.3rem; }
.process-list p  { font-size: 0.9rem; color: var(--text-light); }

.list-icon {
    font-size: 1.5rem;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

/* ================================================================
   STEP CARDS
   ================================================================ */
.step-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-md);
    position: relative;
    border: 1px solid #e2e8f0;
    transition: var(--transition);
    overflow: hidden;
}

.step-card:hover { box-shadow: var(--shadow-md); border-color: var(--accent); }

.step-number {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--bg-light);
    position: absolute;
    top: 1rem; right: 1.25rem;
    z-index: 0;
    user-select: none;
    line-height: 1;
}

.step-content { position: relative; z-index: 1; }
.step-content h4, .step-content h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.step-content p  { font-size: 0.9rem; color: var(--text-light); }

/* ================================================================
   CHECKLIST ITEMS
   ================================================================ */
.checklist-item {
    background: var(--white);
    padding: 0.9rem 1.25rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary);
    transition: transform 0.2s;
    border-left: 4px solid var(--accent);
    margin-bottom: 0.75rem;
}

.checklist-item:hover { transform: translateX(5px); }
.checklist-item ion-icon { flex-shrink: 0; font-size: 1.4rem; }

/* ================================================================
   DOC CARDS
   ================================================================ */
.doc-card, .service-detail-card {
    background: var(--white);
    padding: 1.75rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px dashed #cbd5e1;
    text-align: center;
    transition: var(--transition);
}

.doc-card:hover, .service-detail-card:hover {
    border-color: var(--accent);
    background: #fffbeb;
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-style: solid;
}

.doc-card h4 { font-size: 1rem; margin-bottom: 0.4rem; }
.doc-card p  { font-size: 0.85rem; color: var(--text-light); }

/* ================================================================
   CHALLENGE CARDS
   ================================================================ */
.challenge-card {
    background: rgba(255,255,255,0.95);
    border-left: 4px solid #DC2626;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s;
}

.challenge-card:hover { transform: translateY(-5px); }
.challenge-card h3 { font-size: 1.05rem; }
.challenge-card p  { font-size: 0.93rem; line-height: 1.6; }

.challenge-icon-box {
    background: #FEE2E2;
    color: #DC2626;
    width: 56px; height: 56px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
    background: var(--primary);
    color: #94a3b8;
    padding: 4rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    color: var(--white);
    margin-bottom: 1rem;
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
}

.footer-brand p { font-size: 0.9rem; line-height: 1.7; }

.footer h4 {
    color: var(--white);
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-links a { font-size: 0.9rem; transition: var(--transition); }
.footer-links a:hover { color: var(--accent); padding-left: 5px; }

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-contact ion-icon { flex-shrink: 0; font-size: 1.1rem; margin-top: 0.1rem; }
.footer-contact a { transition: var(--transition); }
.footer-contact a:hover { color: var(--accent); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
}

.footer-social { display: flex; gap: 0.9rem; margin-top: 1.25rem; flex-wrap: wrap; }
.footer-social a {
    font-size: 1.4rem;
    transition: var(--transition);
    color: #94a3b8;
    display: inline-flex;
}
.footer-social a:hover { color: var(--accent) !important; transform: translateY(-3px); }

/* ================================================================
   MAP SECTION
   ================================================================ */
.map-section { width: 100%; overflow: hidden; }
.map-section iframe { display: block; width: 100%; }

/* ================================================================
   CTA SECTION
   ================================================================ */
.cta-section { padding: 4rem 0; }

.cta-box {
    background: var(--gradient-hero);
    color: var(--white);
    padding: 4rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
}

.cta-box h2 { color: var(--white); font-size: clamp(1.6rem, 3.5vw, 2.5rem); margin-bottom: 1rem; }
.cta-box p  { color: rgba(255,255,255,0.85); margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ================================================================
   WHATSAPP & PHONE FLOATING BUTTONS
   ================================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 85px;
    right: 20px;
    width: 54px; height: 54px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    box-shadow: 0 4px 20px rgba(37,211,102,0.5);
    z-index: 9999;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: pulse-whatsapp 2.5s infinite;
}

.whatsapp-float:hover { transform: scale(1.12); box-shadow: 0 6px 28px rgba(37,211,102,0.7); }

.whatsapp-tooltip {
    position: absolute;
    right: 62px;
    background: #25D366;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    white-space: nowrap;
    font-weight: 500;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    box-shadow: var(--shadow-md);
}

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

@keyframes pulse-whatsapp {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5); }
    50%       { box-shadow: 0 4px 28px rgba(37,211,102,0.8), 0 0 0 8px rgba(37,211,102,0.1); }
}

/* ================================================================
   BREADCRUMB
   ================================================================ */
nav[aria-label="Breadcrumb"] {
    background: var(--bg-light);
    border-bottom: 1px solid #e2e8f0;
    padding: 0.7rem 0;
}

nav[aria-label="Breadcrumb"] ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none;
    font-size: 0.88rem;
    color: var(--text-light);
    align-items: center;
}

nav[aria-label="Breadcrumb"] ol a { color: var(--accent); }
nav[aria-label="Breadcrumb"] ol a:hover { text-decoration: underline; }

/* ================================================================
   CATEGORY TITLE
   ================================================================ */
.category-title {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.category-title::after {
    content: '';
    display: block;
    width: 60%;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
    margin-top: 0.5rem;
}

/* City Tags hover */
a[title^="GeM consultant"] {
    display: inline-block;
    transition: var(--transition);
}
a[title^="GeM consultant"]:hover {
    background: var(--accent) !important;
    color: white !important;
    border-color: var(--accent) !important;
    transform: translateY(-2px);
}

/* ================================================================
   ================================================================
   RESPONSIVE BREAKPOINTS (Mobile-First)
   ================================================================
   ================================================================ */

/* ── Large Desktop: 1200px+ ── */
@media (min-width: 1200px) {
    .container { padding: 0 2rem; }
    .section { padding: 5.5rem 0; }
    .hero-content { gap: 4rem; }
    .services-grid { grid-template-columns: repeat(4, 1fr); }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
}

/* ── Small Desktop: 1024px–1199px ── */
@media (min-width: 1024px) and (max-width: 1199px) {
    .container { padding: 0 1.75rem; }
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2rem; }
    .hero-text h1 { font-size: 3rem; }
}

/* ── Tablet Landscape: 900px–1023px ── */
@media (min-width: 900px) and (max-width: 1023px) {
    .container { padding: 0 1.5rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer-brand { grid-column: 1 / -1; }
    .process-grid { gap: 2.5rem; }
    .hero-text h1 { font-size: 2.8rem; }
    .hero-visual { height: 440px; }
    .nav-links { gap: 1rem; }
    }

/* ── Tablet Portrait & Mobile: max 900px ── */
@media (max-width: 900px) {
    :root { --header-height: 65px; }

    .container { padding: 0 1.25rem; }
    .section { padding: 3rem 0; }

    /* NAVBAR */
    .mobile-menu-btn { display: flex; align-items: center; }

    .nav-links {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem 1.25rem 2rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        align-items: flex-start;
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
        gap: 0;
        margin-left: 0;
        z-index: 999;
        -webkit-overflow-scrolling: touch;
    }

    .nav-links.active { display: flex; }

    .nav-links > li {
        width: 100%;
        border-bottom: 1px solid #f1f5f9;
    }

    .nav-links > li > a:not(.btn) {
        display: block;
        padding: 0.9rem 0.5rem;
        font-size: 1rem;
        color: var(--primary);
    }

    .nav-links > li:last-child {
        border-bottom: none;
        padding: 1rem 0;
    }

    .nav-links > li > a.btn {
        width: 100%;
        justify-content: center;
        padding: 0.9rem;
    }

    /* Mobile Dropdown */
    .dropdown {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        width: 100%;
    }

    .dropdown-trigger {
        width: 100%;
        padding: 0.9rem 0.5rem;
        justify-content: space-between;
        font-size: 1rem;
        color: var(--primary);
        font-weight: 500;
    }

    .dropdown-menu {
        position: static;
        transform: none !important;
        box-shadow: none;
        border: none;
        border-left: 3px solid var(--accent);
        margin: 0 0 0.5rem 1rem;
        padding: 0.5rem 0;
        opacity: 1;
        visibility: visible;
        display: none;
        width: calc(100% - 1rem);
        background: var(--bg-light);
        border-radius: 0;
        pointer-events: all;
    }

    .dropdown.active .dropdown-menu { display: block; }
    .dropdown-menu::before { display: none; }

    .dropdown-menu a {
        padding: 0.65rem 1rem;
        font-size: 0.95rem;
        white-space: normal;
        color: var(--text-main);
    }

    .dropdown-menu a:hover { padding-left: 1.3rem; }

    /* HERO */
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2rem 0 2.5rem;
        gap: 2rem;
    }

    .hero-btns { justify-content: center; }

    .stats { justify-content: center; gap: 1.5rem; }

    .hero-visual {
        height: 280px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .visual-card {
        width: 170px;
        padding: 1.2rem;
    }

    .visual-card:first-child { transform: translate(-35px,-35px); }
    .visual-card.floating    { transform: translate(35px, 35px); }

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

    .blob-animate { width: 300px; height: 300px; }

    /* SERVICES */
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }

    /* PROCESS GRID */
    .process-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .process-image { order: 2; }
    .process-content { order: 1; }

    .img-placeholder { height: 280px; border-radius: var(--radius-lg); }

    /* FOOTER */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand { grid-column: 1 / -1; }
}

/* ── Large Mobile: max 768px ── */
@media (max-width: 768px) {
    /* Inline grid overrides from PHP */
    .features-grid[style],
    div[style*="grid-template-columns: 1fr 1fr"],
    div[style*="grid-template-columns: 1fr 1.5fr"],
    div[style*="grid-template-columns: 1fr 2fr"],
    div[style*="grid-template-columns: 2fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    /* Stats inside about */
    div[style*="grid-template-columns: 1fr 1fr"][style*="gap: 2rem"] {
        grid-template-columns: 1fr 1fr !important;
    }
}

/* ── Mobile: max 640px ── */
@media (max-width: 640px) {
    .container { padding: 0 1rem; }
    .section { padding: 2.5rem 0; }

    /* Services single column */
    .services-grid { grid-template-columns: 1fr; gap: 1rem; }
    .service-card { padding: 1.75rem 1.5rem; }

    /* Hero */
    .hero {
        min-height: auto;
        padding-bottom: 2.5rem;
    }

    .hero-content { padding: 1.5rem 0; gap: 1.5rem; }
    .hero-text h1 { font-size: clamp(1.6rem, 7.5vw, 2.4rem); }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .hero-btns .btn {
        width: 100%;
        max-width: 300px;
    }

    .hero-visual { height: 230px; }

    .visual-card { width: 140px; padding: 1rem; }
    .visual-card h3  { font-size: 0.85rem; }
    .visual-card p   { font-size: 0.75rem; }
    .card-icon       { font-size: 2.2rem; margin-bottom: 0.5rem; }
    .blob-animate    { width: 230px; height: 230px; }

    /* Section header */
    .section-header { margin-bottom: 2rem; }

    /* Step cards */
    .step-card { padding: 1.5rem; }
    .step-number { font-size: 2rem; }

    /* Process list */
    .process-list li {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
    }
    .process-list li:hover { transform: none; }

    /* CTA */
    .cta-box { padding: 2.5rem 1.25rem; }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .footer { padding: 2.5rem 0 1.25rem; }
    .footer-bottom { font-size: 0.8rem; }
    .footer-bottom p + p { margin-top: 0.5rem; }

    /* Floating buttons */
    .whatsapp-float { width: 50px; height: 50px; font-size: 1.75rem; bottom: 76px; right: 15px; }
    .whatsapp-tooltip { display: none; }

    /* Map */
    .map-section iframe { height: 280px !important; }

    /* Logo strip */
    .logo-strip .container { flex-direction: column; gap: 0.75rem; }
    .logo-strip .logos { gap: 1rem; }
    .platform-logo { font-size: 0.9rem; }
    .platform-logo ion-icon { font-size: 1.2rem; }

    /* Contact form */
    .contact-form-wrapper { padding: 1.75rem 1.25rem !important; }

    /* Badge */
    .badge { font-size: 0.75rem; padding: 0.4rem 0.85rem; }

    /* Inline grids from PHP */
    div[style*="grid-template-columns: 2fr 1fr 1fr"],
    div[style*="grid-template-columns: 1fr 1fr; gap"],
    div[style*="repeat(3, 1fr)"],
    div[style*="repeat(auto-fit, minmax(220px"] {
        grid-template-columns: 1fr 1fr !important;
    }

    /* img-placeholder smaller */
    .img-placeholder { height: 220px; }
}

/* ── Small Mobile: max 480px ── */
@media (max-width: 480px) {
    :root { --header-height: 60px; }

    .container { padding: 0 0.9rem; }
    .logo-text { font-size: 1.2rem; }
    .hero-text h1 { font-size: clamp(1.45rem, 8vw, 2rem); }

    /* Stats 2×2 grid */
    .stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .stat-number { font-size: 1.6rem; }
    .stat-label  { font-size: 0.72rem; }

    /* Force all inline grids to 1 column */
    div[style*="grid-template-columns: 1fr 1fr"],
    div[style*="repeat(auto-fit, minmax(220px"],
    div[style*="repeat(auto-fit, minmax(180px"] {
        grid-template-columns: 1fr !important;
    }

    .hero-visual  { height: 195px; }
    .blob-animate { width: 195px; height: 195px; }

    .visual-card {
        width: 125px;
        padding: 0.85rem;
    }

    .visual-card:first-child { transform: translate(-25px,-25px); }
    .visual-card.floating    { transform: translate(25px, 25px); }

    @keyframes float {
        0%, 100% { transform: translate(25px, 25px); }
        50%       { transform: translate(25px, 12px); }
    }

    /* Buttons */
    .btn { padding: 0.7rem 1.2rem; font-size: 0.9rem; }

    .hero-btns .btn { max-width: 100%; }

    /* Doc cards 2 col on 480 */
    div[style*="minmax(220px, 1fr)"] { grid-template-columns: 1fr 1fr !important; }
    .doc-card { padding: 1.25rem 1rem; }

    /* Float buttons smaller */
    .whatsapp-float { bottom: 70px; right: 12px; width: 46px; height: 46px; font-size: 1.6rem; }
    /* Section header */
    .section-header { margin-bottom: 1.75rem; }
    .section-header h2 { font-size: clamp(1.3rem, 7vw, 1.8rem); }
}

/* ── Very Small Mobile: max 360px ── */
@media (max-width: 360px) {
    .container { padding: 0 0.75rem; }
    .logo-text { font-size: 1.1rem; }
    .hero-text h1 { font-size: 1.4rem; }
    .btn { padding: 0.65rem 1rem; font-size: 0.87rem; }
    .service-card  { padding: 1.5rem 1.1rem; }
    .step-card     { padding: 1.25rem; }
    .checklist-item { padding: 0.75rem 1rem; font-size: 0.88rem; }

    .visual-card {
        width: 110px;
        padding: 0.75rem;
    }

    .hero-visual { height: 170px; }
    .blob-animate { width: 170px; height: 170px; }

    /* Stats */
    .stat-number { font-size: 1.4rem; }
    .section-header h2 { font-size: 1.25rem; }
}

/* ================================================================
   CROSS-BROWSER FIXES
   ================================================================ */

/* Safari: fix backdrop-filter */
@supports not (backdrop-filter: blur(1px)) {
    .navbar    { background: rgba(255,255,255,0.98); }
    .glass-morph { background: rgba(15,23,42,0.88); }
    .badge     { background: rgba(0,0,0,0.3); }
}

/* Firefox */
@-moz-document url-prefix() {
    .navbar    { background: rgba(255,255,255,0.97); }
    .glass-morph { background: rgba(15,23,42,0.85); }
}

/* iOS Safari 100vh fix */
@supports (-webkit-touch-callout: none) {
    .hero      { min-height: -webkit-fill-available; }
}

/* Focus styles */
:focus:not(:focus-visible) { outline: none; }
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ================================================================
   ACCESSIBILITY - Reduced Motion
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.1ms !important;
        scroll-behavior: auto !important;
    }

    .whatsapp-float { animation: none; }
}

/* ================================================================
   PRINT STYLES
   ================================================================ */
@media print {
    .navbar,
    .whatsapp-float,
    .footer-social,
    .hero-visual,
    .blob-animate,
    .mobile-menu-btn,
    nav[aria-label="Breadcrumb"],
    .badge { display: none !important; }

    .hero { min-height: auto; padding: 2rem 0; background: white; color: #000; }
    .hero-content { grid-template-columns: 1fr; }
    .hero-text h1 { color: #000 !important; -webkit-text-fill-color: #000 !important; font-size: 1.8rem; }
    .hero-text p  { color: #333 !important; }

    body { font-size: 11pt; color: #000; background: white; }
    .section { padding: 1.5rem 0; }
    .service-card, .step-card { box-shadow: none; border: 1px solid #ccc; }
    a[href]::after { content: " (" attr(href) ")"; font-size: 0.8em; color: #666; }
}
