:root {
    --primary-purple: #2D1A47;
    --dark-purple-bg: #24133a;
    /* Darker for top bar if needed, or stick to primary */
    --hover-purple: #461e68;
    --text-dark: #333;
    --text-light: #666;
    --white: #ffffff;
    --light-purple-btn: #a89ec1;
    /* Approximate for sign in button */
    --link-blue: #8f7ce6;
    /* Approximate for links on dark bg */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header */
.site-header {
    background-color: var(--white);
}

.top-bar {
    background-color: var(--primary-purple);
    color: white;
    padding: 8px 0;
    font-size: 0.8rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.utility-nav a,
.top-links a {
    color: white;
    text-decoration: none;
    margin-right: 20px;
    font-weight: 400;
}

.utility-nav a.active {
    font-weight: 700;
    text-decoration: underline;
}

.main-nav-container {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.main-nav-container .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 60px;
    /* Larger logo */
    width: auto;
}

.logo-box {
    border: 2px solid var(--primary-purple);
    padding: 2px 4px;
    font-size: 1rem;
    margin-left: 5px;
    border-radius: 2px;
}


/* Header Navigation */
/* Header Navigation */
.main-nav {
    display: flex;
    gap: 25px;
    /* Reduced gap inside nav to save space */
    margin: 0 auto;
    /* Center the nav */
}

.main-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.9rem;
    /* Slightly smaller for fitting */
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.main-nav a i {
    font-size: 0.7rem;
    color: var(--primary-purple);
}

.btn-open-account {
    background-color: var(--primary-purple);
    color: white;
    padding: 10px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s;
    white-space: nowrap;
    /* Prevent wrapping */
}

.btn-open-account:hover {
    background-color: var(--hover-purple);
}

/* Hero Section - Split Layout */
.hero-section {
    display: flex;
    width: 100%;
    max-width: 1500px;
    /* Match header container width */
    margin: 0 auto;
    /* Center the section */
    min-height: 550px;
    /* Ensure a decent minimum height */
    position: relative;
    padding: 0;
}

.hero-image-side {
    flex: 1;
    /* Takes remaining space */
    background-size: cover;
    background-position: center bottom;
    /* Anchor to bottom to show hikers on ridge */
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 10%;
    /* Positioning text */
}

/* Hero Section Adjustments */
.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
    /* For absolute positioning if needed, but flex is better */
}

/* Ensure text is readable */
.hero-text {
    max-width: 500px;
    /* Limit width to keep text on the left away from hikers */
    color: var(--primary-purple);
    /* Screenshot shows dark text on light sky? Or white? */
    /* Screenshot text is dark purple/black on the left */
    text-shadow: none;
    z-index: 2;
    padding: 20px;
    /* Optional: add a subtle gradient if text contrast is low, usually image is dim enough */
}

.hero-label {
    font-size: 1.5rem;
    color: var(--primary-purple);
    margin-bottom: 15px;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 300;
    /* Thinner font */
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--primary-purple);
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-primary {
    background-color: #7d65a8;
    /* Lighter purple from screenshot */
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
    padding: 10px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
}

/* Login Widget Side - Right Column */
.login-widget-side {
    width: 450px;
    /* Fixed width for form */
    background-color: var(--primary-purple);
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    /* Prevent shrinking */
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
}

/* Login Widget - Larger and Right Aligned */
.login-widget {
    /* Removed, replaced by .login-widget-side structure */
    display: block;
    /* Old styles commented out as they are replaced by .login-widget-side */
    /* background-color: var(--primary-purple); */
    /* padding: 40px; */
    /* border-radius: 4px; */
    /* width: 420px; */
    /* color: white; */
    /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); */
    /* margin-right: 0; */
}

.login-header h2 {
    display: none;
    /* Screenshot doesn't show a 'Sign In' header, just inputs */
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-group label {
    display: none;
    /* Hidden visually, use placeholders */
}

.input-group input {
    width: 100%;
    height: 50px;
    /* Taller inputs */
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-family: 'Roboto', sans-serif;
}

.row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 1rem;
}

.checkbox-container input {
    accent-color: var(--primary-purple);
    /* Or custom style */
    width: 18px;
    height: 18px;
}

.forgot-link {
    color: #aeb0b5;
    text-decoration: underline;
    font-size: 0.9rem;
}

.password-group {
    position: relative;
}

#togglePassword {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--primary-purple);
    font-size: 1.2rem;
    cursor: pointer;
}

.text-right {
    text-align: right;
}

.sign-in-btn {
    width: 100%;
    background-color: #aeb0b5;
    /* Fallback */
    background-color: #b7a9d6;
    /* Light purple from screenshot */
    color: var(--primary-purple);
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 20px;
}

.sign-in-btn:hover {
    background-color: #c7bce0;
}

/* Typography refinements */
h1 {
    font-weight: 300;
    /* Lighter weight as seen in screenshot */
}

.form-footer {
    font-size: 0.9rem;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-footer a {
    color: #aeb0b5;
    text-decoration: underline;
}

.security-link {
    display: block;
}

.other-account-link {
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
}

/* Services Section */
.services-section {
    padding: 50px 0;
    text-align: center;
}

.services-section h2 {
    color: var(--primary-purple);
    font-size: 2.2rem;
    font-weight: 300;
    margin-bottom: 40px;
}

.services-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.arrow-btn {
    background: #e0e0e0;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--primary-purple);
}

.services-grid {
    display: flex;
    gap: 30px;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-dark);
    gap: 10px;
    width: 100px;
}

.service-item.selected {
    border: 2px solid var(--primary-purple);
    padding: 15px;
    border-radius: 10px;
}

.icon-box {
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    /* Fixed height to align items */
}

.icon-box img {
    height: 48px;
    width: auto;
}

.service-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

.view-all-container {
    margin-top: 40px;
}

.view-all-link {
    color: var(--primary-purple);
    text-decoration: underline;
}