/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styling */
body {
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    background: 
        linear-gradient(120deg, #184fa7 0%, #2d6cdf 100%),
        url('https://images.unsplash.com/photo-1532012197267-da84d127e765?q=80&w=1287&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') center/cover no-repeat;
    color: #fff;
    line-height: 1.6;
    min-height: 100vh;
    background-blend-mode: overlay;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Header */
header {
    background: linear-gradient(90deg, #184fa7 60%, #2d6cdf 100%);
    box-shadow: 0 4px 16px rgba(45,108,223,0.18);
    padding: 2rem 2rem 1.5rem 2rem;
    margin-bottom: 2.5rem;
    border-radius: 0 0 2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

header .logo {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(45,108,223,0.18);
}

nav {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
    align-items: center;
    justify-content: flex-end;
    background: rgba(45,108,223,0.18);
    padding: 0.75rem 2rem;
    border-radius: 2rem;
    box-shadow: 0 2px 8px rgba(45,108,223,0.18);
}

nav a {
    position: relative;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.08rem;
    padding: 0.5rem 1.2rem;
    border-radius: 1.5rem;
    transition: 
        color 0.2s,
        background 0.2s,
        box-shadow 0.2s;
}

nav a::after {
    content: '';
    display: block;
    position: absolute;
    left: 50%;
    bottom: 0.3rem;
    transform: translateX(-50%) scaleX(0);
    width: 70%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(.4,0,.2,1);
}

nav a:hover,
nav a:focus {
    color: #184fa7;
    background: #fff;
    box-shadow: 0 2px 12px rgba(45,108,223,0.22);
}

nav a:hover::after,
nav a:focus::after {
    transform: translateX(-50%) scaleX(1);
    background: #184fa7;
}

@media (max-width: 600px) {
    nav {
        flex-direction: column;
        gap: 1rem;
        padding: 0.5rem 1rem;
        border-radius: 1rem;
    }
    nav a {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(100deg, #2d6cdf 55%, #184fa7 100%);
    border-radius: 2rem;
    padding: 3.5rem 3rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 8px 32px rgba(45,108,223,0.16);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -60px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, #fff2 0%, #2d6cdf 80%);
    border-radius: 50%;
    z-index: 0;
    opacity: 0.5;
}

.hero-content {
    max-width: 600px;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.2rem;
    text-shadow: 0 4px 16px rgba(45,108,223,0.22);
    letter-spacing: 1px;
    line-height: 1.15;
}

.hero-desc {
    font-size: 1.25rem;
    margin-bottom: 2.2rem;
    color: #e3eeff;
    line-height: 1.7;
    font-weight: 500;
}

.hero-btn {
    display: inline-block;
    background: linear-gradient(90deg, #fff 60%, #e3eeff 100%);
    color: #184fa7;
    padding: 0.85rem 2.2rem;
    border-radius: 2.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(45,108,223,0.14);
    text-decoration: none;
    transition: 
        background 0.2s,
        color 0.2s,
        box-shadow 0.2s;
    border: none;
    outline: none;
}

.hero-btn:hover,
.hero-btn:focus {
    background: linear-gradient(90deg, #184fa7 60%, #2d6cdf 100%);
    color: #fff;
    box-shadow: 0 8px 32px rgba(45,108,223,0.22);
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem 1.2rem;
    }
    .hero-content {
        max-width: 100%;
    }
    .hero-title {
        font-size: 2.2rem;
    }
}

/* Cards / Features */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.card {
    background: #184fa7;
    border-radius: 1rem;
    box-shadow: 0 2px 12px rgba(45,108,223,0.18);
    padding: 2rem;
    transition: transform 0.2s, box-shadow 0.2s;
    color: #fff;
}

.card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 6px 24px rgba(45,108,223,0.28);
    background: #2d6cdf;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px rgba(45,108,223,0.18);
}

.card-desc {
    color: #e3eeff;
    font-size: 1rem;
}

/* Footer */
footer {
    background: #184fa7;
    color: #fff;
    text-align: center;
    padding: 1.5rem 0;
    border-radius: 1rem 1rem 0 0;
    margin-top: 2rem;
    font-size: 1rem;
    box-shadow: 0 -2px 8px rgba(45,108,223,0.18);
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }
    .hero-content {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 1rem;
    }
    .cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    header {
        padding: 1rem 0;
    }
    .hero-title {
        font-size: 2rem;
    }
}