/* =====================
   ROOT & RESET
===================== */
:root {
    --primary: #0d6efd;
    --dark: #0a1f44;
    --light: #f8f9fa;
    --text: #333;
}

*{
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    scroll-behavior: smooth;
    box-sizing: border-box;
    font-family: "Laila", serif;
}
/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal {
    background: #fff;
    padding: 25px;
    width: 90%;
    max-width: 380px;
    border-radius: 12px;
    text-align: center;
    animation: pop .3s ease;
}

.modal.success h3 { color: #2ecc71; }
.modal.error h3 { color: #e74c3c; }

.modal p {
    margin: 15px 0;
    font-size: 15px;
}

.modal button {
    padding: 10px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    background: #0d1b2a;
    color: #fff;
}

@keyframes pop {
    from { transform: scale(.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

body {
    color: var(--text);
    background: white;
}
html, body {
    width: 100%;
    overflow-x: hidden;
}


/* =====================
   GLOBAL
===================== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}


.section {
    padding: 80px 0;
}

.section.alt {
    background: var(--light);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.center-text {
    text-align: center;
    max-width: 700px;
    margin: auto;
}

/* =====================
   NAVBAR
===================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    border-bottom: 1px solid #ddd;
    z-index: 9999;
}
.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    position: relative;
}

.logo {
    font-weight: bold;
    color: var(--primary);
    font-size: 1.3rem;
}

.nav-links a {
    margin-left: 20px;
    text-decoration: none;
    color: var(--text);
}

.nav-links.active {
    display: flex;
}


.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}


/* =====================
   HERO SECTION
===================== */
.hero {
    
    min-height: calc(100vh - 70px);
    padding-top: 70px;
    padding-bottom: 40px;
    background: linear-gradient(120deg, var(--dark), var(--primary));
    display: flex;
    align-items: center;
    color: white;

}

/* HERO GRID */
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 60px;
}


/* IMAGE LEFT */
.hero-image {
    text-align: left;
}

.hero-image img {
    max-width: 100%;
    height: 100%;
    animation: floatSide 4s ease-in-out infinite;
}
.hero-content p {
    margin-bottom: 30px;
}


/* TEXT RIGHT */
.hero-content {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* TITLE */
.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

#inheritance {
    margin-top: -50px;
    background-color: #0d6efd;
}


/* =====================
   BUTTONS
===================== */
.btn {
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
    text-decoration: none;
    border: none;
}

.btn-outline {
    border: 1px solid var(--primary);
    padding: 8px 18px;
    border-radius: 5px;
    color: var(--primary);
}

.large {
    padding: 15px 30px;
    
}


/* =====================
   CARDS
===================== */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    transition: transform .3s;
}

.card:hover {
    transform: translateY(-8px);
}

/* =====================
   FAQ
===================== */
.faq {
    max-width: 700px;
    margin: 20px auto;
}

/* =====================
   CONTACT
===================== */
.contact-form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    margin-bottom: 15px;
    padding: 12px;
}

/* =====================
   FOOTER
===================== */
.footer {
    background: var(--dark);
    color: white;
    padding: 30px 0;
    text-align: center;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    text-align: left;
}

.footer h4 {
    margin-bottom: 10px;
    color: #fff;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 8px;
}

.footer-bottom {
    margin-top: 30px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

.btn-large {
    padding: 15px 35px;
    font-size: 1.1rem;
    background-color: #0d6efd;
    border-radius: 8px;
    color: white;
    width: fit-content;
}
.small {
    font-size: 0.8rem;
}

/* PAGE HERO */
.page-hero {
    padding: 140px 20px 80px;
    background: linear-gradient(120deg, var(--dark), var(--primary));
    color: white;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

/* CONTENT BLOCKS */
.content-block {
    margin-bottom: 40px;
}

.content-block h2 {
    color: var(--dark);
    margin-bottom: 10px;
}

.content-block ul {
    padding-left: 20px;
}

.content-block ul li {
    margin-bottom: 8px;
}

.content-block.highlight {
    background: var(--light);
    padding: 30px;
    border-left: 5px solid var(--primary);
}

.section {
    padding: 80px 20px;
}


.content-block {
    margin-bottom: 50px;
    line-height: 1.7;
}

.content-block h2 {
    margin-bottom: 12px;
    font-size: 1.6rem;
}

.content-block p {
    color: #444;
}

.content-block ul li {
    margin-bottom: 8px;
}

.highlight {
    background: #f8f9fc;
    padding: 30px;
    border-left: 4px solid var(--primary);
}

.faq-item {
    margin-bottom: 25px;
}

.faq-item h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #0d1b2a;
}

.faq-item p {
    color: #555;
    line-height: 1.6;
}

/* =====================
   AUTH PAGES (LOGIN / SIGNUP)
===================== */
.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(120deg, #0a1f44, #0d6efd);
    padding: 100px 20px;
}

.auth-card {
    background: white;
    width: 100%;
    max-width: 420px;
    padding: 40px 35px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    animation: slideIn 0.8s ease;
}

.auth-card h2 {
    text-align: center;
    margin-bottom: 8px;
    color: #0a1f44;
}

.auth-subtext {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 30px;
}

.auth-form .form-group {
    margin-bottom: 18px;
}

.auth-form label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 6px;
    color: #333;
}

.auth-form input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #ddd;
    outline: none;
    transition: 0.3s;
    font-size: 0.95rem;
}

.auth-form input:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13,110,253,0.1);
}

.auth-btn {
    width: 100%;
    margin-top: 10px;
    padding: 14px;
    font-size: 1rem;
}

.auth-links {
    margin-top: 25px;
    text-align: center;
    font-size: 0.85rem;
}

.auth-links a {
    color: #0d6efd;
    text-decoration: none;
    margin: 0 5px;
}

.auth-links a:hover {
    text-decoration: underline;
}
.auth-form input[type="date"],
.auth-form input[type="tel"] {
    font-size: 0.95rem;
}
.lumex {
    position: fixed;
    top: 15px;
    left: 20px;
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    z-index: 10000;
}


/* =====================
   ANIMATIONS
===================== */
.slide-in {
    animation: slideIn 1s ease;
}

@keyframes slideIn {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;              /* below navbar */
        left: -260px;           /* hidden off-screen */
        width: 260px;           /* drawer width */
        background: white;
        display: flex;
        flex-direction: column;
        padding: 20px;
        z-index: 9999;
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(0,0,0,0.15);
    }

    .nav-links.active {
        left: 0;               /* slide in */
    }

    .nav-links a {
        margin: 12px 0;
    }

    .hamburger {
        display: block;
    }
}

/* =====================
   HERO IMAGE ANIMATION
===================== */
@keyframes floatSide {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-25px);
    }
    100% {
        transform: translateX(0);
    }
}
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        order: 1;
        margin-bottom: 30px;
    }

    .hero-content {
        order: 2;
    }

    .hero-image img {
        animation: floatUp 4s ease-in-out infinite;
    }
}

/* MOBILE FLOAT */
@keyframes floatUp {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(15px);
    }
    100% {
        transform: translateY(0);
    }
}
@media (max-width: 480px) {
    .auth-section {
        padding: 40px 15px;
    }

    .auth-card {
        padding: 30px 20px;
    }
}
@media (max-width: 360px) {
    .modal {
        padding: 20px;
        font-size: 0.9rem;
    }

    .modal button {
        width: 100%;
    }
}
/* =====================
   TABLET FIX (iPads)
===================== */
@media (max-width: 1024px) {

    /* HERO */
    .hero {
        min-height: auto;
        padding: 120px 20px 60px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-content {
        max-width: 600px;
        margin: auto;
        align-items: center;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

    .hero-content p {
        margin-bottom: 28px;
    }

    .hero-image {
        order: -1;
        max-width: 420px;
        margin: auto;
    }

    .hero-image img {
        width: 100%;
        height: auto;
        animation: none;
    }
}
@media (max-width: 1024px) {
    .nav-content {
        padding: 0 20px;
    }

    .nav-links a {
        margin-left: 14px;
        font-size: 0.95rem;
    }
}
/* =====================
   TABLET NAVBAR FIX
   (iPad Air / Pro)
===================== */
@media (max-width: 1024px) {

    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -260px;
        width: 260px;
        height: calc(100vh - 70px);
        background: white;
        display: flex;
        flex-direction: column;
        padding: 25px 20px;
        transition: left 0.3s ease;
        box-shadow: 2px 0 12px rgba(0,0,0,0.15);
        z-index: 9999;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        margin: 14px 0;
        font-size: 1rem;
    }
}


