@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #1e293b;
    --primary-light: #334155;
    --accent: #fbbf24;
    --accent-hover: #f59e0b;
    --secondary: #64748b;
    --success: #059669;
    --error: #ef4444;
    --text-dark: #0f172a;
    --text-light: #f8fafc;
    --bg-light: #ffffff;
    --bg-alt: #f1f5f9;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, .font-heading {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

section {
    padding: 80px 5%;
}

@media (max-width: 768px) {
    section {
        padding: 60px 20px;
    }
}

/* --- Components --- */

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--accent);
    color: white;
}

.btn-outline:hover {
    background-color: var(--accent);
    color: var(--primary);
}

/* --- Emergency Banner --- */
.emergency-banner {
    background: linear-gradient(90deg, #b91c1c 0%, #ef4444 100%);
    color: white;
    padding: 10px 5%;
    text-align: center;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.emergency-banner .btn-sm {
    padding: 6px 15px;
    font-size: 0.8rem;
    background: white;
    color: #b91c1c;
    border-radius: 4px;
}

/* --- Navigation --- */
header {
    background: white;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 44px; /* Height of emergency banner */
    z-index: 999;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

header.scrolled {
    padding: 10px 5%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.logo img {
    height: 50px;
    width: auto;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav a {
    font-weight: 500;
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
}

nav a:hover {
    color: var(--accent-hover);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 1024px) {
    nav, .nav-cta .btn {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
}

/* --- Footer --- */
footer {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 80px 5% 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 20px;
}

.footer-about p {
    color: var(--secondary);
    max-width: 300px;
}

.footer-links h4 {
    margin-bottom: 25px;
    font-size: 1.2rem;
    color: var(--accent);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #cbd5e1;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--primary-light);
    text-align: center;
    color: var(--secondary);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Hero Section --- */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)), url('../assets/hero.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
    text-align: left;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    color: #e2e8f0;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

@media (max-width: 768px) {
    .hero {
        text-align: center;
        height: 80vh;
    }
    .hero-btns {
        justify-content: center;
        flex-direction: column;
    }
}

/* --- Trust Badges --- */
.trust-badges {
    background-color: var(--bg-alt);
    padding: 40px 5%;
}

.badges-wrapper {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
}

.badge-item i {
    color: var(--accent);
    font-size: 1.5rem;
}

/* --- Cards --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--bg-alt);
    display: flex;
    flex-direction: column;
}

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

.card-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
}

.card p {
    color: var(--secondary);
    margin-bottom: 25px;
    flex-grow: 1;
}

.card-link {
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-link:after {
    content: '→';
    transition: var(--transition);
}

.card-link:hover:after {
    transform: translateX(5px);
}

/* --- Animation Classes --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
