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

/* --- Design Tokens & Variables --- */
:root {
    --bg-main: #f0faff;
    --bg-card: #ffffff;
    --bg-nav: rgba(240, 250, 255, 0.85);
    --border-color: rgba(65, 116, 141, 0.15);
    --border-hover: rgba(65, 116, 141, 0.5);
    
    --primary: #41748d;
    --primary-hover: #335c70;
    --secondary: #8eaebf;
    --secondary-hover: #718d9c;
    
    --text-white: #0c2340;
    --text-main: #4b5563;
    --text-light: #1e293b;
    --text-muted: #64748b;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 2px 8px rgba(65, 116, 141, 0.08);
    --shadow-md: 0 8px 30px rgba(65, 116, 141, 0.12);
    --shadow-glow: 0 0 25px rgba(65, 116, 141, 0.15);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
}

/* --- Base Settings --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    height: 100%;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-white);
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
}

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

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

/* Scrollbar customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #334155;
}

/* --- Layout Utility Classes --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-white) 30%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

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

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

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* --- Brand Logo Styles --- */
.logo-container {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    user-select: none;
    text-decoration: none;
}

.rotating-logo-svg {
    width: 44px;
    height: 44px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: var(--transition);
    border: none;
    outline: none;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(65, 116, 141, 0.4);
}

.btn-secondary {
    background: rgba(65, 116, 141, 0.05);
    color: var(--primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(65, 116, 141, 0.1);
    border-color: var(--primary);
    color: var(--primary-hover);
    transform: translateY(-2px);
}

/* --- Cards (Glassmorphism) --- */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--x, 0px) var(--y, 0px), rgba(65, 116, 141, 0.15), transparent 40%);
    z-index: 1;
    pointer-events: none;
}

.card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: rgba(65, 116, 141, 0.15);
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

/* --- Header / Navigation --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

header.sticky {
    background: var(--bg-nav);
    backdrop-filter: blur(12px);
    border-color: var(--border-color);
    box-shadow: var(--shadow-sm);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.logo-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px var(--primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-main);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
}

.mobile-toggle {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.5rem;
}

/* --- Page Hero Banners (sub-pages) --- */
.page-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(240, 250, 255, 0.92) 0%, rgba(240, 250, 255, 0.85) 50%, rgba(240, 250, 255, 0.65) 100%);
    z-index: 1;
}

/* Smooth bottom blend to remove harsh outline */
.page-hero::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, rgba(240, 250, 255, 0) 0%, var(--bg-main) 100%);
    z-index: 2;
    pointer-events: none;
}

.page-hero > .container {
    position: relative;
    z-index: 3;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    background-image: linear-gradient(to right, rgba(240, 250, 255, 0.95) 35%, rgba(240, 250, 255, 0.85) 60%, rgba(240, 250, 255, 0.3) 100%), url('../assets/hero_bg.png');
    background-size: cover;
    background-position: center;
}

.hero::after {
    content: '';
    position: absolute;
    top: 20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.08) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(112, 0, 255, 0.05) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: inline-block;
    border: 1px solid rgba(0, 210, 255, 0.2);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    background: rgba(0, 210, 255, 0.05);
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

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

.brands-section {
    background: rgba(65, 116, 141, 0.04);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 3rem 0;
}

.brands-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.brands-slider {
    display: flex;
    width: max-content;
    animation: scroll 30s linear infinite;
    gap: 4rem;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition: var(--transition);
}

.brand-logo img {
    height: 42px;
    width: auto;
    filter: grayscale(100%) opacity(55%);
    transition: var(--transition);
}

.brand-logo:hover img {
    filter: none;
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* --- Core Pillars (Home) --- */
.pillar-card {
    height: 100%;
}

.pillar-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

/* --- Product Catalog --- */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

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

.filter-tab:hover, .filter-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg-main);
    font-weight: 600;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
}

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-brand {
    color: var(--primary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.product-specs {
    list-style: none;
    margin-bottom: 1.5rem;
    margin-top: auto;
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.product-specs li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.product-specs li span {
    color: var(--primary);
}

/* --- Services Catalog --- */
.service-detail-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-features {
    list-style: none;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-light);
}

.service-features li svg {
    color: var(--primary);
    flex-shrink: 0;
}

/* --- Contact & FAQ --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 3rem;
}

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

.info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(0, 210, 255, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.info-content h4 {
    margin-bottom: 0.2rem;
}

.info-content p, .info-content a {
    color: var(--text-main);
    font-size: 0.95rem;
}

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

.contact-form-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 3rem;
}

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

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

.form-control {
    width: 100%;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 0.8rem 1rem;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 10px rgba(65, 116, 141, 0.15);
    background: #ffffff;
}

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

/* Map Mockup */
.map-mockup {
    height: 300px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: linear-gradient(135deg, #111827 0%, #060913 100%);
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-grid {
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    transform: rotate(-15deg);
}

.map-pin {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.pin-circle {
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--primary);
    animation: pulse 2s infinite;
}

.pin-label {
    margin-top: 0.5rem;
    background: var(--bg-card);
    border: 1px solid var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    color: var(--text-white);
    font-size: 0.8rem;
    font-weight: 600;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 210, 255, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 210, 255, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 210, 255, 0);
    }
}

/* FAQ Accordion */
.faq-section {
    margin-top: 6rem;
}

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

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-icon {
    font-size: 1.25rem;
    color: var(--primary);
    transition: var(--transition);
}

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

.faq-item.active {
    border-color: var(--border-hover);
}

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

.faq-item.active .faq-body {
    padding: 1.5rem;
    border-color: var(--border-color);
    max-height: 1000px;
}

/* --- Call To Action (CTA) --- */
.cta-banner {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.08) 0%, rgba(112, 0, 255, 0.08) 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-banner p {
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

/* --- Footer --- */
footer {
    background: #0C2340;
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem 0;
    margin-top: auto;
    color: #cbd5e1;
}

footer .logo {
    color: #ffffff !important;
}

footer .logo span {
    color: var(--secondary) !important;
}

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

.footer-info p {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: #cbd5e1;
}

.footer-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

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

.footer-links a {
    color: #cbd5e1;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 5px;
}

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

.footer-contact p {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #cbd5e1;
}

.footer-contact a {
    color: var(--secondary);
}

.footer-contact a:hover {
    text-decoration: underline;
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 1rem;
    color: #cbd5e1;
}

/* --- Response Message for forms --- */
.form-response {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 6px;
    font-size: 0.95rem;
    display: none;
}

.form-response.success {
    display: block;
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
}

.form-response.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    color: #ef4444;
}

/* --- Responsive Adaptations --- */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero h1 {
        font-size: 3.2rem;
    }
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* Mobile Navigation */
    .mobile-toggle {
        display: block;
        z-index: 1001;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg-card);
        border-left: 1px solid var(--border-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: var(--transition);
        z-index: 1000;
        box-shadow: var(--shadow-md);
    }
    .nav-menu.open {
        right: 0;
    }
    .nav-cta {
        display: none; /* Hide top CTA on mobile */
    }
}

@media (max-width: 992px) {
    .section {
        padding: 4rem 0;
    }
    .section-header {
        margin-bottom: 2.5rem;
    }
    .section-header h2 {
        font-size: 2rem;
    }
    .grid-3, .grid-2, .grid-4, .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .hero {
        padding-top: 120px;
        text-align: center;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero p {
        margin: 0 auto 2rem auto;
    }
    .hero-btns {
        justify-content: center;
    }

    
    .cta-banner {
        padding: 2.5rem 1.5rem;
    }
    .cta-banner h2 {
        font-size: 1.8rem;
    }
    
    /* Responsive Filter Controls */
    .filter-mode-toggle {
        flex-direction: column;
        width: 100%;
    }
    .mode-btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Enable swipe scrolling and snap-to-center for filter items */
    .slider-track {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
        scroll-snap-type: x mandatory;
    }
    .slider-pill {
        scroll-snap-align: center;
    }
    
    /* Ensure slider arrows fit on small screens */
    .slider-arrow {
        width: 36px;
        height: 36px;
    }
    .slider-arrow svg {
        width: 18px;
        height: 18px;
    }
    /* Scale down large brand logos for mobile */
    .slider-pill.slider-pill-img {
        padding: 0.5rem 1rem !important;
        min-height: 60px;
    }
    .slider-pill-img img {
        height: 42px;
        max-width: 120px;
    }
    
    /* Home page Brands Slider */
    .brands-slider {
        gap: 2rem;
    }
    .brand-logo img {
        height: 28px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    .logo {
        font-size: 1.1rem !important;
    }
    .rotating-logo-svg {
        width: 32px !important;
        height: 32px !important;
    }
    .navbar {
        height: 65px;
    }
    .hero {
        padding-top: 100px;
    }
    .hero h1 {
        font-size: 2rem;
    }
}

/* --- High-Resolution Image Card Layout --- */
.image-grid-section {
    padding: 6rem 0;
    background: rgba(65, 116, 141, 0.02);
}

.image-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.image-card-img-wrapper {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

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

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

.image-card-body {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.image-card-body h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-white);
    margin-bottom: 0.8rem;
}

.image-card-body p {
    font-size: 0.98rem;
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* --- Premium B2B Product & Solution Card Backgrounds --- */
.product-card {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    overflow: hidden;
    transition: var(--transition);
}


/* Modern Form Input Controls */
.contact-form-panel .form-control {
    background: rgba(240, 250, 255, 0.6);
    border: 1px solid rgba(65, 116, 141, 0.2);
    color: var(--text-dark);
    transition: var(--transition);
}

.contact-form-panel .form-control:focus {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(65, 116, 141, 0.2);
}

/* --- Filter Mode Toggle --- */
.filter-mode-toggle {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.mode-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.6rem;
    border-radius: 8px;
    border: 1.5px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mode-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.mode-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(65, 116, 141, 0.3);
}

.mode-btn.active svg {
    stroke: #ffffff;
}

/* --- Filter Slider --- */
.filter-slider-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto 3rem auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.slider-arrow {
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    color: var(--primary);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.slider-arrow svg {
    width: 24px;
    height: 24px;
}

.slider-arrow:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.slider-arrow:hover svg {
    stroke: #ffffff;
}

.slider-track {
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    gap: 10px;
    padding: 8px 4px;
    flex-grow: 1;
}

.slider-pill {
    background: transparent;
    border: 1.5px solid var(--border-color);
    color: var(--text-muted);
    padding: 0.55rem 1.15rem;
    border-radius: 100px;
    font-weight: 500;
    font-size: 0.88rem;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: var(--font-body);
}

.slider-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(65, 116, 141, 0.06);
}

.slider-pill.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 3px 10px rgba(65, 116, 141, 0.25);
}

/* Slider Pill Images */
.slider-pill.slider-pill-img {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 1rem 2rem !important;
    min-height: 90px;
}
.slider-pill.slider-pill-img:hover {
    background: transparent !important;
}
.slider-pill-img img {
    height: 64px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: grayscale(100%) opacity(55%);
    transition: all 0.3s ease;
    transform: scale(0.95);
}
.slider-pill.active.slider-pill-img img, .slider-pill.slider-pill-img:hover img {
    filter: none;
    opacity: 1;
    transform: scale(1.1);
}
