/* ============================================
   Ecommerce Mineral Business Consultancy
   Modern App-First Stylesheet
   ============================================ */

/* CSS Variables */
:root {
    --primary: #1E3A5F;
    --primary-dark: #152A45;
    --primary-light: #2A4A73;
    --accent: #D4A843;
    --accent-hover: #B8922E;

    --bg: #F0F2F5;
    --bg-white: #FFFFFF;
    --surface: #FFFFFF;
    --surface-elevated: #FFFFFF;

    --text: #1F2937;
    --text-secondary: #6B7280;
    --text-muted: #9CA3AF;

    --border: #E5E7EB;
    --border-light: #F3F4F6;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);

    --header-height: 64px;
    --header-height-mobile: 56px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Montserrat, Montserrat, Montserrat, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overscroll-behavior-y: none;
    padding-bottom: 90px;
}

@supports (-webkit-touch-callout: none) {
    body {
        -webkit-overflow-scrolling: touch;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
    letter-spacing: -0.02em;
}

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

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

/* Utility */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.section-padding {
    padding: 4rem 0;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    min-height: 44px;
    min-width: 44px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.btn-accent:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: var(--surface);
    color: var(--primary);
    border: 2px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: var(--border-light);
}

/* Section titles */
.section-title {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    margin: 0.75rem auto 0;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

/* ============================================
   Header & Navigation - Pill Style
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    padding-top: 28px;
    padding-bottom: 10px;
    transition: var(--transition);
    animation: headerSlideDown 0.5s ease forwards;
    overflow: visible;
}

.site-header.scrolled {
    background: rgba(21, 42, 69, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}

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

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    padding: 8px 18px;
    border-radius: 16px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.95);
}

.logo img {
    height: 36px;
    width: auto;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.1));
}


/* Footer Logo — now managed in footer.html inline styles */
.footer-logo {
    display: inline-block;
    margin-bottom: 0.75rem;
    text-decoration: none;
}

/* Pill Navigation */
.pill-nav {
    display: none;
}

.pill-nav-list {
    position: relative;
    display: flex;
    list-style: none;
    background: #fff;
    border-radius: 20px;
    padding: 0 0.5rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12), 0 1px 3px rgba(0,0,0,0.08);
    height: 58px;
}

.pill-nav-item {
    position: relative;
    width: 68px;
    height: 58px;
    z-index: 2;
}

.pill-nav-item a {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--text);
    text-decoration: none;
}

.pill-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pill-icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.pill-text {
    position: absolute;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--text-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(10px);
    bottom: 6px;
}

.pill-nav-item.active .pill-icon {
    transform: translateY(-24px);
    color: #fff;
}

.pill-nav-item.active .pill-text {
    opacity: 1;
    transform: translateY(0);
    color: var(--text);
    font-weight: 600;
}

/* Green indicator with notch effect */
.pill-indicator {
    position: absolute;
    top: -26px;
    left: 0;
    width: 54px;
    height: 54px;
    background: #22c55e;
    border-radius: 50%;
    border: 4px solid var(--primary-dark);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    pointer-events: none;
}

.pill-indicator::before,
.pill-indicator::after {
    content: '';
    position: absolute;
    top: 53%;
    width: 14px;
    height: 14px;
    background: transparent;
}

.pill-indicator::before {
    left: -13px;
    border-top-right-radius: 14px;
    box-shadow: 1px -5px 0 0 var(--primary-dark);
}

.pill-indicator::after {
    right: -13px;
    border-top-left-radius: 14px;
    box-shadow: -1px -5px 0 0 var(--primary-dark);
}

.pill-nav-item.active {
    background: rgba(34, 197, 94, 0.08);
    border-radius: 12px;
}

.nav-cta-desktop {
    padding: 0.55rem 1.4rem;
    font-size: 0.85rem;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Mobile Bottom Navigation */
.mobile-pill-nav {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px 15px 20px;
}

.mobile-pill-list {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    background: #fff;
    border-radius: 20px;
    padding: 0 0.5rem;
    margin: 0 auto;
    max-width: 380px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    pointer-events: all;
    height: 56px;
}

.mobile-pill-list li {
    position: relative;
    flex: 1;
    height: 100%;
    z-index: 2;
}

.mobile-pill-list li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text);
    text-decoration: none;
}

.mp-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mp-icon svg {
    width: 20px;
    height: 20px;
}

.mp-text {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--text-light);
    margin-top: 4px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-pill-list li.active {
    background: rgba(34, 197, 94, 0.08);
    border-radius: 10px;
}

.mobile-pill-list li.active .mp-icon {
    transform: translateY(-22px);
    color: #fff;
}

.mobile-pill-list li.active .mp-text {
    color: var(--text);
    font-weight: 600;
}

.mp-indicator {
    position: absolute;
    top: -24px;
    left: 0;
    width: 50px;
    height: 50px;
    background: #22c55e;
    border-radius: 50%;
    border: 4px solid rgba(15, 23, 42, 0.95);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    pointer-events: none;
}

.mp-indicator::before,
.mp-indicator::after {
    content: '';
    position: absolute;
    top: 53%;
    width: 13px;
    height: 13px;
    background: transparent;
}

.mp-indicator::before {
    left: -13px;
    border-top-right-radius: 13px;
    box-shadow: 2px -5px 0 0 rgba(15, 23, 42, 0.95);
}

.mp-indicator::after {
    right: -13px;
    border-top-left-radius: 13px;
    box-shadow: -2px -5px 0 0 rgba(15, 23, 42, 0.95);
}

/* ============================================
   Hero Banner
   ============================================ */
.hero {
    position: relative;
    color: #fff;
    padding: 14rem 0 8rem;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
    margin-top: -100px;
}

/* Background Video + Image Container */
.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

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

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://ecommercemineral-in-242244.hostingersite.com/wp-content/uploads/2026/04/Rugs-Category.mp4');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.85) 0%, rgba(21, 42, 69, 0.75) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    animation: heroFadeIn 1s ease-out 0.3s both;
}

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

.hero h1 {
    font-size: 2.75rem;
    color: #fff;
    margin-bottom: 1.25rem;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero .tagline {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    max-width: 450px;
    margin: 0 auto;
}

.hero .btn {
    width: 100%;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.hero .btn-outline {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.4);
    color: #fff;
    backdrop-filter: blur(4px);
}

.hero .btn-outline:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.6);
}

/* ============================================
   Cards - App Style
   ============================================ */
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-light);
    text-align: left;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ============================================
   Stats
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   Image Grid
   ============================================ */
.image-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.image-grid img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* ============================================
   Website Showcase
   ============================================ */
.showcase-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.showcase-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    background: #f1f3f6;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.showcase-item img {
    width: 100%;
    height: auto;
    max-height: 240px;
    object-fit: contain;
    display: block;
    padding: 0.75rem;
}

.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(30, 58, 95, 0.92) 0%, rgba(30, 58, 95, 0.4) 60%, transparent 100%);
    padding: 2rem 1rem 1rem;
    color: #fff;
}

.showcase-overlay h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.showcase-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: var(--accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.3rem 0.6rem;
    border-radius: var(--radius-full);
}

/* ============================================
   Timeline
   ============================================ */
.timeline {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    padding: 1.5rem 0 2.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--border);
    -webkit-overflow-scrolling: touch;
}

.timeline::-webkit-scrollbar {
    height: 4px;
}

.timeline::-webkit-scrollbar-track {
    background: var(--border);
    border-radius: 2px;
}

.timeline::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 2px;
}

.timeline-item {
    flex: 0 0 260px;
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    position: relative;
    border-top: 3px solid var(--accent);
}

.timeline-year {
    font-size: 1.25rem;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.timeline-item h4 {
    font-size: 1rem;
    margin-bottom: 0.375rem;
}

.timeline-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ============================================
   Team
   ============================================ */
.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.team-member {
    text-align: center;
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 0.75rem;
    border: 3px solid var(--bg);
    box-shadow: var(--shadow);
}

.team-member h4 {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.team-member span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ============================================
   Services List
   ============================================ */
.service-detail {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

.service-list {
    list-style: none;
    margin: 1.25rem 0;
}

.service-list li {
    padding: 0.625rem 0;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.95rem;
}

.service-list li::before {
    content: '✓';
    color: var(--accent);
    font-weight: bold;
    font-size: 1rem;
}

/* ============================================
   Calculator
   ============================================ */
.calculator-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    max-width: 100%;
    margin: 0 auto;
}

.calc-group {
    margin-bottom: 1rem;
}

.calc-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.375rem;
}

.calc-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    background: var(--bg);
}

.calc-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

.calc-result {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    margin-top: 1.25rem;
    text-align: center;
}

.calc-result h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.calc-result .value {
    font-size: 2rem;
    font-weight: 700;
}

/* ============================================
   Case Studies / Charts
   ============================================ */
.chart-bar {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

.bar-visual {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    height: 200px;
    padding: 1rem 0;
    border-bottom: 2px solid var(--border);
    margin-bottom: 1rem;
}

.bar {
    flex: 1;
    background: linear-gradient(to top, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 4px 4px 0 0;
    position: relative;
    transition: height 1s ease-out;
    min-height: 20px;
}

.bar.accent {
    background: linear-gradient(to top, var(--accent) 0%, var(--accent-hover) 100%);
}

.bar-label {
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

.bar-value {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
}

/* ============================================
   Testimonial Carousel
   ============================================ */
.testimonial-carousel {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-item {
    min-width: 100%;
    padding: 1.5rem;
    text-align: center;
}

.testimonial-item img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 0.75rem;
    border: 3px solid var(--accent);
}

.testimonial-item blockquote {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.6;
    font-style: italic;
}

.testimonial-item h4 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.testimonial-item span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    min-height: 10px;
    min-width: 10px;
}

.carousel-dot.active {
    background: var(--accent);
    transform: scale(1.2);
}

/* ============================================
   Contact Page
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.contact-form,
.contact-info-block {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.contact-form .form-group {
    margin-bottom: 1rem;
}

.contact-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.375rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 240px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   Breadcrumbs
   ============================================ */
.breadcrumbs {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
}

.breadcrumbs ol {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
    overflow-x: auto;
    white-space: nowrap;
}

.breadcrumbs a {
    color: var(--text-secondary);
}

.breadcrumbs a:hover {
    color: var(--primary);
}

.breadcrumbs li:not(:last-child)::after {
    content: '›';
    margin-left: 0.5rem;
    color: var(--text-secondary);
}

.breadcrumbs li:last-child {
    color: var(--primary);
    font-weight: 500;
}

/* Footer styles now managed inline in footer.html */
/* This section intentionally left empty - see footer.html for styles */

/* ============================================
   Animations
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ============================================
    Small Mobile (<= 375px)
    ============================================ */
@media (max-width: 375px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero .tagline {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }
}

/* ============================================
    Landscape Mobile
    ============================================ */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 120vh;
        padding: 12rem 0 6rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

/* ============================================
    Tablet (576px - 767px)
    ============================================ */
@media (min-width: 576px) and (max-width: 767px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .image-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-buttons {
        flex-direction: row;
    }

    .hero .btn {
        width: auto;
        min-width: 160px;
    }
}

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

/* ============================================
    Focus Styles (Accessibility)
    ============================================ */
*:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ============================================
    Desktop (768px and up)
    ============================================ */
/* Mobile Responsive Logo */
@media (max-width: 767px) {
    .logo {
        padding: 6px 12px;
        gap: 0.5rem;
    }
    
    .logo img {
        height: 30px;
    }
    
}

@media (min-width: 768px) {
    :root {
        --header-height: 64px;
    }

    .container {
        padding: 0 1.5rem;
    }

    .section-padding {
        padding: 5rem 0;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    /* Header */
    .site-header {
        padding-top: 28px;
        padding-bottom: 10px;
    }

    .header-inner {
        padding: 0 1.5rem;
    }

    .logo img {
        height: 38px;
    }

    .pill-nav {
        display: block;
    }

    .mobile-pill-nav {
        display: none !important;
    }

    body {
        padding-bottom: 0;
    }

    /* Hero - Desktop */
    .hero {
        min-height: 80vh;
        padding: 16rem 0 8rem;
        margin-top: -120px;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .hero .tagline {
        font-size: 1.75rem;
    }

    .hero-description {
        font-size: 1.15rem;
    }

    .hero-buttons {
        flex-direction: row;
        gap: 1.5rem;
    }

    .hero .btn {
        width: auto;
        min-width: 180px;
    }

    /* Cards */
    .card-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 1.5rem;
    }

    .card {
        padding: 2rem;
        text-align: center;
    }

    .card-icon {
        margin: 0 auto 1.25rem;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    /* Image Grid */
    .image-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 1.25rem;
    }

    .image-grid img {
        height: 220px;
    }

    /* Showcase */
    .showcase-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 1.25rem;
    }

    /* Timeline */
    .timeline {
        gap: 1.5rem;
        padding: 2rem 0 3rem;
    }

    .timeline-item {
        flex: 0 0 280px;
        padding: 2rem;
        border-top: 4px solid var(--accent);
    }

    .timeline-year {
        font-size: 1.5rem;
    }

    /* Team */
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .team-member {
        padding: 2rem 1.5rem;
    }

    .team-member img {
        width: 140px;
        height: 140px;
    }

    /* Services */
    .service-detail {
        padding: 2.5rem;
        margin-bottom: 2rem;
    }

    /* Charts */
    .chart-bar {
        padding: 2rem;
        margin-bottom: 2rem;
    }

    .bar-visual {
        height: 250px;
        gap: 1.5rem;
    }

    .bar {
        border-radius: 6px 6px 0 0;
    }

    /* Testimonials */
    .testimonial-item {
        padding: 2rem;
    }

    .testimonial-item img {
        width: 80px;
        height: 80px;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .contact-form,
    .contact-info-block {
        padding: 2rem;
    }

    .map-container {
        height: 300px;
    }

    /* Calculator */
    .calculator-card {
        padding: 2rem;
        max-width: 600px;
    }

    /* Footer */
    .site-footer {
        border-radius: 0;
        margin-top: 0;
        background-color: #1F2937;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
        gap: 3rem;
        padding: 0 1.5rem 3rem;
    }
}

/* ============================================
   Large Desktop (1024px and up)
   ============================================ */
@media (min-width: 1024px) {
    .hero h1 {
        font-size: 4.5rem;
    }
}

/* ============================================
   Advanced Client Showcase Section
   ============================================ */

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 1rem;
}

.showcase-card {
    perspective: 1200px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.showcase-card:hover {
    transform: translateY(-8px);
}

.browser-mockup {
    background: #f8fafc;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.showcase-card:hover .browser-mockup {
    box-shadow: 0 20px 60px rgba(30, 58, 95, 0.18);
    transform: rotateX(2deg) scale(1.02);
}

.browser-header {
    background: #e2e8f0;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #cbd5e1;
}

.browser-dots {
    display: flex;
    gap: 8px;
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff5f57;
}

.browser-dots span:nth-child(2) {
    background: #ffbd2e;
}

.browser-dots span:nth-child(3) {
    background: #28ca42;
}

.browser-url {
    flex: 1;
    background: #ffffff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    color: #64748b;
    font-family: monospace;
    text-align: center;
}

.browser-content {
    padding: 0;
    overflow: hidden;
}

.browser-content img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: top center;
    transition: all 6s ease-out;
    display: block;
}

.showcase-card:hover .browser-content img {
    object-position: bottom center;
}

.showcase-info {
    padding: 1.25rem 0 0.5rem;
    text-align: center;
}

.showcase-info h4 {
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
    color: var(--primary);
}

.showcase-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.showcase-btn {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.showcase-card:hover .showcase-btn {
    opacity: 1;
    transform: translateY(0);
}

/* Client Logo Marquee */
.logo-marquee {
    overflow: hidden;
    padding: 1rem 0;
    position: relative;
}

.logo-marquee::before,
.logo-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.logo-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-white), transparent);
}

.logo-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-white), transparent);
}

.logo-track {
    display: flex;
    gap: 4rem;
    animation: marquee 28s linear infinite;
    width: fit-content;
}

.logo-item {
    flex-shrink: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.3s ease;
    white-space: nowrap;
}

.logo-item:hover {
    color: var(--primary);
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Responsive Showcase */
@media (min-width: 640px) {
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .showcase-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
    
    .browser-content img {
        height: 260px;
    }
}
/* ============================================
   Video Carousel - Text below video, no shadow, animated
   ============================================ */

.vc-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin: 2rem auto;
    max-width: 1200px;
    width: 100%;
}
/*
.vc-carousel-btn {
    background: rgba(20, 20, 35, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 2rem;
    font-weight: bold;
    width: 48px;
    height: 48px;
    border-radius: 60px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 10;
}

.vc-carousel-btn:hover {
    background: rgba(210, 180, 255, 0.35);
    border-color: rgba(210, 180, 255, 0.8);
    transform: scale(1.05);
}*/
/* Hide carousel navigation buttons */
.vc-carousel {
    flex: 1;
    overflow: hidden;
    border-radius: 32px;
    width: 100%;
}

.vc-carousel-track {
    display: flex;
    gap: 28px;
    transition: transform 0.45s cubic-bezier(0.25, 0.92, 0.4, 1);
    will-change: transform;
}

/* Slide item – video + text below */
.vc-slide-item {
    flex: 0 0 auto;
    width: 320px;
    background: transparent;
    border-radius: 20px;
    overflow: visible;
}

.vc-slide-video-wrapper {
    width: 100%;
    height: 250px;
    border-radius: 20px;
    overflow: hidden;
    transform: perspective(1000px) rotateY(-4deg);
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    box-shadow: none; /* No shadow */
    background: #f0f0f0;
}

.vc-slide-item:hover .vc-slide-video-wrapper {
    transform: perspective(1000px) rotateY(0deg) scale(1.02) translateY(-6px);
}

.vc-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.vc-slide-item:hover .vc-video {
    transform: scale(1.02);
}

/* Text container below video – animated fade-in on scroll */
.vc-slide-text {
    margin-top: 12px;
    text-align: center;
    padding: 0 5px;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.vc-slide-text.animated {
    opacity: 1;
    transform: translateY(0);
}

.vc-slide-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary, #1E3A5F);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.vc-slide-title span {
    background: rgba(212, 168, 67, 0.2);
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 40px;
    color: var(--accent, #D4A843);
}

.vc-slide-desc {
    font-size: 0.7rem;
    color: var(--text-secondary, #6B7280);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.vc-slide-desc i {
    font-style: normal;
    background: rgba(0, 0, 0, 0.05);
    padding: 2px 6px;
    border-radius: 20px;
}

.vc-carousel-note {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.7rem;
    color: rgba(0,0,0,0.4);
    font-weight: 300;
}

/* Responsive */
@media (max-width: 768px) {
    .vc-carousel-btn {
        display: none !important;
    }
    .vc-slide-item {
        width: 260px;
    }
    .vc-slide-video-wrapper {
        height: 200px;
    }
    .vc-carousel-track {
        gap: 18px;
    }
    .vc-slide-title {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .vc-slide-item {
        width: 220px;
    }
    .vc-slide-video-wrapper {
        height: 170px;
    }
    .vc-carousel-track {
        gap: 14px;
    }
    .vc-carousel-btn {
        display: none !important;
    }
}

/* Modal for enlarged video */
.vc-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.vc-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.vc-modal-content video {
    width: 100%;
    height: auto;
    display: block;
}

.vc-close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
    font-weight: bold;
}

@media (max-width: 768px) {
    .vc-modal-content {
        width: 95%;
    }
    .vc-close-modal {
        top: -35px;
        font-size: 1.8rem;
    }
}



