/* Global Vars & Reset */
:root {
    --primary-blue: #1e2f58;
    --dark-blue: #152242;
    --accent-gold: #dcb36b;
    --accent-gold-hover: #c49d56;
    --text-white: #ffffff;
    --text-dark: #333333;
    --bg-light: #f8f9fc;
    --gray-line: #e0e0e0;
    --font-main: 'Plus Jakarta Sans', sans-serif;

    /* Semantic Colors */
    --bg-surface: #ffffff;
    --heading-color: var(--primary-blue);
    --border-color: #eee;
    --shadow-color: rgba(0, 0, 0, 0.05);
}

body.dark-theme {
    --bg-light: #0f172a;
    --bg-surface: #1e293b;
    --text-dark: #cbd5e1;
    --heading-color: #60a5fa;
    /* Light Blue for dark mode headings */
    --border-color: #334155;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --gray-line: #334155;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 600;
    text-align: center;
    color: var(--heading-color);
    margin-bottom: 3rem;
    position: relative;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Header */
.site-header {
    background-color: var(--bg-light);
    /* Start solid or change to transparent if desired, but user wants 'blur when scroll', so keeping solid initial is fine, or transparent if over hero. Let's make it standard sticky: solid -> frosted. Or transparent -> frosted. Let's stick to current color but add transition. */
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.7);
    /* White with opacity for glass effect */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 0.8rem 0;
}

.site-header.scrolled {
    background-color: rgba(248, 249, 252, 0.7);
    /* Translucent version of --bg-light */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 0.8rem 0;
    /* Slightly shrink for effect */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 100px;
    width: auto;
}

.main-nav ul {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    font-weight: 700;
    color: var(--heading-color);
    /* Adaptive color */
    font-size: 1.1rem;
}

.main-nav a:hover {
    color: var(--accent-gold);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--heading-color);
    font-size: 1.5rem;
    /* Match menu toggle size */
    padding: 0;

    /* Shape & Layout */
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;

    transition: all 0.3s ease;
}

.theme-toggle:hover {
    transform: rotate(15deg);
    background-color: var(--accent-gold);
    color: var(--primary-blue);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--heading-color);
    /* Shape & Layout */
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background-color: transparent;
    transition: all 0.3s ease;
    line-height: 1;
}

.mobile-menu-toggle:hover {
    background-color: var(--accent-gold);
    color: var(--primary-blue);
    /* Dark icon on gold bg */
}

/* Hero Section */
.hero-section {
    background-color: var(--primary-blue);
    color: var(--text-white);
    padding: 6rem 0;
    text-align: center;
    background-image: radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 90%, rgba(255, 255, 255, 0.05) 0%, transparent 20%);
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-content h1 .highlight {
    color: var(--accent-gold);
    font-style: italic;
    font-family: 'Playfair Display', serif;
    /* Optional for that serif look if desired, using fallback or can import */
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.hero-text {
    font-weight: 300;
    opacity: 0.8;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--primary-blue);
}

.btn-primary:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-white);
}

.btn-secondary:hover {
    border-color: var(--text-white);
    background-color: rgba(255, 255, 255, 0.05);
}

/* Features Section */
.features-section {
    background-color: var(--bg-surface);
    padding-top: 5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: transform 0.3s box-shadow 0.3s;
    background-color: var(--bg-surface);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.icon-box {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    background: #f0f4ff;
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
}

.feature-card h3 {
    color: var(--heading-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    /* Increased from 1.25rem */
}

.feature-card p {
    color: #666;
    font-size: 1.1rem;
    /* Increased from 0.95rem */
    font-weight: 300;
    line-height: 1.6;
}

/* Rates & VIP Section */
.rates-section {
    background-color: var(--bg-light);
}

.rates-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    /* align-items: stretch; is default grid behavior, ensuring equal height */
}

/* Style the Standard Rates list as a card to match VIP card */
.rates-info {
    background-color: var(--bg-surface);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px var(--shadow-color);
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Ensure it fills the grid cell */
    border: 1px solid var(--border-color);
}

/* Ensure the list takes available space if needed, or just flows */
.rates-list {
    flex-grow: 1;
}

.rates-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.rates-list li:last-child {
    border-bottom: none;
}

.rate-icon {
    margin-right: 1.5rem;
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.rate-details h3 {
    font-size: 1.25rem;
    color: var(--heading-color);
    margin-bottom: 0.25rem;
}

.rate-details p {
    color: #555;
    font-size: 1.05rem;
}

.vip-card {
    background-color: var(--primary-blue);
    color: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(30, 47, 88, 0.2);
}

.vip-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.vip-header h3 {
    font-size: 1.8rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.vip-header p {
    font-size: 1.1rem;
    /* Increased from 0.9rem */
    opacity: 0.9;
    /* Increased opacity slightly */
}

.vip-price {
    text-align: right;
}

.vip-price .amount {
    display: block;
    font-size: 2.5rem;
    /* Decreased from 3rem */
    font-weight: 700;
}

.vip-price .period {
    font-size: 1.2rem;
    /* Increased from 0.8rem */
    opacity: 0.9;
}

.vip-benefits li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.vip-benefits li i {
    margin-right: 0.75rem;
    color: var(--accent-gold);
}

.vip-benefits li:first-child {
    color: var(--accent-gold);
    font-weight: 600;
}

.btn-vip {
    position: relative;
    color: var(--primary-blue);
    display: block;
    text-align: center;
    margin-top: 2rem;
    font-weight: 600;

    /* Gradient Border Magic */
    border: 3px solid transparent;
    border-radius: 8px;
    /* Specifically for this button to look rounder/nicer */
    background-image: linear-gradient(var(--accent-gold), var(--accent-gold)),
        linear-gradient(45deg, #b8860b, #ffeebb, #dcb36b, #b8860b);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 4px 15px rgba(220, 179, 107, 0.3);

    /* Subtle gold glow */
    /* Fire/Glow Animation */
    animation: goldGlow 2s infinite alternate;
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.blog-card {
    background: var(--bg-surface);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-color);
}

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-gold);
    color: var(--primary-blue);
    padding: 0.25rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.5rem;
}

body.dark-theme .blog-meta {
    color: #94a3b8;
}

.blog-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.blog-content h3 a {
    color: var(--heading-color);
}

.blog-content h3 a:hover {
    color: var(--accent-gold);
}

.blog-content p {
    font-size: 0.95rem;
    color: var(--text-dark);
    opacity: 0.8;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

body.dark-theme .read-more {
    color: var(--accent-gold);
}

.read-more:hover {
    text-decoration: underline;
    gap: 0.8rem;
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--primary-blue);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: var(--accent-gold);
    color: var(--primary-blue);
    transform: translateY(-3px);
}

@keyframes goldGlow {
    from {
        box-shadow: 0 0 5px rgba(220, 179, 107, 0.2), 0 0 10px rgba(220, 179, 107, 0.1);
    }

    to {
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.6), 0 0 25px rgba(255, 140, 0, 0.4);
    }
}

.btn-vip:hover {
    background-color: #fff;
}

/* Steps Section */
.steps-section {
    background-color: var(--primary-blue);
    color: #fff;
    text-align: center;
}

.steps-section .section-title {
    color: #fff;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
}

/* Line connecting steps - simplified */
.steps-grid::before {
    content: '';
    position: absolute;
    top: 45px;
    /* Adjusted for 90px height circles */
    left: 10%;
    right: 10%;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 0;
}

.step-item {
    position: relative;
    z-index: 1;
}

.step-number {
    width: 90px;
    height: 90px;
    background: var(--bg-surface);
    color: var(--primary-blue);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    /* Flexbox for centering */
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 2rem;
    /* Increased size */
    border: 4px solid var(--primary-blue);
}

/* Make specific step numbers gold as in design */
.step-item:nth-child(1) .step-number,
.step-item:nth-child(4) .step-number {
    background-color: var(--accent-gold);
}

.step-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    /* Increased from 1.1rem */
}

.step-item p {
    font-size: 1.1rem;
    /* Increased from 0.85rem */
    opacity: 0.9;
    line-height: 1.5;
    padding: 0 0.5rem;
}

/* FAQ Section */
.faq-section {
    background-color: #f0f4f8;
    /* Slightly darker light bg */
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-surface);
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px var(--shadow-color);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    /* Increased padding slightly for bigger touch target */
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
    font-weight: 600;
    /* Slightly bolder */
    font-size: 1.25rem;
    /* Explicitly set larger size */
    color: var(--heading-color);
    cursor: pointer;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    display: none;
    /* Hidden by default */
    color: var(--text-dark);
    /* Use variable for text */
    /* Slightly darker for readability */
    font-size: 1.1rem;
    /* Increased from 0.95rem */
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Footer */
.site-footer {
    background-color: var(--dark-blue);
    color: #a0aec0;
    padding: 4rem 0 0;
    font-size: 0.9rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    color: var(--accent-gold);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-col h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.contact-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.contact-list li i {
    margin-right: 0.75rem;
    color: var(--accent-gold);
}

.links ul li {
    margin-bottom: 0.5rem;
}

.links ul li a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 900px) {
    .rates-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        /* Single column stack as requested */
        gap: 3rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid::before {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .main-nav {
        display: none;
        /* For simplicity in this step, hide nav on mobile, JS will toggle */
    }

    /* Increase font size for active mobile menu */
    .main-nav.active a {
        font-size: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
        padding: 0 1rem;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .rates-section,
    .features-section {
        padding: 3rem 0;
    }
}