/* ===============================
   GLOBAL RESET
================================= */

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.75;
    color: #0f172a;
    background: #ffffff;
}

h1 {
    font-size: 48px;
    font-weight: 600;
    letter-spacing: -1px;
}

h2 {
    font-size: 34px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

h3 {
    font-size: 20px;
    font-weight: 600;
}


/* ===============================
   LOGO HEADER
================================= */

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 18px;
}

.logo img {
    width: 28px;
    height: 28px;
}


/* ===============================
   LAYOUT
================================= */

.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

.section {
    padding: 100px 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
}


/* ===============================
   HEADER
================================= */

.header {
    padding: 25px 0;
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo h1 {
    font-size: 20px;
    font-weight: 600;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    transition: 0.2s ease;
}

.nav a:hover {
    color: #000;
}

.cta-nav {
    padding: 10px 18px;
    /* background: #000; */
    background: #1E40AF;
    color: #fff !important;
    border-radius: 6px;
}


/* ===============================
   HERO
================================= */

.hero {
    padding: 180px 0;
    text-align: center;
    background: radial-gradient(circle at top left, rgba(30, 64, 175, 0.2), transparent 40%), linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #ffffff;
}

.hero h1 {
    font-size: 44px;
    font-weight: 600;
    margin-bottom: 25px;
}

.hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 35px auto;
    color: #e0e7ff;
}

.blog-hero {
    padding: 140px 0;
    text-align: center;
    background: linear-gradient(rgba(10, 20, 50, 0.8), rgba(10, 20, 50, 0.8)), url('../images/blog-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
}


/* ===============================
   CONTACT FORM
================================= */

form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

input,
select,
textarea {
    width: 100%;
    padding: 14px;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    font-size: 14px;
    transition: 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #1E40AF;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

textarea {
    min-height: 120px;
    resize: vertical;
}


/* ===============================
   BUTTONS
================================= */

.btn-primary {
    display: inline-block;
    padding: 14px 28px;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: 0.25s ease;
    background: linear-gradient(135deg, #1E40AF, #1D4ED8);
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.25);
}

.btn-primary:hover {
    background: #1D4ED8;
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(30, 64, 175, 0.35);
}

.btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border: 1px solid #1E40AF;
    color: #1E40AF;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    margin-left: 15px;
    transition: 0.25s ease;
}

.btn-secondary:hover {
    background: #1E40AF;
    color: #fff;
}


/* ===============================
   CARDS
================================= */

.card {
    background: #ffffff;
    padding: 40px;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.06);
    transition: 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.1);
}

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

.card p {
    color: #555;
    font-size: 15px;
}


/* ===============================
   FOUNDER SECTION
================================= */

.founder-section {
    padding: 120px 0;
    background: #ffffff;
}

.founder-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: center;
}

.founder-image img {
    width: 100%;
    border-radius: 12px;
}

.founder-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.founder-content p {
    margin-bottom: 18px;
    color: #555;
}


/* ===============================
   CREDIBILITY
================================= */

.credibility {
    padding: 100px 0;
    background: #f9fafb;
    text-align: center;
}

.credibility h3 {
    margin-bottom: 10px;
}


/* ===============================
   FINAL CTA
================================= */

.final-cta {
    padding: 120px 0;
    text-align: center;
    background: #000;
    color: #fff;
}

.final-cta h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.final-cta p {
    color: #ccc;
    margin-bottom: 30px;
}

.final-cta .btn-primary {
    background: #fff;
    color: #000;
}

.final-cta .btn-primary:hover {
    background: #e5e5e5;
}


/* ===============================
   ARTICLE STYLING
================================= */

.article-content h2 {
    margin-top: 50px;
    margin-bottom: 15px;
    font-size: 24px;
}

.article-content h3 {
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 18px;
}

.article-content p {
    margin-bottom: 18px;
    color: #444;
}

.article-content ul {
    margin: 20px 0;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 8px;
}

.section-alt {
    background: linear-gradient(to bottom, #ffffff, #f8fafc);
}


/* ===============================
   FOOTER
================================= */

.footer {
    padding: 50px 0;
    text-align: center;
    font-size: 14px;
    color: #777;
    border-top: 1px solid #f0f0f0;
}


/* ===============================
   OTHERS
================================= */

.section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #e2e8f0, transparent);
    margin: 100px 0;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero .container p,
h1,
.section-alt .container p,
h1 {
    color: #333;
}


/* ===== Overlay Loader ===== */

.overlay-loader {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #1E40AF;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/* ===== Modal ===== */

.modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.modal-content {
    background: #ffffff;
    padding: 40px;
    border-radius: 14px;
    width: 90%;
    max-width: 420px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.15);
}

.modal-content h3 {
    margin-bottom: 15px;
}

.modal-content p {
    margin-bottom: 25px;
    color: #475569;
}


/* ===============================
   RESPONSIVE
================================= */

@media (max-width: 900px) {
    .hero h1 {
        font-size: 32px;
    }
    .founder-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .btn-secondary {
        margin-left: 0;
        margin-top: 15px;
        display: block;
    }
}