/* GLOBAL */
:root {
    --primary: #771B5F;
    --primary-dark: #4d1429;
    --secondary: #d49a3a;
    --dark: #171717;
    --light: #f8f6f3;
    --white: #ffffff;
    --text: #555;
    --border: #e9e5df;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Arial";
    color: var(--dark);
}

a {
    text-decoration: none;
}


/* NAVBAR */
.navbar {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    padding: 14px 0;
}

.navbar.scrolled {
    padding: 9px 0;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.10);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.55rem;
    color: var(--primary) !important;
}

.logo-box {
    width: 43px;
    height: 43px;
    border-radius: 10px;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Playfair Display", serif;
    font-size: 1.35rem;
    font-weight: 800;
}

.brand-subtitle {
    display: block;
    font-family: "DM Sans", sans-serif;
    color: #888;
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    line-height: 1;
    margin-top: 2px;
}

.navbar-nav .nav-link {
    color: #333 !important;
    font-size: 0.92rem;
    font-weight: 600;
    margin: 0 8px;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 8px;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: calc(100% - 16px);
}

.btn-login {
    color: var(--primary);
    border: 1px solid var(--primary);
    font-weight: 600;
    padding: 9px 20px;
    border-radius: 7px;
}

.btn-login:hover {
    background: var(--primary);
    color: white;
}

.btn-register {
    background: var(--primary);
    color: white;
    border: 1px solid var(--primary);
    font-weight: 600;
    padding: 9px 20px;
    border-radius: 7px;
}

.btn-register:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
}

/* =========================
           HERO
        ========================== */

.hero {
    min-height: 100vh;
    padding: 150px 0 90px;
    background:
        linear-gradient(90deg,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(255, 255, 255, 0.93) 45%,
            rgba(255, 255, 255, 0.55) 100%),
        url("https://images.unsplash.com/photo-1544947950-fa07a98d237f?auto=format&fit=crop&w=1800&q=85") center/cover no-repeat;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 680px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f5e8ed;
    color: var(--primary);
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 22px;
}

.hero-badge i {
    color: var(--secondary);
}

.hero h1 {
    font-size: clamp(2.7rem, 6vw, 5rem);
    line-height: 1.08;
    font-weight: 800;
    margin-bottom: 22px;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    max-width: 600px;
    font-size: 1.08rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-primary-custom {
    background: var(--primary);
    color: white;
    padding: 13px 25px;
    border-radius: 7px;
    font-weight: 700;
    border: 1px solid var(--primary);
    transition: 0.3s ease;
}

.btn-primary-custom:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
}

.btn-outline-custom {
    border: 1px solid #bbb;
    color: var(--dark);
    padding: 13px 25px;
    border-radius: 7px;
    font-weight: 700;
    transition: 0.3s ease;
}

.btn-outline-custom:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
    margin-top: 50px;
}

.stat-number {
    display: block;
    color: var(--primary);
    font-family: "Playfair Display", serif;
    font-size: 1.8rem;
    font-weight: 800;
}

.stat-label {
    font-size: 0.8rem;
    color: #777;
}

/* =========================
           GENERAL
        ========================== */

section {
    padding: 95px 0;
}

.section-label {
    color: var(--primary);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 800;
    margin-bottom: 18px;
}

.section-description {
    max-width: 650px;
    line-height: 1.8;
}

/* =========================
           SERVICES
        ========================== */

.services-section {
    background: var(--light);
}

.service-card {
    height: 100%;
    background: white;
    padding: 32px 28px;
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.service-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5e8ed;
    color: var(--primary);
    border-radius: 10px;
    font-size: 1.55rem;
    margin-bottom: 23px;
}

.service-card h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.9rem;
    line-height: 1.75;
    margin-bottom: 0;
}

/* =========================
           ABOUT
        ========================== */

.about-image {
    min-height: 510px;
    border-radius: 15px;
    background:
        linear-gradient(rgba(107, 31, 58, 0.12),
            rgba(107, 31, 58, 0.12)),
        url("https://images.unsplash.com/photo-1524995997946-a1c2e315a42f?auto=format&fit=crop&w=1000&q=85") center/cover;
}

.about-content {
    padding-left: 35px;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.about-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.94rem;
}

.about-list i {
    color: var(--secondary);
    font-size: 1.15rem;
}

/* =========================
           PROCESS
        ========================== */

.process-section {
    background: #171717;
}

.process-section .section-title,
.process-section .section-description {
    color: white;
}

.process-section .section-description {
    color: #bbb;
}

.process-card {
    position: relative;
    padding: 30px;
    height: 100%;
    border: 1px solid #383838;
    border-radius: 12px;
    background: #202020;
}

.process-number {
    font-family: "Playfair Display", serif;
    font-size: 2.5rem;
    color: var(--secondary);
    font-weight: 800;
    margin-bottom: 20px;
}

.process-card h4 {
    color: white;
    font-size: 1.2rem;
}

.process-card p {
    color: #aaa;
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* =========================
           Journals
        ========================== */

.book-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: white;
    transition: 0.3s ease;
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.book-cover {
    height: 310px;
    overflow: hidden;
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

.book-card:hover .book-cover img {
    transform: scale(1.04);
}

.book-info {
    padding: 22px;
}

.book-category {
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.book-info h4 {
    font-size: 1.2rem;
    margin: 7px 0;
}

.book-info p {
    font-size: 0.83rem;
    margin-bottom: 0;
}

/* =========================
           TESTIMONIALS
        ========================== */

.testimonial-section {
    background: var(--light);
}

.testimonial-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border);
    height: 100%;
}

.quote-icon {
    color: var(--secondary);
    font-size: 2rem;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-family: "Playfair Display", serif;
    font-size: 1.05rem;
    color: #444;
    line-height: 1.7;
}

.author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.author strong {
    display: block;
    color: var(--dark);
    font-size: 0.88rem;
}

.author span {
    font-size: 0.76rem;
}

/* =========================
           CTA
        ========================== */

.cta-section {
    padding: 70px 0;
}

.cta-box {
    background: var(--primary);
    color: white;
    border-radius: 15px;
    padding: 65px;
    position: relative;
    overflow: hidden;
}

.cta-box::after {
    content: "Datamine";
    position: absolute;
    right: 35px;
    bottom: -60px;
    font-family: "Playfair Display", serif;
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.06);
}

.cta-box h2 {
    color: white;
    font-size: clamp(2rem, 4vw, 3rem);
}

.cta-box p {
    color: #eadfe3;
    max-width: 620px;
    line-height: 1.7;
}

.btn-white {
    background: white;
    color: var(--primary);
    padding: 13px 25px;
    border-radius: 7px;
    font-weight: 700;
    display: inline-block;
}

.btn-white:hover {
    background: #f1f1f1;
    color: var(--primary-dark);
}

/* =========================
           FOOTER
        ========================== */

footer {
    background: #111;
    color: #999;
    padding-top: 65px;
}

.footer-brand {
    color: white;
    font-family: "Playfair Display", serif;
    font-size: 1.6rem;
    font-weight: 800;
}

.footer-description {
    max-width: 330px;
    line-height: 1.8;
    font-size: 0.88rem;
}

.footer-title {
    color: white;
    font-family: "DM Sans", sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 11px;
}

.footer-links a {
    color: #999;
    font-size: 0.85rem;
    transition: 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 9px;
}

.social-links a {
    width: 37px;
    height: 37px;
    border: 1px solid #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    transition: 0.2s ease;
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.footer-bottom {
    border-top: 1px solid #292929;
    margin-top: 50px;
    padding: 22px 0;
    font-size: 0.78rem;
}

/* =========================
           ANIMATION
        ========================== */

.fade-up {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
           RESPONSIVE
        ========================== */

@media (max-width: 991px) {

    .navbar-collapse {
        background: white;
        padding: 15px 0;
    }

    .navbar-nav .nav-link {
        padding: 10px 0;
    }

    .navbar-actions {
        margin-top: 10px;
        padding-bottom: 10px;
    }

    .hero {
        padding-top: 130px;
        background:
            linear-gradient(rgba(255, 255, 255, 0.93),
                rgba(255, 255, 255, 0.93)),
            url("https://images.unsplash.com/photo-1544947950-fa07a98d237f?auto=format&fit=crop&w=1800&q=85") center/cover;
    }

    .about-content {
        padding-left: 0;
        padding-top: 35px;
    }

    .cta-box {
        padding: 45px 30px;
    }
}

@media (max-width: 575px) {

    section {
        padding: 70px 0;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 70px;
    }

    .hero h1 {
        font-size: 2.65rem;
    }

    .hero p {
        font-size: 0.96rem;
    }

    .hero-stats {
        gap: 22px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons a {
        text-align: center;
        width: 100%;
    }

    .about-image {
        min-height: 360px;
    }

    .book-cover {
        height: 350px;
    }

    .cta-box {
        padding: 40px 25px;
    }

    .cta-box::after {
        display: none;
    }

    .footer-bottom {
        text-align: center;
    }
}



/* =========================================
   REGISTER PAGE
========================================= */

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

/* Main wrapper */
.register-wrapper {
    min-height: 100vh;
    width: 100%;
    display: block;
}


/* =========================================
   LEFT PANEL — FIXED
========================================= */

.register-brand-panel {
    width: 40%;
    height: 100vh;

    position: fixed;
    top: 0;
    left: 0;

    overflow: hidden;

    background:
        linear-gradient(rgba(81, 101, 141, 0.90),
            rgba(81, 101, 141, 0.90)),
        url("../../media/photos/hero-2.jpg") center / cover no-repeat;

    display: flex;
    align-items: center;

    padding: 55px;
    box-sizing: border-box;

    color: white;

    z-index: 1000;
}


/* =========================================
   LEFT PANEL CONTENT
========================================= */

.brand-content {
    max-width: 500px;
    position: relative;
    z-index: 2;
}


/* =========================================
   BRAND
========================================= */

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 55px;
    text-decoration: none;
}

.logo-box {
    width: 48px;
    height: 48px;

    border-radius: 10px;

    background: var(--primary);
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: "Playfair Display", serif;
    font-size: 1.5rem;
    font-weight: 800;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1;
}

.brand-tagline {
    display: block;

    color: #edeeef;

    font-family: "DM Sans", sans-serif;
    font-size: 0.65rem;

    letter-spacing: 1.8px;
    text-transform: uppercase;

    margin-top: 5px;
}


/* =========================================
   BRAND CONTENT
========================================= */

.brand-content h1 {
    color: white;
    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 1.08;

    margin-bottom: 22px;
}

.brand-content h1 span {
    color: #c4ccd5;
}

.brand-description {
    color: #f1f1f1;

    font-size: 0.96rem;
    line-height: 1.8;

    max-width: 470px;
}


/* =========================================
   BENEFITS
========================================= */

.benefits {
    margin-top: 35px;
}

.benefit {
    display: flex;
    gap: 13px;
    align-items: flex-start;

    margin-bottom: 18px;
}

.benefit-icon {
    width: 34px;
    height: 34px;

    flex-shrink: 0;

    border-radius: 8px;

    background: rgba(222, 223, 223, 0.2);
    color: #f6f6f6;

    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-text strong {
    display: block;
    color: white;
    font-size: 0.85rem;
    margin-bottom: 3px;
}

.benefit-text span {
    color: #ececee;
    font-size: 0.75rem;
}


/* =========================================
   COPYRIGHT
========================================= */

.copyright {
    position: absolute;

    left: 55px;
    bottom: 28px;

    color: #ffffff;
    font-size: 0.72rem;
}


/* =========================================
   RIGHT REGISTER PANEL — SCROLLABLE
========================================= */

.register-panel {
    width: 60%;
    min-height: 100vh;

    margin-left: 40%;

    background: white;

    padding: 45px 60px;

    box-sizing: border-box;

    display: flex;
    justify-content: center;
    align-items: flex-start;
}


/* =========================================
   REGISTER CONTAINER
========================================= */

.register-container {
    width: 100%;
    max-width: 700px;
}


/* =========================================
   MOBILE LOGO
========================================= */

.mobile-logo {
    display: none;
}


/* =========================================
   HEADING
========================================= */

.register-heading {
    margin-bottom: 30px;
}

.register-heading h2 {
    color: var(--navy);

    font-size: 2.3rem;
    font-weight: 800;

    margin-bottom: 8px;
}

.register-heading p {
    color: var(--muted);
    font-size: 0.88rem;
    margin-bottom: 0;
}


/* =========================================
   FORM SECTIONS
========================================= */

.form-section-title {
    display: flex;
    align-items: center;
    gap: 9px;

    color: var(--navy);

    font-size: 0.88rem;
    font-weight: 700;

    margin-bottom: 18px;

    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}


/* =========================================
   LABELS
========================================= */

.form-label {
    color: var(--navy);

    font-size: 0.82rem;
    font-weight: 600;

    margin-bottom: 7px;
}

.required {
    color: var(--danger);
}


/* =========================================
   INPUTS
========================================= */

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;

    left: 14px;
    top: 50%;

    transform: translateY(-50%);

    color: #94A3B8;

    z-index: 5;
}

.form-control,
.form-select {
    min-height: 50px;

    border: 1px solid var(--border);
    border-radius: 8px;

    color: var(--navy);

    font-size: 0.86rem;

    box-shadow: none !important;
}

.input-wrapper .form-control {
    padding-left: 43px;
}

.form-control::placeholder {
    color: #94A3B8;
}

.form-control:focus,
.form-select:focus {
    border-color: #666666;
}

/* =========================================
           ACCOUNT TYPE
        ========================================== */

.account-type-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 12px;
}

.account-type {
    position: relative;
}

.account-type input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.account-type label {
    min-height: 72px;

    display: flex;
    align-items: center;

    gap: 12px;

    padding: 12px 14px;

    border: 1px solid var(--border);
    border-radius: 8px;

    cursor: pointer;

    transition: 0.2s ease;
}

.account-type label:hover {
    border-color: #93C5FD;
    background: #F8FBFF;
}

.account-type input:checked+label {
    border-color: var(--primary);
    background: var(--light-blue);

    box-shadow:
        0 0 0 1px var(--primary);
}

.account-type-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 8px;
    background: #F1F5F9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.account-type input:checked+label .account-type-icon {
    background: #6e6e6e;
    color: white;
}

.account-type-content strong {
    display: block;

    color: var(--navy);

    font-size: 0.82rem;

    margin-bottom: 2px;
}

.account-type-content span {
    display: block;

    color: var(--muted);

    font-size: 0.7rem;
}

/* =========================================
           PASSWORD
        ========================================== */

.password-toggle {
    position: absolute;

    right: 14px;
    top: 50%;

    transform: translateY(-50%);

    background: transparent;
    border: 0;

    color: #94A3B8;

    z-index: 5;
}

.password-toggle:hover {
    color: var(--primary);
}

.password-input {
    padding-right: 45px !important;
}

.password-strength {
    margin-top: 8px;
}

.strength-bar {
    height: 4px;

    background: #E2E8F0;

    border-radius: 20px;

    overflow: hidden;

    margin-bottom: 6px;
}

.strength-progress {
    width: 0;
    height: 100%;

    transition: 0.3s ease;
}

.strength-text {
    font-size: 0.7rem;
    color: var(--muted);
}

.password-requirements {
    margin-top: 8px;

    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 4px;
}

.requirement {
    font-size: 0.68rem;
    color: #94A3B8;
}

.requirement.valid {
    color: var(--success);
}

.requirement i {
    margin-right: 4px;
}


/* =========================================
           REGISTER BUTTON
        ========================================== */

.btn-register {
    width: 100%;

    min-height: 52px;

    background: var(--primary);
    border: 1px solid var(--primary);

    color: white;

    border-radius: 8px;

    font-size: 0.9rem;
    font-weight: 700;

    transition: 0.25s ease;
}

.btn-register:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);

    color: white;

    transform: translateY(-1px);
}

.btn-register:disabled {
    opacity: 0.7;
    transform: none;
}

/* =========================================
           LOGIN LINK
        ========================================== */

.login-text {
    text-align: center;
    color: var(--muted);
    font-size: 0.82rem;
    margin-top: 22px;
}

.login-text a {
    font-weight: 700;
}

/* =========================================
           SECURITY
        ========================================== */

.security-notice {
    display: flex;
    gap: 10px;
    align-items: flex-start;

    background: var(--light-blue);

    border: 1px solid #DBEAFE;

    border-radius: 8px;

    padding: 12px 14px;

    margin-top: 20px;

    color: #475569;

    font-size: 0.7rem;
    line-height: 1.6;
}

.security-notice i {
    color: var(--primary);
    font-size: 0.95rem;
}

/* =========================================
   RESPONSIVE — TABLETS & MOBILE
========================================= */

@media (max-width: 991.98px) {

    .register-brand-panel {
        display: none;
    }

    .register-panel {
        width: 100%;
        margin-left: 0;
        min-height: 100vh;

        padding: 30px 25px;
    }

    .mobile-logo {
        display: inline-flex;
        align-items: center;
        gap: 12px;

        margin-bottom: 35px;
        text-decoration: none;
    }

    .register-container {
        max-width: 700px;
        margin: 0 auto;
    }
}


@media (max-width: 575.98px) {

    .register-panel {
        padding: 25px 18px;
    }

    .register-heading h2 {
        font-size: 1.8rem;
    }

    .register-heading {
        margin-bottom: 25px;
    }
}