/* ===============================================
   MTK Pharma Services - VIBRANT Eye-Catching Design
   Teal + Electric Purple + Coral Accents
   Modern glassmorphism, gradients, real photography
   =============================================== */

/* ============================================
   BOOTSTRAP THEME OVERRIDES - Force new colors
   Must override the navy #283779 from theme.css
   ============================================ */
:root {
    /* Override Bootstrap's navy primary colors */
    --bs-primary: #0D9488 !important;
    --bs-primary-rgb: 13, 148, 136 !important;
    --bs-secondary: #7C3AED !important;
    --bs-secondary-rgb: 124, 58, 237 !important;
    --bs-blue: #3B82F6 !important;
    --bs-indigo: #7C3AED !important;
    --bs-purple: #7C3AED !important;
    --bs-orange: #F59E0B !important;
    --bs-dark: #0F172A !important;
    --bs-light: #F8FAFC !important;

    /* MTK Custom Variables */
    --mtk-teal: #0D9488;
    --mtk-teal-dark: #0F766E;
    --mtk-teal-light: #CCFBF1;
    --mtk-purple: #7C3AED;
    --mtk-purple-dark: #6D28D9;
    --mtk-purple-light: #EDE9FE;
    --mtk-coral: #F43F5E;
    --mtk-coral-light: #FFE4E6;
    --mtk-blue: #3B82F6;
    --mtk-blue-light: #DBEAFE;
    --mtk-amber: #F59E0B;
    --mtk-amber-light: #FEF3C7;
    --mtk-dark: #0F172A;
    --mtk-dark-mid: #1E293B;
    --mtk-text: #475569;
    --mtk-text-dark: #0F172A;
    --mtk-light-bg: #F8FAFC;
    --mtk-border: #E2E8F0;
    --mtk-white: #ffffff;

    --mtk-gradient-hero: linear-gradient(135deg, #0D9488 0%, #7C3AED 50%, #3B82F6 100%);
    --mtk-gradient-warm: linear-gradient(135deg, #F43F5E 0%, #F59E0B 100%);
    --mtk-gradient-cool: linear-gradient(135deg, #0D9488 0%, #3B82F6 100%);
    --mtk-gradient-purple: linear-gradient(135deg, #7C3AED 0%, #3B82F6 100%);
    --mtk-gradient-card: linear-gradient(135deg, rgba(13,148,136,0.05), rgba(124,58,237,0.05));

    --mtk-radius: 16px;
    --mtk-radius-lg: 24px;
    --mtk-radius-xl: 32px;
    --mtk-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
    --mtk-shadow-lg: 0 12px 48px rgba(15, 23, 42, 0.12);
    --mtk-shadow-color: 0 8px 32px rgba(13, 148, 136, 0.2);
    --mtk-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Global Typography - Force override theme.css navy colors ---- */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    color: var(--mtk-text) !important;
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Inter', sans-serif !important;
    color: var(--mtk-text-dark) !important;
    font-weight: 800;
    line-height: 1.25;
}

p { line-height: 1.8; }
a { transition: var(--mtk-transition); }

/* ===============================================
   NAVBAR - Glass effect
   =============================================== */
.navbar {
    transition: var(--mtk-transition);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
}

/* Force navbar bg - override theme.js dynamic inline styles */
.navbar.navbar-light,
.navbar[data-navbar-on-scroll] {
    background: rgba(255, 255, 255, 0.85) !important;
    background-color: rgba(255, 255, 255, 0.85) !important;
    background-image: none !important;
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}

.navbar.backdrop,
.navbar.shadow-transition,
.navbar.navbar-scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    background-color: rgba(255, 255, 255, 0.97) !important;
    background-image: none !important;
    box-shadow: 0 4px 30px rgba(0,0,0,0.08) !important;
}

.navbar .nav-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--mtk-dark) !important;
    letter-spacing: 0.01em;
    padding: 0.5rem 0 !important;
    position: relative;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: var(--mtk-teal) !important;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2.5px;
    background: var(--mtk-gradient-cool);
    border-radius: 2px;
    transition: width 0.3s ease;
}

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

.navbar .dropdown-toggle::after {
    position: static;
    margin-left: 0.3em;
}

.dropdown-menu {
    border: 1px solid var(--mtk-border);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.15);
    border-radius: var(--mtk-radius);
    padding: 0.6rem;
    margin-top: 0.5rem !important;
    min-width: 250px;
    backdrop-filter: blur(20px);
    background: rgba(255,255,255,0.98);
}

.dropdown-item {
    border-radius: 12px;
    padding: 0.7rem 1rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--mtk-dark);
    transition: var(--mtk-transition);
}

.dropdown-item:hover {
    background: var(--mtk-teal-light);
    color: var(--mtk-teal-dark);
    transform: translateX(4px);
}

/* ===============================================
   BUTTONS - Vivid gradient buttons
   Override ALL Bootstrap .btn-primary states from theme.css
   =============================================== */
.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.btn-primary:disabled,
.btn-primary.disabled,
.btn-check:focus + .btn-primary,
.btn-check:checked + .btn-primary,
.btn-check:active + .btn-primary,
.show > .btn-primary.dropdown-toggle {
    background: var(--mtk-gradient-cool) !important;
    background-color: #0D9488 !important;
    border: none !important;
    border-color: #0D9488 !important;
    color: #fff !important;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.btn-primary {
    transition: var(--mtk-transition);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before { left: 100%; }

.btn-primary:hover,
.btn-primary:focus {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(13, 148, 136, 0.4) !important;
}

.btn-check:focus + .btn-primary:focus,
.btn-check:checked + .btn-primary:focus,
.btn-check:active + .btn-primary:focus,
.btn-primary:active:focus,
.btn-primary.active:focus,
.show > .btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.3) !important;
}

.btn-outline-primary {
    border: 2px solid var(--mtk-teal) !important;
    color: var(--mtk-teal) !important;
    font-weight: 600;
    background: transparent !important;
}

.btn-outline-primary:hover {
    background: var(--mtk-teal) !important;
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: var(--mtk-shadow-color);
}

.btn-gradient-warm {
    background: var(--mtk-gradient-warm) !important;
    border: none;
    color: #fff;
    font-weight: 600;
}

.btn-gradient-warm:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(244, 63, 94, 0.4);
    color: #fff;
}

.rounded-pill { border-radius: 50px !important; }

/* ===============================================
   HOME HERO - Photo background with gradient overlay
   =============================================== */
.hero-home {
    background: url('../img/gallery/pexels-chokniti-khongchum-2280549.jpg') center center / cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 5rem;
}

.hero-home::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(15,23,42,0.92) 0%, rgba(13,148,136,0.85) 50%, rgba(124,58,237,0.8) 100%);
    z-index: 1;
}

/* Animated floating orbs */
.hero-home::after {
    content: '';
    position: absolute;
    top: 10%; right: 5%;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(244,63,94,0.2) 0%, transparent 60%);
    animation: pulse 6s ease-in-out infinite;
    z-index: 1;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-15px) rotate(2deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

.hero-home h1 {
    color: #fff;
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero-home h1 strong {
    background: var(--mtk-gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-home p.lead {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.15rem;
    line-height: 1.8;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Hero image float animation */
.hero-img-wrapper {
    position: relative;
    animation: float 8s ease-in-out infinite;
}

.hero-img-wrapper::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 80%; height: 80%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13,148,136,0.3) 0%, transparent 60%);
    filter: blur(50px);
}

.hero-img-wrapper img {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}

/* Hero compliance pills */
.compliance-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50px;
    padding: 0.4rem 1rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.78rem;
    font-weight: 500;
    transition: var(--mtk-transition);
}

.compliance-badge:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: translateY(-2px);
}

.compliance-badge i { color: var(--mtk-amber); font-size: 0.7rem; }

.compliance-badge.dark {
    background: #fff;
    border: 1px solid var(--mtk-border);
    color: var(--mtk-text-dark);
    box-shadow: var(--mtk-shadow);
}

.compliance-badge.dark i { color: var(--mtk-teal); }

/* ---- Trust Strip ---- */
.compliance-strip {
    background: #fff;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--mtk-border);
}

/* ===============================================
   SECTION SYSTEM
   =============================================== */
.section-label {
    display: inline-block;
    background: var(--mtk-gradient-cool);
    color: #fff;
    padding: 0.4rem 1.4rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 1.2rem;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--mtk-text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--mtk-text);
    max-width: 650px;
    line-height: 1.8;
}

.py-6 { padding-top: 5rem !important; padding-bottom: 5rem !important; }
.py-7 { padding-top: 6.5rem !important; padding-bottom: 6.5rem !important; }

/* ===============================================
   SERVICE CARDS - Gradient borders, vivid icons
   =============================================== */
.service-card {
    background: #fff;
    border-radius: var(--mtk-radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: var(--mtk-shadow);
    transition: var(--mtk-transition);
    border: 1px solid var(--mtk-border);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--mtk-gradient-hero);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--mtk-shadow-lg);
    border-color: transparent;
}

.service-card:hover::before { opacity: 1; }

.service-icon {
    width: 64px; height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    transition: var(--mtk-transition);
}

.service-icon.bg-primary-soft {
    background: var(--mtk-teal-light);
    color: var(--mtk-teal);
}

.service-icon.bg-accent-soft {
    background: var(--mtk-purple-light);
    color: var(--mtk-purple);
}

.service-icon.bg-success-soft {
    background: var(--mtk-blue-light);
    color: var(--mtk-blue);
}

.service-icon.bg-warning-soft {
    background: var(--mtk-amber-light);
    color: var(--mtk-amber);
}

.service-card:hover .service-icon { transform: scale(1.15) rotate(-5deg); }

.service-card h4 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--mtk-dark);
}

.service-card p {
    color: var(--mtk-text);
    line-height: 1.7;
    font-size: 0.92rem;
    margin-bottom: 0.75rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.service-card ul li {
    padding: 0.3rem 0;
    color: var(--mtk-text);
    font-size: 0.88rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-card ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0; top: 0.4rem;
    color: var(--mtk-teal);
    font-size: 0.72rem;
}

/* ===============================================
   TECH CARDS - Vibrant hover gradients
   =============================================== */
.tech-card {
    background: #fff;
    border-radius: var(--mtk-radius-lg);
    padding: 2.5rem 1.5rem;
    text-align: center;
    box-shadow: var(--mtk-shadow);
    transition: var(--mtk-transition);
    border: 1px solid var(--mtk-border);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.tech-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 0;
    background: var(--mtk-gradient-hero);
    transition: height 0.4s ease;
    opacity: 0.05;
    z-index: 0;
}

.tech-card:hover::after { height: 100%; }

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--mtk-shadow-lg);
    border-color: var(--mtk-teal);
}

.tech-icon {
    width: 80px; height: 80px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 2rem;
    background: var(--mtk-gradient-card);
    color: var(--mtk-teal);
    transition: var(--mtk-transition);
    position: relative;
    z-index: 1;
}

.tech-card:hover .tech-icon {
    background: var(--mtk-gradient-cool);
    color: #fff;
    transform: scale(1.1) rotate(-3deg);
    box-shadow: 0 8px 24px rgba(13,148,136,0.3);
}

.tech-card h4, .tech-card h5 {
    font-weight: 800;
    color: var(--mtk-dark);
    margin-bottom: 0.4rem;
    position: relative;
    z-index: 1;
}

.tech-card .badge-label {
    display: inline-block;
    background: var(--mtk-gradient-cool);
    color: #fff;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.tech-card p {
    font-size: 0.9rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* ===============================================
   STATS - Vivid gradient background
   =============================================== */
.stat-section {
    background: var(--mtk-gradient-hero);
    padding: 4.5rem 0;
    position: relative;
    overflow: hidden;
}

.stat-section::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
}

.stat-section::after {
    content: '';
    position: absolute;
    bottom: -40%; left: -10%;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}

.stat-item { text-align: center; padding: 1.5rem 1rem; }

.stat-number {
    font-size: 3.8rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* ===============================================
   FEATURE LIST
   =============================================== */
.feature-list {
    list-style: none;
    padding: 0; margin: 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid #f1f5f9;
    transition: var(--mtk-transition);
}

.feature-list li:last-child { border-bottom: none; }
.feature-list li:hover { padding-left: 0.5rem; }

.feature-list .feature-icon {
    width: 46px; height: 46px; min-width: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mtk-teal-light);
    color: var(--mtk-teal);
    font-size: 1rem;
    transition: var(--mtk-transition);
}

.feature-list li:hover .feature-icon {
    background: var(--mtk-gradient-cool);
    color: #fff;
    transform: rotate(-5deg);
}

.feature-list h6 { color: var(--mtk-dark); }

/* ===============================================
   PAGE HERO - Vivid gradient
   =============================================== */
.page-hero {
    background: var(--mtk-gradient-hero);
    padding: 10rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -20%; right: -10%;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 80px;
    background: #fff;
    clip-path: ellipse(55% 100% at 50% 100%);
}

.page-hero h1 {
    color: #fff;
    font-size: 3.2rem;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.8;
}

.page-hero .breadcrumb { background: transparent; margin-bottom: 0.5rem; }

.page-hero .breadcrumb-item a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
}

.page-hero .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.page-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4);
}

/* ===============================================
   CTA SECTION - Vibrant gradient
   =============================================== */
.cta-section {
    background: var(--mtk-gradient-hero);
    padding: 5.5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -40%; right: -5%;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    animation: pulse 8s ease-in-out infinite;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%; left: -8%;
    width: 350px; height: 350px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}

/* ===============================================
   PROCESS STEPS
   =============================================== */
.process-step {
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
}

.process-number {
    width: 60px; height: 60px;
    border-radius: 18px;
    background: var(--mtk-gradient-cool);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 900;
    margin: 0 auto 1.2rem;
    transition: var(--mtk-transition);
    box-shadow: 0 6px 20px rgba(13,148,136,0.3);
}

.process-step:hover .process-number {
    background: var(--mtk-gradient-warm);
    transform: rotate(-5deg) scale(1.1);
    box-shadow: 0 8px 24px rgba(244,63,94,0.4);
}

/* ===============================================
   VALUE CARDS
   =============================================== */
.value-card {
    background: #fff;
    border-radius: var(--mtk-radius);
    padding: 1.8rem;
    box-shadow: var(--mtk-shadow);
    border-left: 4px solid;
    border-image: var(--mtk-gradient-cool) 1;
    transition: var(--mtk-transition);
}

.value-card:hover {
    transform: translateX(6px);
    box-shadow: var(--mtk-shadow-lg);
}

.value-card h5 i { color: var(--mtk-teal) !important; }

/* ===============================================
   COMPLIANCE CARDS
   =============================================== */
.compliance-card {
    background: #fff;
    border-radius: var(--mtk-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--mtk-shadow);
    border: 1px solid var(--mtk-border);
    height: 100%;
}

.compliance-card h3 { color: var(--mtk-dark); }

.compliance-card .icon-circle {
    width: 72px; height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

/* ===============================================
   CONTACT
   =============================================== */
.contact-info-card {
    background: #fff;
    border-radius: var(--mtk-radius);
    padding: 2rem;
    box-shadow: var(--mtk-shadow);
    border: 1px solid var(--mtk-border);
    height: 100%;
    transition: var(--mtk-transition);
}

.contact-info-card:hover {
    box-shadow: var(--mtk-shadow-lg);
    transform: translateY(-5px);
}

.contact-icon {
    width: 54px; height: 54px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mtk-teal-light);
    color: var(--mtk-teal);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* Form styling */
.form-control, .form-select {
    border-radius: 14px;
    border-color: var(--mtk-border);
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
    transition: var(--mtk-transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--mtk-teal);
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.12);
}

.form-control-lg, .form-select-lg {
    border-radius: 16px;
    padding: 0.9rem 1.2rem;
}

/* ===============================================
   TECH DETAIL SECTIONS
   =============================================== */
.tech-detail-section { padding: 6rem 0; }
.tech-detail-section:nth-child(even) { background: var(--mtk-light-bg); }

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

.tech-feature-item {
    background: #fff;
    border-radius: var(--mtk-radius);
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
    border: 1px solid var(--mtk-border);
    transition: var(--mtk-transition);
}

.tech-feature-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--mtk-shadow);
    border-color: var(--mtk-teal-light);
}

.tech-feature-item h6 {
    font-weight: 700;
    color: var(--mtk-dark);
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.tech-feature-item h6 i { color: var(--mtk-teal) !important; }

.tech-feature-item p {
    font-size: 0.85rem;
    color: var(--mtk-text);
    margin-bottom: 0;
    line-height: 1.7;
}

/* ===============================================
   FOOTER - Dark with vivid accents
   =============================================== */
.footer-main {
    background: var(--mtk-dark);
    color: rgba(255, 255, 255, 0.7);
}

.footer-main h5 {
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-main h5::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 30px; height: 3px;
    background: var(--mtk-gradient-cool);
    border-radius: 2px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: var(--mtk-transition);
    font-size: 0.88rem;
}

.footer-link:hover {
    color: var(--mtk-teal);
    padding-left: 4px;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem 0;
}

.footer-compliance {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.footer-compliance-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    font-weight: 500;
}

/* ===============================================
   ANIMATIONS
   =============================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.animate-in { animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards; }

/* ===============================================
   RESPONSIVE
   =============================================== */
@media (max-width: 1199px) {
    .hero-home h1 { font-size: 3rem; }
    .section-title { font-size: 2.3rem; }
}

@media (max-width: 991px) {
    .hero-home h1 { font-size: 2.5rem; }
    .page-hero h1 { font-size: 2.3rem; }
    .page-hero { padding: 8rem 0 4rem; }
    .section-title { font-size: 2rem; }
    .stat-number { font-size: 2.8rem; }
}

@media (max-width: 767px) {
    .hero-home {
        min-height: auto;
        padding: 7rem 0 4rem;
    }
    .hero-home h1 { font-size: 2rem; }
    .page-hero h1 { font-size: 1.8rem; }
    .page-hero { padding: 7rem 0 3.5rem; }
    .stat-number { font-size: 2.2rem; }
    .section-title { font-size: 1.7rem; }
    .footer-compliance { justify-content: center; }
    .tech-feature-grid { grid-template-columns: 1fr; }
}

/* ===============================================
   SCROLL OFFSET
   =============================================== */
[id] { scroll-margin-top: 100px; }

/* ===============================================
   UTILITY OVERRIDES - Force over theme.css
   =============================================== */
.text-primary { color: var(--mtk-teal) !important; }
.bg-primary { background: var(--mtk-gradient-cool) !important; background-color: #0D9488 !important; }
.bg-secondary { background: var(--mtk-dark) !important; background-color: #0F172A !important; }
.bg-light { background-color: var(--mtk-light-bg) !important; }
a { color: var(--mtk-teal); }
a:hover { color: var(--mtk-teal-dark); }

/* Override theme.css heading colors in white-bg sections */
.hero-home h1,
.hero-home h2,
.hero-home h3,
.hero-home h4,
.hero-home h5,
.hero-home h6,
.page-hero h1,
.page-hero h2,
.page-hero h3,
.cta-section h1,
.cta-section h2,
.cta-section h3,
.stat-section h1,
.stat-section h2,
.stat-section h3 {
    color: #fff !important;
}

.footer-main h5 {
    color: #fff !important;
}

/* Override theme.css .text-white-50 if needed */
.text-white-50 { color: rgba(255,255,255,0.5) !important; }

/* Override theme.css font-family on heading tags (now uses Inter) */
.navbar .navbar-brand,
.navbar .nav-link,
.dropdown-item {
    font-family: 'Inter', sans-serif !important;
}

/* Override badge backgrounds */
.badge.bg-primary { background-color: #0D9488 !important; }

/* Override .btn-outline-light for hero */
.btn-outline-light {
    border-color: rgba(255,255,255,0.4) !important;
    color: #fff !important;
}
.btn-outline-light:hover {
    background-color: rgba(255,255,255,0.15) !important;
    border-color: rgba(255,255,255,0.6) !important;
    color: #fff !important;
}

/* Override .btn-light */
.btn-light {
    background-color: #fff !important;
    color: var(--mtk-dark) !important;
    border-color: #fff !important;
}
.btn-light:hover {
    background-color: #f1f5f9 !important;
    color: var(--mtk-teal) !important;
    transform: translateY(-3px);
    box-shadow: var(--mtk-shadow-lg);
}

/* Gradient text utility */
.gradient-text {
    background: var(--mtk-gradient-cool);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass card utility */
.glass-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--mtk-radius-lg);
}
