:root {
    /* Color Palette from Logo */
    --primary: #1b365d;
    --primary-light: #2b4b7d;
    --secondary: #1d7b6f;
    --accent: #00d1b2;
    --white: #ffffff;
    --bg-light: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --glass: rgba(255, 255, 255, 0.7);
    --shadow: 0 10px 30px rgba(27, 54, 93, 0.1);
    --border: rgba(27, 54, 93, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
nav {
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.4s ease;
    background: white;
    border-bottom: 1px solid var(--border);
}

nav.scrolled {
    padding: 1rem 0;
    box-shadow: var(--shadow);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 80px;
    /* Further increased for visibility */
    display: block;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 1.8rem;
    /* Slightly reduced gap to accommodate more items */
    align-items: center;
}

.nav-links a {
    color: var(--primary);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--secondary);
}

.btn-primary {
    background: var(--primary);
    color: var(--white) !important;
    padding: 0.8rem 1.8rem;
    border-radius: 12px;
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

/* Hero & Headers */
.subpage-hero {
    padding: 12rem 0 6rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
}

.subpage-hero h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.subpage-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 800px;
}

/* Sections */
.section {
    padding: 8rem 0;
}

.bg-white {
    background: white;
}

.section-tag {
    color: var(--secondary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.875rem;
    display: block;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    max-width: 800px;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-list-detailed {
    margin-top: 2rem;
}

.feature-list-detailed li {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
    display: flex;
    gap: 1.5rem;
}

.feature-list-detailed li i {
    font-size: 1.5rem;
    color: var(--secondary);
}

.feature-list-detailed h4 {
    margin-bottom: 0.5rem;
}

.feature-list-detailed p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin-top: 3rem;
}

.faq-item {
    background: white;
    border: 1px solid var(--border);
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    padding: 0 2rem 1.5rem;
    max-height: 500px;
}

/* Footer */
footer {
    padding: 6rem 0 3rem;
    background: #0f172a;
    color: #94a3b8;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 1.5rem;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: #94a3b8;
}

@media (max-width: 968px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .subpage-hero h1 {
        font-size: 2.5rem;
    }
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}