/* Teen Patti Entertainment - Main Stylesheet */
/* Color Palette: #E5D9F2, #F5EFFF, #CDC1FF, #A594F9 */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #000000; /* Black text on light backgrounds */
    background-color: #F5EFFF; /* Almost white - lavender tint */
}

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

/* Header Styles */
.header {
    background: #A594F9; /* Mid-purple, saturated */
    box-shadow: 0 2px 10px rgba(165, 148, 249, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #FFFFFF; /* White text on dark background */
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
    color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0.2); /* Light overlay on dark background */
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: #FFFFFF;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: 1px;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg);
}

.btn-login,
.btn-register {
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-login {
    color: #FFFFFF;
    border-color: #FFFFFF;
    background-color: transparent;
}

.btn-login:hover {
    background-color: #FFFFFF;
    color: #A594F9;
}

.btn-register {
    background: #FFFFFF;
    color: #A594F9;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.4);
    background-color: #E5D9F2;
}

/* Breadcrumb Navigation */
.breadcrumb {
    background-color: #E5D9F2; /* Very light lavender */
    padding: 1rem 0;
    border-bottom: 1px solid #CDC1FF;
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb-item {
    color: #000000; /* Black text on light background */
}

.breadcrumb-item:not(:last-child)::after {
    content: ">";
    margin: 0 0.5rem;
    color: #A594F9; /* Purple for separators */
}

.breadcrumb-item a {
    color: #A594F9; /* Purple links */
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
    color: #000000;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
}

/* Hero Section */
.hero {
    background: #000000; /* Black background like Casino N8 */
    color: #FFFFFF; /* White text on black background */
    padding: 4rem 0;
    display: flex;
    align-items: center;
    min-height: 70vh;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #000000; /* Black text for hero content */
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: #000000; /* Black text for hero content */
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    color: #000000; /* Black text for hero content */
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-register-now {
    background: #00C851; /* Vibrant green like Casino N8 */
    color: #FFFFFF; /* White text */
    padding: 1.2rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    border: none;
}

.btn-register-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 200, 81, 0.4);
    background-color: #00B347; /* Darker green on hover */
}

.btn-login-hero {
    background: transparent;
    color: #FFFFFF; /* White text */
    border: 2px solid #FFFFFF; /* White border */
    padding: 1.2rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-login-hero:hover {
    background-color: #FFFFFF; /* White background on hover */
    color: #000000; /* Black text on white background */
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Section Styles */
section {
    padding: 4rem 0;
}

section:nth-child(even) {
    background-color: #F5EFFF; /* Almost white - lavender tint */
}

section:nth-child(odd) {
    background-color: #E5D9F2; /* Very light lavender */
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    color: #000000; /* Black text on light backgrounds */
}

h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #000000; /* Black text on light backgrounds */
}

/* About Section */
.about-section {
    background-color: #F5EFFF; /* Almost white - lavender tint */
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features-section {
    background-color: #E5D9F2; /* Very light lavender */
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: #CDC1FF; /* Light soft purple */
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(165, 148, 249, 0.2);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background-color: #F5EFFF; /* Lighter on hover */
}

.feature-card img {
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    color: #000000; /* Black text on light background */
    margin-bottom: 1rem;
}

.feature-card p {
    color: #000000; /* Black text on light background */
    line-height: 1.6;
}

/* Registration Section */
.registration-section {
    background-color: #F5EFFF; /* Almost white - lavender tint */
}

.registration-steps,
.login-process {
    margin-bottom: 3rem;
}

.registration-steps h3,
.login-process h3 {
    color: #000000; /* Black text on light background */
    margin-bottom: 1.5rem;
}

.registration-steps p,
.login-process p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Advantages Section */
.advantages-section {
    background-color: #E5D9F2; /* Very light lavender */
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.advantage-item {
    background: #CDC1FF; /* Light soft purple */
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(165, 148, 249, 0.2);
}

.advantage-item h3 {
    color: #000000; /* Black text on light background */
    margin-bottom: 1rem;
}

.advantage-item p {
    color: #000000; /* Black text on light background */
    line-height: 1.6;
}

/* FAQ Section */
.faq-section {
    background-color: #F5EFFF; /* Almost white - lavender tint */
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #E5D9F2; /* Very light lavender */
    margin-bottom: 1.5rem;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(165, 148, 249, 0.1);
}

.faq-item h3 {
    color: #000000; /* Black text on light background */
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.faq-item p {
    color: #000000; /* Black text on light background */
    line-height: 1.6;
}

.faq-item a {
    color: #A594F9; /* Purple links */
    text-decoration: none;
}

.faq-item a:hover {
    text-decoration: underline;
    color: #000000;
}

/* Register Section */
.register-section {
    background-color: #F5EFFF; /* Almost white - lavender tint */
    padding: 4rem 0;
}

.register-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.register-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #000000;
    text-align: left;
}

.register-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #000000;
    text-align: left;
}

.register-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #000000;
}

.steps-container {
    margin-bottom: 2rem;
}

.step-item {
    margin-bottom: 1.5rem;
    background: #E5D9F2; /* Light teal/green background like reference */
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(165, 148, 249, 0.2);
    transition: transform 0.3s ease;
}

.step-item:hover {
    transform: translateY(-2px);
    background-color: #CDC1FF;
}

.step-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #000000;
}

.step-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
    color: #000000;
}

.register-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.register-img {
    width: 400px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 3px solid #E5D9F2;
}

.cta-buttons {
    margin-top: 2rem;
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
}

.register-note {
    font-size: 1rem;
    color: #000000;
    margin-top: 1.5rem;
}

.register-note a {
    color: #A594F9;
    text-decoration: none;
    font-weight: 600;
}

.register-note a:hover {
    text-decoration: underline;
}

/* Login Section */
.login-section {
    background-color: #E5D9F2; /* Very light lavender */
    padding: 4rem 0;
}

.login-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.login-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #000000;
    text-align: left;
}

.login-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #000000;
    text-align: left;
}

.login-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #000000;
}

.benefits-list {
    list-style: none;
    margin-bottom: 2rem;
}

.benefits-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    color: #000000;
    font-size: 1rem;
    line-height: 1.6;
}

.benefits-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #A594F9;
    font-weight: bold;
    font-size: 1.2rem;
}

.login-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-img {
    width: 400px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 3px solid #E5D9F2;
}

.login-note {
    font-size: 1rem;
    color: #000000;
    margin-top: 1.5rem;
}

.login-note a {
    color: #A594F9;
    text-decoration: none;
    font-weight: 600;
}

.login-note a:hover {
    text-decoration: underline;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #A594F9 0%, #CDC1FF 100%);
    color: #000000; /* Black text on light gradient */
    text-align: center;
}

.cta-section h2 {
    color: #000000; /* Black text on light background */
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Page Header */
.page-header {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, #A594F9 0%, #CDC1FF 100%);
    color: #000000; /* Black text on light gradient */
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000000; /* Black text on light background */
}

.page-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 1rem;
    color: #000000; /* Black text on light background */
}

.last-updated {
    font-size: 0.9rem;
    opacity: 0.7;
    color: #000000; /* Black text on light background */
}

/* Values Section */
.values-section {
    background-color: #E5D9F2; /* Very light lavender */
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: #CDC1FF; /* Light soft purple */
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(165, 148, 249, 0.2);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    background-color: #F5EFFF; /* Lighter on hover */
}

.value-card img {
    margin-bottom: 1.5rem;
}

.value-card h3 {
    color: #000000; /* Black text on light background */
    margin-bottom: 1rem;
}

.value-card p {
    color: #000000; /* Black text on light background */
    line-height: 1.6;
}

/* Team Section */
.team-section {
    background-color: #F5EFFF; /* Almost white - lavender tint */
}

.team-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-item {
    background: #E5D9F2; /* Very light lavender */
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(165, 148, 249, 0.1);
}

.team-item h3 {
    color: #000000; /* Black text on light background */
    margin-bottom: 1rem;
}

.team-item p {
    color: #000000; /* Black text on light background */
    line-height: 1.6;
}

/* Commitment Section */
.commitment-section {
    background-color: #E5D9F2; /* Very light lavender */
}

.commitment-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
}

.commitment-list li {
    background: #CDC1FF; /* Light soft purple */
    margin-bottom: 1rem;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(165, 148, 249, 0.1);
    position: relative;
    padding-left: 3rem;
    color: #000000; /* Black text on light background */
}

.commitment-list li::before {
    content: "✓";
    position: absolute;
    left: 1rem;
    top: 1.5rem;
    color: #A594F9; /* Purple checkmark */
    font-weight: bold;
    font-size: 1.2rem;
}

/* Contact Methods */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-card {
    background: #CDC1FF; /* Light soft purple */
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(165, 148, 249, 0.2);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    background-color: #F5EFFF; /* Lighter on hover */
}

.contact-card img {
    margin-bottom: 1.5rem;
}

.contact-card h3 {
    color: #000000; /* Black text on light background */
    margin-bottom: 1rem;
}

.contact-card p {
    color: #000000; /* Black text on light background */
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-contact {
    background: #A594F9; /* Mid-purple, saturated */
    color: #FFFFFF; /* White text on dark background */
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(165, 148, 249, 0.4);
    background-color: #CDC1FF; /* Lighter purple on hover */
    color: #000000; /* Black text on lighter background */
}

/* Support Hours */
.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.hours-card {
    background: #CDC1FF; /* Light soft purple */
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(165, 148, 249, 0.2);
}

.hours-card h3 {
    color: #000000; /* Black text on light background */
    margin-bottom: 1rem;
}

.hours-card p {
    color: #000000; /* Black text on light background */
    margin-bottom: 0.5rem;
}

/* FAQ Grid */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-category h3 {
    color: #000000; /* Black text on light background */
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

/* Support Topics */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.topic-card {
    background: #CDC1FF; /* Light soft purple */
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(165, 148, 249, 0.2);
    transition: transform 0.3s ease;
}

.topic-card:hover {
    transform: translateY(-5px);
    background-color: #F5EFFF; /* Lighter on hover */
}

.topic-card img {
    margin-bottom: 1.5rem;
}

.topic-card h3 {
    color: #000000; /* Black text on light background */
    margin-bottom: 1rem;
}

.topic-card ul {
    list-style: none;
    text-align: left;
}

.topic-card li {
    color: #000000; /* Black text on light background */
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.topic-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #A594F9; /* Purple bullet */
    font-weight: bold;
}

/* Emergency Support */
.emergency-info {
    background: #E5D9F2; /* Very light lavender */
    border: 1px solid #CDC1FF;
    border-radius: 10px;
    padding: 2rem;
    margin-top: 2rem;
}

.emergency-info h3 {
    color: #000000; /* Black text on light background */
    margin-bottom: 1rem;
}

.emergency-info p {
    color: #000000; /* Black text on light background */
    margin-bottom: 1rem;
}

.emergency-info ul {
    color: #000000; /* Black text on light background */
    margin-bottom: 1rem;
}

/* Feedback Form */
.feedback-form {
    background: #CDC1FF; /* Light soft purple */
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(165, 148, 249, 0.2);
    margin-top: 2rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #000000; /* Black text on light background */
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #E5D9F2;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background-color: #F5EFFF;
    color: #000000;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #A594F9;
}

.btn-submit {
    background: #A594F9; /* Mid-purple, saturated */
    color: #FFFFFF; /* White text on dark background */
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(165, 148, 249, 0.4);
    background-color: #CDC1FF; /* Lighter purple on hover */
    color: #000000; /* Black text on lighter background */
}

/* Error Page */
.error-page {
    text-align: center;
    padding: 4rem 0;
}

.error-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.error-text h1 {
    font-size: 4rem;
    font-weight: 700;
    color: #000000; /* Black text on light background */
    margin-bottom: 1rem;
}

.error-text h2 {
    font-size: 1.5rem;
    color: #000000; /* Black text on light background */
    margin-bottom: 1.5rem;
}

.error-text p {
    font-size: 1.1rem;
    color: #000000; /* Black text on light background */
    margin-bottom: 2rem;
    line-height: 1.6;
}

.error-suggestions {
    text-align: left;
    background: #E5D9F2; /* Very light lavender */
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.error-suggestions h3 {
    color: #000000; /* Black text on light background */
    margin-bottom: 1rem;
}

.error-suggestions ul {
    list-style: none;
    color: #000000; /* Black text on light background */
}

.error-suggestions li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.error-suggestions li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #A594F9; /* Purple bullet */
    font-weight: bold;
}

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

.helpful-links {
    margin-bottom: 4rem;
}

.helpful-links h3 {
    color: #000000; /* Black text on light background */
    margin-bottom: 2rem;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.link-card {
    background: #CDC1FF; /* Light soft purple */
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(165, 148, 249, 0.2);
    transition: transform 0.3s ease;
}

.link-card:hover {
    transform: translateY(-5px);
    background-color: #F5EFFF; /* Lighter on hover */
}

.link-card img {
    margin-bottom: 1rem;
}

.link-card h4 {
    color: #000000; /* Black text on light background */
    margin-bottom: 1rem;
}

.link-card p {
    color: #000000; /* Black text on light background */
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-link {
    background: #A594F9; /* Mid-purple, saturated */
    color: #FFFFFF; /* White text on dark background */
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(165, 148, 249, 0.4);
    background-color: #CDC1FF; /* Lighter purple on hover */
    color: #000000; /* Black text on lighter background */
}

.search-section {
    background: #E5D9F2; /* Very light lavender */
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 4rem;
}

.search-section h3 {
    color: #000000; /* Black text on light background */
    margin-bottom: 1rem;
}

.search-section p {
    color: #000000; /* Black text on light background */
    margin-bottom: 1.5rem;
}

.search-box {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.search-box input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid #E5D9F2;
    border-radius: 8px;
    font-size: 1rem;
    background-color: #F5EFFF;
    color: #000000;
}

.search-box input:focus {
    outline: none;
    border-color: #A594F9;
}

.btn-search {
    background: #A594F9; /* Mid-purple, saturated */
    color: #FFFFFF; /* White text on dark background */
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(165, 148, 249, 0.4);
    background-color: #CDC1FF; /* Lighter purple on hover */
    color: #000000; /* Black text on lighter background */
}

.contact-info {
    background: #CDC1FF; /* Light soft purple */
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(165, 148, 249, 0.2);
}

.contact-info h3 {
    color: #000000; /* Black text on light background */
    margin-bottom: 1rem;
}

.contact-info p {
    color: #000000; /* Black text on light background */
    margin-bottom: 1.5rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.contact-method {
    color: #000000; /* Black text on light background */
    padding: 1rem;
    background: #E5D9F2; /* Very light lavender */
    border-radius: 8px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #A594F9 0%, #CDC1FF 100%);
    color: #000000; /* Black text on light gradient */
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #A594F9; /* Purple headings */
}

.footer-section p {
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #000000; /* Black text on light background */
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #000000; /* Black text on light background */
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: #A594F9; /* Purple on hover */
}

.footer-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-footer {
    background: #A594F9; /* Mid-purple, saturated */
    color: #FFFFFF; /* White text on dark background */
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-footer:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(165, 148, 249, 0.4);
    background-color: #FFFFFF; /* White on hover */
    color: #A594F9; /* Purple text on white background */
}

.footer-bottom {
    border-top: 1px solid rgba(165, 148, 249, 0.3);
    padding-top: 1rem;
    text-align: center;
    opacity: 0.7;
    color: #000000; /* Black text on light background */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: #A594F9;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: left 0.3s ease;
        z-index: 1000;
        padding: 2rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu a {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        width: 100%;
        text-align: center;
        border-radius: 10px;
    }
    
    .nav-buttons {
        display: none; /* Hide login/register buttons on mobile menu */
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-image {
        order: 2;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .error-content {
        grid-template-columns: 1fr;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .register-section .container,
    .login-section .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .register-images {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .register-img {
        width: 150px;
    }
    
    .login-image {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .login-img {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn-register-now,
    .btn-login-hero {
        width: 100%;
        max-width: 300px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #A594F9; /* Purple focus outline */
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary,
    .btn-register,
    .btn-contact,
    .btn-link,
    .btn-search,
    .btn-submit,
    .btn-footer {
        border: 2px solid #000000;
    }
}
