/* -----------------------------------------
   GLOBAL SETTINGS
----------------------------------------- */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #fdf9ff;
    color: #2c1d40;
    overflow-x: hidden;
}

/* -----------------------------------------
   HEADER
----------------------------------------- */
.header {
    background: #3F00A8;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 20;
}

.logo {
    height: 125px;
}

nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

nav a {
    color: #ffd86b;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

nav a:hover {
    color: white;
}

/* Desktop-only button */
.desktop-only {
    display: inline-block;
}

/* -----------------------------------------
   HERO SECTION
----------------------------------------- */
.hero {
    background: linear-gradient(to bottom right, #24004d, #5a0fba);
    color: white;
    padding: 130px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
}

.hero p {
    font-size: 19px;
    margin-top: 15px;
}

.gold {
    color: #ffdf72;
}

.btn-gold {
    background: linear-gradient(to right, #fdd76d, #ffcc4d);
    padding: 14px 28px;
    border-radius: 40px;
    font-weight: 600;
    color: black;
    text-decoration: none;
    display: inline-block;
    margin-top: 25px;
    box-shadow: 0 0 15px rgba(255, 208, 87, 0.7);
    transition: 0.3s;
}

.btn-gold:hover {
    box-shadow: 0 0 25px rgba(255, 208, 87, 1);
}

/* -----------------------------------------
   UNIVERSAL PAGE LAYOUT
----------------------------------------- */
.page-wrapper {
    max-width: 1100px;
    margin: 60px auto;
    background: #ffffff;
    padding: 35px;
    border-radius: 14px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.16);
    border: 1px solid rgba(255,215,0,0.25);
}

.page-wrapper h1,
.page-wrapper h2 {
    color: #3A0CA3;
}

.page-wrapper p,
.page-wrapper table,
.page-wrapper ul {
    font-size: 18px;
    line-height: 1.7;
}

/* Tables */
.page-wrapper table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.page-wrapper table th,
.page-wrapper table td {
    border: 1px solid #dedede;
    padding: 12px;
    text-align: left;
}

/* -----------------------------------------
   CARDS
----------------------------------------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 5px 18px rgba(148, 98, 255, 0.2);
    border: 1px solid #e8d9ff;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(148, 98, 255, 0.35);
}

/* -----------------------------------------
   BLOG CARDS
----------------------------------------- */
.blog-card {
    background: white;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* -----------------------------------------
   CONTACT PAGE
----------------------------------------- */
.contact-box {
    background: white;
    padding: 30px;
    width: 90%;
    max-width: 450px;
    margin: auto;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(148, 98, 255, 0.3);
}

.contact-email {
    color: #3A0CA3;
    font-weight: 600;
    text-decoration: none;
}

.contact-email:hover {
    text-decoration: underline;
}

/* Submit Button */
.btn-submit {
    background: linear-gradient(180deg, #FFD76D, #FFB703);
    color: #000;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 999px;
    padding: 14px 42px;
    cursor: pointer;
    margin-top: 15px;
    align-self: center;
    box-shadow:
        0 0 18px rgba(255, 215, 109, 0.85),
        0 8px 25px rgba(255, 183, 3, 0.6);
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 28px rgba(255, 215, 109, 1),
        0 12px 35px rgba(255, 183, 3, 0.85);
}

/* -----------------------------------------
   FOOTER
----------------------------------------- */
.footer {
    text-align: center;
    padding: 20px;
    background: #24004d;
    color: white;
    margin-top: 40px;
}

/* -----------------------------------------
   MOBILE RESPONSIVE FIXES
----------------------------------------- */
@media (max-width: 768px) {

    /* Header */
    .header {
        flex-direction: column;
        text-align: center;
        padding: 18px 10px;
    }

    .logo {
        height: 110px;
        margin-bottom: 10px;
    }

    /* CLEAN 3×2 MENU */
    nav {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        width: 100%;
        background: #1a0638;
        padding: 12px 0;
        border-radius: 14px;
    }

    nav a {
        font-size: 14px;
        padding: 10px 4px;
        text-align: center;
        position: relative;
        color: #FFD76D;
    }

    /* Glow underline */
    nav a::after {
        content: "";
        position: absolute;
        left: 30%;
        width: 40%;
        height: 2px;
        bottom: 6px;
        background: linear-gradient(
            90deg,
            transparent,
            #FFD76D,
            #FFB703,
            #FFD76D,
            transparent
        );
        border-radius: 4px;
        opacity: 0.9;
    }

    /* Hide consultation button on mobile */
    .desktop-only {
        display: none !important;
    }

    /* Hero */
    .hero h1 {
        font-size: 26px;
        line-height: 1.3;
    }

    .hero p {
        font-size: 15px;
    }

    .btn-gold {
        font-size: 14px;
        padding: 10px 18px;
    }

    /* Tables scroll */
    table {
        width: 100%;
        display: block;
        overflow-x: auto;
    }
}

.page-title {
    text-align: center;
    font-size: 40px;
    color: #3A0CA3;
    margin: 40px 0 20px 0;
    font-weight: 700;
}

