/* Global Styles & Typography - Ultra Modern UI/UX Polish */
@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #133d7f;
    --accent-orange: #e87314;
    --accent-yellow: #f59e0b;
    --newspaper-bg: #fffdfa;
    --border-color: #133d7f;
    --font-main: 'Hind Siliguri', sans-serif;
}

body {
    font-family: var(--font-main);
    background-color: #f8fafc;
    color: #1e293b;
    margin: 0;
    padding: 0;
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px -2px rgba(19, 61, 127, 0.06);
    border-bottom: 3px solid var(--accent-orange);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.navbar-brand span {
    color: var(--accent-orange);
}

.nav-link {
    font-weight: 500;
    color: #475569 !important;
    transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-orange) !important;
}

/* Buttons */
.btn-newspaper {
    background: linear-gradient(135deg, #e87314 0%, #d0620f 100%);
    color: #fff;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 8px;
    border: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(232, 115, 20, 0.3);
}

.btn-newspaper:hover {
    background: linear-gradient(135deg, #d0620f 0%, #b8520b 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 115, 20, 0.4);
}

.btn-outline-newspaper {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 8px;
    background: transparent;
    transition: all 0.25s ease;
}

.btn-outline-newspaper:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(19, 61, 127, 0.2);
}

/* Template Cards */
.template-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.03);
}

.template-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px -10px rgba(19, 61, 127, 0.12);
    border-color: #cbd5e1;
}

.template-img-wrapper {
    height: 220px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.template-body {
    padding: 24px;
}

.template-title {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Section Headings */
.section-title {
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 40px;
    text-align: center;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-orange), var(--primary-color));
    border-radius: 2px;
}

/* How It Works */
.step-box {
    text-align: center;
    padding: 35px 25px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
}

.step-box:hover {
    border-color: var(--accent-orange);
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(19, 61, 127, 0.08);
}

.step-icon {
    width: 75px;
    height: 75px;
    background: rgba(19, 61, 127, 0.08);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 20px auto;
    transition: all 0.3s ease;
}

.step-box:hover .step-icon {
    background: var(--accent-orange);
    color: #fff;
    transform: scale(1.05);
}

/* Footer */
footer {
    background-color: #0b2247;
    color: #cbd5e1;
    padding: 40px 0 20px 0;
    border-top: 4px solid var(--accent-orange);
}

footer h5 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 15px;
}

footer p, footer .text-muted {
    color: #cbd5e1 !important;
}
