/* --- GLOBAL RESPONSIVE ROOT --- */
:root {
    /* Fluid typography: font sizes scale smoothly based on screen width */
    --step-0: clamp(0.85rem, 0.8rem + 0.25vw, 1rem);      /* Small body text */
    --step-1: clamp(1rem, 0.95rem + 0.3vw, 1.25rem);     /* Normal body text */
    --step-2: clamp(1.4rem, 1.3rem + 0.5vw, 1.85rem);    /* Section subheadings */
    --step-3: clamp(2rem, 1.8rem + 1vw, 3.5rem);         /* Main Hero Headings */
    
    /* Global Layout Constraints */
    --container-max-width: 1300px;
    --container-padding: clamp(1rem, 3vw, 2.5rem); /* Padding scales based on screen size */
    
    /* Theme Colors (Verify these match your current theme) */
    --bg-dark: #060913;
    --accent-cyan: #00f2fe;
    --accent-emerald: #10b981;
    --text-main: #ffffff;
    --text-muted: #8fa0dd;
}

/* Base Body Adjustments */
html {
    scroll-behavior: smooth;
    font-size: 100%; /* Default base size */
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif; /* Replace with your actual font if different */
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevents unwanted horizontal screen shaking or scrolling */
    -webkit-font-smoothing: antialiased;
}

/* Global Content Container */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
    box-sizing: border-box;
}
/* --- Visual Theme Variables --- */
:root {
    --bg-main: #060913;         /* Deepest Void Blue */
    --bg-card: #0F1322;         /* Sleek Dark Blue-Gray */
    --accent-emerald: #059669;  /* Muted Active Green */
    --accent-bright: #10B981;   /* Neon Tech Green */
    --text-primary: #F3F4F6;    /* Off-White Header Text */
    --text-muted: #8892B0;      /* Dim Slate-Blue Description text */
    --border-color: #1E293B;    /* Clean Cyber Gridlines */
    
    /* Premium Professional Typography Pairing */
    --font-heading: 'Sora', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    --transition-smooth: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Base Layout Rules --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Header & Navigation Layout --- */
/* --- Header Layout & High-Tech Logo Badge --- */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 6%;
    border-bottom: 1px solid var(--border-color);
    background-color: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Custom Pure CSS Cyber Shield Logo */
.logo-badge {
    position: relative;
    width: 28px;
    height: 32px;
    background-color: transparent;
    border: 2px solid var(--accent-emerald);
    border-radius: 0 0 14px 14px; /* Shield Shape */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.2);
}

.logo-badge::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 4px;
    width: 16px;
    height: 2px;
    background-color: var(--accent-emerald);
}

.badge-inner {
    width: 8px;
    height: 8px;
    background-color: var(--accent-emerald);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-emerald);
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: 1.5px;
    font-size: 20px;
    color: var(--text-primary);
}

.accent-text {
    color: var(--accent-emerald);
}

/* --- Menu Open Toggle --- */
.menu-toggle-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.menu-toggle-btn:hover {
    border-color: var(--accent-bright);
    color: var(--accent-bright);
}

/* --- Sliding Menu Drawer System --- */
.side-tray-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.side-tray-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.side-navigation-tray {
    position: fixed;
    top: 0;
    right: -420px;
    width: 100%;
    max-width: 420px;
    height: 100vh;
    background-color: var(--bg-card);
    border-left: 1px solid var(--border-color);
    z-index: 999;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.side-navigation-tray.active {
    right: 0;
}

.tray-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tray-title {
    font-family: var(--font-heading);
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.tray-close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tray-close-btn:hover {
    color: var(--text-primary);
}

.tray-links {
    list-style: none;
    margin-top: 40px;
}

.tray-links li {
    margin-bottom: 24px;
}

.tray-link {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.link-num {
    font-size: 14px;
    color: var(--accent-bright);
    margin-right: 15px;
}

.tray-link i {
    font-size: 16px;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.tray-link:hover {
    color: var(--accent-bright);
    padding-left: 8px;
}

.tray-link:hover i {
    color: var(--accent-bright);
    transform: translateX(4px);
}

.tray-footer p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 16px;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #25D366;
    color: white;
    text-decoration: none;
    padding: 14px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 700;
    transition: var(--transition-smooth);
}

.whatsapp-btn:hover {
    background-color: #128C7E;
}

/* --- Hero Frame --- */
/* --- RESPONSIVE TYPOGRAPHY & LAYOUTS --- */
h1, .hero-section h1 {
    font-size: var(--step-3);
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

h2, .section-title {
    font-size: var(--step-2);
    line-height: 1.25;
    font-weight: 700;
    margin-bottom: 15px;
}

p, .hero-lead {
    font-size: var(--step-1);
    line-height: 1.6;
    color: var(--text-muted);
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--accent-bright);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    font-family: var(--font-heading);
    margin-bottom: 24px;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-bright);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

h1 {
    font-family: var(--font-heading);
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.15;
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.hero-lead {
    color: var(--text-muted);
    font-size: clamp(16px, 2.5vw, 20px);
    margin-bottom: 40px;
    max-width: 650px;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.cta-primary {
    background-color: var(--accent-emerald);
    color: var(--text-primary);
    padding: 16px 28px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
}

.cta-primary:hover {
    background-color: var(--accent-bright);
}

.cta-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 16px 28px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
}

.cta-secondary:hover {
    border-color: var(--accent-bright);
    color: var(--accent-bright);
}

/* --- Reusable Sections Grid --- */
.section {
    padding: 100px 6%;
    border-bottom: 1px solid var(--border-color);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    color: var(--accent-bright);
    font-family: var(--font-heading);
    font-size: 11px;
    letter-spacing: 3px;
    font-weight: 700;
    display: block;
    margin-bottom: 12px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3.5vw, 42px);
    margin-bottom: 16px;
}

.section-sub {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Services Grid Layout --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-bright);
}

.service-icon-wrapper {
    font-size: 32px;
    color: var(--accent-bright);
    margin-bottom: 24px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 14px;
}

/* --- Process Timeline Layout --- */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.process-step {
    position: relative;
}

.step-num {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    color: rgba(16, 185, 129, 0.15);
    margin-bottom: -15px;
}

.process-step h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 12px;
}

.process-step p {
    color: var(--text-muted);
    font-size: 14px;
}

/* --- Reviews Layout --- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.review-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 8px;
}

.stars {
    color: #FBBF24;
    margin-bottom: 16px;
}

.review-body {
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 15px;
}

.reviewer-name {
    display: block;
    font-family: var(--font-heading);
    font-size: 12px;
    color: var(--accent-bright);
    letter-spacing: 1px;
}

/* --- Interactive Accordion FAQs --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-color);
    background-color: var(--bg-card);
    margin-bottom: 16px;
    border-radius: 6px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 20px;
    text-align: left;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question i {
    transition: var(--transition-smooth);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-answer p {
    padding: 0 20px 20px 20px;
    color: var(--text-muted);
    font-size: 14px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
    color: var(--accent-bright);
}

/* --- Multi-Asset Case Intake Form --- */
.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 8px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.form-group input, .form-group select, .form-group textarea {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 14px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 14px;
    transition: var(--transition-smooth);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--accent-bright);
    outline: none;
}

/* Conditional Forms Wrapper styling */
.conditional-block {
    display: none;
    border-top: 1px dashed var(--border-color);
    margin-top: 10px;
    padding-top: 24px;
    margin-bottom: 24px;
}

.conditional-block h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--accent-bright);
    margin-bottom: 20px;
}

.file-drop-zone {
    border: 2px dashed var(--border-color);
    background-color: var(--bg-main);
    padding: 30px;
    text-align: center;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.file-drop-zone:hover {
    border-color: var(--accent-bright);
}

.file-icon {
    font-size: 32px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.form-submit-btn {
    width: 100%;
    background-color: var(--accent-bright);
    color: var(--bg-main);
    border: none;
    padding: 16px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition-smooth);
}

.form-submit-btn:hover {
    background-color: var(--accent-emerald);
    color: var(--text-primary);
}

/* --- Professional Footer --- */
.main-footer {
    background-color: #03050B;
    padding: 60px 6% 30px 6%;
    border-top: 1px solid var(--border-color);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info {
    max-width: 400px;
}

/* Styled text-only footer branding to match header typography sans logo */
.footer-brand-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 17px;
    letter-spacing: -0.5px;
}

.footer-info p {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 16px;
}

.footer-help h4 {
    font-family: var(--font-heading);
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-bottom p {
    font-size: 12px;
    color: var(--text-muted);
}

.disclaimer {
    font-size: 11px !important;
    line-height: 1.5;
}

/* --- Responsiveness (Mobile Optimization) --- */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .main-header {
        padding: 16px 4%;
    }
    .section {
        padding: 60px 4%;
    }
}
/* --- Brand Logo Styling --- */
.brand-logo {
    height: 40px;            /* Adjust this height to scale your logo perfectly */
    width: auto;             /* Keeps the original aspect ratio */
    object-fit: contain;     /* Prevents stretching or squishing */
    display: block;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;               /* Space between your logo and the text */
}
/* --- Ambient Cyber Watermarks (Z-Indexed Behind Text) --- */
.cyber-watermark-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;          /* Keeps watermarks strictly behind all text and buttons */
    pointer-events: none; /* Prevents background elements from blocking clicks */
    overflow: hidden;
}

.watermark {
    position: absolute;
    color: rgba(16, 185, 129, 0.03); /* Extremely subtle emerald base */
    filter: drop-shadow(0 0 15px rgba(16, 185, 129, 0.1));
    transition: var(--transition-smooth);
}

/* Huge Fingerprint Watermark Positioned Center-Right */
.fingerprint-watermark {
    width: 80vw;
    max-width: 900px;
    height: auto;
    right: -10%;
    top: 15%;
    animation: breathingGlow 8s ease-in-out infinite alternate, floatSlightly 20s ease-in-out infinite;
    transform-origin: center;
}

/* Tech Network Nodes Positioned Bottom-Left */
.network-watermark {
    width: 50vw;
    max-width: 500px;
    height: auto;
    left: -5%;
    bottom: 5%;
    animation: slowRotate 45s linear infinite;
    color: rgba(16, 185, 129, 0.02);
}

/* --- "Alive" Animation Keyframes --- */

/* Breathing Glow Effect (Changes intensity of green light) */
@keyframes breathingGlow {
    0% {
        color: rgba(16, 185, 129, 0.02);
        filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.05));
    }
    100% {
        color: rgba(16, 185, 129, 0.06); /* Brightens slightly */
        filter: drop-shadow(0 0 30px rgba(16, 185, 129, 0.2)); /* Deepens glow */
    }
}

/* Floating Motion (Moves the fingerprint slowly in space) */
@keyframes floatSlightly {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* Slow Rotational Movement for Cryptic Nodes */
@keyframes slowRotate {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(10deg) scale(1.05);
    }
    100% {
        transform: rotate(0deg) scale(1);
    }
}
/* --- Direct Contact Grid inside Sliding Tray --- */
.tray-contact-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    padding: 14px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.wa-color { background-color: #25D366; }
.wa-color:hover { background-color: #128C7E; }

.tg-color { background-color: #0088cc; }
.tg-color:hover { background-color: #006699; }

.sms-color { background-color: #1F2937; border: 1px solid var(--border-color); }
.sms-color:hover { border-color: var(--accent-emerald); color: var(--accent-emerald); }

/* --- Hero Social Row --- */
.hero-social-row {
    display: flex;
    gap: 12px;
}

.social-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: 1px solid var(--border-color);
    background-color: rgba(18, 24, 38, 0.5);
    color: var(--text-primary);
    border-radius: 6px;
    font-size: 20px;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.wa-hover:hover { border-color: #25D366; color: #25D366; background-color: rgba(37, 211, 102, 0.05); }
.tg-hover:hover { border-color: #0088cc; color: #0088cc; background-color: rgba(0, 136, 204, 0.05); }
.sms-hover:hover { border-color: var(--accent-emerald); color: var(--accent-emerald); background-color: rgba(16, 185, 129, 0.05); }

/* --- Floating Cyber-Contact Dock --- */
.floating-contact-dock {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 990; /* Right below the overlay menu level */
}

.dock-item {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    transition: var(--transition-smooth);
    animation: dockFloat 3s ease-in-out infinite alternate;
}

.dock-item:hover {
    transform: translateY(-5px) scale(1.1);
}

.wa-bg { background-color: #25D366; }
.tg-bg { background-color: #0088cc; animation-delay: 0.5s; }
.sms-bg { background-color: var(--accent-emerald); animation-delay: 1s; }

/* Floating action effect for the dock */
@keyframes dockFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-8px); }
}
/* --- RESPONSIVE LANDSCAPE CERTIFICATES SLIDER --- */
.certifications-slider-section {
    width: 100%;
    background: transparent;
    padding: clamp(30px, 5vw, 60px) 0;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-container {
    width: 100%;
    max-width: var(--container-max-width);
    height: 380px; 
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    perspective: 1200px; /* 3D depth */
}

.slider-track {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
}

/* Landscape Certificate Card */
.cert-card {
    position: absolute;
    width: 360px;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(10, 15, 30, 0.85);
    border: 1px solid rgba(0, 242, 254, 0.15);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.6);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(0, 0, -250px) scale(0.85);
    filter: blur(8px);
}

.cert-card img {
    width: 100%;
    height: 82%;
    object-fit: contain; /* Retains landscape document layout without clipping details */
    background: #060913;
    pointer-events: none;
}

.cert-info {
    padding: 8px 12px;
    text-align: center;
    background: rgba(8, 12, 24, 0.95);
    border-top: 1px solid rgba(0, 242, 254, 0.1);
}

.cert-info h4 {
    color: #fff;
    font-size: 0.8rem;
    margin: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* --- ACTIVE & SIDE SLIDE 3D POSITIONS --- */

/* Center Slide (Glows, Sharps up) */
.cert-card.active {
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) scale(1.08);
    filter: blur(0px);
    z-index: 5;
    border-color: rgba(0, 242, 254, 0.5);
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.25), 0 15px 40px rgba(0, 0, 0, 0.7);
}

/* Left Slide */
.cert-card.left-side {
    opacity: 0.4;
    pointer-events: auto;
    transform: translate3d(-330px, 0, -180px) scale(0.85);
    filter: blur(5px);
    z-index: 3;
}

/* Right Slide */
.cert-card.right-side {
    opacity: 0.4;
    pointer-events: auto;
    transform: translate3d(330px, 0, -180px) scale(0.85);
    filter: blur(5px);
    z-index: 3;
}

/* ==========================================================================
   RESPONSIVE HARD DEVICE BREAKPOINTS
   ========================================================================== */

/* Large screens (Displays cards slightly broader to fit big monitors gracefully) */
@media (min-width: 1400px) {
    .cert-card {
        width: 400px;
        height: 280px;
    }
    .cert-card.left-side {
        transform: translate3d(-380px, 0, -180px) scale(0.85);
    }
    .cert-card.right-side {
        transform: translate3d(380px, 0, -180px) scale(0.85);
    }
}

/* Tablets & Medium Screens */
@media (max-width: 992px) {
    .slider-container {
        height: 320px;
    }
    .cert-card {
        width: 300px;
        height: 210px;
    }
    .cert-card.left-side {
        transform: translate3d(-240px, 0, -150px) scale(0.85);
    }
    .cert-card.right-side {
        transform: translate3d(240px, 0, -150px) scale(0.85);
    }
}

/* Mobile Devices (Tightens positioning to prevent side spillover) */
@media (max-width: 576px) {
    .slider-container {
        height: 230px; 
    }
    
    .cert-card {
        width: 220px; 
        height: 155px;
    }
    
    .cert-info h4 {
        font-size: 0.65rem;
        letter-spacing: 0.5px;
    }

    .cert-card.left-side {
        transform: translate3d(-125px, 0, -120px) scale(0.8);
        opacity: 0.25;
        filter: blur(3px);
    }
    
    .cert-card.right-side {
        transform: translate3d(125px, 0, -120px) scale(0.8);
        opacity: 0.25;
        filter: blur(3px);
    }
}

document.addEventListener("DOMContentLoaded", () => {
    const incidentTypeSelect = document.getElementById("incidentType"); // Ensure your select menu has id="incidentType"
    const cryptoFields = document.getElementById("cryptoFields");
    const wireFields = document.getElementById("wireFields");

    function toggleConditionalFields() {
        const selectedValue = incidentTypeSelect.value;
        
        // Hide all blocks first
        cryptoFields.style.display = "none";
        wireFields.style.display = "none";
        
        // Show only the relevant block based on selection
        if (selectedValue === "crypto") {
            cryptoFields.style.display = "block";
        } else if (selectedValue === "wire") {
            wireFields.style.display = "block";
        }
    }

    // Run on startup and whenever the selection changes
    if (incidentTypeSelect) {
        incidentTypeSelect.addEventListener("change", toggleConditionalFields);
        toggleConditionalFields(); // Run instantly to set default state
    }
});
.form-group-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.form-group-info label {
    margin-bottom: 0 !important;
}

.help-tooltip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: rgba(16, 185, 129, 0.15);
    color: var(--accent-emerald);
    font-size: 11px;
    font-weight: 700;
    cursor: help;
    transition: var(--transition-smooth);
}

.help-tooltip:hover {
    background-color: var(--accent-emerald);
    color: #0b0f19;
}
