:root {
    /* Primary Colors */
    --deep-navy-1: #016435;
    --deep-navy-2: #79b601;
    --deep-navy-3: #016435;
    --white: #FFFFFF;
    
    /* Accent Colors */
    --vivid-pink: #79b601;
    --vivid-pink-hover: #016435;
    
    /* Light Colors */
    --light-lavender-1: #F8F8F8;
    --light-lavender-2: #FFFFFF;
    --light-lavender-3: #F8F8F8;
    
    /* Shadows */
    --shadow-color: rgba(1, 100, 53, 0.08);
    --shadow-color-hover: rgba(1, 100, 53, 0.12);
    
    /* Current theme colors mapped to new scheme */
    --primary-color: var(--vivid-pink);
    --secondary-color: var(--deep-navy-1);
    --text-color: var(--deep-navy-1);
    --background-color: var(--light-lavender-1);
}

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

body, .content, .feature-item, .info-table, .footer, .mobile-nav {
    color: #016435 !important;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background-color: #016435 !important;
    box-shadow: 0 2px 5px var(--shadow-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    color: var(--text-color);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav {
    display: flex;
    gap: 15px;
}

/* Button Styles */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px var(--shadow-color);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--shadow-color-hover);
}

.btn-login {
    background-color: transparent;
    color: var(--vivid-pink);
    border: 2px solid var(--vivid-pink);
}

.btn-login:hover {
    background-color: var(--vivid-pink);
    color: var(--white);
}

.btn-register, .btn-primary {
    background-color: var(--vivid-pink);
    color: var(--white);
}

.btn-register:hover, .btn-primary:hover {
    background-color: var(--vivid-pink-hover);
}

/* Hero Section */
.hero {
    background:
        url('../banner/main_banner2.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    text-align: center;
    padding: 150px 20px 100px;
    min-height: 500px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, transparent, var(--deep-navy-1));
    pointer-events: none;
    opacity: 0.8;
}

.hero h1, .hero p, .hero .btn-primary {
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 8px rgba(24,28,58,0.8);
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
    line-height: 1;
}

.hero p {
    font-size: 1.5em;
    margin-bottom: 30px;
    line-height: 1.05;
}

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

/* Features Section */
.features {
    padding: 80px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.feature-item {
    padding: 20px;
    background: linear-gradient(145deg, var(--deep-navy-2), var(--deep-navy-3));
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    color: var(--text-color);
    transition: transform 0.3s ease;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item img {
    width: 100%;
    height: auto;
    max-height: 245px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.feature-item h2, .feature-item h3 {
    color: #FFD600 !important;
}

.feature-item h3 {
    margin-bottom: 10px;
    font-size: 1.4em;
}

.feature-item p {
    color: var(--text-color);
    font-size: 1.1em;
    line-height: 1.4;
}

/* Footer */
.footer {
    background-color: var(--deep-navy-2);
    color: var(--text-color);
    padding: 40px 0;
    text-align: center;
    color: #016435 !important;
}

.footer-buttons {
    display: none;
}

.copyright {
    margin-top: 20px;
    font-size: 0.9em;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, var(--deep-navy-2), var(--deep-navy-3));
    padding: 15px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    border-top: 2px solid var(--vivid-pink);
    width: 100%;
    box-sizing: border-box;
    backdrop-filter: blur(10px);
}

.mobile-nav .btn {
    width: 100%;
    margin: 5px 0;
    padding: 12px;
    font-size: 1.1em;
    font-weight: 600;
    display: block;
}

.mobile-nav .btn-login {
    background-color: transparent;
    color: var(--vivid-pink);
    border: 2px solid var(--vivid-pink);
}

.mobile-nav .btn-register {
    background-color: var(--vivid-pink);
    color: var(--white);
    border: 2px solid var(--vivid-pink);
}

.mobile-nav .btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .header .nav {
        display: flex !important;
        gap: 8px;
        flex: 0 0 auto;
    }
    .header .container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .header .logo {
        flex: 0 0 auto;
    }
    .header .nav .btn {
        padding: 8px 12px;
        font-size: 1em;
    }

    .mobile-nav {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        background-color: var(--secondary-color);
        padding: 15px;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        border-top: 2px solid var(--primary-color);
    }

    body {
        padding-bottom: 140px; /* Add padding to prevent content from being hidden behind the fixed nav */
    }

    .footer {
        padding-bottom: 20px;
    }

    .footer-buttons {
        display: none; /* Hide footer buttons since we have the mobile nav */
    }

    .hero {
        padding: 120px 20px 60px;
        min-height: 400px;
    }

    .hero h1 {
        font-size: 2em;
    }

    .hero p {
        font-size: 1.2em;
    }

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

    .content h1 {
        font-size: 2em !important;
    }
}

/* Content Section Styles */
.content {
    padding: 80px 0;
    color: var(--text-color);
    background: #fff;
}

.content h1, .content h2, .content h3 {
    color: var(--vivid-pink);
    text-shadow: 0 2px 4px var(--shadow-color);
}

.content h1 {
    font-size: 3.5em !important;
    margin-bottom: 30px;
}

.content h2 {
    font-size: 2.5em !important;
    margin: 40px 0 20px;
}

.content h3 {
    font-size: 2em !important;
    margin: 30px 0 15px;
}

.content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.content ul, .content ol {
    margin: 20px 0;
    padding-left: 20px;
}

.content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.content em {
    font-style: italic;
    color: var(--primary-color);
}

.content strong {
    font-weight: 700;
}

/* Table Styles */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: linear-gradient(145deg, var(--deep-navy-2), var(--deep-navy-3));
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-table td {
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e0e0e0 !important;
}

.info-table tr:first-child td {
    background-color: var(--vivid-pink);
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 700;
}

.info-table tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.02);
}

.info-table tr:first-child td,
.info-table tr:first-child td strong,
.info-table td:first-child {
    color: #016435 !important;
}

/* Mobile Styles for Content */
@media (max-width: 768px) {
    .content {
        padding: 40px 0;
    }

    .content h1 {
        font-size: 2em !important;
    }

    .content h2 {
        font-size: 1.7em;
    }

    .content h3 {
        font-size: 1.3em;
    }

    .info-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

.banner-title {
    font-size: 3em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #FFD600;
}

.header .nav .btn {
    background-color: #79b601 !important;
    color: #016435 !important;
    border: 2px solid #79b601 !important;
}
.header .nav .btn:hover {
    background-color: #fff !important;
    color: #016435 !important;
    border-color: #fff !important;
}

.content h1, .content h2, .content h3, .feature-item h3 {
    color: #FFD600 !important;
}

.footer .btn {
    background-color: var(--vivid-pink);
    color: var(--white);
    border: none;
}
.footer .btn:hover {
    background-color: var(--vivid-pink-hover);
    color: var(--white);
}

.content h2, .content h3, .content h4, .feature-item h3 {
    color: #016435 !important;
}

.feature-item, .feature-item h3, .feature-item p {
    color: #fff !important;
} 