/* CSS Variables for Light Mode Theme */
:root {
    --primary-color: #0D1B2A;
    --secondary-color: #118D57; /* Brand Green */
    --accent-light: #8BC34A; /* Light Green */
    --text-main: #333333;
    --text-muted: #555555;
    --bg-main: #FFFFFF;
    --bg-alt: #F8F9FA;
    --border-radius: 8px;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease-in-out;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.highlight-green {
    color: var(--secondary-color) !important;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background-color: var(--secondary-color);
    color: #ffffff;
    font-weight: 600;
    border-radius: 6px;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    background-color: #ffffff;
    border-bottom: 1px solid #eee;
    padding: 0.5rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo {
    height: 60px; /* Increased */
    object-fit: contain;
}

.brand-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-size: 0.9rem;
}

.nav-links a {
    font-weight: 500;
}

.nav-links a:hover:not(.btn-primary) {
    color: var(--secondary-color);
}

/* Hero Section */
.theme-hero {
    padding: 3rem 0;
    text-align: center;
    position: relative;
}

.hero-inner {
    position: relative;
}

.hero-top {
    position: relative;
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.hero-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.hero-center-logo {
    height: 140px; /* Increased */
    object-fit: contain;
}

.hero-logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.rail-badge {
    position: absolute;
    right: 0;
    top: -3rem;
    border: 2px solid var(--secondary-color);
    border-radius: 0 0 10px 10px;
    padding: 1rem;
    text-align: center;
    color: var(--secondary-color);
    border-top: none;
}

.rail-badge::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    height: 4px;
    background: var(--bg-main);
}

.rail-badge-logo {
    height: 45px;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.rail-title, .rail-subtitle {
    font-size: 0.75rem;
    font-weight: 600;
}

.rail-brand {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0.2rem 0;
}

.hero-headings {
    margin-top: 7rem; /* Increased distance from banner */
}

.hero-headings h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.hero-sub {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.invitation-text {
    max-width: 800px;
    margin: 0 auto;
}

.invitation-text h3 {
    font-size: 1.2rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.invitation-text p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

/* Packages Grid */
.packages-section {
    padding: 2rem 0;
}

.packages-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.theme-box {
    border: 2px solid var(--secondary-color);
    border-radius: var(--border-radius);
    padding: 3rem 2rem 2rem;
    position: relative;
    text-align: center;
    background: #fff;
    transition: var(--transition);
}

.theme-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.theme-box-header {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-color);
    color: white;
    padding: 0.4rem 2rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* Specific styling for Package 1 & 2 */
.package-box {
    border-color: #D4AF37; /* Premium Gold */
    background-color: #FEFCF5; /* Subtle warm gold tint */
}

.package-box .theme-box-header {
    background: #D4AF37;
    font-size: 1.4rem; /* Increased size */
    padding: 0.5rem 2.5rem;
    top: -20px;
}

.theme-box-header.header-inline {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    display: inline-block;
    margin-bottom: 2rem;
}

.box-title {
    font-size: 1.3rem;
    color: var(--primary-color);
}

.box-subtitle {
    font-size: 1rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.focus-card {
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 2rem;
}

.focus-title {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.focus-desc {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--text-muted);
}

.investor-desc {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.separator {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.95rem;
    margin: 1.5rem 0;
}

.separator::before,
.separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--secondary-color);
}

.separator span {
    padding: 0 1rem;
}

.icon-list {
    text-align: left;
}

.icon-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.icon-list i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-top: 0.2rem;
    width: 20px;
    text-align: center;
}

.icon-list small {
    display: block;
    color: var(--text-muted);
    margin-top: 0.3rem;
    margin-left: 0.5rem;
    line-height: 1.4;
}

.rates-grid {
    display: flex;
    justify-content: space-between;
    border: 1px solid var(--secondary-color);
    border-radius: 8px;
    padding: 1rem 0;
    margin-bottom: 1.5rem;
}

.rate-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0 1rem;
}

.border-left-right {
    border-left: 1px solid var(--secondary-color);
    border-right: 1px solid var(--secondary-color);
}

.rate-type {
    font-weight: 600;
    font-size: 0.9rem;
}

.rate-from {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

.rate-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* Timeline */
.timeline-theme {
    text-align: center;
    padding: 2rem 0;
    border-bottom: 1px solid var(--secondary-color);
    border-top: 1px solid var(--secondary-color);
    margin: 2rem auto;
}

.timeline-title {
    color: var(--secondary-color);
    font-size: 1.1rem;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.timeline-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.step {
    flex: 1;
    padding: 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.step:hover {
    background-color: var(--bg-alt);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.step h4 {
    color: var(--secondary-color);
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.step-date {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.step-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.arrow {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

/* Bulk Events */
.bulk-events-theme {
    padding: 2rem 0;
}

.theme-box.no-header {
    padding: 2rem;
    border-radius: 12px;
}

.events-flex {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.event-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
}

.event-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.event-date {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.event-desc {
    font-size: 0.9rem;
}

/* Registration */
.registration-theme {
    padding: 2rem 0 4rem;
}

.reg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 2rem 0;
}

.reg-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-right: 1px solid #ddd;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.reg-card:hover {
    background-color: var(--bg-alt);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.reg-card:last-child {
    border-right: none;
}

.reg-card .icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.reg-info h5 {
    color: var(--secondary-color);
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
}

.reg-info p {
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
}

.reg-info a {
    font-size: 0.95rem;
    font-weight: 600;
}

.contact-number {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-main);
}

.contact-number i {
    color: #25D366; /* WhatsApp brand color */
    font-size: 1.2rem;
}

/* Footer */
.theme-footer {
    border-top: 2px solid var(--secondary-color);
}

.footer-top {
    display: flex;
    justify-content: center;
    padding: 2rem 1.5rem;
}

.footer-top-left, .footer-top-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    opacity: 0.8;
}

.footer-top h5 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.footer-top p {
    font-size: 0.9rem;
}

.footer-bottom {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.footer-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    margin-bottom: 1rem;
}

.footer-bottom .footer-logo {
    height: 60px; /* Increased */
    filter: brightness(0) invert(1);
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.broker-first {
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Utility Animations */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease-out;
}

.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Responsive adjustments */
@media (max-width: 992px) {
    .nav-container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .packages-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-flow {
        flex-direction: column;
        gap: 2rem;
    }
    
    .arrow {
        transform: rotate(90deg);
    }
    
    .events-flex {
        flex-direction: column;
        gap: 2rem;
    }
    
    .reg-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .reg-card {
        border-right: none;
        border-bottom: 1px solid #ddd;
        padding-bottom: 1.5rem;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero-top {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .hero-headings {
        margin-top: 3rem;
    }
    
    .rail-badge {
        position: relative;
        margin: 0 auto;
        top: 0;
        border-top: 2px solid var(--secondary-color);
        border-radius: 10px;
        width: 100%;
        max-width: 300px;
        right: auto;
    }
}
