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

/* Theme & color variables */
:root {
    /* Font sizes */
    --font-size-xs: 11px;
    --font-size-sm: 13px;
    --font-size-base: 14px;
    ---font-size-md: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 20px;
    --font-size-2xl: 24px;
    --font-size-3xl: 28px;

    /* Line heights */
    --line-height-tight: 1.2;
    --line-height-normal: 1.4;
    --line-height-relaxed: 1.6;
}

/* Base theme styles */
:root[data-theme="light"] {
    --bg-color: #f0f2f5;
    --text-color: #333;
    --menu-bg: linear-gradient(to right, #2c3e50, #3498db);
    --content-bg: #fff;
    --block-bg: #f8f9fa;
    --shadow: rgba(0, 0, 0, 0.1);
    --hover-color: #3498db;
    --menu-gradient: linear-gradient(to right, #2c3e50, #3498db);
    --menu-shadow: rgba(0, 0, 0, 0.1);
    --login-icon-filter: none;
    --footer-bg: #2c3e50;
    --footer-text: #ffffff;
    --scrollbar-bg: #f0f2f5;
    --scrollbar-thumb: #2c3e50;
    --scrollbar-thumb-hover: #3498db;
}

:root[data-theme="dark"] {
    --bg-color: #1a1a1a;
    --text-color: #e0e0e0;
    --menu-bg: linear-gradient(to right, #1a1a1a, #2c3e50);
    --content-bg: #2d2d2d;
    --block-bg: #363636;
    --shadow: rgba(0, 0, 0, 0.3);
    --hover-color: #4fa3d1;
    --menu-gradient: linear-gradient(to right, #1a1a1a, #2c3e50);
    --menu-shadow: rgba(0, 0, 0, 0.3);
    --login-icon-filter: brightness(0) invert(1);
    --footer-bg: #1a1a1a;
    --footer-text: #e0e0e0;
    --scrollbar-bg: #1a1a1a;
    --scrollbar-thumb: #2c3e50;
    --scrollbar-thumb-hover: #3498db;
}

/* Menu toggle and theme toggle buttons */
.menu-toggle,
.theme-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 1000;
}

.theme-toggle {
    position: absolute;
    right: 20px;
    background: transparent;
    border: none;
    color: white;
    padding: 18px 15px;
    cursor: pointer;
    font-size: 20px;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    z-index: 1001;
}

/* Icon steps styles */
.icon-steps-container {
    background: var(--content-bg);
    padding: 20px;
    margin-top: 0;
    box-shadow: 0 2px 10px var(--shadow);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.icon-steps {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.icon-step {
    position: relative;
}

.step-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    padding: 20px;
    border-radius: 12px;
    background: var(--block-bg);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.step-link:hover {
    transform: translateY(-5px);
    border-color: var(--hover-color);
    box-shadow: 0 5px 15px var(--shadow);
}

.icon-step .icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 15px;
    font-size: 24px;
    transition: all 0.3s ease;
}

.theory-icon {
    background: linear-gradient(135deg, #FF6B6B, #FF8E8E);
    color: white;
}

.driving-icon {
    background: linear-gradient(135deg, #4ECDC4, #45B7AF);
    color: white;
}

.form-icon {
    background: linear-gradient(135deg, #6C5CE7, #8E7CF7);
    color: white;
}

.icon-step h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px;
    text-align: center;
}

.icon-step p {
    font-size: 14px;
    color: var(--text-color);
    opacity: 0.8;
    margin: 0;
    text-align: center;
}

/* Mobile Responsive Adjustments */
@media screen and (max-width: 768px) {
    .icon-steps {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 10px;
    }

    .step-link {
        flex-direction: row;
        padding: 15px;
        gap: 15px;
    }

    .icon-step .icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
        margin-bottom: 0;
    }

    .icon-step h3 {
        font-size: 16px;
        margin: 0;
        text-align: left;
    }

    .icon-step p {
        display: none;
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .step-link:active {
        transform: translateY(-2px);
        border-color: var(--hover-color);
    }
}

/* Menu toggle and theme toggle buttons */
.menu-toggle,
.theme-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 1000;
}

.theme-toggle {
    margin-left: auto;
    display: block !important;
    visibility: visible !important;
}

.menu-toggle {
    display: none; /* Hidden by default on desktop */
}

/* Desktop styles */
@media screen and (min-width: 769px) {
    .theme-toggle {
        position: relative;
        right: 0;
        margin-left: 20px;
    }
}

/* Mobile styles */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block; /* Show on mobile */
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
    }

    .theme-toggle {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
    }

    .menu-items {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--menu-bg);
        display: none;
        flex-direction: column;
    }

    .menu-items.active {
        display: flex;
    }
}

/* Updated body styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, sans-serif;
    margin: 0;
    background: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh; /* Ensure minimum height is full viewport */
    display: flex;
    flex-direction: column; /* Stack children vertically */
    padding-top: 0; /* Remove any existing top padding */
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
    position: relative; /* Add this */
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Menu styles */
.menu-container {
    background: var(--menu-gradient);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.menu {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}
.menu-items {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1; /* Take remaining space */
    margin: 0 auto; /* Center items */
}
.menu-item {
    position: relative;
    transition: all 0.3s ease;
}
.menu a {
    padding: 15px 20px; /* Reduced from 18px 25px */
    display: block;
    color: white;
    text-align: center;
    text-decoration: none;
    font-weight: 500;
    font-size: var(--font-size-sm);
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}
.menu a:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}
.dropdown {
    display: none;
    position: absolute;
    background: var(--content-bg);
    min-width: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 20px var(--shadow);
    overflow: hidden;
    top: 100%;
    z-index: 1000;
    border: 1px solid var(--shadow);
}
.menu-item:hover .dropdown {
    display: block;
    animation: fadeIn 0.3s ease;
}
.dropdown a {
    padding: 12px 20px;
    color: var(--text-color) !important;
    border-bottom: 1px solid var(--shadow);
    transition: all 0.3s ease;
}
.dropdown a:last-child {
    border-bottom: none;
}
.dropdown a:hover {
    background: var(--block-bg);
    color: var(--hover-color) !important;
    transform: translateX(5px);
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.gallery-container {
    display: flex;
    justify-content: center;
    padding: 20px;
    background: var(--content-bg);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    max-width: 1200px;
    width: 100%;
}
.gallery img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.gallery img:hover {
    transform: scale(1.05);
}
.modal {
    display: none;
    position: fixed; /* Changed from absolute to fixed */
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: var(--content-bg);
    padding: 2rem;
    border-radius: 10px;
    position: relative;
    width: 90%;
    max-width: 500px;
    text-align: center;
    transform: translateY(-20%); /* Adjusted up from -50% */
}

.modal-content {
    background: var(--content-bg);
    padding: 2rem;
    border-radius: 10px;
    position: relative;
    width: 90%;
    max-width: 500px;
    text-align: center;
    transform: translateY(-50%);
}

.modal h2 {
    color: var(--text-color);
    font-size: var(--font-size-xl);
    margin-bottom: 1.5rem;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}
.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
.logo {
    position: absolute;
    left: 20px;
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    padding: 5px;
}

.logo img {
    height: 50px;
    width: auto;
}
/* Updated footer styles */
.footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 60px 0 30px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: white;
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    width: fit-content; /* Match content width */
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background: var(--hover-color);
    border-radius: 2px;
}

/* Social Links */
.social-link {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding: 12px 0;
    transition: all 0.3s ease;
}

.social-link i {
    margin-right: 12px;
    font-size: 18px;
    color: var(--hover-color);
}

.social-link:hover {
    transform: translateX(5px);
    color: var(--hover-color);
}

/* Updated Social Buttons */
.social-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.social-button {
    display: flex;
    align-items: center;
    padding: 15px 30px;
    border-radius: 12px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    min-width: 180px;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.social-button:hover::before {
    transform: translateX(0);
}

.social-button i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.social-button:hover i {
    transform: scale(1.2);
}

.social-button.facebook {
    background: #1877f2;
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.2);
}

.social-button.instagram {
    background: #E4405F;
    box-shadow: 0 4px 15px rgba(228, 64, 95, 0.2);
}

.social-button.tiktok {
    background: #000000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Mobile adjustments for social buttons */
@media screen and (max-width: 768px) {
    .social-buttons {
        flex-direction: column;
        padding: 0 20px;
    }

    .social-button {
        width: 100%;
        min-width: 0;
    }
}

/* Social Buttons */
.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: fit-content; /* Add this to match content width */
    min-width: 150px; /* Minimum width */
    max-width: 100%; /* Ensure it doesn't overflow */
}

.social-button {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 25px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    width: fit-content; /* Match content width */
    white-space: nowrap; /* Prevent text wrapping */
}

.social-button i {
    font-size: 18px;
    margin-right: 10px;
}

.social-button.facebook {
    background: #1877f2;
}

.social-button.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-button.tiktok {
    background: #000;
    border: 2px solid #00f2ea;
}

.social-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    filter: brightness(1.1);
}

/* Map Container */
.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    margin-bottom: 15px;
}

.directions-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 20px;
    background: var(--hover-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.directions-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    background: #2980b9;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-section {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-link {
        justify-content: center;
    }

    .social-buttons {
        align-items: center;
        width: 100%; /* Full width on mobile */
    }

    .social-button {
        width: auto; /* Let buttons adjust to content */
        max-width: fit-content; /* Don't exceed content width */
    }

    .map-container {
        max-width: 100%;
        margin: 0 auto 15px;
    }

    .directions-button {
        max-width: 250px;
        margin: 0 auto;
    }
}



.middle-content {
    flex: 1; /* Take up remaining space */
    padding: 40px 20px;
    background: var(--bg-color);
    margin: 20px 0;
    opacity: 1;
    transition: opacity 0.3s ease;
    margin-top: 20px; /* Adjust this value as needed */
    display: flex;
    flex-direction: column;
    margin: 0 0 40px; /* Adjust margin */
    will-change: opacity;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.middle-content.loading {
    opacity: 0.6;
}
.content-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--content-bg);
    padding: 20px; /* Reduced from 30px */
    border-radius: 10px;
    box-shadow: 0 10px 30px var(--shadow);
    overflow-x: hidden; /* Add this to prevent horizontal overflow */
    animation: pageContentFadeIn 0.6s ease-out forwards;
    /* ...existing content-wrapper properties... */
    margin-bottom: 0; /* Remove bottom margin */
    min-height: 60vh;
    position: relative;
    transition: opacity 0.3s ease;
    will-change: opacity;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.content-wrapper.loading {
    animation: none;
    opacity: 0.6;
}

.main-content {
    flex: 3; /* Increased from 2 to 3 for better proportion without login form */
}
.right-block {
    flex: 1;
    background: var(--block-bg);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px var(--shadow);
}
@media screen and (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
        padding: 15px;
        width: 100%;
        max-width: 100%;
        margin: 0;
        box-sizing: border-box;
    }
    
    .main-content,
    .right-block {
        width: 100%;
        min-width: 0; /* Add this to allow content to shrink */
    }

    .middle-content {
        padding: 20px 10px;
        overflow-x: hidden;
    }
}
@media screen and (max-width: 900px) and (orientation: landscape) {
    .content-wrapper {
        flex-direction: column;
        gap: 15px;
    }

    .right-block {
        margin-top: 15px;
    }
}
@media screen and (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
        padding: 15px;
    }
    
    .main-content,
    .right-block {
        width: 100%;
    }
}
.right-block h3 {
    color: var(--text-color);
    margin-bottom: 15px;
    font-size: 20px;
}
.right-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.right-block li {
    padding: 10px 0;
    border-bottom: 1px solid var(--shadow);
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
}
.right-block li:hover {
    color: var (--hover-color);
    padding-left: 5px;
}



.right-block ul li a {
    color: var(--text-color);
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.right-block ul li a:hover {
    color: var(--hover-color);
    transform: translateX(5px);
}



/* Mobile menu styles */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

@media screen and (max-width: 768px) {
    .menu-container {
        position: relative; /* Reset to default for mobile */
    }

    .menu {
        padding: 5px 10px;
        justify-content: center;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        color: white;
        font-size: 24px;
        padding: 10px;
        cursor: pointer;
    }

    .theme-toggle {
        position: absolute;
        right: 10px;
        top: 50%; /* Changed from 45% to 50% */
        transform: translateY(-50%); /* Changed from -45% to -50% */
        margin: 0;
        padding: 8px;
        background: #2c3e50;
        border-radius: 50%;
        width: 35px;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        z-index: 1001;
    }

    .logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
        padding: 0;
        width: 40px;
        height: 40px;
    }

    .menu-items {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--menu-gradient);
        flex-direction: column;
        z-index: 1000;
    }

    .menu-items.active {
        display: flex;
    }

    .menu-item {
        width: 100%;
    }

    .dropdown {
        position: static;
        width: 100%;
        box-shadow: none;
        background: var(--block-bg);
    }

    .content-wrapper {
        flex-direction: column;
        padding: 15px;
    }

    .icon-steps {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        gap: 5px;
        padding: 5px 0;
    }

    .icon-step {
        flex: 1;
        min-width: 0;
        padding: 8px 5px;
    }

    .icon-step p {
        display: none;
    }

    .icon-step a {
        padding: 8px 5px;
        color: inherit;
    }
}

/* Small mobile adjustments */
@media screen and (max-width: 480px) {
    .gallery {
        grid-template-columns: 1fr;
    }

    .gallery img {
        max-height: 300px;
        object-fit: cover;
    }
}

/* Updated Mobile menu styles */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

/* Update theme toggle button styles */
.theme-toggle {
    position: absolute;
    right: 20px;
    background: transparent;
    border: none;
    color: white;
    padding: 18px 15px;
    cursor: pointer;
    font-size: 20px;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    z-index: 1001;
}

.theme-toggle:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.1);
}

/* Page transition styles */
.page-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #3498db, #2ecc71);
    z-index: 9999;
    display: none;
    animation: loadingBar 1s ease-in-out infinite;
}

@keyframes loadingBar {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Add styles for page headers */
.page-header {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-color);
}

.page-subtitle {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 18px;
    margin-top: 10px;
}

/* Content block styles */
.block-wrapper {
    background: var(--block-bg);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px var(--shadow);
}

/* Mobile menu and theme toggle styles */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .menu {
        padding: 0 10px;
        position: relative;
    }

    .menu-items {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--menu-gradient);
        flex-direction: column;
        z-index: 1000;
    }

    .menu-items.active {
        display: flex;
    }

    .menu-item {
        width: 100%;
    }

    .theme-toggle {
        position: fixed;
        right: 10px;
        top: 15px;
        padding: 10px;
        z-index: 1001;
    }

    .menu-toggle {
        margin-left: auto;
        margin-right: 50px; /* Make space for theme toggle */
    }

    .dropdown {
        position: static;
        width: 100%;
        background: var(--block-bg);
    }
}

/* Menu toggle button - hidden by default */
.menu-toggle {
    display: none;
}

/* Updated mobile styles */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        color: white;
        font-size: 24px;
        padding: 10px;
        cursor: pointer;
        order: -1;
    }

    .theme-toggle {
        position: fixed;
        right: 10px;
        top: 15px;
        padding: 10px;
        z-index: 1001;
    }

    .menu {
        padding: 0 10px;
        position: relative;
    }

    .menu-items {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--menu-gradient);
        flex-direction: column;
        z-index: 1000;
    }

    .menu-items.active {
        display: flex;
    }

    .menu-item {
        width: 100%;
    }

    .dropdown {
        position: static;
        width: 100%;
        background: var(--block-bg);
    }
}

/* Menu styles */
.menu-items {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile styles */
@media screen and (max-width: 768px) {
    .menu {
        justify-content: flex-start;
    }

    .logo {
        position: static;
        margin: 0;
        padding: 0 10px;
    }

    .menu-toggle {
        display: block;
        order: -1;
    }

    .theme-toggle {
        position: fixed;
        right: 10px;
        top: 15px;
        padding: 10px;
        z-index: 1001;
    }

    .menu-items {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--menu-gradient);
        flex-direction: column;
        z-index: 1000;
    }

    .menu-items.active {
        display: flex;
    }
}

/* Theme toggle button styles */
.theme-toggle {
    position: absolute;
    right: 20px;
    background: transparent;
    border: none;
    color: white;
    padding: 18px 15px;
    cursor: pointer;
    font-size: 20px;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    z-index: 1001;
}

@media screen and (max-width: 768px) {
    .menu-container {
        position: relative;
    }

    .theme-toggle {
        position: fixed;
        right: 0;
        top: 0;
        margin: 10px;
        padding: 8px;
        background: #2c3e50;
        border-radius: 50%;
        width: 35px;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        transform: none !important;
    }

    .theme-toggle:hover {
        transform: none !important;
        background: #2c3e50;
    }

    .menu-toggle {
        margin-right: 50px;
    }

    .logo {
        margin: 0 auto;
        padding: 5px 0;
    }
}

@media screen and (max-width: 768px) {
    .logo {
        position: static;
        margin: 0;
        padding: 0;
        width: 40px; /* Constrain width */
        height: 40px; /* Constrain height */
        display: block; /* Change to block */
        margin: 0 auto; /* Center horizontally */
    }

    .logo a {
        padding: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .logo img {
        height: 40px;
        width: auto;
        display: block;
    }

    .menu {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        padding: 5px 10px;
        height: 50px;
    }

    .menu-toggle {
        position: absolute;
        left: 10px;
    }

    .theme-toggle {
        position: fixed;
        right: 0;
        top: 0;
    }
}



/* Update icon-step styles */
.icon-step {
    padding: 0;
    transition: none;
}

.icon-step:hover {
    transform: none;
}

@media screen and (max-width: 768px) {
    .icon-steps-container {
        padding: 8px; /* Reduced from 10px */
        margin-top: 0;
    }

    .icon-steps {
        display: flex; /* Change to flex for horizontal layout */
        flex-direction: row;
        justify-content: space-between;
        gap: 3px; /* Reduced from 5px */
        overflow-x: auto; /* Allow horizontal scroll if needed */
        padding: 3px 0; /* Reduced from 5px 0 */
    }
    
    .icon-step {
        flex: 1;
        min-width: 0;
        padding: 3px; /* Reduced from 5px */
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .icon-step .icon {
        font-size: 18px; /* Reduced from 20px */
        margin-bottom: 2px; /* Reduced from 3px */
    }
    
    .icon-step h3 {
        font-size: var(--font-size-sm);
        margin-bottom: 0;
        white-space: nowrap;
    }
    
    .icon-step p {
        display: none; /* Hide description text on mobile */
    }

    .icon-step a {
        padding: 5px 3px; /* Reduced from 8px 5px */
        color: inherit;
    }
}





/* Update icon-step mobile styles */
@media screen and (max-width: 768px) {
    /* ...existing mobile styles... */

    .icon-step a,
    .icon-step a:visited,
    .icon-step a:hover,
    .icon-step a:active,
    .icon-step a:link {
        padding: 8px 5px;
        color: inherit !important;
        text-decoration: none !important;
    }

    .icon-step .icon,
    .icon-step h3,
    .icon-step p {
        pointer-events: none;
        color: inherit !important;
    }

    /* ...rest of mobile styles... */
}





@media screen and (max-width: 768px) {
    .theme-toggle {
        position: fixed;
        right: 5%; /* Adjusted to 5% */
        top: 0;
        margin: 10px;
        padding: 8px;
        background: #2c3e50;
        border-radius: 50%;
        width: 35px;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        transform: none !important;
        position: -webkit-sticky; /* For Safari */
        position: sticky;
        z-index: 1001;
    }

    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
        padding: 0;
        width: 40px;
        height: 40px;
    }

    .logo a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
    }

    .logo img {
        height: 40px;
        width: auto;
        display: block;
    }

    .menu {
        justify-content: center;
        position: relative;
        min-height: 50px;
    }

    .menu-toggle {
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
    }

    /* Ensure theme toggle stays visible when scrolling */
    .menu-container {
        position: sticky;
        top: 0;
        z-index: 1000;
    }
}


@media screen and (max-width: 768px) {
    .theme-toggle {
        position: absolute;
        right: 10px;
        top: 50%; /* Changed from 45% to 50% */
        transform: translateY(-50%); /* Changed from -45% to -50% */
        margin: 0;
        padding: 8px;
        background: #2c3e50;
        border-radius: 50%;
        width: 35px;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }

    .menu {
        min-height: 60px; /* Ensure consistent height */
        display: flex;
        align-items: center;
    }

    /* ...rest of mobile styles... */
}

/* Theory page specific styles */
.theory-header {
    text-align: center;
    margin-bottom: 40px;
}

.subtitle {
    color: var(--text-color);
    font-size: 15px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.step-card {
    background: var(--content-bg);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 40px;
    height: 40px;
    background: #3498db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 20px;
    font-weight: bold;
}

.price-box {
    background: linear-gradient(to right, #2c3e50, #3498db);
    color: white;
    padding: 25px;
    border-radius: 10px;
    margin: 20px 0;
    text-align: center;
}

.price-features ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.price-features li {
    padding: 10px 0;
    color: white;
}

.contact-quick {
    margin-top: 30px;
    padding: 20px;
    background: var(--block-bg);
    border-radius: 8px;
    text-align: center;
}

.contact-quick p {
    font-size: 20px;
    color: var(--text-color);
    margin: 10px 0 0;
}

.contact-quick h4 {
    color: var(--text-color);
}

.action-button {
    display: inline-block;
    background: #fff;
    color: #2c3e50;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    font-size: var(--font-size-base);
}

.action-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Mobile responsive adjustments */
@media screen and (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .price-box {
        padding: 20px;
    }

    .action-button {
        width: 100%;
        text-align: center;
    }
}

/* Updated Step Menu Icons */
.icon-steps-container {
    background: var(--content-bg);
    padding: 15px 20px;
    width: 100%;
    margin-top: 5px;
    box-shadow: 0 2px 10px var(--shadow);
}

.icon-steps {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: center;
}

.icon-step {
    position: relative;
    transition: transform 0.3s ease;
}

.step-link {
    text-decoration: none;
    color: inherit;
    display: block;
    padding: 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: var(--block-bg);
}

.step-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px var(--shadow);
}

.icon-step .icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 24px;
    transition: all 0.3s ease;
}

/* Specific icon styles */
.theory-icon {
    background: linear-gradient(135deg, #FF6B6B, #FF8E8E);
    color: white;
}

.driving-icon {
    background: linear-gradient(135deg, #4ECDC4, #45B7AF);
    color: white;
}

.form-icon {
    background: linear-gradient(135deg, #6C5CE7, #8E7CF7);
    color: white;
}

.icon-step h3 {
    color: var(--text-color);
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
}

.icon-step p {
    color: var(--text-color);
    opacity: 0.8;
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
}

/* Step hover effects */
.step-link:hover .icon {
    transform: scale(1.1);
}

/* Mobile responsive adjustments */
@media screen and (max-width: 768px) {
    .icon-steps {
        gap: 10px;
    }

    .step-link {
        padding: 10px;
    }

    .icon-step .icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
        margin-bottom: 8px;
    }

    .icon-step h3 {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .icon-step p {
        font-size: 11px;
    }
}

@media screen and (max-width: 768px) {
    /* ...existing mobile styles... */
    
    .menu-items .dropdown {
        display: block;
        width: 100%;
        position: static;
        background: var(--block-bg);
        box-shadow: none;
        padding: 0;
    }

    .menu-items .dropdown a {
        padding: 12px 30px;
        color: var(--text-color);
    }

    /* Ensure dropdown links are clickable */
    .menu-item:hover .dropdown {
        animation: none;
    }
}



/* Login form styles */
.login-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
}

.login-form {
    background: var(--content-bg);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
}

.form-group {
    margin-bottom: 20px;
    position: relative; /* Added */
}

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

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--shadow);
    border-radius: 5px;
    background: var(--block-bg);
    color: var(--text-color);
    transition: all 0.3s ease;
    box-sizing: border-box; /* Added */
    margin: 0; /* Added */
    display: block; /* Added */
    font-size: var(--font-size-base);
}

.form-group input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

.login-button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(to right, #2c3e50, #3498db);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s ease;
    font-size: var(--font-size-base);
}

.login-button:hover {
    transform: translateY(-2px);
}

.form-footer {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.form-footer a {
    color: var(--hover-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.form-footer a:hover {
    color: #2980b9;
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
    .login-container {
        padding: 10px;
    }
    
    .login-form {
        padding: 20px;
    }
}

/* Error message styles */
.invalid-feedback {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

.form-control.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + .75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

.form-control.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}


/* Login error message styles */
.error-message {
    color: #dc3545;
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid #dc3545;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 14px;
}


/* Forgot password specific styles */
.forgot-password-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
}

.forgot-password-form {
    background: var(--content-bg);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var (--shadow);
}

.success-message {
    color: #28a745;
    background-color: rgba(40, 167, 69, 0.1);
    border: 1px solid #28a745;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 14px;
}

/* Login dropdown styles */
.login-dropdown-container {
    position: relative;
    margin-left: auto;
    margin-right: 10px;
}

.login-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    transition: transform 0.3s ease;
    text-decoration: none; /* For link version */
    display: flex;
    align-items: center;
}

.login-toggle:hover {
    transform: translateY(-2px);
}

.login-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var (--content-bg);
    min-width: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 20px var (--shadow);
    z-index: 1000;
    padding: 20px;
}

.login-dropdown.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.login-dropdown-form .form-group {
    margin-bottom: 15px;
}

.login-dropdown-form input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var (--shadow);
    border-radius: 4px;
    background: var (--block-bg);
    color: var (--text-color);
}

.login-dropdown-form .form-footer {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}

@media screen and (max-width: 768px) {
    .login-dropdown {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 0;
    }
}

/* Updated Login dropdown styles */
.login-dropdown-container {
    position: relative;
    margin-left: auto;
    margin-right: 10px;
    display: flex;
    align-items: center;
}

.login-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    transition: transform 0.3s ease;
}

.login-toggle:hover {
    transform: translateY(-2px);
}

.login-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--content-bg);
    min-width: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 20px var(--shadow);
    z-index: 1000;
    padding: 20px;
}

.login-dropdown.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.login-dropdown h2 {
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 20px; /* Changed from 24px to 20px */
    text-align: center;
}

.login-dropdown-form .form-group {
    margin-bottom: 15px;
}

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

.login-dropdown-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--shadow);
    border-radius: 5px;
    background: var(--block-bg);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.login-dropdown-form input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

.login-dropdown-form .login-button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(to right, #2c3e50, #3498db);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.login-dropdown-form .login-button:hover {
    transform: translateY(-2px);
}

.login-dropdown-form .form-footer {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.login-dropdown-form .form-footer a {
    color: var(--hover-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.login-dropdown-form .form-footer a:hover {
    color: #2980b9;
}

@media screen and (max-width: 768px) {
    .login-dropdown {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 0;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }

    .login-toggle {
        order: 2; /* Place after theme toggle */
    }
}


/* Add nav controls container */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
}

/* Update login dropdown container */
.login-dropdown-container {
    position: relative;
    display: flex;
    align-items: center;
}

/* Update theme toggle positioning */
.theme-toggle {
    position: relative;
    right: auto;
    margin: 0;
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
    .nav-controls {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        gap: 10px;
    }

    .theme-toggle {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin: 0;
    }

    .login-toggle {
        padding: 8px;
    }

    .menu-toggle {
        margin-right: 0;
    }

    .logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
        padding: 0;
    }
}



/* Updated menu styles */
.menu {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    min-height: 60px;
    padding: 0 80px; /* Add padding for logo and controls */
}

.menu-items {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1; /* Take remaining space */
    margin: 0 auto; /* Center items */
}

/* Update login dropdown positioning */
.login-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--content-bg);
    min-width: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 20px var(--shadow);
    z-index: 1000;
    padding: 20px;
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
    .menu {
        padding: 0 10px;
    }

    .nav-controls {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        gap: 10px;
        z-index: 1002; /* Ensure controls stay above dropdown */
    }

    .login-dropdown {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 0;
        margin: 0; /* Remove any margin */
        transform: none; /* Remove any transform */
    }

    .menu-items {
        margin: 0;
        width: 100%;
    }
}



/* Login dropdown styles */
.login-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--content-bg);
    min-width: 300px;
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 20px var(--shadow);
    z-index: 1000;
    padding: 20px;
}

@media screen and (max-width: 768px) {
    .login-dropdown {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        width: 100vw; /* Full viewport width */
        max-width: 100vw;
        border-radius: 0;
        margin: 0;
        transform: none;
        box-sizing: border-box;
    }

    .nav-controls {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-right: 10px;
    }

    .menu-items {
        display: none; /* Ensure menu is closed by default */
    }

    .menu-items.active {
        display: flex;
    }
}

/* Update login dropdown styles */
.login-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--content-bg);
    min-width: 300px;
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 20px var(--shadow);
    z-index: 1000;
    padding: 20px;
    box-sizing: border-box; /* Add this */
}

.login-dropdown-form {
    width: 100%; /* Add this */
}

.login-dropdown-form .form-footer {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    padding: 0;
    width: 100%; /* Add this */
    box-sizing: border-box; /* Add this */
}

.login-dropdown-form .form-footer a {
    color: var(--hover-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 12px;
    white-space: nowrap;
    display: inline-block; /* Add this */
    padding: 0 5px; /* Add this */
}

@media screen and (max-width: 768px) {
    .login-dropdown {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: calc(100% - 40px); /* Full width minus padding */
        max-width: 400px;
        max-height: 90vh;
        overflow-y: auto;
        margin: 0;
        border-radius: 8px;
        box-sizing: border-box;
        z-index: 1010;
    }

    /* Add overlay when dropdown is active */
    .login-dropdown.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
    }

    /* Ensure nav controls stay above dropdown */
    .nav-controls {
        z-index: 1020;
    }
}


/* Update login toggle styles */
.login-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    padding: 18px 25px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.5px;
    filter: var(--login-icon-filter);
}

.login-toggle:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* Keep icon white in menu header regardless of theme */
.menu .login-toggle::before {
    filter: none;
}

@media screen and (max-width: 768px) {
    .login-toggle {
        font-size: 15px;
        padding: 12px 20px;
        color: var(--text-color);
        width: 100%;
        text-align: left;
        border-bottom: 1px solid var(--shadow);
    }

    .login-toggle:hover {
        background: var(--block-bg);
        transform: translateX(5px);
    }
}


/* Theme toggle button styles */
.theme-toggle {
    position: absolute;
    right: 20px;
    background: transparent;
    border: none;
    color: white;
    padding: 18px 15px;
    cursor: pointer;
    font-size: 20px;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

@media screen and (max-width: 768px) {
    .theme-toggle {
        position: fixed;
        right: 20px;
        bottom: 20px;
        top: auto;
        transform: none;
        margin: 0;
        padding: 0;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        background: var(--menu-gradient);
        box-shadow: 0 2px 10px var(--shadow);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1001;
        transition: all 0.3s ease;
    }

    .theme-toggle:hover {
        transform: scale(1.1);
        background: var(--menu-gradient);
    }

    .theme-toggle:active,
    .theme-toggle:focus {
        background: var(--menu-gradient);
    }

    /* Adjust other mobile menu elements since theme toggle is no longer in header */
    .nav-controls {
        gap: 5px;
    }

    .menu-toggle {
        margin-right: 0;
    }
}

/* Mobile adjustments for login and menu controls */
@media screen and (max-width: 768px) {
    /* Keep menu toggle on left */
    .menu-toggle {
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        margin: 0;
        z-index: 1001;
    }

    /* Position login toggle on right */
    .login-dropdown-container {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        margin: 0;
        z-index: 1001;
    }

    .login-toggle {
        padding: 10px;
        font-size: 15px;
        display: flex;
        align-items: center;
        color: white;
    }

    /* Center logo */
    .logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
        padding: 0;
    }

    /* Keep theme toggle at bottom right corner */
    .theme-toggle {
        position: fixed;
        right: 20px;
        bottom: 20px;
        top: auto;
    }

    /* Update nav controls */
    .nav-controls {
        position: static;
        transform: none;
        display: flex;
        align-items: center;
    }
}

/* Register form link styles */
.register-form p {
    text-align: center;
    margin-top: 15px;
}

.register-form p a,
.register-form p a:visited {
    color: var(--hover-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.register-form p a:hover {
    color: #2980b9;
}



.register-container h2 {
    margin-bottom: 25px;
}



/* Updated login dropdown form footer styles */
.login-dropdown-form .form-footer {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    font-size: 12px; /* Reduced from 14px */
    padding: 0 5px; /* Add some padding */
}

.login-dropdown-form .form-footer a {
    color: var(--hover-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 12px; /* Explicitly set font size */
    white-space: nowrap; /* Prevent text wrapping */
}

/* Scrollbar styling for webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--scrollbar-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-thumb-hover);
}

/* Firefox scrollbar styling */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-bg);
}

.login-dropdown-form .form-footer a:hover {
    color: #2980b9;
}



/* Innovative Learning Section */
.innovative-learning {
    padding: 40px 20px;
    background: var(--content-bg);
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    margin-bottom: 30px;
}

.section-title {
    text-align: center;
    color: var(--text-color);
    font-size: 20px; /* Reduced size for consistency */
    margin-bottom: 20px;
    font-weight: 600;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 40px 0;
}

.feature-card {
    background: var(--block-bg);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.feature-title {
    color: var(--text-color);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-description {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 14px;
    line-height: 1.6;
}

.cta-section {
    text-align: center;
    margin-top: 40px;
}

.cta-button {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(to right, #2c3e50, #3498db);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-size: var(--font-size-base);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

@media screen and (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .section-title {
        font-size: var(--font-size-xl);
    }

    .feature-card {
        padding: 20px;
    }

    .innovative-learning {
        padding: 25px 15px;
    }
}


.form-footer {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

/* Mobile adjustments */
@media screen and (max-width: 480px) {
    .form-footer {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .form-footer a {
        width: 100%;
        text-align: center;
        padding: 8px 0;
    }
}

@media screen and (max-width: 768px) {
    

    .login-toggle {
        font-size: 11px; /* Reduced from 13px */
        padding: 12px 20px;
        color: var(--text-color);
        width: 100%;
        text-align: left;
        border-bottom: 1px solid var (--shadow);
    }

    .login-toggle::before {
        font-size: 11px; /* Reduced from 13px to match text */
    }

    
}


@media screen and (max-width: 768px) {
    

    .menu-container .nav-controls .login-toggle {
        font-size: 11px !important;
        padding: 12px 15px;
        border-bottom: none; /* Remove the bottom border */
        color: white; /* Ensure text is white */
    }

    .login-toggle {
        border-bottom: none; /* Remove bottom border */
        padding: 10px;
        font-size: 15px;
        display: flex;
        align-items: center;
        color: white;
    }

    .login-toggle:hover {
        background: rgba(255,255,255,0.1);
        transform: none;
    }

    .menu-container .nav-controls .login-toggle::before {
        font-size: 11px !important;
    }

    
}


.section-title {
    text-align: center;
    color: var(--text-color);
    font-size: 20px; /* Reduced size for consistency */
    margin-bottom: 20px;
    font-weight: 600;
}

@media screen and (max-width: 768px) {
    .section-title {
        font-size: var(--font-size-xl);
    }
}



/* Animation classes */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-section {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    background: var(--content-bg);
    border-radius: 15px;
    margin-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px; /* Reduced from 30px */
    padding: 0 20px;
}

.stat-card {
    text-align: center;
    padding: 30px;
    background: var(--block-bg);
    border-radius: 10px;
    box-shadow: 0 5px 15px var (--shadow);
    /* Remove transition and transform properties */
}


/* Keep text animations */
.stat-card:hover .stat-info p {
    transform: scale(1.05);
    text-shadow: 0 0 15px rgba(46, 204, 113, 0.2);
}

.stat-card:hover .stat-info.status-warning p {
    text-shadow: 0 0 15px rgba(243, 156, 18, 0.2);
}

.stat-card:hover .stat-info.status-danger p {
    text-shadow: 0 0 15px rgba(231, 76, 60, 0.2);
}

.stat-card span {
    font-size: 36px; /* Reduced from 48px */
    font-weight: bold;
    color: var (--hover-color);
    display: block;
    margin-bottom: 5px;
}

.stat-card p {
    color: var (--text-color);
    font-size: 15px; /* Reduced from 18px */
    font-weight: 600;
    margin-bottom: 5px;
}

.stat-card small {
    color: var (--text-color);
    opacity: 0.7;
    font-size: 12px; /* Reduced from 14px */
    display: block;
}

/* Services Section */
.services-section {
    padding: 60px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px; /* Reduced from 30px */
    margin-top: 40px;
}

.service-card {
    background: var (--content-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px var (--shadow);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: contain; /* Changed from cover to contain */
    background-color: var (--block-bg); /* Add background color */
    padding: 20px; /* Add padding around image */
    border-bottom: 1px solid var (--shadow); /* Add subtle border */
    /* Remove image hover transition and transform */
}

.service-card:hover img {
    /* Remove hover transform */
    transform: none;
}

/* Ensure image maintains aspect ratio on mobile */
@media screen and (max-width: 768px) {
    .service-card img {
        height: 200px;
        padding: 15px;
    }
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    color: var (--text-color);
    margin-bottom: 15px;
    font-size: var (--font-size-lg);
}

.service-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.service-content ul li {
    color: var (--text-color);
    padding: 8px 0; /* Reduced from 8px 0 */
    padding-left: 25px;
    position: relative;
    font-size: var (--font-size-base);
}

.service-content ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var (--hover-color);
}

.learn-more {
    display: inline-block;
    padding: 12px 30px;
    background: var (--hover-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: var (--font-size-base);
}

.learn-more:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

@media screen and (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card img {
        height: 200px;
        padding: 15px;
    }
}

/* Cars Section */
.cars-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
}

.car-slide {
    min-width: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px var (--shadow);
    scroll-snap-align: start;
}

.car-slide img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.car-info {
    padding: 20px;
    background: var (--content-bg);
}

.car-info h3 {
    margin-bottom: 10px;
    color: var (--text-color);
}

.car-info p {
    color: var (--text-color);
    opacity: 0.8;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px; /* Reduced from 30px */
    margin-top: 40px;
}

.testimonial-card {
    background: var (--content-bg);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px var (--shadow);
}

.testimonial-content p {
    color: var (--text-color);
    font-style: italic;
    margin-bottom: 15px; /* Reduced from 20px */
    line-height: 1.6;
    font-size: 13px; /* Reduced from default */
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author span {
    color: var (--text-color);
    font-weight: 500;
    font-size: 13px; /* Reduced from default */
}

/* Mobile Responsive Adjustments */
@media screen and (max-width: 768px) {
    .stats-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-card span {
        font-size: 30px; /* Reduced from 36px */
    }

    .service-card img {
        height: 200px;
    }

    .cars-slider {
        gap: 15px;
        padding: 15px 0;
    }

    .car-slide {
        min-width: 250px;
    }

    .section-title {
        font-size: var (--font-size-xl);
    }

    .service-content h3 {
        font-size: var (--font-size-md);
    }
}



/* Animation base classes */
.fade-in-section,
.slide-in-section {
    opacity: 0;
    transform: translateY(20px);
    visibility: hidden;
    transition: opacity 0.6s ease-out, 
                transform 0.6s ease-out, 
                visibility 0.6s ease-out;
}

.slide-in-section {
    transform: translateX(-20px);
}

.visible {
    opacity: 1;
    transform: translate(0);
    visibility: visible;
}

/* Prevent animations on page load */
.content-loaded .fade-in-section,
.content-loaded .slide-in-section {
    transition-delay: 0.2s;
}

/* Stats counter animation */
.count-up {
    transition: color 0.3s ease;
}

/* Add subtle parallax to hero section */
.hero-section {
    background-attachment: fixed;
    transform: translateZ(0);
    will-change: transform;
}

/* Ensure smooth scrolling for the whole page */
html {
    scroll-behavior: smooth;
}

/* Mobile optimization */
@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
    }
}

/* Reduce motion if user prefers it */
@media (prefers-reduced-motion: reduce) {
    .fade-in-section,
    .slide-in-section,
    .hero-section {
        transition: none !important;
        transform: none !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}



/* Remove Hero Section Styles */
.hero-section,
.hero-content,
.hero-content h1,
.hero-content p,
.hero-cta {
    display: none;
}



/* Page transition animations */
@keyframes pageContentFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Welcome Banner Styles */
.welcome-banner {
    text-align: center;
    padding: 60px 0;
    margin-bottom: 40px;
    background: var(--content-bg);
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
}

.welcome-banner h1 {
    font-size: var(--font-size-3xl);
    margin-bottom: 15px;
    color: var(--text-color);
    animation: slideDown 0.8s ease-out forwards;
}

.welcome-banner .subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 40px;
    animation: fadeIn 1s ease-out forwards;
}

.welcome-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0 20px;
    animation: slideUp 0.8s ease-out forwards;
}

.welcome-card {
    background: var(--block-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.welcome-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow);
}

.card-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
    animation: bounce 2s infinite;
}

/* Info Cards Styles */
.info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.info-card {
    background: var(--content-bg);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--hover-color);
}

.info-content h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: var(--text-color);
}

.info-content ul {
    list-style: none;
    margin-bottom: 30px;
}

.info-content ul li {
    color: var(--text-color);
    margin-bottom: 12px;
    font-size: 1.1em;
    display: flex;
    align-items: center;
}

.info-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--hover-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: var(--font-size-base);
}

.info-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* CTA Banner Styles */
.cta-banner {
    background: var(--menu-gradient);
    padding: 60px 40px;
    border-radius: 15px;
    text-align: center;
    color: white;
    margin: 40px 0;
}

.cta-content h2 {
    font-size: 2em;
    margin-bottom: 15px;
    color: var(--text-color);
    animation: slideDown 0.8s ease-out forwards;
}

.cta-content p {
    font-size: 1.2em;
    opacity: 0.9;
    margin-bottom: 30px;
    color: var(--text-color);
    animation: fadeIn 1s ease-out forwards;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: slideUp 0.8s ease-out forwards;
}

.cta-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: var(--font-size-base);
}

.cta-btn.primary {
    background: transparent;
    color: var (--hover-color);
    border: 2px solid var (--hover-color);
}



.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.cta-btn.primary:hover {
    background: var (--hover-color);
    color: var (--content-bg);
}

.cta-btn.secondary:hover {
    background: var (--text-color);
    color: var (--content-bg);
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .welcome-banner {
        padding: 40px 20px;
    }

    .welcome-banner h1 {
        font-size: var(--font-size-2xl);
    }

    .welcome-banner .subtitle {
        font-size: var(--font-size-md);
    }

    .welcome-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .info-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-btn {
        width: 100%;
        justify-content: center;
    }
}

.card-icon.animate-once {
    font-size: 2.5em;
    margin-bottom: 15px;
    animation: bounceOnce 1s ease-out forwards;
}

@keyframes bounceOnce {
    0% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
    80% { transform: translateY(-5px); }
    100% { transform: translateY(0); }
}



/* New License Blocks Styles */
.license-blocks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.license-block {
    background: var(--content-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    transition: transform 0.3s ease;
}

.license-block:hover {
    transform: translateY(-5px);
}

.license-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.license-content {
    padding: 25px;
}

.license-content h2 {
    color: var(--text-color);
    font-size: 24px;
    margin-bottom: 20px;
}

.license-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.license-features li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: var(--text-color);
    font-size: 16px;
}

.license-features .icon {
    margin-right: 12px;
    font-size: 20px;
}

.license-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--hover-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.license-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.feature-item {
    background: var(--block-bg);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.feature-icon {
    font-size: 32px;
    margin-bottom: 15px;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .license-blocks {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .license-image {
        height: 200px;
    }
}

/* New Welcome Section Styles */
.info-row {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
    background: var(--content-bg);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px var(--shadow);
}

.info-row.reverse {
    flex-direction: row-reverse;
}

.info-image {
    flex: 1;
    max-width: 500px;
}

.content-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.info-content {
    flex: 1;
    padding: 20px;
}

.info-content h2 {
    font-size: 24px;
    color: var(--text-color);
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--text-color);
    font-size: 16px;
}

.feature-list .icon {
    margin-right: 15px;
    font-size: 20px;
}

.info-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--hover-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.info-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .info-row {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .info-row.reverse {
        flex-direction: column;
    }

    .info-image {
        max-width: 100%;
    }

    .content-image {
        height: 200px;
    }

    .info-content {
        padding: 0;
    }
}


/* Updated Welcome Banner Styles */
.welcome-banner {
    padding: 0;
    margin-bottom: 40px;
    background: var(--content-bg);
    border-radius: 15px;
    overflow: hidden;
}

/* Feature Showcase */
.feature-showcase {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.feature-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.primary-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.feature-showcase:hover .primary-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(44, 62, 80, 0.7), rgba(52, 152, 219, 0.7));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 20px;
}

.image-overlay h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px #3498db;
    animation: slideDown 0.8s ease-out forwards;
}

.image-overlay p {
    font-size: 1.5em;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    animation: fadeIn 1s ease-out forwards;
}

/* Feature Highlights */
.feature-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 40px;
    background: var(--content-bg);
}

.highlight-card {
    text-align: center;
    padding: 30px;
    background: var(--block-bg);
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow);
}

.highlight-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
    animation: bounceOnce 1s ease-out forwards;
}

.highlight-card h3 {
    color: var(--text-color);
    font-size: 1.2em;
    margin-bottom: 10px;
}

.highlight-card p {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 0.9em;
}

/* Interactive Gallery */
.interactive-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 40px;
}

.gallery-item {
    position: relative;
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-content {
    transform: translateY(0);
}

.gallery-content h3 {
    font-size: 1.1em;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .feature-showcase {
        height: 300px;
    }

    .image-overlay h1 {
        font-size: 2em;
    }

    .image-overlay p {
        font-size: 1.1em;
    }

    .feature-highlights,
    .interactive-gallery {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .gallery-item {
        height: 200px;
    }

    .gallery-content {
        transform: translateY(0);
    }
}


/* Updated Footer Styles */
.footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 60px 0 30px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: white;
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    width: fit-content; /* Match content width */
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background: var(--hover-color);
    border-radius: 2px;
}

/* Social Links */
.social-link {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding: 12px 0;
    transition: all 0.3s ease;
}

.social-link i {
    margin-right: 12px;
    font-size: 18px;
    color: var(--hover-color);
}

.social-link:hover {
    transform: translateX(5px);
    color: var(--hover-color);
}

/* Updated Social Buttons */
.social-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.social-button {
    display: flex;
    align-items: center;
    padding: 15px 30px;
    border-radius: 12px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    min-width: 180px;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.social-button:hover::before {
    transform: translateX(0);
}

.social-button i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.social-button:hover i {
    transform: scale(1.2);
}

.social-button.facebook {
    background: #1877f2;
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.2);
}

.social-button.instagram {
    background: #E4405F;
    box-shadow: 0 4px 15px rgba(228, 64, 95, 0.2);
}

.social-button.tiktok {
    background: #000000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Mobile adjustments for social buttons */
@media screen and (max-width: 768px) {
    .social-buttons {
        flex-direction: column;
        padding: 0 20px;
    }

    .social-button {
        width: 100%;
        min-width: 0;
    }
}

/* Social Buttons */
.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: fit-content; /* Add this to match content width */
    min-width: 150px; /* Minimum width */
    max-width: 100%; /* Ensure it doesn't overflow */
}

.social-button {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 25px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    width: fit-content; /* Match content width */
    white-space: nowrap; /* Prevent text wrapping */
}

.social-button i {
    font-size: 18px;
    margin-right: 10px;
}

.social-button.facebook {
    background: #1877f2;
}

.social-button.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-button.tiktok {
    background: #000;
    border: 2px solid #00f2ea;
}

.social-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    filter: brightness(1.1);
}

/* Map Container */
.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    margin-bottom: 15px;
}

.directions-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 20px;
    background: var(--hover-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.directions-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    background: #2980b9;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-section {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-link {
        justify-content: center;
    }

    .social-buttons {
        align-items: center;
        width: 100%; /* Full width on mobile */
    }

    .social-button {
        width: auto; /* Let buttons adjust to content */
        max-width: fit-content; /* Don't exceed content width */
    }

    .map-container {
        max-width: 100%;
        margin: 0 auto 15px;
    }

    .directions-button {
        max-width: 250px;
        margin: 0 auto;
    }
}



/* Remove any bottom padding/margin from the last child in middle-content */
.middle-content > *:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}



/* Fix body and main content layout */
body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    background: var(--bg-color);
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Main content area fixes */
.middle-content {
    flex: 1 0 auto; /* Prevent content from shrinking */
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
    background: var(--bg-color);
    transition: opacity 0.3s ease;
    will-change: opacity;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Fix content wrapper spacing */
.content-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    background: var(--content-bg);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px var (--shadow);
    overflow-x: hidden;
}

/* Fix footer spacing */
.footer {
    margin-top: 0;
    padding: 40px 0 20px;
    background: var (--footer-bg);
    color: var (--footer-text);
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    position: relative;
    width: 100%;
}

/* Update welcome banner spacing */
.welcome-banner {
    margin: 0 0 20px 0;
    padding: 0;
    border-radius: 15px;
    overflow: hidden;
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
    .middle-content {
        padding: 10px;
    }

    .content-wrapper {
        padding: 15px;
    }
}



/* Footer transition styles */
.footer {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
    transform: translateZ(0);
    will-change: opacity;
    backface-visibility: hidden;
}

.page-transitioning ~ .footer {
    opacity: 0.6;
}

/* Ensure footer stays at bottom during transitions */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.middle-content {
    flex: 1 0 auto;
    margin-bottom: 0;
}



/* Price Plans Styles */
.price-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 20px 0;
    margin: 30px 0;
}

.price-plan {
    background: var (--content-bg);
    border-radius: 15px;
    box-shadow: 0 5px 20px var (--shadow);
    padding: 30px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Remove initial transform for featured plan */
}

.price-plan:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var (--shadow);
}

.price-plan.featured {
    border: 2px solid #3498db;
    /* Remove the initial transform: scale(1.05); */
}

/* Add specific hover state for featured plan */
.price-plan.featured:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var (--shadow);
}

.plan-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #3498db;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.plan-header {
    margin-bottom: 25px;
}

.plan-header h3 {
    color: var(--text-color);
    font-size: 24px;
    margin-bottom: 15px;
}

.price {
    margin: 20px 0;
}

.amount {
    font-size: 36px;
    font-weight: bold;
    color: var(--text-color);
}

.period {
    color: var(--text-color);
    opacity: 0.7;
    font-size: 14px;
}

.plan-features {
    margin: 25px 0;
}

.plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features li {
    padding: 10px 0;
    color: var(--text-color);
    font-size: 15px;
    border-bottom: 1px solid var(--shadow);
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 10px;
    align-items: center;
    text-align: left;
}

.list-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    color: var(--hover-color); /* Add this line to make checkmarks blue */
}

.feature-text {
    line-height: 1.4;
}

/* Mobile responsive adjustments */
@media screen and (max-width: 768px) {
    .plan-features li {
        grid-template-columns: 20px 1fr;
        gap: 8px;
    }

    .list-icon {
        width: 20px;
    }
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-button {
    display: inline-block;
    padding: 12px 30px;
    background: var(--hover-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.plan-button.featured {
    background: #3498db;
}

.plan-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

@media screen and (max-width: 768px) {
    .price-plans {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 10px;
    }

    .price-plan.featured {
        transform: none;
    }

    .price-plan {
        padding: 20px;
    }

    .amount {
        font-size: 30px;
    }
}



/* Price Plan Feature List Alignment */
.plan-features li {
    display: flex;
    align-items: center;
    padding: 10px 0;
    color: var(--text-color);
    font-size: 15px;
    border-bottom: 1px solid var (--shadow);
    gap: 10px;
}

.plan-features li::before {
    content: var(--list-icon);
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.plan-features li[data-icon="✅"] {
    --list-icon: "✅";
}

.plan-features li[data-icon="❌"] {
    --list-icon: "❌";
}



/* Navigation Blocks Styles */
.nav-blocks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.nav-block {
    background: var(--content-bg);
    border-radius: 12px;
    padding: 25px;
    text-decoration: none;
    color: var(--text-color);
    box-shadow: 0 5px 15px var (--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var (--shadow);
}

.nav-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--hover-color);
}

.nav-block-content {
    text-align: center;
}

.nav-icon {
    font-size: 32px;
    margin-bottom: 15px;
    display: block;
}

.nav-block h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.nav-block p {
    font-size: 14px;
    color: var(--text-color);
    opacity: 0.8;
}

/* Mobile responsive adjustments */
@media screen and (max-width: 768px) {
    .nav-blocks {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .nav-block {
        padding: 20px;
    }

    .nav-icon {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .nav-block h3 {
        font-size: 18px;
    }
}


/* Updated Navigation Blocks Styles */
.nav-blocks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.nav-block {
    background: var(--block-bg);
    border-radius: 15px;
    padding: 0; /* Remove padding */
    text-decoration: none;
    color: var(--text-color);
    box-shadow: 0 5px 15px var (--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    display: block; /* Change to block */
}

.nav-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var (--shadow);
}

.nav-block-content {
    display: flex;
    flex-direction: column;
}

/* Updated image container */
.nav-image {
    width: 100%;
    height: 200px;
    margin: 0;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    background: var (--content-bg);
}

.nav-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.nav-block:hover .nav-image img {
    transform: scale(1.05);
}

/* Text content area */
.nav-block-text {
    padding: 20px;
    background: var (--block-bg);
    border-radius: 0 0 15px 15px;
}

.nav-block h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.nav-block p {
    font-size: 14px;
    color: var(--text-color);
    opacity: 0.8;
    margin: 0;
}

/* Mobile responsive adjustments */
@media screen and (max-width: 768px) {
    .nav-blocks {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .nav-image {
        height: 160px;
    }
}

/* User Dashboard Styles */
.user-dashboard {
    padding: 30px;
    background: var(--content-bg);
    border-radius: 15px;
    box-shadow: 0 5px 20px var (--shadow);
}

.user-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stat-card {
    background: var (--block-bg);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px var (--shadow);
}

.stat-card h3 {
    margin-bottom: 15px;
    color: var (--text-color);
}

.stat-card ul {
    list-style: none;
    padding: 0;
}

.stat-card li {
    padding: 8px 0;
    color: var (--text-color);
    border-bottom: 1px solid var (--shadow);
}

.user-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.action-button {
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
}

.action-button {
    background: var (--hover-color);
}

.action-button.danger {
    background: #e74c3c;
}

.action-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

@media screen and (max-width: 768px) {
    .user-actions {
        flex-direction: column;
    }
    
    .action-button {
        text-align: center;
    }
}



/* User Dashboard Styles */
.user-dashboard {
    background: var(--content-bg);
    border-radius: 15px;
    overflow: hidden;
}

.dashboard-header {
    padding: 30px;
    background: var(--menu-gradient);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-welcome {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-welcome i {
    font-size: 48px;
    color: rgba(255, 255, 255, 0.9);
}

.welcome-text h1 {
    font-size: 24px;
    margin-bottom: 5px;
}

.welcome-text p {
    opacity: 0.8;
    font-size: 16px;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 30px;
    background: var(--block-bg);
}

.stat-card {
    background: var(--content-bg);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 10px var(--shadow);
    /* Remove transition and transform properties */
}


/* Keep text animations */
.stat-card:hover .stat-info p {
    transform: scale(1.05);
    text-shadow: 0 0 15px rgba(46, 204, 113, 0.2);
}

.stat-card:hover .stat-info.status-warning p {
    text-shadow: 0 0 15px rgba(243, 156, 18, 0.2);
}

.stat-card:hover .stat-info.status-danger p {
    text-shadow: 0 0 15px rgba(231, 76, 60, 0.2);
}

.stat-card i {
    font-size: 24px;
    color: var(--hover-color);
    background: var(--block-bg);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.stat-info h3 {
    font-size: 14px;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 8px;
}

.stat-info p {
    font-size: 20px;
    font-weight: 600;
    transition: color 0.3s ease;
}

/* Status color variants */
.stat-info.status-good p {
    color: #2ecc71;  /* Green for good status (>2 days) */
}

.stat-info.status-warning p {
    color: #f39c12;  /* Orange for warning status (≤2 days) */
}

.stat-info.status-danger p {
    color: #e74c3c;  /* Red for danger/expired status */
}

/* Add subtle background highlight */
.stat-card:hover .stat-info p {
    transform: scale(1.05);
    text-shadow: 0 0 15px rgba(46, 204, 113, 0.2);  /* Green glow for hover */
}

.stat-card:hover .stat-info.status-warning p {
    text-shadow: 0 0 15px rgba(243, 156, 18, 0.2);  /* Orange glow for warning */
}

.stat-card:hover .stat-info.status-danger p {
    text-shadow: 0 0 15px rgba(231, 76, 60, 0.2);  /* Red glow for danger */
}

.dashboard-section {
    padding: 30px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.section-header i {
    font-size: 24px;
    color: var(--hover-color);
}

.section-header h2 {
    font-size: 20px;
    color: var(--text-color);
}

.password-form .form-group {
    margin-bottom: 20px;
}

.password-form label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
    margin-bottom: 8px;
}

.password-form label i {
    color: var(--hover-color);
}

.password-input {
    position: relative;
}

.password-input input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--shadow);
    border-radius: 8px;
    background: var(--block-bg);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.password-input input:focus {
    border-color: var(--hover-color);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.action-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: 8px;
    border: none;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-button.update {
    background: var(--hover-color);
    color: white;
}

.action-button.logout {
    background: #e74c3c;
    color: white;
}

.action-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow);
}

.invalid-feedback {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
}

@media screen and (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .user-welcome {
        flex-direction: column;
        gap: 15px;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .form-actions {
        flex-direction: column;
    }

    .action-button {
        width: 100%;
        justify-content: center;
    }
}



/* Admin Link Styles */
.admin-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: linear-gradient(to right, #2c3e50, #3498db);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}


.admin-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    background: linear-gradient(to right, #34495e, #2980b9);
    color: white;
}


/* Login dropdown mobile behavior */
@media screen and (max-width: 768px) {
    /* Hide the dropdown functionality on mobile */
    .login-dropdown {
        display: none !important;
    }
    
    /* Make the login toggle button act as a regular link on mobile */
    .login-toggle:not([href]) {
        cursor: pointer;
    }
    
    /* When clicked, this will redirect instead of showing dropdown */
    .login-dropdown-container .login-toggle {
        position: relative;
        z-index: 1002;
    }
}


/* Register form specific styles */
.register-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
}

.register-form {
    background: var(--content-bg);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
}


/* Success Alert Styles */
.alert-success {
    background-color: rgba(46, 204, 113, 0.95);
    color: white;
    border: none;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    font-size: 16px;
    position: relative;
    margin: 0 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
    animation: slideDown 0.5s ease-out forwards;
}

.alert-success::before {
    content: "✔";  /* Changed from "✓" to "✔" */
    background: rgba(255, 255, 255, 0.2);  /* Semi-transparent background */
    color: white;  /* Changed color to white */
    width: 26px;  /* Slightly larger */
    height: 26px;  /* Slightly larger */
    border-radius: 50%;
    border: 2px solid white;  /* Added white border */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;  /* Slightly larger */
    backdrop-filter: blur(4px);  /* Add blur effect */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);  /* Subtle shadow */
}



.alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}


/* Add these age verification styles */
.toggle-container {
    margin: 15px 0;
}

.toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
    margin-right: 15px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #28a745; /* Green when checked */
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.toggle-label {
    font-size: 16px;
    color: var(--text-color, #333);
    font-weight: 500;
}

[data-theme="dark"] .toggle-label {
    color: #fff;
}

.age-notice {
    margin-top: 12px;
    padding: 10px;
    background: #f8f9fa;
    border-left: 4px solid #28a745;
    color: #666;
    font-size: 0.9em;
    border-radius: 0 4px 4px 0;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.age-notice.warning {
    background: #fff3cd;
    border-left-color: #ffc107;
    color: #856404;
    opacity: 1;
}

[data-theme="dark"] .age-notice {
    background: rgba(255, 255, 255, 0.05);
    color: #ccc;
}

[data-theme="dark"] .age-notice.warning {
    background: rgba(255, 243, 205, 0.1);
    color: #ffc107;
}

.toggle input:not(:checked) + .slider {
    background-color: #ccc; /* Gray when unchecked */
}

.age-notice {
    transition: all 0.3s ease;
}



/* Updated Navigation Menu Cards */
.nav-blocks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.nav-menu-card {
    background: var(--content-bg);
    border-radius: 15px;
    text-decoration: none;
    color: var(--text-color);
    box-shadow: 0 5px 15px var(--shadow);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.nav-menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow);
}

.nav-menu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--hover-color);
    transition: width 0.3s ease;
}

.nav-menu-card:hover::before {
    width: 100%;
    opacity: 0.1;
}

.menu-card-content {
    display: flex;
    align-items: center;
    padding: 25px;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.menu-card-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--hover-color), #2980b9);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    transition: transform 0.3s ease;
}

.nav-menu-card:hover .menu-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.menu-card-text {
    flex-grow: 1;
}

.menu-card-text h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 600;
}

.menu-card-text p {
    font-size: 14px;
    color: var(--text-color);
    opacity: 0.8;
    margin: 0;
}

.menu-card-arrow {
    flex-shrink: 0;
    color: var(--hover-color);
    font-size: 20px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.nav-menu-card:hover .menu-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Mobile responsive adjustments */
@media screen and (max-width: 768px) {
    .nav-blocks {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .menu-card-content {
        padding: 20px;
    }

    .menu-card-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .menu-card-arrow {
        opacity: 1;
        transform: none;
    }
}

/* Mobile-optimized step menu styles */
@media screen and (max-width: 768px) {
    .icon-steps-container {
        padding: 10px;
        margin: 0;
    }

    .icon-steps {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .nav-menu-card {
        border-radius: 8px;
    }

    .menu-card-content {
        padding: 12px 15px;
        gap: 12px;
    }

    .menu-card-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
        border-radius: 8px;
    }

    .menu-card-text {
        flex: 1;
        min-width: 0; /* Prevent text overflow */
    }

    .menu-card-text h3 {
        font-size: 16px;
        margin-bottom: 2px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .menu-card-text p {
        font-size: 12px;
        margin: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .menu-card-arrow {
        opacity: 1;
        transform: none;
        font-size: 16px;
    }

    /* Remove hover effects on mobile */
    .nav-menu-card:hover {
        transform: none;
    }

    .nav-menu-card:hover .menu-card-icon {
        transform: none;
    }

    .nav-menu-card:active {
        background: var(--block-bg);
        transform: scale(0.98);
    }
}

/* Updated Theme Toggle Button */
.theme-toggle {
    position: absolute;
    right: 20px;
    width: 56px;
    height: 28px;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 2px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    overflow: hidden;
}

.theme-toggle::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 12px;
    background: #fff;
    left: 2px;
    transform: translateX(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

/* Icons inside toggle */
.theme-toggle .toggle-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 6px;
    color: #fff;
    z-index: 1;
}

/* Dark theme styles */
[data-theme="dark"] .theme-toggle {
    background: rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .theme-toggle::before {
    transform: translateX(28px);
    background: #2c3e50;
}

[data-theme="dark"] .theme-toggle .toggle-icons::before {
    opacity: 0.5;
}

[data-theme="dark"] .theme-toggle .toggle-icons::after {
    opacity: 1;
}

/* Hover effects */
.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
}

[data-theme="dark"] .theme-toggle:hover {
    background: rgba(0, 0, 0, 0.5);
}

/* Mobile styles */
@media screen and (max-width: 768px) {
    .theme-toggle {
        position: fixed;
        right: 20px;
        bottom: 20px;
        width: 60px;
        height: 32px;
        border-radius: 16px;
        background: linear-gradient(135deg, #2c3e50, #3498db);
    }

    .theme-toggle::before {
        width: 28px;
        height: 28px;
        border-radius: 14px;
    }

    [data-theme="dark"] .theme-toggle::before {
        transform: translateX(28px);
    }

    .theme-toggle .toggle-icons {
        padding: 0 8px;
    }

    .theme-toggle:hover {
        transform: scale(1.05);
        background: linear-gradient(135deg, #2c3e50, #3498db);
    }

    [data-theme="dark"] .theme-toggle {
        background: linear-gradient(135deg, #1a1a1a, #2c3e50);
    }

    [data-theme="dark"] .theme-toggle:hover {
        background: linear-gradient(135deg, #1a1a1a, #2c3e50);
    }
}

/* Active state animation */
.theme-toggle:active::before {
    transform: scale(0.9);
}

/* Focus styles for accessibility */
.theme-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.3);
}

/* Reduce motion if user prefers */
@media (prefers-reduced-motion: reduce) {
    .theme-toggle,
    .theme-toggle::before {
        transition: none;
    }
}



/* Theme Toggle Icons */
.theme-toggle-icons {
    position: relative;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-icon {
    position: absolute;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-switching .theme-icon {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.sun-icon path,
.moon-icon path {
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

/* Animation states */
.theme-switching .sun-icon {
    transform: rotate(-90deg) scale(0.5);
    opacity: 0;
}

.theme-switching .moon-icon {
    transform: rotate(90deg) scale(0.5);
    opacity: 0;
}

/* Theme-specific styles */
[data-theme="dark"] .sun-icon {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

[data-theme="dark"] .moon-icon {
    opacity: 1;
    transform: rotate(0) scale(1);
}

[data-theme="light"] .sun-icon {
    opacity: 1;
    transform: rotate(0) scale(1);
}

[data-theme="light"] .moon-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}





.theme-toggle i {
    transition: transform 0.2s ease;
}



/* Updated Theme Toggle Button Mobile Styles */
@media screen and (max-width: 768px) {
    .theme-toggle {
        position: fixed;
        right: 10px;
        bottom: 7%;
        transform: translateY(50%);
        width: 32px; /* Smaller width for vertical orientation */
        height: 60px; /* Taller height for vertical orientation */
        border-radius: 16px;
        background: linear-gradient(to bottom, #2c3e50, #3498db);
        flex-direction: column; /* Stack icons vertically */
        padding: 4px 2px;
    }

    .theme-toggle::before {
        width: 28px;
        height: 28px;
        border-radius: 14px;
        left: 2px;
        top: 2px;
        transform: translateY(0);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                    background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    [data-theme="dark"] .theme-toggle::before {
        transform: translateY(24px); /* Move down instead of right */
    }

    .theme-toggle .toggle-icons {
        flex-direction: column;
        gap: 12px;
        padding: 6px 0;
    }

    .theme-toggle:hover {
        transform: translateY(50%) scale(1.05);
        background: linear-gradient(to bottom, #2c3e50, #3498db);
    }

    [data-theme="dark"] .theme-toggle {
        background: linear-gradient(to bottom, #1a1a1a, #2c3e50);
    }

    [data-theme="dark"] .theme-toggle:hover {
        background: linear-gradient(to bottom, #1a1a1a, #2c3e50);
    }
}



/* Features Section Styles */
.features-section {
    padding: 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: var(--content-bg);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--hover-color), #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
}

/* Learning Process Styles */
.learning-process {
    padding: 60px 0;
}

.process-steps {
    max-width: 800px;
    margin: 40px auto 0;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background: var(--content-bg);
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px var (--shadow);
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateX(10px);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var (--hover-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    color: var (--text-color);
    margin-bottom: 10px;
}

.step-content p {
    color: var (--text-color);
    opacity: 0.8;
}

/* CTA Section Styles */
.cta-section {
    padding: 60px 40px;
    background: var (--menu-gradient);
    border-radius: 15px;
    margin: 40px 0;
    text-align: center;
    color: white;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.cta-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cta-btn.primary {
    background: white;
    color: var (--hover-color);
}

.cta-btn.secondary {
    background: var (--content-bg);
    border: 2px solid var(--hover-color);
    color: var (--text-color);
}

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

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }

    .process-step {
        margin: 0 20px 20px;
    }

    .cta-section {
        margin: 20px;
        padding: 40px 20px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Animation classes */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}



/* User Menu Styles */
.user-menu {
    position: relative;
}

.user-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    padding: 18px 25px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
}

.user-toggle .dropdown-arrow {
    font-size: 12px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.user-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var (--content-bg);
    min-width: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 20px var (--shadow);
    z-index: 1000;
    overflow: hidden;
    border: 1px solid var(--shadow);
}

.user-menu:hover .user-dropdown {
    display: block;
}

.user-menu:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: var (--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--shadow);
}

.user-dropdown a:last-child {
    border-bottom: none;
}

.user-dropdown a:hover {
    background: var (--block-bg);
    color: var (--hover-color);
    transform: translateX(5px);
}

.user-dropdown a i {
    width: 20px;
    text-align: center;
    color: var (--hover-color);
}

/* Add new hover effects matching main menu */
.user-toggle:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
    .user-toggle {
        font-size: 13px;
        padding: 12px 15px;
        display: flex;
        width: auto;
    }

    /* Modify mobile hover effect */
    .user-toggle:hover {
        background: rgba(255,255,255,0.1);
        transform: none; /* Remove transform on mobile */
    }

    .user-dropdown {
        display: none !important;
    }

    .user-toggle {
        color: white !important;
        text-decoration: none;
    }

    /* Make the toggle act as a link on mobile */
    .user-menu {
        cursor: pointer;
    }

    .user-toggle .dropdown-arrow {
        display: none; /* Hide dropdown arrow on mobile */
    }
}

/* Updated Navigation Menu Cards */
.nav-blocks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.nav-menu-card {
    background: var(--content-bg);
    border-radius: 15px;
    text-decoration: none;
    color: var(--text-color);
    box-shadow: 0 5px 15px var(--shadow);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.nav-menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow);
}

.nav-menu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--hover-color);
    transition: width 0.3s ease;
}

.nav-menu-card:hover::before {
    width: 100%;
    opacity: 0.1;
}

.menu-card-content {
    display: flex;
    align-items: center;
    padding: 25px;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.menu-card-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--hover-color), #2980b9);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    transition: transform 0.3s ease;
}

.nav-menu-card:hover .menu-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.menu-card-text {
    flex-grow: 1;
}

.menu-card-text h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 600;
}

.menu-card-text p {
    font-size: 14px;
    color: var(--text-color);
    opacity: 0.8;
    margin: 0;
}

.menu-card-arrow {
    flex-shrink: 0;
    color: var(--hover-color);
    font-size: 20px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.nav-menu-card:hover .menu-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Mobile responsive adjustments */
@media screen and (max-width: 768px) {
    .nav-blocks {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .menu-card-content {
        padding: 20px;
    }

    .menu-card-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .menu-card-arrow {
        opacity: 1;
        transform: none;
    }
}

/* Mobile-optimized step menu styles */
@media screen and (max-width: 768px) {
    .icon-steps-container {
        padding: 10px;
        margin: 0;
    }

    .icon-steps {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .nav-menu-card {
        border-radius: 8px;
    }

    .menu-card-content {
        padding: 12px 15px;
        gap: 12px;
    }

    .menu-card-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
        border-radius: 8px;
    }

    .menu-card-text {
        flex: 1;
        min-width: 0; /* Prevent text overflow */
    }

    .menu-card-text h3 {
        font-size: 16px;
        margin-bottom: 2px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .menu-card-text p {
        font-size: 12px;
        margin: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .menu-card-arrow {
        opacity: 1;
        transform: none;
        font-size: 16px;
    }

    /* Remove hover effects on mobile */
    .nav-menu-card:hover {
        transform: none;
    }

    .nav-menu-card:hover .menu-card-icon {
        transform: none;
    }

    .nav-menu-card:active {
        background: var(--block-bg);
        transform: scale(0.98);
    }
}

/* Updated Theme Toggle Button */
.theme-toggle {
    position: absolute;
    right: 20px;
    width: 56px;
    height: 28px;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 2px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    overflow: hidden;
}

.theme-toggle::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 12px;
    background: #fff;
    left: 2px;
    transform: translateX(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

/* Icons inside toggle */
.theme-toggle .toggle-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 6px;
    color: #fff;
    z-index: 1;
}

/* Dark theme styles */
[data-theme="dark"] .theme-toggle {
    background: rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .theme-toggle::before {
    transform: translateX(28px);
    background: #2c3e50;
}

[data-theme="dark"] .theme-toggle .toggle-icons::before {
    opacity: 0.5;
}

[data-theme="dark"] .theme-toggle .toggle-icons::after {
    opacity: 1;
}

/* Hover effects */
.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
}

[data-theme="dark"] .theme-toggle:hover {
    background: rgba(0, 0, 0, 0.5);
}

/* Mobile styles */
@media screen and (max-width: 768px) {
    .theme-toggle {
        position: fixed;
        right: 20px;
        bottom: 20px;
        width: 60px;
        height: 32px;
        border-radius: 16px;
        background: linear-gradient(135deg, #2c3e50, #3498db);
    }

    .theme-toggle::before {
        width: 28px;
        height: 28px;
        border-radius: 14px;
    }

    [data-theme="dark"] .theme-toggle::before {
        transform: translateX(28px);
    }

    .theme-toggle .toggle-icons {
        padding: 0 8px;
    }

    .theme-toggle:hover {
        transform: scale(1.05);
        background: linear-gradient(135deg, #2c3e50, #3498db);
    }

    [data-theme="dark"] .theme-toggle {
        background: linear-gradient(135deg, #1a1a1a, #2c3e50);
    }

    [data-theme="dark"] .theme-toggle:hover {
        background: linear-gradient(135deg, #1a1a1a, #2c3e50);
    }
}

/* Active state animation */
.theme-toggle:active::before {
    transform: scale(0.9);
}

/* Focus styles for accessibility */
.theme-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.3);
}

/* Reduce motion if user prefers */
@media (prefers-reduced-motion: reduce) {
    .theme-toggle,
    .theme-toggle::before {
        transition: none;
    }
}



/* Theme Toggle Icons */
.theme-toggle-icons {
    position: relative;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-icon {
    position: absolute;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-switching .theme-icon {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.sun-icon path,
.moon-icon path {
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

/* Animation states */
.theme-switching .sun-icon {
    transform: rotate(-90deg) scale(0.5);
    opacity: 0;
}

.theme-switching .moon-icon {
    transform: rotate(90deg) scale(0.5);
    opacity: 0;
}

/* Theme-specific styles */
[data-theme="dark"] .sun-icon {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

[data-theme="dark"] .moon-icon {
    opacity: 1;
    transform: rotate(0) scale(1);
}

[data-theme="light"] .sun-icon {
    opacity: 1;
    transform: rotate(0) scale(1);
}

[data-theme="light"] .moon-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}





.theme-toggle i {
    transition: transform 0.2s ease;
}



/* Updated Theme Toggle Button Mobile Styles */
@media screen and (max-width: 768px) {
    .theme-toggle {
        position: fixed;
        right: 10px;
        bottom: 7%;
        transform: translateY(50%);
        width: 32px; /* Smaller width for vertical orientation */
        height: 60px; /* Taller height for vertical orientation */
        border-radius: 16px;
        background: linear-gradient(to bottom, #2c3e50, #3498db);
        flex-direction: column; /* Stack icons vertically */
        padding: 4px 2px;
    }

    .theme-toggle::before {
        width: 28px;
        height: 28px;
        border-radius: 14px;
        left: 2px;
        top: 2px;
        transform: translateY(0);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                    background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    [data-theme="dark"] .theme-toggle::before {
        transform: translateY(24px); /* Move down instead of right */
    }

    .theme-toggle .toggle-icons {
        flex-direction: column;
        gap: 12px;
        padding: 6px 0;
    }

    .theme-toggle:hover {
        transform: translateY(50%) scale(1.05);
        background: linear-gradient(to bottom, #2c3e50, #3498db);
    }

    [data-theme="dark"] .theme-toggle {
        background: linear-gradient(to bottom, #1a1a1a, #2c3e50);
    }

    [data-theme="dark"] .theme-toggle:hover {
        background: linear-gradient(to bottom, #1a1a1a, #2c3e50);
    }
}



/* Features Section Styles */
.features-section {
    padding: 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: var(--content-bg);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--hover-color), #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
}

/* Learning Process Styles */
.learning-process {
    padding: 60px 0;
}

.process-steps {
    max-width: 800px;
    margin: 40px auto 0;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background: var(--content-bg);
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px var (--shadow);
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateX(10px);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var (--hover-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    color: var (--text-color);
    margin-bottom: 10px;
}

.step-content p {
    color: var (--text-color);
    opacity: 0.8;
}

/* CTA Section Styles */
.cta-section {
    padding: 60px 40px;
    background: var (--menu-gradient);
    border-radius: 15px;
    margin: 40px 0;
    text-align: center;
    color: white;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.cta-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cta-btn.primary {
    background: white;
    color: var (--hover-color);
}

.cta-btn.secondary {
    background: var (--content-bg);
    border: 2px solid var(--hover-color);
    color: var (--text-color);
}

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

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }

    .process-step {
        margin: 0 20px 20px;
    }

    .cta-section {
        margin: 20px;
        padding: 40px 20px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Animation classes */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}



/* User Menu Styles */
.user-menu {
    position: relative;
}

.user-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    padding: 18px 25px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
}

.user-toggle .dropdown-arrow {
    font-size: 12px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.user-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var (--content-bg);
    min-width: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 20px var (--shadow);
    z-index: 1000;
    overflow: hidden;
    border: 1px solid var(--shadow);
}

.user-menu:hover .user-dropdown {
    display: block;
}

.user-menu:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: var (--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--shadow);
}

.user-dropdown a:last-child {
    border-bottom: none;
}

.user-dropdown a:hover {
    background: var (--block-bg);
    color: var (--hover-color);
    transform: translateX(5px);
}

.user-dropdown a i {
    width: 20px;
    text-align: center;
    color: var (--hover-color);
}

/* Add new hover effects matching main menu */
.user-toggle:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
    .user-toggle {
        font-size: 13px;
        padding: 12px 15px;
        display: flex;
        width: auto;
    }

    /* Modify mobile hover effect */
    .user-toggle:hover {
        background: rgba(255,255,255,0.1);
        transform: none; /* Remove transform on mobile */
    }

    .user-dropdown {
        display: none !important;
    }

    .user-toggle {
        color: white !important;
        text-decoration: none;
    }

    /* Make the toggle act as a link on mobile */
    .user-menu {
        cursor: pointer;
    }

    .user-toggle .dropdown-arrow {
        display: none; /* Hide dropdown arrow on mobile */
    }
}



/* Add styles for the registration success page */
.success-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.success-message {
    color: #2d3748;
}

.success-message h2 {
    color: #38a169;
    margin-bottom: 20px;
}

.success-message p {
    margin: 15px 0;
    line-height: 1.6;
}

.success-message .small {
    font-size: 0.9em;
    color: #718096;
    margin-top: 20px;
}

.action-buttons {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.secondary-button {
    padding: 10px 20px;
    border-radius: 5px;
    background: #edf2f7;
    color: #4a5568;
    text-decoration: none;
    transition: all 0.3s ease;
}

.secondary-button:hover {
    background: #e2e8f0;
}





.payment-warning {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
    padding: 12px 20px;
    margin-bottom: 15px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.payment-warning .close-warning {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
}

.days-left {
    color: #28a745;
    font-weight: bold;
}

.expired {
    color: #dc3545;
    font-weight: bold;
}



.payment-warning {
    background-color: #fff3cd;
    color: #856404;
    padding: 12px 20px;
    margin-bottom: 15px;
    border: 1px solid #ffeeba;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: slideDown 0.3s ease-out;
}

.payment-warning.urgent {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

.payment-warning i {
    margin-right: 10px;
}

.payment-warning .close-warning {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 0 5px;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}



/* Fixed Payment Warning Styles */
.payment-warning {
    position: fixed;
    top: 60px; /* Height of the menu */
    left: 0;
    right: 0;
    z-index: 999;
    background-color: #fff3cd;
    color: #856404;
    padding: 12px 20px;
    border: 1px solid #ffeeba;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.payment-warning.urgent {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

/* Adjust top spacing for content when warning is present */
.page-container.has-warning {
    padding-top: 50px; /* Height of the warning */
}





/* Payment Notice Styles */
.payment-notice {
    background: var(--content-bg);
    border-radius: 15px;
    padding: 40px 20px;
    text-align: center;
    margin: 30px 0;
    box-shadow: 0 5px 15px var(--shadow);
}

.notice-content {
    max-width: 400px;
    margin: 0 auto;
}

.notice-content i {
    font-size: 48px;
    color: var(--hover-color);
    margin-bottom: 20px;
}

.notice-content h3 {
    color: var(--text-color);
    font-size: 24px;
    margin-bottom: 15px;
}

.notice-content p {
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 25px;
}

.payment-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: var(--hover-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.payment-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* Update Status Colors */
.status-active {
    color: #2ecc71;
    font-weight: 500;
}

.status-expired {
    color: #e74c3c;
    font-weight: 500;
}

.status-unpaid {
    color: #f39c12;
    font-weight: 500;
}



/* Password Toggle Button */
.password-toggle-btn {
    width: 100%;
    padding: 15px;
    background: var (--block-bg);
    border: none;
    border-radius: 8px;
    color: var (--text-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.password-toggle-btn:hover {
    background: var (--hover-color);
    color: white;
}

.password-toggle-btn i {
    transition: transform 0.3s ease;
}

.password-toggle-btn .fa-chevron-down {
    font-size: 14px;
}

/* Compact Payment Notice */
.compact-payment-notice {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var (--block-bg);
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid var (--hover-color);
}

.notice-icon {
    color: var (--hover-color);
    font-size: 20px;
}

.compact-payment-notice p {
    margin: 0;
    font-size: 14px;
    color: var (--text-color);
}

.payment-link {
    color: var (--hover-color);
    text-decoration: none;
    font-weight: 500;
    margin-left: 5px;
    transition: all 0.3s ease;
}

.payment-link:hover {
    text-decoration: underline;
}

/* Payment link styling in user area */
.compact-payment-notice .payment-link {
    color: #ff6b00;
    text-decoration: none;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 3px;
    transition: all 0.3s ease;
    background-color: rgba(255, 107, 0, 0.1);
}

.compact-payment-notice .payment-link:hover {
    background-color: rgba(255, 107, 0, 0.2);
    color: #e65c00;
    box-shadow: 0 0 5px rgba(255, 107, 0, 0.3);
}



/* Enhanced Dashboard Header */
.dashboard-header {
    padding: 30px;
    background: linear-gradient(135deg, var(--hover-color), #2c3e50);
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.dashboard-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%),
                linear-gradient(-45deg, rgba(255,255,255,0.1) 25%, transparent 25%),
                linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.1) 75%),
                linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.1) 75%);
    background-size: 20px 20px;
    opacity: 0.1;
    animation: backgroundMove 20s linear infinite;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 25px;
    position: relative;
    z-index: 1;
}

.profile-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-icon i {
    font-size: 60px;
    color: white;
    animation: pulseIcon 2s infinite;
}

.status-indicator {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 12px;
    height: 12px;
    background: #2ecc71;
    border-radius: 50%;
    border: 2px solid white;
    animation: pulse 2s infinite;
}

.user-info {
    color: white;
}

.welcome-text {
    margin-bottom: 5px;
}

.greeting {
    font-size: 14px;
    opacity: 0.9;
    display: block;
    margin-bottom: 5px;
    animation: slideInRight 0.5s ease-out;
}

.welcome-text h1 {
    font-size: 28px;
    font-weight: 600;
    margin: 0;
    animation: slideInRight 0.5s ease-out 0.1s;
}

.user-info p {
    font-size: 15px;
    opacity: 0.8;
    margin: 0;
    animation: slideInRight 0.5s ease-out 0.2s;
}

/* Admin Link Styles */
.admin-section {
    position: relative;
    z-index: 1;
}

.admin-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.admin-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.admin-badge {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.crown-icon {
    font-size: 20px;
    color: #ffd700;
    animation: floating 2s ease-in-out infinite;
}

.badge-pulse {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    background: #2ecc71;
    border-radius: 50%;
    border: 2px solid white;
    animation: pulse 2s infinite;
}

.admin-text {
    display: flex;
    flex-direction: column;
}

.admin-label {
    font-size: 12px;
    opacity: 0.8;
}

.panel-text {
    font-size: 15px;
    font-weight: 500;
}

.arrow-icon {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.admin-link:hover .arrow-icon {
    transform: translateX(5px);
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes floating {
    0% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0); }
}

@keyframes pulseIcon {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes backgroundMove {
    from { background-position: 0 0; }
    to { background-position: 40px 40px; }
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        text-align: center;
    }

    .user-profile {
        flex-direction: column;
        gap: 15px;
    }

    .admin-link {
        width: 100%;
        justify-content: center;
    }
}



/* Contact page specific styles */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.contact-card {
    background: var(--block-bg);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card i {
    font-size: 32px;
    color: var(--hover-color);
    margin-bottom: 15px;
}

.contact-card h3 {
    margin-bottom: 10px;
    color: var(--text-color);
}

.contact-card p {
    color: var(--text-color);
    opacity: 0.8;
}

/* Social Media Section */
.social-media-section {
    text-align: center;
    margin: 40px 0;
}

/* Construction Notice Styles */
.construction-notice {
    text-align: center;
    padding: 60px 20px;
}

.notice-content {
    max-width: 400px;
    margin: 0 auto;
}

.notice-content i {
    align-items: center;
    font-size: 0px;
    color: var (--hover-color);
    margin-bottom: 20px;
}

.notice-content h2 {
    color: var(--text-color);
    margin-bottom: 15px;
}

.notice-content p {
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 30px;
}

.back-home {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: var (--hover-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.back-home:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var (--shadow);
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .social-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .social-button {
        width: 100%;
    }
    
    .map-container {
        height: 300px;
    }
}



@media screen and (max-width: 380px) {
    .dashboard-header {
        padding: 15px;
    }
    
    .profile-icon i {
        font-size: 45px;
    }
    
    .welcome-text h1 {
        font-size: 20px;
    }
    
    .dashboard-stats {
        padding: 15px;
    }
    
    .stat-card {
        padding: 12px;
    }
    
    .stat-card i {
        font-size: 20px;
        width: 40px;
        height: 40px;
    }
    
    .stat-info h3 {
        font-size: 12px;
    }
    
    .stat-info p {
        font-size: 14px;
    }
    
    .nav-menu-card .menu-card-content {
        padding: 12px;
    }
    
    .menu-card-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .menu-card-text h3 {
        font-size: 14px;
    }
    
    .password-toggle-btn {
        padding: 12px;
        font-size: 14px;
    }
    
    .password-form {
        padding: 15px;
    }
    
    .form-group label {
        font-size: 14px;
    }
    
    .action-button {
        padding: 10px 20px;
        font-size: 14px;
    }
}

.logout-section {
    margin-left: auto;
    padding: 10px;
    position: relative;  /* Added */
    z-index: 10;        /* Added */
}

.logout-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: #f44336;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s;
    cursor: pointer;    /* Added */
    position: relative; /* Added */
    z-index: 11;       /* Added */
}

.logout-button:hover {
    background-color: #d32f2f;
}

@media screen and (max-width: 380px) {
    .logout-button {
        padding: 6px 12px;
        font-size: 14px;
    }
}


/* Payment Notice Page Styles */
.payment-notice {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

.notice-content i {
    font-size: 48px;
    color: var(--hover-color);
    margin-bottom: 20px;
    animation: bounce 1s infinite;
}

.price-box {
    background: var(--block-bg);
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
    box-shadow: 0 5px 15px var(--shadow);
}

.price {
    margin: 20px 0;
}

.amount {
    font-size: 36px;
    font-weight: bold;
    color: var(--hover-color);
}

.period {
    color: var(--text-color);
    opacity: 0.7;
}

.price-features ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.price-features li {
    padding: 10px 0;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-features li i {
    color: var (--hover-color);
}

.payment-options {
    margin: 30px 0;
}

.payment-methods {
    margin-top: 20px;
}

.bank-details {
    margin-top: 20px;
    padding: 20px;
    background: var(--block-bg);
    border-radius: 8px;
}

.bank-details p {
    margin: 10px 0;
    color: var(--text-color);
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: var (--hover-color);
    color: white !important;
    text-decoration: none;
    border-radius: 25px;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .payment-notice {
        padding: 20px;
    }

    .price-box {
        padding: 20px;
    }

    .amount {
        font-size: 30px;
    }

    .bank-details {
        padding: 15px;
    }
}



/* Price Plan Badge Styles */
.price-plan.featured {
    position: relative;
    overflow: visible;
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: -12px;
    background: #3498db;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1;
}

.sale-badge {
    position: absolute;
    top: -12px; /* Changed from 20px to -12px to move it up */
    left: -12px;
    background: #e74c3c;
    color: white;
    padding: 5px 15px;
    border-radius: 0 20px 20px 0;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 5px; /* Add gap between icon and text */
}

/* Remove the top-badge.sale style since we'll move the discount to the sale badge */
.header-badges {
    display: none; /* Hide the separate discount badge */
}

.sale-badge::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    border-top: 10px solid #c0392b;
    border-left: 12px solid transparent;
}

.header-badges {
    display: flex;
    gap: 8px;
    margin-top: 5px;
}

.top-badge {
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.top-badge.popular {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
}

.top-badge.sale {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

.price-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.original-price {
    font-size: 20px;
    color: var(--text-color);
    opacity: 0.5;
    text-decoration: line-through;
}

/* Mobile responsive adjustments */
@media screen and (max-width: 768px) {
    .popular-badge, .sale-badge {
        font-size: 12px;
        padding: 4px 12px;
    }
    
    .header-badges {
        flex-wrap: wrap;
        justify-content: center;
    }
}



/* Plan Button Styles */
.plan-button {
    display: inline-block;
    width: 100%;
    padding: 12px 30px;
    background: var(--hover-color);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}

.plan-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.plan-button.featured {
    background: #3498db;
}

.plan-button.featured:hover {
    background: #2980b9;
}

/* Update mobile styles */
@media screen and (max-width: 768px) {
    .plan-button {
        padding: 10px 20px;
        font-size: 14px;
    }
}





/* Price Plans Grid Layout */
.price-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 20px 0;
    margin: 30px 0;
}

.price-plan {
    background: var(--content-bg);
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    padding: 30px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-plan:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow);
}

.plan-header {
    margin-bottom: 25px;
}

.plan-name {
    font-size: 24px;
    color: var(--text-color);
    margin-bottom: 15px;
}

.plan-price {
    margin: 20px 0;
}

.amount {
    font-size: 36px;
    font-weight: bold;
    color: var(--text-color);
}

.period {
    color: var(--text-color);
    opacity: 0.7;
    font-size: 14px;
    display: block;
    margin-top: 5px;
}

.plan-features {
    margin: 25px 0;
}

.plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features li {
    padding: 10px 0;
    color: var(--text-color);
    font-size: 15px;
    border-bottom: 1px solid var(--shadow);
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 10px;
    align-items: center;
    text-align: left;
}

.list-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    color: var(--hover-color); /* Add this line to make checkmarks blue */
}

.feature-text {
    line-height: 1.4;
}

/* Mobile responsive adjustments */
@media screen and (max-width: 768px) {
    .plan-features li {
        grid-template-columns: 20px 1fr;
        gap: 8px;
    }

    .list-icon {
        width: 20px;
    }
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-button {
    display: inline-block;
    padding: 12px 30px;
    background: var(--hover-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.plan-button.featured {
    background: #3498db;
}

.plan-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

@media screen and (max-width: 768px) {
    .price-plans {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 10px;
    }

    .price-plan.featured {
        transform: none;
    }

    .price-plan {
        padding: 20px;
    }

    .amount {
        font-size: 30px;
    }
}

/* ...existing code... */

@media screen and (max-width: 380px) {
    .price-plan {
        padding: 15px;  /* Reduced padding */
    }

    .plan-header h3 {
        font-size: 18px;  /* Reduced from 24px */
    }

    .amount {
        font-size: 24px;  /* Reduced from 36px */
    }

    .period {
        font-size: 12px;  /* Reduced from 14px */
    }

    .plan-features li {
        font-size: 13px;  /* Reduced from 15px */
        padding: 8px 0;   /* Reduced padding */
    }

    .plan-button {
        padding: 10px 20px;  /* Reduced padding */
        font-size: 14px;     /* Reduced from 16px */
    }

    .popular-badge,
    .sale-badge {
        font-size: 12px;     /* Reduced from 14px */
        padding: 4px 10px;   /* Reduced padding */
    }

    .price-wrapper .original-price {
        font-size: 16px;     /* Reduced from 20px */
    }
}
/* ...existing code... */




/* Contact For Payment Section */
.payment-contact {
    background: var(--content-bg);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    max-width: 800px;
    margin: 40px auto;
    box-shadow: 0 10px 30px var(--shadow);
    position: relative;
    overflow: hidden;
}

.payment-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #3498db, #2ecc71);
}

.contact-heading {
    color: var(--text-color);
    font-size: 24px;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.contact-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--hover-color);
    border-radius: 2px;
}

.contact-description {
    color: var(--text-color);
    font-size: 16px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.contact-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 12px;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-button i {
    font-size: 24px;
}

.contact-button:hover {
    border-color: var(--hover-color);
    background: var(--block-bg);
}

.contact-button.whatsapp {
    color: #25D366;
}

.contact-button.viber {
    color: #665CAC;
}

.contact-button.phone {
    color: var(--hover-color);
}

.contact-animation {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media screen and (max-width: 768px) {
    .contact-methods {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .contact-button {
        width: 100%;
        justify-content: center;
    }
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .payment-contact {
        padding: 30px 20px;
        margin: 20px;
    }

    .contact-heading {
        font-size: 24px;
    }

    .contact-description {
        font-size: 16px;
    }

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

    .contact-button {
        width: 100%;
        justify-content: center;
    }
}


.header-icon i {
    font-size: 2em; /* Reduced from 3x to 2em */
}

.section-header h1 {
    font-size: 24px; /* Reduced from default size */
    margin: 15px 0;
    color: var(--text-color);
}

.reset-container {
    max-width: 500px;
    margin: 40px auto;
    text-align: center;
}

.verify-form {
    background: var(--content-bg);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
}

.verify-icon {
    font-size: 48px;
    color: var(--hover-color);
    margin-bottom: 20px;
}

.verify-form h2 {
    color: var(--text-color);
    font-size: 24px;
    margin-bottom: 15px;
}

.verify-form p {
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 25px;
}

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

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--shadow);
    border-radius: 8px;
    background: var(--block-bg);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.verify-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    border-radius: 25px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.verify-button.primary {
    background: var(--hover-color);
    color: white;
}

.verify-button.secondary {
    background: rgba(83, 167, 206, 0.1);
    color: var(--hover-color);
}

.verify-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var (--shadow);
}

.verify-button.secondary:hover {
    background: rgba(83, 167, 206, 0.2);
}

.verify-success,
.verify-error {
    background: var (--content-bg);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px var (--shadow);
}

.verify-success .verify-icon { color: #53a7ce; }
.verify-error .verify-icon { color: #e74c3c; }

.info-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    padding: 8px 12px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 20px;
}

.info-box i {
    color: var(--hover-color);
}

.info-box p {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 13px;
    margin: 0;
}

.form-footer {
    margin-top: 20px;
}

.back-link {
    color: var(--text-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.back-link:hover {
    opacity: 1;
    color: var(--hover-color);
}

.invalid-feedback {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
    text-align: left;
}

@media screen and (max-width: 768px) {
    .reset-container {
        margin: 20px;
    }
    
    .verify-form,
    .verify-success,
    .verify-error {
        padding: 25px;
    }
    
    .verify-icon {
        font-size: 36px;
    }
    
    .info-box {
        margin: 10px;
        text-align: center;
        flex-direction: column;
    }
    
    .info-box p {
        text-align: center;
        display: block;
        width: 100%;
    }
}


/* Remove animation styles */
.success-container {
    max-width: 500px;
    margin: 40px auto;
    padding: 30px;
    background: var(--content-bg);
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow);
}

.success-content {
    text-align: center;
}

.info-box {
    background: var(--block-bg);
    border-radius: 12px;
    padding: 25px;
    margin: 0;
    border: 1px solid var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.info-icon {
    width: 60px;
    height: 60px;
    background: var(--hover-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon i {
    font-size: 28px;
    color: white;
}

.info-content {
    text-align: center;
}

.info-text {
    color: var(--text-color);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 5px;
}

.info-warning {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    padding: 8px 12px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 20px;
}

.info-warning i {
    color: var(--hover-color);
}

.info-small {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 13px;
}

@media screen and (max-width: 768px) {
    .success-container {
        margin: 15px;
        padding: 15px;
    }

    .info-box {
        padding: 15px;
        gap: 15px;
    }

    .info-text {
        font-size: 16px;
        padding: 0 10px;
    }

    .status-steps {
        flex-direction: column;
        gap: 10px;
    }

    .step-divider {
        width: 2px;
        height: 20px;
    }

    .step-divider::after {
        content: '↓';
        transform: translate(-50%, -50%) rotate(0deg);
    }

    .action-buttons {
        flex-direction: column;
        width: 100%;
    }

    .action-button {
        width: 100%;
        justify-content: center;
        padding: 10px 20px;
    }

    .info-warning {
        margin: 10px;
        text-align: center;
        flex-direction: column;
    }

    .info-small {
        text-align: center;
        display: block;
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .success-container {
        margin: 20px;
        padding: 25px;
    }

    .info-box {
        padding: 20px;
    }
}

.status-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.step {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
    opacity: 0.7;
}

.step.done {
    color: #4bb71b;
    opacity: 1;
}

.step.current {
    color: #e74c3c; /* Changed from var(--hover-color) to red */
    opacity: 1;
}

.step-divider {
    width: 30px;
    height: 2px;
    background: var (--shadow);
    position: relative;
}

.step-divider::after {
    content: '→';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-color);
    opacity: 0.5;
}

.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    justify-content: center;
}

.action-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.action-button.primary {
    background: var(--hover-color);
    color: white;
}

.action-button.secondary {
    background: var(--block-bg);
    color: var(--text-color);
    border: 1px solid var(--shadow);
}

.action-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var (--shadow);
}



.action-button.primary {
    background: var(--hover-color);
    color: white;
}

.action-button.primary i,
.action-button.secondary i {
    color: white; /* Make icons white */
}

/* New styles for warning message */
@keyframes pulseWarning {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

.info-warning {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    margin: 15px 0;
    background: rgba(231, 76, 60, 0.1); /* Light red background */
    border: 1px solid rgba(231, 76, 60, 0.2);
    border-radius: 8px;
    animation: pulseWarning 2s ease-in-out infinite;
}

.info-warning i {
    color: #e74c3c; /* Red color for warning icon */
    font-size: 18px;
}

.info-warning .info-small {
    color: #c0392b; /* Darker red for text */
    font-size: 14px;
    font-weight: 500;
}

/* Add hover pause effect */
.info-warning:hover {
    animation-play-state: paused;
    background: rgba(231, 76, 60, 0.15);
}



/* Gmail Spam Guide Styles */
.spam-guide {
    max-width: 800px;
    margin: 30px auto;
    padding: 20px;
    background: var(--content-bg);
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow);
}

.guide-title {
    text-align: center;
    color: var(--text-color);
    font-size: 20px;
    margin-bottom: 25px;
}

.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.guide-step {
    text-align: center;
}

.guide-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 3px 10px var(--shadow);
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.guide-image:hover {
    transform: scale(1.02);
}

.step-number {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: var(--hover-color);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    margin-bottom: 10px;
}

/* Mobile responsive adjustments */
@media screen and (max-width: 768px) {
    .spam-guide {
        padding: 15px;
        margin: 20px;
    }

    .guide-title {
        font-size: 18px;
    }

    .guide-steps {
        gap: 20px;
    }

    .guide-image {
        border-radius: 6px;
    }
}

.action-button.secondary {
    background: var(--block-bg);
    color: var(--text-color);
    border: 1px solid var(--shadow);
}

/* Update icon color to match parent text color */
.action-button.secondary i {
    color: var(--text-color); /* Change from white to text color */
}

    .cookie-banner {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(33, 33, 33, 0.95);
        color: white;
        padding: 1rem;
        z-index: 9999;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(10px);
    }

    .cookie-content {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
        font-size: 0.9rem;
    }

    .cookie-accept {
        background: #6366f1;
        color: white;
        border: none;
        padding: 0.5rem 1.5rem;
        border-radius: 0.5rem;
        cursor: pointer;
        font-weight: 500;
        transition: all 0.2s ease;
        white-space: nowrap;
    }

    .cookie-accept:hover {
        background: #4f46e5;
        transform: translateY(-2px);
    }

    @media (max-width: 768px) {
        .cookie-content {
            flex-direction: column;
            text-align: center;
            padding: 1rem;
            gap: 1rem;
        }

        .cookie-banner {
            padding: 0.5rem;
        }
    }






    .cookie-banner {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(33, 33, 33, 0.95);
        color: white;
        padding: 1rem;
        z-index: 9999;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(10px);
    }

    .cookie-content {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
        font-size: 0.9rem;
    }

    .cookie-accept {
        background: #6366f1;
        color: white;
        border: none;
        padding: 0.5rem 1.5rem;
        border-radius: 0.5rem;
        cursor: pointer;
        font-weight: 500;
        transition: all 0.2s ease;
        white-space: nowrap;
    }

    .cookie-accept:hover {
        background: #4f46e5;
        transform: translateY(-2px);
    }

    @media (max-width: 768px) {
        .cookie-content {
            flex-direction: column;
            text-align: center;
            padding: 1rem;
            gap: 1rem;
        }

        .cookie-banner {
            padding: 0.5rem;
        }
    }

/* Trial Modal Styles */
.trial-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.trial-modal.show {
    display: flex;
    opacity: 1;
}

.trial-modal-content {
    background: var(--content-bg);
    padding: 40px;
    border-radius: 15px;
    position: relative;
    width: 90%;
    max-width: 500px;
    margin: auto;
    text-align: center;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.trial-modal.show .trial-modal-content {
    transform: translateY(0);
}

.trial-modal h2 {
    color: var(--text-color);
    font-size: 24px;
    margin-bottom: 15px;
}

.trial-modal p {
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 25px;
}

.trial-button {
    background: var(--hover-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.trial-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.trial-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.category-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 20px 0;
}

.category-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: var(--card-bg);
    border: 2px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    min-width: 120px;
}

.category-btn:hover {
    border-color: var(--hover-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.category-btn i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--hover-color);
}

.category-btn span {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.category-btn small {
    color: var(--secondary-text);
    font-size: 0.9rem;
}

.dont-show-wrapper {
    margin-top: 20px;
    color: var(--text-color);
    opacity: 0.8;
    font-size: 14px;
}

.dont-show-wrapper label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-color);
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.close-modal:hover {
    opacity: 1;
}

@media screen and (max-width: 768px) {
    .trial-modal-content {
        padding: 30px;
    }

    .trial-modal h2 {
        font-size: 20px;
    }

    .trial-buttons {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .category-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .category-btn {
        min-width: auto;
        width: 100%;
    }
}


.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--shadow);
    border-radius: 8px;
    background: var(--block-bg);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.form-control.is-invalid {
    border-color: #e74c3c;
}

.invalid-feedback {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
    text-align: left;
}

.page-container {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.page-container.loaded {
    opacity: 1;
}


.why-choose-us {
    padding: 40px 20px;
}

.why-choose-us .section-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.why-choose-us .section-title {
    color: var(--text-color);
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: 600;
}

.why-choose-us .section-description {
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.8;
}

.why-choose-us .section-description p {
    margin: 0;
    padding: 0;
}

/* Mobile responsive */
@media screen and (max-width: 768px) {
    .why-choose-us {
        padding: 30px 15px;
    }
    
    .why-choose-us .section-title {
        font-size: 24px;
    }
    
    .why-choose-us .section-description {
        font-size: 15px;
        line-height: 1.6;
    }
}




/* Benefits List Styles */
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    text-align: left;
}

.benefits-list li {
    padding: 15px;
    border-bottom: 1px solid var(--shadow);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefits-list li i {
    color: var(--hover-color);
    font-size: 16px;
    min-width: 20px;
    text-align: center;
    margin-top: 3px;
}

.benefits-list strong {
    color: var(--hover-color);
    display: inline;
    margin-right: 8px;
}

.benefits-list li span {
    display: inline;
    color: var(--text-color);
}

@media screen and (min-width: 769px) {
    .benefits-list li {
        align-items: center;
    }

    .benefits-list strong,
    .benefits-list li span {
        line-height: 1.2;
    }
}

/* Mobile responsive adjustments */
@media screen and (max-width: 768px) {
    .why-choose-us {
        padding: 20px 15px;
    }
    
    .why-choose-us .section-content {
        width: 100%;
        overflow-x: hidden;
    }
    
    .benefits-list li {
        padding: 12px;
        font-size: 14px;
        line-height: 1.4;
        flex-wrap: wrap;
    }

    .benefits-list li i {
        font-size: 14px;
        margin-top: 2px;
    }
    
    .benefits-list strong {
        display: block;
        margin-bottom: 4px;
        width: 100%;
    }
    
    .benefits-list li span {
        width: calc(100% - 32px); 
    }
}





/* Ready to Start Section Styles */
.get-started-section {
    background: var(--content-bg);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    margin: 40px 0;
    box-shadow: 0 5px 20px var(--shadow);
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.get-started-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--hover-color);
}

.get-started-content {
    flex: 2;
    text-align: left;
    padding-left: 20px;
}

.get-started-content h2 {
    color: var(--text-color);
    font-size: 24px;
    margin-bottom: 15px;
}

.get-started-content p {
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 0;
    font-size: 16px;
}

.get-started-buttons {
    flex: 1;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.get-started-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background: var(--hover-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.get-started-button.secondary {
    background: transparent;
    border: 2px solid var(--hover-color);
    color: var(--hover-color);
}

.get-started-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow);
}

/* Mobile responsive adjustments */
@media screen and (max-width: 768px) {
    .get-started-section {
        flex-direction: column;
        padding: 30px 20px;
        text-align: center;
    }

    .get-started-content {
        text-align: center;        padding-left: 0;    }

    .get-started-buttons {
        flex-direction: column;
        width: 100%;
    }

    .get-started-button {
        width: 100%;
        justify-content: center;
    }
}

/* Quick Actions Section */
.quick-actions {
    padding: 40px 20px;
    margin-bottom: 40px;
}

.action-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.action-card {
    background: var(--content-bg);
    border-radius: 15px;
    padding: 30px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    box-shadow: 0 5px 15px var(--shadow);
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow);
}

.action-card.featured {
    border: 2px solid var(--hover-color);
}

.ribbon {
    position: absolute;
    top: -12px;
    right: -12px; /* Changed from 20px to -12px to hang over the edge */
    background: #e74c3c;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--hover-color), #2980b9);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon i {
    font-size: 24px;
    color: white;
}

.action-card h3 {
    font-size: var(--font-size-lg);
    margin-bottom: 10px;
    color: var(--text-color);
}

.action-card p {
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 20px;
    font-size: var (--font-size-base);
    line-height: var (--line-height-relaxed);
}

.try-now {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--hover-color);
    font-weight: 500;
    font-size: var(--font-size-sm);
    transition: gap 0.3s ease;
}

.action-card:hover .try-now {
    gap: 12px;
}


/* Why Choose Us Section */
.why-choose-us {
    padding: 60px 20px;
    background: var(--content-bg);
    border-radius: 15px;
    margin: 40px 0;
}

.section-title {
    text-align: center;
    color: var(--text-color);
    font-size: var(--font-size-2xl);
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--hover-color), #2980b9);
    border-radius: 2px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    background: var(--block-bg);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--hover-color), #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.benefit-icon i {
    font-size: 28px;
    color: white;
}

.benefit-card h3 {
    font-size: var(--font-size-lg);
    color: var(--text-color);
    margin-bottom: 15px;
}

.benefit-card p {
    color: var(--text-color);
    opacity: 0.8;
    font-size: var(--font-size-base);
    line-height: var (--line-height-relaxed);
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .action-cards,
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .action-card,
    .benefit-card {
        padding: 20px;
    }

    .ribbon {
        font-size: 11px;
        padding: 3px 25px;
    }
}

/* New login button styles */
.login-button {
    padding: 8px 16px;
    border-radius: 20px;
    background: var(--card-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.login-button:hover {
    background: var(--hover-bg);
    transform: scale(1.05);
}

.login-button i {
    font-size: 16px;
}

@media screen and (max-width: 768px) {
    .login-button {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .login-button i {
        font-size: 14px;
    }
}



.nav-menu-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.category-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-top: 8px;
    z-index: 100;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.category-dropdown.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.category-option {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.category-option:hover {
    background-color: #f5f5f5;
}

.category-option i {
    margin-right: 10px;
    font-size: 1.2em;
    width: 24px;
    text-align: center;
}

.menu-card-arrow {
    transition: transform 0.3s ease;
}

.nav-menu-card.active .menu-card-arrow {
    transform: rotate(180deg);
}

/* Menu items alignment fixes */
.menu-items {
    display: flex;
    align-items: center;
    gap: 5px;
}

.menu-item {
    display: flex;
    align-items: center;
}

.menu-item a {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.menu-item i {
    width: 20px;
    margin-right: 8px;
    text-align: center;
}

.menu-item .dropdown-arrow {
    margin-left: 5px;
    width: auto;
}

/* Ensure dropdown items are also aligned */
.dropdown .category-section a {
    display: flex;
    align-items: center;
    padding: 8px 20px;
}

.dropdown .category-section a i {
    width: 20px;
    margin-right: 8px;
    text-align: center;
}



.dropdown {
    min-width: 280px;
    padding: 10px;
}

.category-section {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.category-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.category-header {
    padding: 8px 12px;
    font-weight: bold;
    color: #3498db;
    margin-bottom: 5px;
}

.category-section a {
    padding: 8px 20px !important;
    transition: all 0.2s ease;
}

.category-section a:hover {
    background: rgba(52, 152, 219, 0.1);
    transform: translateX(5px);
}

.special-link {
    color: #ffffff !important;
    font-weight: bold;
}

.dropdown i {
    width: 20px;
    text-align: center;
    margin-right: 8px;
}

/* Mobile Menu Button Styles */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}


/* Mobile styles */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1000;
        padding: 8px;
    }

    .menu-toggle:hover {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 4px;
    }

    .menu-items {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--menu-bg);
        padding: 10px 0;
        flex-direction: column;
        align-items: flex-start;
        box-shadow: 0 4px 10px var(--shadow);
        transition: transform 0.3s ease-in-out;
        z-index: 999;
    }

    .menu-items.active {
        display: flex;
        animation: slideDown 0.3s ease-in-out;
    }

    .menu-item {
        width: 100%;
    }

    .menu-item a {
        padding: 12px 20px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .menu-item a:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: none;
    }

    .dropdown {
        position: static;
        width: 100%;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.1);
    }

    .menu-item:hover .dropdown {
        animation: none;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.modal {
    display: none;
    position: fixed; /* Changed from absolute to fixed */
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: var(--content-bg);
    padding: 2rem;
    border-radius: 10px;
    position: relative;
    width: 90%;
    max-width: 500px;
    text-align: center;
    transform: translateY(-20%); /* Adjusted up from -50% */
}

.category-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.category-btn {
    flex: 1;
    padding: 20px;
    border: 2px solid var(--shadow); /* Updated to use theme variable */
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-color); /* Updated to use theme variable */
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.category-btn:hover {
    border-color: var(--hover-color);
    background: var(--block-bg);
}

.category-btn i {
    font-size: 2rem;
    color: #007bff;
}

.category-btn span {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--text-color); /* Added color for text */
}

.category-btn small {
    color: var(--text-color);
    opacity: 0.8;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    background: none;
    font-size: 24px;
    cursor: pointer;
    color: #000000;
}

.close-modal:hover {
    color: #333;
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
    .modal-content {
        transform: translateY(-70%); /* Move up more on mobile */
    }

    .category-buttons {
        flex-direction: column;
    }

    .category-btn {
        width: 100%;
    }
}



/* Mobile adjustments */
@media screen and (max-width: 380px) {
    .modal-content {
        transform: translateY(-60%); /* Move up more on mobile */
    }

    .category-buttons {
        flex-direction: column;
    }

    .category-btn {
        width: 100%;
    }
}

/* Updated Mobile Menu Styles */
@media screen and (max-width: 768px) {
    .menu-items {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--menu-gradient);
        padding: 10px;
        flex-direction: column;
        z-index: 999;
    }

    .menu-items.active {
        display: flex;
    }

    .menu-item {
        width: 100%;
    }

    .menu-item > a {
        padding: 12px 15px;
        justify-content: space-between;
    }

    .menu-item > a i {
        display: none; /* Hide all menu icons including dropdown arrow */
    }

    /* Hide category text for driving categories */
    .menu-item > a span.category-text {
        display: none;
    }

    .dropdown {
        position: static;
        width: 100%;
        min-width: 100%;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.1);
        padding: 0;
        margin: 0;
    }

    .category-section {
        margin: 0;
        padding: 0;
        border: none;
    }


    .category-section a {
        padding: 10px 20px !important;
        font-size: 14px;
    }

    /* Compact the dropdowns for A and B categories */
    .menu-item .driving-categories {
        padding: 0;
    }

    .driving-categories a {
        padding-left: 30px !important;
    }

    /* Enhance touch targets */
    .menu-item a,
    .category-section a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* Extra small devices */
@media screen and (max-width: 380px) {
    .menu-items {
        top: 50px; /* Slightly smaller top position */
    }

    .menu-item > a,
    .category-section a {
        padding: 10px 12px;
        font-size: 13px;
    }

    .driving-categories a {
        padding-left: 24px !important;
    }
}






/* Mobile styles */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1000;
        padding: 8px;
    }

    .menu-toggle:hover {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 4px;
    }
}
        @media screen and (max-width: 768px) {
            .menu-item.has-dropdown > a span {
                display: flex;
            }
            
            .dropdown {
                padding-left: 0;
            }
            
            .category-section {
                padding-left: 15px;
            }
            
            .category-header {
                padding-left: 0;
            }
            
            .category-content {
                padding-left: 15px;
            }
            
            .category-content a {
                padding-left: 0;
                display: block;
                margin: 8px 0;
            }
            
            .special-link {
                padding-left: 15px;
            }
        }
        
        @media screen and (max-width: 380px) {
            .menu-item.has-dropdown > a span {
                display: flex;
            }
            
            .dropdown {
                padding-left: 0;
            }
            
            .category-section {
                padding-left: 15px;
            }
            
            .category-header {
                padding-left: 0;
            }
            
            .category-content {
                padding-left: 15px;
            }
            
            .category-content a {
                padding-left: 0;
                display: block;
                margin: 8px 0;
            }
            
            .special-link {
                padding-left: 15px;
            }
        }
        .category-content {
            display: none;
            padding-left: 20px;
        }
        
        .category-content.active {
            display: block;
        }
        
        .category-header {
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px;
        }
        
        .category-header .fa-chevron-down {
            transition: transform 0.3s ease;
        }
        
        .category-header.active .fa-chevron-down {
            transform: rotate(180deg);
        }

/* ...existing code... */

@media screen and (max-width: 768px) {
    .menu-items {
        display: none;
        flex-direction: column;
        width: 100%;
        align-items: flex-start; /* Align items to the left */
    }

    .menu-item {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start; /* Align items to the left */
    }

    .menu-item.has-dropdown {
        width: 100%;
        margin-left: 0; /* Remove any left margin */
        margin-top: 0;
    }

    .menu-item.has-dropdown > a {
        width: 100%;
        padding: 15px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .dropdown {
        width: 100%;
        position: static;
        margin-left: 0; /* Remove any left margin */
    }
}
/* ...existing code... */

/* Nav Section Button Styles */
.nav-section-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--hover-color);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: var(--font-size-base);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 5px var(--shadow);
}

.nav-section-button i {
    font-size: var(--font-size-base);
}

.nav-section-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px var(--shadow);
    background: #2980b9;
}

/* Dark theme specific styles */
[data-theme="dark"] .nav-section-button {
    background: linear-gradient(to right, #3498db);
}

[data-theme="dark"] .nav-section-button:hover {
    background: linear-gradient(to right, #2980b9);
}

/* Mobile responsive adjustments */
@media screen and (max-width: 768px) {
    .nav-section-button {
        padding: 8px 16px;
        font-size: var(--font-size-sm);
    }

    .nav-section-button i {
        font-size: var(--font-size-sm);
    }
}





/* User Menu Styles */
.user-menu {
    position: relative;
}

.user-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    padding: 18px 25px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
}

.user-toggle .dropdown-arrow {
    font-size: 12px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.user-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--content-bg);
    min-width: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 20px var(--shadow);
    z-index: 1000;
    overflow: hidden;
}

.user-menu:hover .user-dropdown {
    display: block;
}

.user-menu:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.user-dropdown a:hover {
    background: var(--block-bg);
    color: var(--hover-color);
    transform: translateX(5px);
}

/* Add new hover effects matching main menu */
.user-toggle:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* ...existing code... */

@media screen and (max-width: 380px) {
    /* Card title reductions */
    .icon-step h3 {
        font-size: 16px;  /* Reduced from 18px */
    }
    
    /* Sale badge reduction */
    .sale-badge {
        font-size: 9.3px;  /* Reduced from 14px */
        padding: 4px 10px;
    }
    
    /* Popular badge reduction */
    .popular-badge {
        font-size: 9.3px;  /* Reduced from 14px */
        padding: 4px 10px;
    }
    
    /* Card descriptions */
    .icon-step p {
        font-size: 12px;  /* Reduced from 13px */
    }

    /* Ready to start section */
    .get-started-section h2 {
        font-size: 18px;  /* Reduced from 24px */
    }
    
    .get-started-section p {
        font-size: 14px;  /* Reduced from 16px */
    }

    /* User menu items */
    .user-menu-item {
        font-size: 14px;  /* Reduced from 16px */
    }
}
/* ...existing code... */

/* Mobile adjustments */
@media screen and (max-width: 768px) {
    .user-toggle {
        font-size: 13px;
        padding: 12px 15px;
        display: flex;
        width: auto;
    }

    /* Modify mobile hover effect */
    .user-toggle:hover {
        background: rgba(255,255,255,0.1);
        transform: none; /* Remove transform on mobile */
    }

    .user-dropdown {
        display: none !important;
    }

    .user-toggle {
        color: white !important;
        text-decoration: none;
    }

    /* Make the toggle act as a link on mobile */
    .user-menu {
        cursor: pointer;
    }

    .user-toggle .dropdown-arrow {
        display: none; /* Hide dropdown arrow on mobile */
    }
}

@media screen and (max-width: 380px) {
    .menu .nav-controls {
        position: absolute;
        right: 0px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .menu .logo {
        margin-right: auto;
    }

    .menu .menu-toggle {
        margin-left: 0;
    }
}

@media screen and (max-width: 380px) {
    .nav-menu-card .menu-card-text h3 {
        font-size: 14px;
        line-height: 1.3;
        word-wrap: break-word;
        white-space: normal;
        max-width: 100%;
    }

    .nav-menu-card .menu-card-text p {
        font-size: 12px;
        line-height: 1.2;
        word-wrap: break-word;
        white-space: normal;
    }

    .nav-section-button {
        font-size: 13px;
        padding: 8px 15px;
        white-space: normal;
        text-align: center;
        min-height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .menu-card-content {
        padding: 15px;
        gap: 10px;
    }

    .menu-card-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
        flex-shrink: 0;
    }
}













.password-form-section {
    margin: 20px auto;
    max-width: 500px;
    background: var(--content-bg);
    border-radius: 10px;
    box-shadow: 0 2px 10px var(--shadow);
    overflow: hidden;
}

.password-toggle-button {
    width: 100%;
    padding: 18px 25px;
    background: var(--hover-color);
    border: none;
    color: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    
}

.password-toggle-button:hover {
    background: var(--hover-color);
}

.password-toggle-button span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.password-toggle-button .arrow-icon {
    transition: transform 0.3s ease;
}

.password-change-form {
    display: none;
    padding: 25px;
    background: var(--content-bg);
}

.password-change-form.active {
    display: block;
    animation: slideDown 0.3s ease;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-size: 14px;
}

.password-input {
    position: relative;
}

.password-input input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--shadow);
    border-radius: 6px;
    font-size: 15px;
    background: var(--block-bg);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.password-input input:focus {
    border-color: var(--hover-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.invalid-feedback {
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
}

.form-actions {
    margin-top: 25px;
    text-align: right;
}

.action-button.update {
    background: var(--hover-color);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.action-button.update:hover {
    background: #2980b9;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px var(--shadow);
}

.action-button.update i {
    font-size: 16px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Error state styles */
.is-invalid {
    border-color: #dc3545 !important;
}

.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1) !important;
}

/* Success message styles */
.alert-success {
    background: #d4edda;
    color: #155724;
    padding: 12px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success i {
    color: #28a745;
    font-size: 18px;
}

/* Dark theme specific adjustments */
[data-theme="dark"] .password-toggle-button {
    background: var(--hover-color);
}

[data-theme="dark"] .password-toggle-button:hover {
    background: var(--hover-color);
    opacity: 0.9;
}

[data-theme="dark"] .password-input input {
    border-color: var(--shadow);
    background: var(--block-bg);
}

[data-theme="dark"] .password-input input:focus {
    border-color: var(--hover-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

/* Success message dark theme */
[data-theme="dark"] .alert-success {
    background: rgba(40, 167, 69, 0.1);
    color: #2ecc71;
}



.category-section {
    padding: 8px 0;
    margin: 0;
    position: relative;
}

.category-section:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .category-section:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown .category-section .category-header {
    padding: 8px 15px;
    margin: 0;
}

.dropdown .category-content {
    padding-top: 5px;
    padding-bottom: 5px;
}

.special-link {
    display: block;
    padding: 8px 15px;
    text-decoration: none;
    color: inherit;
}

/* New hover effect styles */
.category-content a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--shadow);
}

.category-content a:last-child {
    border-bottom: none;
}

.category-content a:hover {
    background: var(--block-bg);
    color: var(--hover-color);
    transform: translateX(5px);
}

.category-content a i {
    width: 20px;
    text-align: center;
    color: var(--hover-color);
}

.special-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.special-link:hover {
    background: var(--block-bg);
    color: var(--hover-color);
    transform: translateX(5px);
}

.special-link i {
    width: 20px;
    text-align: center;
    color: var(--hover-color);
}

/* Category Header hover effects */
.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 12px 20px;
    color: var(--text-color);
    transition: all 0.3s ease;
    border-radius: 8px;
}

.category-header span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-header span i {
    width: 20px;
    text-align: center;
    color: var(--hover-color);
}

.category-header:hover {
    background: var(--block-bg);
    color: var(--hover-color);
    transform: translateX(5px);
}

.category-header i.fa-chevron-down {
    transition: transform 0.3s ease;
}

.category-header.active i.fa-chevron-down {
    transform: rotate(180deg);
}

/* Updated CTA Button Styles to match plan-button */
.cta-btn {
    display: inline-block;
    width: auto;
    padding: 12px 30px;
    background: var(--hover-color);
    color: white !important; /* Added !important to ensure white text */
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.cta-btn.primary {
    background: var(--hover-color);
}

.cta-btn.primary:hover {
    background: #2980b9;
}

.cta-btn.secondary {
    background: #3498db;
    color: white !important; /* Added !important to ensure white text */
}

/* Dark theme specific styles */
[data-theme="dark"] .cta-btn {
    background: linear-gradient(to right, #3498db, #2980b9);
}

[data-theme="dark"] .cta-btn:hover {
    background: linear-gradient(to right, #2980b9, #3498db);
}

/* User Area Specific Styles */
.user-dashboard {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

.dashboard-stats {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    padding: 30px;
}

.stat-card {
    min-width: 280px;
}

/* Calendar Toggle Button Styles */
.calendar-toggle-btn {
    width: 43%;
    max-width: 100%;
    padding: 15px;
    background: var(--hover-color);
    border: none;
    border-radius: 8px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 15px auto; /* Changed from margin-bottom and margin-top to margin */
}

.calendar-toggle-btn:hover {
    background: var(--hover-color);
    color: white;
}

.calendar-toggle-btn i {
    transition: transform 0.3s ease;
}

.calendar-toggle-btn .fa-chevron-down {
    font-size: 14px;
}

.calendar-toggle-btn.active .fa-chevron-down {
    transform: rotate(180deg);
}

.calendar-section {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.calendar-section.active {
    display: block;
    opacity: 1;
}

/* Mobile responsive adjustments */
@media screen and (max-width: 768px) {
    .calendar-toggle-btn {
        width: 100%;
        max-width: none;
    }

    .calendar-section {
        max-width: none;
    }
}


@media screen and (max-width: 380px) {
    .dashboard-stats {
        grid-template-columns: 1fr !important;
        padding: 15px;
        gap: 15px;
    }

    .stat-card {
        padding: 15px;
        min-width: 0; /* Prevent overflow */
    }

    .stat-card i {
        font-size: 20px; /* Slightly smaller icon */
    }

    .stat-info h3 {
        font-size: 13px; /* Smaller title */
    }

    .stat-info p {
        font-size: 16px; /* Smaller value */
    }
}