:root {
    --primary-green: #0E3151;
    --primary-green-light: #16436b;
    --accent-blue: #1F6AA5;
    --accent-blue-hover: #1557b0;
    --accent-gold: #c5a059;
    --bg-light: #f8faff;
    --bg-white: #ffffff;
    --text-main: #1a1a1a;
    --text-muted: #666666;
    --text-on-dark: #ffffff;
    --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    --border-radius: 16px;
    --container-padding: 20px;
    --font-family: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.5;
    padding-bottom: 80px; /* Space for bottom nav */
}

.container {
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
    max-width: 600px; /* Mobile focused */
    margin: 0 auto;
}

/* Header */
.header {
    background-color: var(--bg-white);
    height: 60px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.header-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #000;
}

.menu-toggle, .profile-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 15px;
}

.hero-image-container {
    position: relative;
    width: calc(100% - 40px);
    margin: 0 20px;
    height: 380px;
    border-radius: 20px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 30%, rgba(1, 58, 46, 0.9) 90%);
}

.hero-content {
    position: absolute;
    bottom: 40px;
    left: 20px;
    right: 20px;
    color: var(--text-on-dark);
}

.hero-subtitle {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--accent-gold);
    margin-bottom: 8px;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 12px;
}

.hero-description {
    font-size: 0.95rem;
    opacity: 0.85;
    font-weight: 300;
}

/* Verify Section */
.verify {
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

.verify-card {
    background: var(--bg-white);
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

.verify-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.verify-icon {
    background-color: var(--accent-blue);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.verify-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
}

.verify-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.verify-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.input-group {
    display: flex;
    gap: 12px;
    align-items: center;
}

input[type="text"] {
    flex: 1;
    height: 52px;
    background-color: #f5f7fa;
    border: 1px solid #edf1f7;
    border-radius: 12px;
    padding: 0 16px;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: all 0.2s;
}

input[type="text"]:focus {
    border-color: var(--accent-blue);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.1);
}

.scan-btn {
    width: 52px;
    height: 52px;
    background-color: var(--accent-blue);
    color: white;
    border: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.scan-btn:hover {
    background-color: var(--accent-blue-hover);
}

.btn-primary {
    height: 52px;
    background-color: var(--accent-blue);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary:hover {
    background-color: var(--accent-blue-hover);
    transform: translateY(-1px);
}

/* Expertise Section */
.expertise {
    padding: 40px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 24px;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

.view-all {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
}

.expertise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.expertise-card {
    background: var(--bg-white);
    padding: 20px;
    border-radius: var(--border-radius);
    border: 1px solid #f0f3f8;
}

.expertise-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.icon-blue { background-color: #e8f0fe; color: #1a73e8; }
.icon-cyan { background-color: #e0f7fa; color: #00acc1; }
.icon-blue-alt { background-color: #e3f2fd; color: #1e88e5; }
.icon-secure { background-color: #e8eaf6; color: #3f51b5; }

.expertise-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.expertise-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Why Choose Us */
.why-us {
    padding: 20px 0 40px;
}

.why-us h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.why-us-slider {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
}

.why-us-slider::-webkit-scrollbar { display: none; }

.why-card {
    min-width: 280px;
    padding: 24px;
    border-radius: 20px;
    color: white;
}

.card-green {
    background-color: var(--primary-green);
    background-image: linear-gradient(135deg, var(--primary-green) 0%, #025243 100%);
}

.card-dark {
    background-color: #101828;
}

.why-icon {
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.why-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.why-card p {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.5;
}

/* Footer */
.footer {
    background-color: #f0f4f8;
    padding: 40px 0;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}

.logo-box {
    background-color: var(--accent-blue);
    padding: 6px;
    border-radius: 6px;
    display: flex;
}

.footer-logo span {
    font-weight: 700;
    font-size: 1.1rem;
    color: #333;
}

.tagline {
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: #888;
    font-weight: 500;
}

/* Bottom Nav */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid #eee;
    padding: 10px 0;
    z-index: 1000;
}

.bottom-nav-content {
    display: flex;
    justify-content: space-between;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #999;
    gap: 4px;
    flex: 1;
}

.nav-item span {
    font-size: 0.7rem;
    font-weight: 500;
}

.nav-item.active {
    color: var(--accent-blue);
}

.nav-item.active svg {
    fill: rgba(26, 115, 232, 0.1);
}


/* QR Scanner Overlay */
.qr-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.qr-content {
    width: 90%;
    max-width: 400px;
    background: white;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
}

#qr-reader {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.btn-close-qr {
    margin-top: 20px;
    padding: 12px 24px;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}
