/* ================================
   ROOT VARIABLES
================================ */
:root {
    --primary: #1a237e;
    --primary-dark: #0d1536;
    --secondary: #c073ff;
    --accent: #00c853;
    --light: #f5f7ff;
    --dark: #212121;
    --gray: #757575;
    --card-bg: #ffffff;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --radius: 12px;
}

/* ================================
   GLOBAL
================================ */
body {
    font-family: "Segoe UI", sans-serif;
    background-color: var(--light);
    color: var(--dark);
}

a {
    text-decoration: none;
    color: inherit;
}

/* ================================
   HEADER
================================ */
header {
    position: sticky;
    top: 0;
    z-index: 1050;
    /* higher than carousel */
}

.navbar {
    background: linear-gradient(135deg, var(--primary) 0%, #7d5fff 100%);
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(157, 125, 255, 0.3);
}

.navbar .nav-link,
.navbar-brand {
    color: var(--light) !important;
}

.navbar .nav-link:hover {
    color: #ffeaa7 !important;
}

#menu li {
    list-style: none;
    margin-left: 20px;
}

#menu a {
    color: #fff;
    font-weight: 500;
}

.nav-cta {
    background: var(--accent);
    padding: 8px 16px;
    border-radius: 30px;
    color: #fff !important;
}


.btn-primary,
.nav-cta {
    background-color: var(--accent);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    color: #fff !important;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 77, 109, 0.3);
}

/* Hover */
.btn-primary:hover,
.nav-cta:hover {
    background-color: #ff365f;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 77, 109, 0.4);
}

/* Active */
.btn-primary:active {
    transform: scale(0.96);
}

/* Focus (accessibility) */
.btn-primary:focus {
    box-shadow: 0 0 0 3px rgba(255, 77, 109, 0.4);
}

/* ================================
   STATUS BAR
================================ */
.status-bar {
    background: var(--primary-dark);
    padding: 10px;
}

.btn-check-status {
    color: #fff;
    font-weight: 600;
}

/* ================================
   CAROUSEL
================================ */
.carousel-inner img {
    border-radius: var(--radius);
    max-height: 450px;
    object-fit: cover;
}

/* ================================
   LOTTERY CARDS
================================ */
.lottery-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.lottery-card {
    background: var(--light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(157, 125, 255, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(157, 125, 255, 0.2);
}

.lottery-card .card-header {
    background: linear-gradient(135deg, var(--primary) 0%, #7d5fff 100%);
    color: var(--light);
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.lottery-card .card-body {
    padding: 20px;
}

.winner-info {
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.view-btn {
    display: inline-block;
    margin-top: 15px;
    background: var(--primary);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
}

/* ================================
   WELCOME SECTION
================================ */
.welcome-section {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow);
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/bg.jpg');
    overflow: hidden;
    padding: 50px;
}

.welcome-card {
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    margin-right: 20px;
    flex: 1 1 0%;
    padding: 30px;
    border-left: 4px solid var(--secondary);
    background: rgba(26, 35, 126, 0.8);
    border-radius: 0px 10px 10px 0px;
    color: #fff;
}

.read-more-btn {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    background: white;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.3s;
    border-width: 2px;
    border-style: solid;
    border-color: transparent;
    border-image: initial;
}

/* ================================
   PERSONNEL
================================ */
.personnel-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.person-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 15px;
    text-align: center;
}

.img-placeholder {
    border-radius: var(--radius);
    margin-bottom: 10px;
}

/* ================================
   FEATURES
================================ */
.purple-feature-section {
    background: var(--gradient);
    color: #fff;
}

.feature-card {
    background: rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
}

.feature-icon {
    font-size: 40px;
}

/* ================================
   FOOTER
================================ */
.dark-footer {
    background: var(--primary-dark);
    color: #ddd;
}

.footer-heading {
    color: #fff;
}

.footer-link {
    color: #bbb;
    display: block;
    margin-bottom: 8px;
}

.footer-link:hover {
    color: var(--secondary);
}

.social-icon {
    color: #fff;
    margin-right: 12px;
    font-size: 18px;
}

.floating-chat-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--accent);
    color: #fff;
    padding: 12px 20px;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.section-title {
    text-align: center;
    margin: 60px 0 40px;
    position: relative;
}

.section-title h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 50px;
}

.page-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-title h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.page-title p {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.page-title:after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

@media (max-width: 900px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
}

.contact-form {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.form-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.form-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.1);
    outline: none;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.submit-btn:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-info {
    background: var(--gradient);
    color: white;
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.info-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.info-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}

.contact-details {
    list-style: none;
    margin-bottom: 30px;
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-details i {
    font-size: 1.5rem;
    margin-right: 15px;
    margin-top: 5px;
    color: var(--secondary);
}

.contact-details div {
    flex: 1;
}

.contact-details h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-5px);
}

.map-container {
    margin-top: 40px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.faq-section {
    margin-top: 60px;
}

.faq-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 30px;
    text-align: center;
}

.faq-container {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.faq-item {
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 25px;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.faq-question {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    color: var(--gray);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .page-title h1 {
        font-size: 2.3rem;
    }

    .contact-form,
    .contact-info {
        padding: 25px;
    }

    .form-title,
    .info-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    .page-title h1 {
        font-size: 2rem;
    }

    .contact-form,
    .contact-info,
    .faq-container {
        padding: 20px;
    }
}

.terms-container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    background: var(--card-bg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

@media (max-width: 768px) {
    .terms-header {
        padding: 30px 20px;
    }

    .terms-header h1 {
        font-size: 2.3rem;
    }

    .terms-content {
        padding: 30px 20px;
    }

    .contact-details {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .terms-header h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .terms-list {
        margin-left: 10px;
    }

    .terms-list li {
        padding-left: 25px;
    }
}

.terms-header {
    background: var(--gradient);
    color: white;
    text-align: center;
}

/* Define the gradient color scheme */
.header-bar {
    /* Use a linear gradient from a deep purple to a lighter purple, similar to the image */
    background: linear-gradient(90deg, #4b0082, #800080);
    border-radius: 8px;
    /* Slightly more rounding */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    /* Added stronger shadow */
}

/* Style for the main section background */
.terms-conditions-section {
    background-color: #f7f7f9;
    /* Light grey background */
    min-height: 100vh;
    /* Ensure it covers the full height */
}

/* Card styling to match the flat, white look */
.card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
}

 
/* General paragraph and list styling for light grey text */
.text-content {
    color: #5a6270 !important;
    /* Slightly darker than muted for readability */
    line-height: 1.6;
}

/* List item custom styling (using checkmark icons) */
.list-with-icons li {
    margin-bottom: 0.75rem;
}

/* Style the 'IMPORTANT' note block */
.important-note {
    background-color: #f0e6ff;
    /* Very light purple background */
    border-left: 5px solid #800080;
    /* Purple left border */
    padding: 1rem;
    margin-top: 1.5rem;
    color: #4b0082;
    font-size: 0.9rem;
}

.payment-content {
    grid-template-columns: 1fr;
    margin: 0 10px 40px;
}
.bank-details {
    margin-top: 30px;
}
.bank-info {
    padding: 20px;
    background: var(--light);
    border-radius: 8px;
    margin-bottom: 20px;
}
.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}
.info-label {
    font-weight: 500;
    color: var(--gray);
}
.info-value {
    font-weight: 600;
    color: var(--primary);
    text-align: right;
}