@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Roboto:wght@300;400;500;700&display=swap');

:root {
    --bg-dark-base: #ffffff;
    --bg-dark-deep: #f5f5f5;
    --bg-dark-card: #ffffff;
    --bg-dark-card-hover: #fcfcfc;
    --border-color: rgba(0, 0, 0, 0.08);
    --border-color-hover: rgba(0, 0, 0, 0.15);

    --primary: #0170B9;
    /* STB Micro Devices Pvt Ltd Blue */
    --primary-hover: #005c9a;
    --secondary: #DD4F3D;
    /* STB Micro Devices Pvt Ltd Red Accent */
    --secondary-hover: #c63d2b;
    --accent-glow: rgba(1, 112, 185, 0.12);
    --cyan-glow: rgba(221, 79, 61, 0.12);

    --text-main: #232629;
    --text-muted: #4b4f58;
    --text-dim: #7a828a;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1280px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark-base);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark-deep);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-dark-card);
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Typography Utilities */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

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

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

@media (min-width: 768px) {
    .section-padding {
        padding: 6rem 2rem;
    }
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
}

.text-gradient {
    background: linear-gradient(135deg, var(--text-main) 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-accent {
    color: var(--primary);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: #fff;
    box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.03);
    color: var(--text-main);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.06);
    border-color: var(--border-color-hover);
    transform: translateY(-2px);
}

.btn-cyan {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-hover));
    color: #ffffff;
    box-shadow: 0 4px 14px var(--cyan-glow);
}

.btn-cyan:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(221, 79, 61, 0.3);
}

/* Top bar utility */
.top-bar {
    background: var(--bg-dark-deep);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

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

/* Navigation Header */
header.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

header.main-header.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.35rem;
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0170B9;
    /* STB Micro Devices Corporate Blue */
}

.logo-link .text-accent {
    color: #0170B9;
    /* STB Micro Devices Corporate Blue */
}

.logo-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #0170B9, #38bdf8);
    /* Blue gradient */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(1, 112, 185, 0.35);
}

.logo-icon i {
    color: #ffffff !important;
}

.logo-img {
    height: 42px;
    /* Bigger logo size */
    width: auto;
    object-fit: contain;
    /* Precise filter to colorize transparent PNG/black to match #0170B9 */
    /* filter: brightness(0) saturate(100%) invert(38%) sepia(86%) saturate(1478%) hue-rotate(185deg) brightness(97%) contrast(102%); */
}

/* Navigation Links */
.desktop-nav {
    display: none;
}

@media (min-width: 1024px) {
    .desktop-nav {
        display: block;
    }

    .desktop-nav ul {
        display: flex;
        gap: 2rem;
        list-style: none;
    }

    .desktop-nav a {
        font-size: 0.95rem;
        font-weight: 500;
        padding: 0.5rem 0;
        border-bottom: 2px solid transparent;
    }

    .desktop-nav a:hover,
    .desktop-nav a.active {
        color: var(--primary);
        border-bottom-color: var(--primary);
    }
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Hamburger menu button */
.hamburger {
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
    display: block;
    width: 30px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 5px;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background: var(--text-main);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 1024px) {
    .hamburger {
        display: none;
    }
}

/* Mobile Side Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-dark-deep);
    border-left: 1px solid var(--border-color);
    z-index: 999;
    padding: 6rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

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

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-menu a {
    font-size: 1.15rem;
    font-family: var(--font-heading);
    font-weight: 600;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    color: var(--primary);
    padding-left: 0.5rem;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Page Header / Breadcrumb */
.page-banner {
    position: relative;
    padding: 6rem 1.5rem 4rem;
    background: linear-gradient(180deg, var(--bg-dark-deep) 0%, var(--bg-dark-base) 100%);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
    overflow: hidden;
}

.page-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.breadcrumbs {
    display: inline-flex;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

/* Glassmorphism Cards */
.glass-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.glass-card:hover {
    background: #ffffff;
    border-color: var(--border-color-hover);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 8rem 1.5rem 5rem;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    min-height: 80vh;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    /* Dark overlay to make white text legible on images */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.hero h1,
.hero p {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.6);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 2.8rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: #ffffff !important;
    /* Force pure white */
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 3.8rem;
    }
}

.hero p {
    font-size: 1.1rem;
    color: #ffffff !important;
    /* Force pure white */
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero .text-gradient {
    background: none !important;
    -webkit-text-fill-color: #ffffff !important;
    color: #ffffff !important;
}

/* Section Header styling */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-badge {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    display: block;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* Stats Section */
.stats-bar {
    background: var(--bg-dark-deep);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 3rem 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-value {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Partners Ticker */
.partners-ticker {
    background: rgba(255, 255, 255, 0.01);
    border-bottom: 1px solid var(--border-color);
    padding: 2.5rem 0;
    overflow: hidden;
    position: relative;
}

.ticker-title {
    text-align: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
}

.ticker-wrap {
    width: 100%;
    overflow: hidden;
}

.ticker-track {
    display: flex;
    width: max-content;
    gap: 4rem;
    animation: marquee 25s linear infinite;
}

.ticker-track:hover {
    animation-play-state: paused;
}

.partner-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.5;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.partner-logo:hover {
    opacity: 1;
    color: var(--secondary);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Service Grid Styles */
.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    position: relative;
    overflow: hidden;
}

.service-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--secondary);
    font-weight: 600;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    gap: 0.25rem;
}

.service-link:hover {
    color: var(--primary);
}

/* Industry Showcase Tabs */
.industry-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.tab-content {
    display: none;
    align-items: center;
    gap: 3rem;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .tab-content.active {
        flex-direction: row;
    }
}

.tab-img {
    flex: 1;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.tab-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.tab-text {
    flex: 1;
}

.tab-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.tab-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.tab-features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.tab-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.tab-features i {
    color: var(--secondary);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Why Choose Us & Split Columns */
.split-section {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .split-section {
        flex-direction: row;
        align-items: center;
    }
}

.split-left,
.split-right {
    flex: 1;
}

.value-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.value-item {
    display: flex;
    gap: 1rem;
}

.value-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.value-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.value-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Testimonial slider */
.testimonials {
    background: var(--bg-dark-deep);
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

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

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

.testimonial-slide p {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.client-info h4 {
    font-size: 1.1rem;
    color: var(--primary);
}

.client-info span {
    font-size: 0.85rem;
    color: var(--text-dim);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-dim);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--primary);
    width: 25px;
    border-radius: 5px;
}

/* Quick CTA Banner */
.cta-banner {
    position: relative;
    background: linear-gradient(135deg, var(--bg-dark-deep) 0%, #001220 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 5rem 1.5rem;
    text-align: center;
    overflow: hidden;
}

.cta-banner .container {
    max-width: 750px;
    position: relative;
    z-index: 2;
}

.cta-banner h2 {
    font-size: 2.2rem;
    margin-bottom: 1.25rem;
}

.cta-banner p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-glow) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

/* Footer styling */
footer {
    background: var(--bg-dark-deep);
    border-top: 1px solid var(--border-color);
    padding: 4rem 1.5rem 2rem;
}

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

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

.footer-info h3 {
    margin-bottom: 1rem;
}

.footer-info p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.footer-links h4 {
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 0.25rem;
}

.footer-contact h4 {
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-contact-list li {
    display: flex;
    gap: 0.75rem;
}

.footer-contact-list i {
    color: var(--primary);
    margin-top: 0.25rem;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-credit a {
    color: var(--secondary);
    font-weight: 600;
}

.footer-credit a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Float WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25d366;
    color: #fff;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 99;
    transition: var(--transition);
}

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

/* Floating Scroll to Top button */
.scroll-top {
    position: fixed;
    bottom: 95px;
    right: 25px;
    background: var(--bg-dark-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 98;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

/* About Page Timelines */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    right: -8px;
    background-color: var(--bg-dark-base);
    border: 3px solid var(--primary);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-left {
    left: 0;
}

.timeline-right {
    left: 50%;
}

.timeline-right::after {
    left: -8px;
}

.timeline-content {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    position: relative;
}

.timeline-date {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

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

@media (max-width: 767px) {
    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item::after {
        left: 23px;
    }

    .timeline-right {
        left: 0%;
    }
}

/* Services FAQ Accordion */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.04);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: var(--text-muted);
    font-size: 0.95rem;
    border-top: 1px solid transparent;
}

.faq-item.active .faq-answer {
    padding: 1.25rem 1.5rem;
    max-height: 300px;
    border-top-color: var(--border-color);
}

.faq-icon {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.85) 100%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 0.05em;
}

.gallery-title {
    font-size: 1.1rem;
    font-weight: 700;
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(3, 7, 18, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 80%;
}

.lightbox-img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.75rem;
    cursor: pointer;
}

.lightbox-caption {
    text-align: center;
    color: var(--text-muted);
    margin-top: 1rem;
    font-size: 1rem;
}

/* Contact forms */
.contact-split {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-split {
        flex-direction: row;
    }
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-form-container {
    flex: 1.5;
}

.contact-card {
    display: flex;
    gap: 1.25rem;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
}

.contact-card-icon {
    font-size: 1.5rem;
    color: var(--primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 107, 53, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card-details h4 {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.contact-card-details p,
.contact-card-details a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-card-details a:hover {
    color: var(--primary);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.85rem 1rem;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-checkbox input {
    cursor: pointer;
}

.bank-details {
    margin-top: 3rem;
}

.bank-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.bank-item {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    border-radius: 8px;
}

.bank-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-dim);
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.bank-val {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-main);
}

/* Styled Static Map representation */
.map-container {
    height: 350px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.map-bg-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 180, 216, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

.map-marker {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.map-marker-icon {
    font-size: 2.5rem;
    color: var(--primary);
    animation: bounce 2s infinite;
}

.map-card {
    background: var(--bg-dark-card);
    border: 1px solid var(--border-color);
    padding: 1.25rem;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    max-width: 280px;
}

.map-card h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.map-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Gallery Estimator */
.estimator-card {
    max-width: 600px;
    margin: 0 auto;
}

.estimator-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed var(--border-color);
}

.estimator-total {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    border-bottom: none;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

/* Animation on Scroll Utilities */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Line Card Specific Styles */
.linecard-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    padding: 3rem 0 5rem;
}

.brand-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
}

@media (min-width: 640px) {
    .brand-card {
        width: calc(50% - 1rem);
        /* 2 columns on tablets */
    }
}

@media (min-width: 1024px) {
    .brand-card {
        width: calc(25% - 1.5rem);
        /* 4 columns on desktops */
    }
}

.brand-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(1, 112, 185, 0.12);
    border-color: var(--primary);
}

.brand-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    transition: var(--transition);
}

.brand-card:hover img {
    transform: scale(1.02);
}

/* Sell CTA Diagonal Split Layout */
.sell-cta {
    border-radius: 16px;
    overflow: hidden;
    color: #ffffff;
    padding: 4rem 3.5rem;
    background: linear-gradient(125deg, #070b19 55%, var(--secondary) 55%);
    border: 1px solid var(--border-color);
    margin: 2rem 0 5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.sell-cta-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .sell-cta-grid {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

.sell-cta-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
}

.sell-cta-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.sell-cta-email {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sell-cta-email i {
    color: var(--secondary);
    font-size: 1.25rem;
}

.sell-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.sell-cta-right {
    display: flex;
    justify-content: center;
}

/* QR Code styling */
.scan-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.scan-img-container {
    background: #ffffff;
    padding: 0.75rem;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 140px;
    transition: var(--transition);
}

.scan-box:hover .scan-img-container {
    transform: scale(1.05) rotate(2deg);
}

.scan-img-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.scan-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.03em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 991px) {
    .sell-cta {
        background: linear-gradient(125deg, #070b19 60%, var(--secondary) 60%);
        padding: 3rem 2.5rem;
    }

    .sell-cta-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .sell-cta {
        background: #070b19;
        /* Solid deep navy on mobile for optimal text legibility */
        padding: 2.5rem 1.5rem;
    }

    .sell-cta-email i {
        color: var(--primary);
    }

    .sell-cta-right {
        margin-top: 1rem;
        padding-top: 2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
    }

    .scan-text {
        color: #ffffff;
    }
}