/* ==========================================================================
   CORE SYSTEM (GLOBAL SETTINGS)
   - Typography
   - Base colours
   - Default spacing
   ========================================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #444;
    background-color: #ffffff;
    line-height: 1.6;
}

/* Default page wrapper */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* ==========================================================================
   TYPOGRAPHY + LINKS
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    color: #333;
    line-height: 1.3;
    margin-top: 0;
}

p {
    margin-top: 0;
    margin-bottom: 1.5em;
}

a {
    color: #333;
    text-decoration: underline;
    transition: color 0.3s ease;
}

a:hover {
    color: #b19db2;
}

/* ==========================================================================
   HEADER + NAVIGATION (GLOBAL)
   ========================================================================== */

.main-header {
    padding: 40px 0 20px;
    text-align: center;
}

.site-logo {
    width: 150px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.top-nav {
    margin-top: 20px;
}

.top-nav a {
    display: inline-block;
    font-size: 20px;
    margin: 0 15px;
    letter-spacing: 2px;
    font-weight: 700;
    text-decoration: none;
    color: #333;
}

.top-nav a:hover {
    color: #b19db2;
}

/* ==========================================================================
   UI COMPONENTS (REUSABLE ELEMENTS)
   ========================================================================== */

.divider-text {
    width: 85%;
    margin: 60px auto;
    text-align: center;
    border-bottom: 1px solid #eee;
    line-height: 0.1em;
}

.divider-text span {
    background: #fff;
    padding: 0 25px;
    color: #999;
    font-size: 18px;
}

/* ==========================================================================
   HOME PAGE
   ========================================================================== */

.hero-full {
    height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    text-align: center;
    max-width: 350px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   SERVICES PAGE
   ========================================================================== */

.services-circle-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px 30px;
}

.service-card {
    text-align: center;
    width: 300px;
    transition: transform 0.2s ease;
}

.service-card:hover {
    transform: translateY(-3px);
}

.service-circle-img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.service-heading {
    font-size: 28px;
    font-weight: 700;
    text-decoration: underline;
    margin: 10px 0;
    color: #333;
}

.service-explanation {
    font-size: 13px;
    line-height: 1.5;
    color: #555;
    max-width: 260px;
    margin: 0 auto;
}

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */

.about-content h1 {
    font-weight: 300;
    font-size: 32px;
    text-align: center;
}

.subtitle {
    font-weight: 100;
    font-size: 32px;
    text-align: center;
}

/* ==========================================================================
   REFERRALS PAGE
   ========================================================================== */

.referral-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    justify-items: center;
}

.referral-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 300px;
    text-decoration: none;
}

.referral-tile img {
    width: 100%;
    max-width: 300px;
    height: auto;
    display: block;
    border-radius: 6px;
}

.tile-label {
    margin-top: 10px;
    font-size: 32px;
    font-weight: 400;
    text-align: center;
    display: block;
    width: 100%;
}

/* ==========================================================================
   PAYMENTS PAGE
   Uses your actual HTML classes:
   - .split-layout
   - .info-side
   - .image-side
   - .side-img
   - .payment-group
   ========================================================================== */

.split-layout {
    display: flex;
    align-items: flex-start;
    gap: 70px;
    max-width: 1600px;
    margin: 80px auto;
    padding: 0 40px;
}

/* ==========================================================================
   LEFT COLUMN (PAYMENT INFORMATION)
   ========================================================================== */

.info-side {
    flex: 0 0 340px;      /* Fixed width for text column */
    max-width: 340px;
}

.payment-title-divider {
    width: 100%;
    margin: 0 0 50px 0;
}

.payment-group {
    margin-bottom: 45px;
}

.payment-group h3 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
    margin: 0 0 15px 0;
}

.payment-group p {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

/* ==========================================================================
   RIGHT COLUMN (IMAGE)
   ========================================================================== */

.image-side {
    flex: 1;
}

.side-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    object-fit: cover;
}

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

@media (max-width: 1100px) {
    .split-layout {
        flex-direction: column;
        gap: 40px;
        margin: 60px auto;
        padding: 0 30px;
    }

    .info-side,
    .image-side {
        flex: 1;
        max-width: 100%;
        width: 100%;
    }

    .payment-title-divider {
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .split-layout {
        margin: 40px auto;
        padding: 0 20px;
        gap: 30px;
    }

    .payment-group {
        margin-bottom: 35px;
    }

    .payment-group h3 {
        font-size: 22px;
    }

    .payment-group p {
        font-size: 17px;
        line-height: 1.7;
    }

    .side-img {
        border-radius: 8px;
    }
}

/* Legacy support */
.split-layout {
    display: flex;
    min-height: 80vh;
    align-items: stretch;
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */

.contact-flex {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    justify-content: space-between;
}

.contact-form-side,
.contact-info-side {
    flex: 1;
    min-width: 300px;
}

.info-block {
    margin-top: 20px;
}

.form input,
.form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #dcdcdc;
    font: inherit;
}

.form textarea {
    min-height: 150px;
    resize: vertical;
}

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

.bottom-bar {
    text-align: center;
    padding: 60px 20px;
    font-size: 12px;
    color: #888;
    border-top: 1px solid #eee;
}

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

@media (max-width: 1100px) {
    .two-column-section {
        flex-direction: column;
        gap: 40px;
        margin: 60px auto;
        padding: 0 30px;
    }

    .two-column-section .text-column {
        flex: 1;
        max-width: 100%;
        padding-top: 0;
    }

    .two-column-section .image-column {
        width: 100%;
    }
}

@media (max-width: 900px) {
    .services-circle-grid {
        flex-direction: column;
        align-items: center;
    }

    .service-card {
        width: 100%;
    }

    .split-layout,
    .contact-flex {
        flex-direction: column;
    }

    .contact-flex {
        gap: 30px;
    }

    .referral-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 30px 20px;
    }

    .main-header {
        padding: 30px 0 15px;
    }

    .top-nav a {
        display: block;
        margin: 10px 0;
        font-size: 18px;
        letter-spacing: 1px;
    }

    .two-column-section {
        margin: 40px auto;
        padding: 0 20px;
        gap: 30px;
    }

    .two-column-section .text-column h2,
    .two-column-section .text-column h3 {
        font-size: 22px;
    }

    .two-column-section .text-column strong {
        font-size: 20px;
    }

    .two-column-section .text-column p {
        font-size: 17px;
        line-height: 1.7;
        margin-bottom: 28px;
    }

    .two-column-section .image-column img {
        border-radius: 8px;
    }

    .service-circle-img {
        width: 220px;
        height: 220px;
    }

    .service-heading {
        font-size: 24px;
    }

    .tile-label {
        font-size: 24px;
    }
}