/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Import Special Elite font */
@import url('https://fonts.googleapis.com/css2?family=Special+Elite&display=swap');

/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    background-color: #f6f6f6;
    padding: 0;
    max-width: 100%;
}

/* Header */
header {
    text-align: center;
    padding: 20px;
    border-bottom: 3px solid #2E6417;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 20px;
}

.banner {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

h1 {
    text-transform: uppercase;
    font-size: 40px;
    font-weight: 400;
    margin-bottom: 10px;
    color: #2E6417;
}

a {
    color: #2E6417;
}

/* Content Layout - 3 Columns */
.content {
    display: flex;
    min-height: 600px;
}

.column {
    padding: 20px;
}

.left {
    flex: 1;
    background-color: #2e6417;
    border-radius: 0 10px 10px 0;
}

.center {
    flex: 4;
}

.right {
    flex: 1;
    background-color: #EDDCFF;
    border-radius: 10px 0 0 10px;
    min-width: 250px;
}

/* Navigation */
nav ul {
    list-style-type: none;
}

nav li {
    margin-bottom: 10px;
}

nav a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 5px;
}

nav a:visited {
    color: #EDDCFF;
}

nav a:hover {
    text-decoration: underline;
}

nav a.current {
    font-weight: bold;
    padding: 5px 8px 5px 28px;
    border-radius: 3px;
    background-color: #3E1964;
    width: calc(100% + 40px);
    transform: translateX(-20px);
}

/* Navigation submenu */
nav li.nav-parent {
    position: relative;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

nav .nav-header {
    font-weight: bold;
    color: #333;
    display: block;
    padding: 5px;
    cursor: default;
}

/* Content Sections */
section {
    margin-bottom: 30px;
}

h2 {
    font-size: 22px;
    font-weight: 400;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

h3 {
    font-size: 18px;
    font-weight: 700;
    margin-top: 27px;
    margin-bottom: 27px;
    line-height: 1.5;
}

p {
    margin-bottom: 15px;
}

/* Blog Entry Styling */
.blog-entry {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.blog-entry h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.blog-entry .date {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    font-style: italic;
}

.blog-entry p {
    margin-bottom: 10px;
}

/* Blog Posts List */
section#blog-posts ul {
    list-style-type: none;
    margin-left: 0;
    padding-left: 0;
}

section#blog-posts li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

section#blog-posts li a {
    text-decoration: none;
}

section#blog-posts li a:hover {
    text-decoration: underline;
}

/* Sidebar */
.sidebar {
    padding: 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.sidebar p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.sidebar a {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #ccc;
    font-size: 14px;
    color: #666;
}

/* Membership Options */
.membership-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.membership-option {
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
    width: 100%;
}

.membership-option:hover {
    border-color: #4CA626;
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.membership-option.featured {
    border-color: #4CA626;
    background-color: #f0f0f0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.membership-option h3 {
    font-size: 20px;
    font-weight: 400;
    color: #333;
    margin-bottom: 10px;
}

.membership-price {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.membership-features {
    margin-bottom: 20px;
}

.membership-features p {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.membership-info {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.membership-info p {
    font-size: 14px;
    color: #666;
}

.membership-info a {
    text-decoration: none;
}

.membership-info a:hover {
    text-decoration: underline;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s ease;
    border: 2px solid;
    cursor: pointer;
}

.btn-primary {
    background-color: #2E6417;
    color: white;
    border-color: #2E6417;
}

.btn-primary:hover {
    box-shadow: 4px 4px 8px #4CA626;
}

.btn-secondary {
    background-color: transparent;
    color: #2E6417;
    border-color: #2E6417;
}

.btn-secondary:hover {
    background-color: #2E6417;
    color: white;
}

.btn-success {
    background: #10b981;
    color: white;
}

.btn-success:hover {
    background: #059669;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .content {
        flex-direction: column;
    }
    
    .column {
        border: none;
    }
    
    .left, .center, .right {
        flex: 1;
    }
    
    .left, .right {
        border-bottom: 1px solid #ddd;
        border-top: 1px solid #ddd;
    }
    
    .membership-option {
        padding: 20px;
    }
}

/* Membership Form Integration */
.membership-form {
    margin-top: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.membership-form h3 {
    font-size: 20px;
    font-weight: 400;
    color: #333;
    margin-bottom: 15px;
}

.membership-form h4 {
    font-size: 18px;
    font-weight: 400;
    color: #333;
    margin-bottom: 10px;
}

.membership-form .form-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.membership-form .form-group {
    margin-bottom: 20px;
}

.membership-form .form-group label {
    font-size: 14px;
    font-weight: 400;
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.membership-form .form-control {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.membership-form .form-control:focus {
    outline: none;
    border-color: #4CA626;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.membership-form .form-control.error {
    border-color: #ef4444;
}

.membership-form .error-message {
    color: #ef4444;
    font-size: 12px;
    margin-top: 5px;
}

.membership-form small {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    display: block;
}

.membership-form .form-actions {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    margin-top: 25px;
}

.membership-form .success-message {
    background: #d1fae5;
    border: 1px solid #10b981;
    color: #065f46;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.membership-form .success-message h3 {
    color: #065f46;
    margin-bottom: 10px;
}

.membership-form .success-message p {
    margin-bottom: 5px;
}

#paymentSummary {
    background: #f0f0f0;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
}

#paymentSummary p {
    margin-bottom: 5px;
}

#paymentInfo {
    background: #f8f8f8;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
}

#paymentInfo p {
    margin-bottom: 5px;
    color: #666;
}

/* Notification styles for FIDU theme */
.notification {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    border-left: 4px solid;
}

.notification-error {
    background-color: #fef2f2;
    border-color: #ef4444;
    color: #991b1b;
}

.notification-content h3 {
    margin-bottom: 10px;
    color: #dc2626;
}

.notification-content p {
    margin-bottom: 15px;
}

/* Form step transitions */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

/* Membership page: hero, form container, comparison table, checkbox (consolidated from membership.css) */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    margin-bottom: 0.5rem;
    font-size: 2.8rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 14px;
    font-weight: 400;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #4CA626;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.form-control.error {
    border-color: #ef4444;
}

.error-message {
    color: #ef4444;
    font-size: 12px;
    margin-top: 5px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 2rem;
}

.form-description {
    color: #666;
    margin-bottom: 15px;
}

.main-content {
    padding: 20px 0;
}

.membership-table {
    margin: 2rem 0;
}

.feature-title, .price-title {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feature-description {
    color: #6b7280;
    line-height: 1.5;
    font-size: 0.95rem;
}

.select-option {
    width: 100%;
    margin: 0;
    padding: 12px 20px;
    font-size: 0.9rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    margin: 0;
    margin-top: 2px;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    accent-color: #059669;
}

.checkbox-label {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #374151;
    cursor: pointer;
    margin: 0;
    flex: 1;
}

.checkbox-label a {
    color: #059669;
    text-decoration: underline;
}

.checkbox-label a:hover {
    color: #047857;
}

/* Success page styles */
.success-content {
    margin-top: 20px;
}

.success-message {
    background: #d1fae5;
    border: 1px solid #10b981;
    color: #065f46;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.success-message h3 {
    color: #065f46;
    margin-bottom: 15px;
    font-size: 20px;
}

.success-message p {
    margin-bottom: 0;
    color: #065f46;
}

.next-steps, .member-benefits, .contact-info {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.next-steps h3, .member-benefits h3, .contact-info h3 {
    font-size: 18px;
    font-weight: 400;
    color: #333;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

.next-steps ul, .member-benefits ul, .contact-info ul {
    list-style-type: none;
    margin-left: 0;
    padding-left: 0;
}

.next-steps li, .member-benefits li, .contact-info li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    line-height: 1.5;
}

.next-steps li:last-child, .member-benefits li:last-child, .contact-info li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.next-steps strong, .member-benefits strong, .contact-info strong {
    color: #333;
    font-weight: 700;
}

.contact-info a {
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.action-buttons .btn {
    min-width: 150px;
}

/* Expandable content styles */
.expand-btn {
    display: inline-block;
    margin-left: 10px;
    padding: 4px 8px;
    background-color: #0000EE;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.expand-btn:hover {
    background-color: #0000CC;
}

.expandable-content {
    margin-top: 15px;
    padding: 15px;
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.expandable-content h4 {
    font-size: 16px;
    font-weight: 400;
    color: #333;
    margin-bottom: 10px;
    margin-top: 0;
}

.expandable-content ul, .expandable-content ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.expandable-content ul {
    list-style-type: disc;
    padding-left: 20px;
}

.expandable-content ol {
    list-style-type: decimal;
    padding-left: 20px;
}

.expandable-content li {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.4;
}

.expandable-content p {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 10px;
}

.expandable-content a {
    text-decoration: none;
}

.expandable-content a:hover {
    text-decoration: underline;
} 

/* Friend welcome page specific styles */
.friend-benefits {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.friend-benefits h3 {
    font-size: 18px;
    font-weight: 400;
    color: #333;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

.friend-benefits ul {
    list-style-type: none;
    margin-left: 0;
    padding-left: 0;
}

.friend-benefits li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    line-height: 1.5;
}

.friend-benefits li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.upgrade-info {
    margin-bottom: 30px;
    padding: 20px;
    background: #f0f8ff;
    border: 1px solid #b3d9ff;
    border-radius: 8px;
}

.upgrade-info h3 {
    font-size: 18px;
    font-weight: 400;
    color: #333;
    margin-bottom: 15px;
    border-bottom: 1px solid #b3d9ff;
    padding-bottom: 5px;
}

.upgrade-info p {
    margin-bottom: 15px;
    color: #333;
}

.upgrade-info ul {
    list-style-type: none;
    margin-left: 0;
    padding-left: 0;
}

.upgrade-info li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e6f3ff;
    font-size: 14px;
    line-height: 1.5;
}

.upgrade-info li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.upgrade-info strong {
    color: #333;
    font-weight: 700;
} 

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    border-top: 1px solid #ccc;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-banner-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
}

.cookie-banner-text strong {
    font-weight: 600;
}

.cookie-banner-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-banner .btn {
    padding: 8px 16px;
    font-size: 12px;
    white-space: nowrap;
}

.privacy-policy-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    overflow-y: auto;
}

.privacy-policy-modal.show {
    display: block;
}

.privacy-policy-content {
    background-color: #fff;
    max-width: 800px;
    margin: 50px auto;
    padding: 30px;
    border: 1px solid #ccc;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

.privacy-policy-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

.privacy-policy-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 400;
}

.privacy-policy-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 5px;
}

.privacy-policy-close:hover {
    color: #333;
}

.privacy-policy-body {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

.privacy-policy-body h3 {
    font-size: 18px;
    font-weight: 400;
    margin: 20px 0 10px 0;
    color: #333;
}

.privacy-policy-body p {
    margin-bottom: 15px;
}

.privacy-policy-body ul {
    margin: 15px 0;
    padding-left: 20px;
}

.privacy-policy-body li {
    margin-bottom: 8px;
}

.privacy-policy-body strong {
    font-weight: 600;
}

.privacy-policy-body a {
    text-decoration: none;
}

.privacy-policy-body a:hover {
    text-decoration: underline;
}

/* Privacy Policy Page Styles */
.privacy-policy-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.privacy-policy-page h1 {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.policy-meta {
    background-color: #f8f9fa;
    border-left: 4px solid #4CA626;
    padding: 15px 20px;
    margin-bottom: 30px;
    border-radius: 4px;
}

.policy-meta p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.policy-content section {
    margin-bottom: 40px;
}

.policy-content h2 {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 15px;
    color: #333;
    border-bottom: 2px solid #4CA626;
    padding-bottom: 8px;
}

.policy-content h3 {
    font-size: 18px;
    font-weight: 400;
    margin: 20px 0 10px 0;
    color: #333;
}

.policy-content p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #555;
}

.policy-content ul {
    margin: 15px 0;
    padding-left: 25px;
}

.policy-content li {
    margin-bottom: 8px;
    line-height: 1.5;
    color: #555;
}

.policy-content strong {
    font-weight: 600;
    color: #333;
}

.policy-content a {
    text-decoration: none;
}

.policy-content a:hover {
    text-decoration: underline;
}

.policy-content blockquote {
    background-color: #f8f9fa;
    border-left: 4px solid #28a745;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 4px;
    font-style: italic;
}

.contact-info {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 20px;
    margin-top: 20px;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

/* Responsive adjustments for cookie banner */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .cookie-banner-actions {
        justify-content: center;
    }
    
    .privacy-policy-content {
        margin: 20px;
        padding: 20px;
    }
    
    .privacy-policy-page {
        padding: 15px;
    }
    
    .privacy-policy-page h1 {
        font-size: 24px;
    }
    
    .policy-content h2 {
        font-size: 20px;
    }
    
    .policy-content h3 {
        font-size: 16px;
    }
}

/* Membership page responsive (hero, form, comparison table, checkbox) */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .form-container {
        margin: 1rem;
        padding: 1.5rem;
    }

    .select-option {
        padding: 10px 15px;
        font-size: 0.8rem;
    }

    .checkbox-group {
        flex-direction: column;
        gap: 8px;
    }

    .checkbox-label {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero {
        padding: 40px 0;
    }
} 