:root {
    --primary: #0077B6;
    --secondary: #00B4D8;
    --accent: #90E0EF;
    --dark: #03045E;
    --light: #CAF0F8;
    --white: #ffffff;
    --gray: #f8f9fa;
    --text: #333333;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; line-height: 1.6; color: var(--text); background: var(--white); overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Global Input Fix */
input, select, textarea {
    color: #333333 !important;
    background-color: #ffffff !important;
    font-family: inherit;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
}

/* Typography */
h1, h2, h3, h4 { color: var(--dark); line-height: 1.2; margin-bottom: 1rem; font-weight: 800; }
h1 { font-size: 3rem; letter-spacing: -0.02em; }
h2 { font-size: 2.2rem; }
.lead { font-size: 1.25rem; color: #555; margin-bottom: 2rem; }
.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-primary { color: var(--primary); }
.bg-light { background: var(--gray); }
.bg-primary { background: var(--primary); }
.bg-secondary { background: var(--secondary); }
.py-5 { padding: 80px 0; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-4 { margin-top: 1.5rem; }

/* Top Bar */
.top-bar { background: var(--dark); color: var(--white); padding: 8px 0; font-size: 0.85rem; font-weight: 600; }
.top-bar .container { display: flex; justify-content: space-between; }

/* Header */
.main-header { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); box-shadow: 0 2px 15px rgba(0,0,0,0.05); padding: 15px 0; position: sticky; top: 0; z-index: 1000; }
.main-header nav { display: flex; justify-content: space-between; align-items: center; }

/* Logo Styling */
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--dark); }
.logo-icon { display: flex; align-items: center; justify-content: center; }
.logo-text { font-size: 1.4rem; font-weight: 700; display: flex; flex-direction: column; line-height: 1; }
.logo-text strong { color: var(--primary); }
.logo-text small { font-size: 0.75rem; color: var(--secondary); text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }

.nav-links { list-style: none; display: flex; gap: 25px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text); font-weight: 600; transition: var(--transition); font-size: 0.95rem; }
.nav-links a:hover { color: var(--primary); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-content { display: none; position: absolute; background: #fff; min-width: 200px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); border-radius: 8px; top: 100%; padding: 10px 0; }
.dropdown:hover .dropdown-content { display: block; }
.dropdown-content a { display: block; padding: 10px 20px; font-size: 0.9rem; }
.dropdown-content a:hover { background: var(--light); }

/* Mobile Menu */
.mobile-menu-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--dark); }
@media (max-width: 768px) {
    .nav-links { 
        display: none; 
        position: absolute; 
        top: 100%; 
        left: 0; 
        width: 100%; 
        background: white; 
        flex-direction: column; 
        padding: 20px; 
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    .nav-links.active { display: flex; }
    .mobile-menu-toggle { display: block; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 30px; border-radius: 50px; text-decoration: none; font-weight: 700; transition: var(--transition); border: none; cursor: pointer; gap: 10px; }
.btn-lg { padding: 18px 40px; font-size: 1.1rem; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--dark); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,119,182,0.3); }
.btn-secondary { background: var(--white); color: var(--primary); border: 2px solid var(--primary); }
.btn-secondary:hover { background: var(--primary); color: var(--white); }

/* Hero */
.hero { padding: 100px 0; background: radial-gradient(circle at top right, var(--light), var(--white)); position: relative; }
.hero-content { max-width: 900px; margin: 0 auto; text-align: center; }
.hero-actions { display: flex; gap: 15px; justify-content: center; margin-bottom: 40px; }
@media (max-width: 576px) {
    .hero-actions { flex-direction: column; }
}
.hero-badges { display: flex; gap: 30px; justify-content: center; color: #666; font-size: 0.95rem; font-weight: 600; flex-wrap: wrap; }
.badge-item { display: flex; align-items: center; gap: 8px; }
.badge-item i { color: var(--primary); width: 20px; }

/* Grid & Cards */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.service-card { background: var(--white); padding: 40px 30px; border-radius: 20px; text-decoration: none; transition: var(--transition); border: 1px solid #f0f0f0; display: flex; flex-direction: column; height: 100%; }
.service-card:hover { transform: translateY(-10px); border-color: var(--primary); box-shadow: 0 20px 40px rgba(0,0,0,0.05); }
.icon-box { background: var(--light); width: 60px; height: 60px; border-radius: 15px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--primary); }
.icon-box i { width: 30px; height: 30px; }
.service-card h3 { font-size: 1.4rem; margin-bottom: 15px; }
.service-card p { color: #666; font-size: 0.95rem; margin-bottom: 20px; flex-grow: 1; }
.link-text { color: var(--primary); font-weight: 700; display: flex; align-items: center; gap: 5px; font-size: 0.9rem; }

/* Trust Section */
.row { display: flex; gap: 50px; align-items: center; }
.col-6 { flex: 1; }
.col-8 { flex: 2; }
.rounded { border-radius: 24px; }
.shadow { box-shadow: 0 20px 50px rgba(0,0,0,0.1); }
img { max-width: 100%; height: auto; display: block; }
.trust-list { list-style: none; margin-top: 30px; }
.trust-list li { display: flex; gap: 20px; margin-bottom: 25px; }
.trust-list i { background: var(--primary); color: var(--white); width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; padding: 10px; }
.trust-list h4 { margin-bottom: 5px; font-size: 1.1rem; }
.trust-list p { color: #666; font-size: 0.95rem; }

/* Local Linking & Footer */
.local-links-section { background: #fdfdfd; padding: 50px 0; border-top: 1px solid #eee; }
.links-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 15px; margin-top: 20px; }
.links-grid a { color: #666; text-decoration: none; font-size: 0.9rem; display: block; transition: var(--transition); }
.links-grid a:hover { color: var(--primary); padding-left: 5px; }

.main-footer { background: var(--dark); color: #ccc; padding: 80px 0 20px; }
.main-footer .logo-text { color: var(--white); }
.main-footer .logo-text small { color: var(--accent); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; margin-bottom: 60px; }
.footer-links h4 { color: var(--white); margin-bottom: 25px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #aaa; text-decoration: none; transition: var(--transition); font-size: 0.95rem; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; font-size: 0.8rem; }

/* Animations */
.reveal-on-scroll { opacity: 0; transform: translateY(30px); transition: 0.8s ease-out; }
.reveal-on-scroll.revealed { opacity: 1; transform: translateY(0); }

@media (max-width: 992px) {
    .row { flex-direction: column; gap: 40px; }
    .col-6 { width: 100%; }
    .hero h1 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; }
    .top-bar .container { justify-content: center; }
    .top-bar span:not(:first-child) { display: none; }
    .hero h1 { font-size: 2rem; }
}

/* Page Hero */
.page-hero { padding: 80px 0; background: var(--primary); color: var(--white); }
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero .lead { color: rgba(255,255,255,0.9); }

/* Card */
.card { background: white; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 1px solid #f0f0f0; }
.p-4 { padding: 2rem; }

/* Simulator Styling */
.simulator-container { max-width: 600px; margin: 0 auto; }
.step { display: none; }
.step.active { display: block; }
.vud-section { border-radius: 30px; margin: 40px 0; overflow: hidden; }