/* Minification failed. Returning unminified contents.
(931,32): run-time error CSS1039: Token not allowed after unary operator: '-bg-secondary'
(935,32): run-time error CSS1039: Token not allowed after unary operator: '-bg-secondary'
(939,32): run-time error CSS1039: Token not allowed after unary operator: '-hover-bg'
(969,28): run-time error CSS1039: Token not allowed after unary operator: '-bg-secondary'
(970,28): run-time error CSS1039: Token not allowed after unary operator: '-border-color'
(974,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(979,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(991,28): run-time error CSS1039: Token not allowed after unary operator: '-border-color'
(995,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(999,28): run-time error CSS1039: Token not allowed after unary operator: '-bg-primary'
(1000,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(2052,32): run-time error CSS1039: Token not allowed after unary operator: '-bg-secondary'
(2056,21): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(2060,32): run-time error CSS1039: Token not allowed after unary operator: '-bg-secondary'
(2061,39): run-time error CSS1039: Token not allowed after unary operator: '-border-color'
(2067,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(2068,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(2069,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(2070,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(2071,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(2072,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(2073,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(2074,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(2078,28): run-time error CSS1039: Token not allowed after unary operator: '-bg-primary'
(2079,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(2083,28): run-time error CSS1039: Token not allowed after unary operator: '-bg-secondary'
(2084,35): run-time error CSS1039: Token not allowed after unary operator: '-border-color'
(2088,28): run-time error CSS1039: Token not allowed after unary operator: '-bg-secondary'
(2092,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(2100,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(2104,28): run-time error CSS1039: Token not allowed after unary operator: '-bg-secondary'
(2105,28): run-time error CSS1039: Token not allowed after unary operator: '-border-color'
(2109,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(2113,28): run-time error CSS1039: Token not allowed after unary operator: '-hover-bg'
(2118,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(2122,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(2130,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(2135,32): run-time error CSS1039: Token not allowed after unary operator: '-bg-secondary'
(2139,32): run-time error CSS1039: Token not allowed after unary operator: '-bg-secondary'
(2143,32): run-time error CSS1039: Token not allowed after unary operator: '-bg-secondary'
(2148,21): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(2152,32): run-time error CSS1039: Token not allowed after unary operator: '-hover-bg'
(2253,28): run-time error CSS1039: Token not allowed after unary operator: '-card-bg'
(2257,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(2261,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(2289,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(2292,28): run-time error CSS1039: Token not allowed after unary operator: '-bg-secondary'
(2303,17): run-time error CSS1039: Token not allowed after unary operator: '-accent-color'
(2308,28): run-time error CSS1039: Token not allowed after unary operator: '-bg-secondary-dark'
(2309,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary-dark'
(2647,28): run-time error CSS1039: Token not allowed after unary operator: '-card-bg'
(2653,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(2661,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(2669,22): run-time error CSS1039: Token not allowed after unary operator: '-card-bg'
(2670,24): run-time error CSS1039: Token not allowed after unary operator: '-border-color'
(2671,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(2681,22): run-time error CSS1039: Token not allowed after unary operator: '-hover-bg'
(2810,21): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
 */
.hero-section {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    text-align: center;
    min-height: 300px;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20%);
    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
    background: transparent;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.slide.prev {
    transform: translateX(-20%);
}

.slide h1,
.slide p {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease-out;
}

.slide.active h1,
.slide.active p {
    opacity: 1;
    transform: translateY(0);
}

.slide h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.slide p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.slider-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 10;
}

.prev-slide,
.next-slide {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.prev-slide:hover,
.next-slide:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .hero-slider {
        
        height: 875px;
    }
    
    .slide h1 {
        font-size: 1.8rem;
    }
    
    .slide p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .slider-controls {
        bottom: 1rem;
    }
} 
/* Reset and base styles */

img{
    max-width:100%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Animation Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes shine {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

body {
    font-family: 'Times New Roman', Times, serif;
    line-height: 1.6;
    color: #333;
    background-color: white;
    animation: fadeIn 0.5s ease-out;
    margin:0px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Times New Roman', Times, serif;
}

/* Header and Navigation */
.top-nav {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
	background: white;
}

.logo {
    padding: 10px;
    min-width: 200px;
}

.logo img {
    height: 30px;
    width: auto;
}

.logo-text {
    font-size: 1rem;
    font-weight: 600;
    color: #0078d4;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: -1% 1% 1% 1%;
    transition: transform 0.3s ease;
}

.logo-text span {
    background-color: #0078d4;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    max-width: 600px;
    margin: 0 2rem;
}

.search-bar input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.search-bar input:focus {
    outline: none;
    border-color: #0078d4;
}

.search-bar button {
    padding: 0.75rem 1.5rem;
    background-color: #0078d4;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-bar button:hover {
    background-color: #106ebe;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-links a {
    
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.nav-links a:hover {
    color: #0078d4;
    transform: translateY(-2px);
}

.nav-links a i {
    width: 16px;
    color: #333;
    text-align: center;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-trigger {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.dropdown-trigger:hover {
    color: #0078d4;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-radius: 0px;
    padding: 0.5rem 0;
    z-index: 1000;
    animation: scaleIn 0.2s ease-out;
    margin-top: 0.4rem;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: #333;
    text-decoration: none;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
    background-color: #f0f7ff;
    color: #0078d4;
}

.dropdown-content a i {
    width: 16px;
    color: #666;
    text-align: center;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0078d4 0%, #00a2ed 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-section h1,
.hero-section p {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.hero-section h1.visible,
.hero-section p.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    
    max-width: 1440px;
    margin: 0 auto;
}

.card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, box-shadow 0.3s ease;
    will-change: opacity, transform;
}

.card.visible {
    opacity: 1;
    transform: translateY(0);
}

.card:nth-child(1) { transition-delay: 0.1s; }
.card:nth-child(2) { transition-delay: 0.2s; }
.card:nth-child(3) { transition-delay: 0.3s; }
.card:nth-child(4) { transition-delay: 0.4s; }
.card:nth-child(5) { transition-delay: 0.5s; }
.card:nth-child(6) { transition-delay: 0.6s; }

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.card h2 {
    color: #0078d4;
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.card h2 i {
    color: #0078d4;
}

.card p {
    margin-bottom: 1rem;
    color: #666;
    text-align: center;
    font-size: 0.9rem;
}

.card .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 auto;
}

.button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #0078d4;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.button:hover {
    background-color: #106ebe;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.3) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

/* Details Page Layout */
.page-layout {
    display: grid;
    grid-template-columns: 260px 1fr 260px;
    gap: 0.3rem;
    max-width: 1600px;
    margin: 0 auto;
    min-height: calc(100vh - 60px - 200px); /* Subtract header and footer height */
}

/* Left Navigation */
.side-nav {
    
    margin-top:50px;
    position: sticky;
    top: 50px;
    height: calc(100vh - 50px);
    
    padding-right: 1rem;
    border-right: 1px solid #e5e5e5;
}

.side-nav::-webkit-scrollbar {
    width: 6px;
}

.side-nav::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.side-nav::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.nav-section h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #000;
    font-weight: 600;
}

.nav-section ul {
    list-style: none;
}

.nav-section li {
    margin-bottom: 0.5rem;
}

.nav-section a {
    color: black;
    text-decoration: none;
    font-size: 0.9rem;
    display: block;
    padding: 0;
    border-radius: 4px;
    transition: all 0.2s;
}

.nav-section li.active a,
.nav-section a:hover {
    background-color: #f8f9fa;
    color: #0078d4;
}

/* Main Content Area */
.main-content {
    overflow-y: auto;
    padding-right: 0rem;
}

.main-content::-webkit-scrollbar {
    width: 6px;
}

.main-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.main-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

/* Right Resources Section */
.resources-section {
    position: sticky;
    top: 80px;
    height: calc(100vh - 80px);
    overflow-y: auto;
    padding-left: 1rem;
    border-left: 1px solid #e5e5e5;
}

.resources-section::-webkit-scrollbar {
    width: 6px;
}

.resources-section::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.resources-section::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.resources-content h3 {
    font-size: 1rem;
    margin: 2rem 0 1rem;
    color: #000;
    font-weight: 600;
}

.resources-content ul {
    list-style: none;
    margin-bottom: 2rem;
}

.resources-content li {
    margin-bottom: 0.5rem;
}

.resources-content a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    display: block;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.2s;
}

.resources-content a:hover {
    background-color: #f8f9fa;
    color: #0078d4;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .page-layout {
        grid-template-columns: 240px 1fr 260px;
        gap: 0.3rem;
    }
}

@media (max-width: 992px) {
    .page-layout {
        grid-template-columns: 240px 1fr;
    }
    
    .resources-section {
        display: none;
    }
}

@media (max-width: 768px) {
    .page-layout {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .side-nav {
        margin-top:61px;
        position: static;
        height: auto;
        border-right: none;
        border-bottom: 1px solid #e5e5e5;
        padding-right: 0;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }

    .main-content {
        padding-right: 0;
    }

    .top-nav {
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .logo {
        text-align: center;
    }

    .logo img {
        margin-right: 0;
    }

    .search-bar {
        width: 100%;
        margin: 1rem 0;
    }

    .nav-links {
        width: 100%;
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
    }

    .dropdown {
        width: 100%;
    }

    .dropdown-content {
        position: static;
        width: 100%;
        box-shadow: none;
        display: none;
        padding-left: 1rem;
    }

    .dropdown:hover .dropdown-content {
        display: none;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .account-section {
        width: 100%;
        display: flex;
        gap: 0.5rem;
        margin-top: 1rem;
    }

    .account-section .btn {
        flex: 1;
        text-align: center;
    }

    .auth-container {
        padding: 1rem;
    }

    .auth-box {
        width: 100%;
        max-width: 100%;
        padding: 4.5rem;
    }

    .auth-box h1 {
        font-size: 1.5rem;
    }

    .auth-form .form-input {
        width: 100%;
        padding: 0.75rem 1rem;
    }

    .auth-form .btn {
        width: 100%;
        padding: 0.75rem;
    }

    .remember-forgot {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-section {
        width: 100%;
    }

    .content-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 1rem;
        width: 100%;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .card {
        padding: 1.2rem;
        margin: 0 auto;
        width: 85%;
        max-width: 400px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .card h2 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
        text-align: center;
    }

    .card p {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
        text-align: center;
    }

    .card .button {
        width: 100%;
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        text-align: center;
    }

    .user-profile {
        width: 100%;
        padding: 0.75rem 1rem;
        border-radius: 4px;
        background-color: #f8f9fa;
    }

    .user-avatar {
        width: 40px;
        height: 40px;
    }

    .user-name {
        font-size: 1rem;
        flex: 1;
    }

    .user-dropdown {
        position: static;
        width: 100%;
        background-color: #f8f9fa;
        box-shadow: none;
        border: none;
        margin-top: 0.5rem;
        display: none;
        z-index: 99999;
    }

    .user-profile:hover .user-dropdown {
        display: none;
    }

    .user-profile.active .user-dropdown {
        display: block;
    }

    .user-dropdown a {
        padding: 0.75rem 1rem;
        border-radius: 4px;
    }

    .user-dropdown a:hover {
        background-color: #e9ecef;
    }

    [data-theme="dark"] .user-profile {
        background-color: var(--bg-secondary);
    }

    [data-theme="dark"] .user-dropdown {
        background-color: var(--bg-secondary);
    }

    [data-theme="dark"] .user-dropdown a:hover {
        background-color: var(--hover-bg);
    }
}

@media (max-width: 576px) {
    .logo-text {
        font-size: 1.2rem;
    }

    .auth-box {
        padding: 1rem;
    }

    .auth-box h1 {
        font-size: 1.3rem;
    }

    .auth-form .form-input {
        padding: 0.6rem 0.8rem;
    }

    .auth-form .btn {
        padding: 0.6rem;
    }
}



/* Dark mode footer styles */
[data-theme="dark"] footer {
    background-color: var(--bg-secondary);
    border-top-color: var(--border-color);
}

[data-theme="dark"] .footer-section h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .footer-section ul li a,
[data-theme="dark"] .footer-section ul li span {
    color: var(--text-primary);
}

[data-theme="dark"] .footer-section ul li i {
    color: #00a2ed;
}

[data-theme="dark"] .footer-section ul li a:hover {
    color: #00a2ed;
}

[data-theme="dark"] .footer-bottom {
    border-top-color: var(--border-color);
}

[data-theme="dark"] .footer-bottom p {
    color: var(--text-primary);
}

[data-theme="dark"] .social-link {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

[data-theme="dark"] .social-link:hover {
    background-color: #00a2ed;
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #0078d4;
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.footer-bottom p {
    color: #666;
    font-size: 0.9rem;
}

/* Dark Mode Footer Styles */
body.dark-mode footer {
    background-color: #1a1a1a;
    border-top-color: #333;
}

body.dark-mode .footer-section h3 {
    color: #fff;
}

body.dark-mode .footer-section ul li a {
    color: #ccc;
}

body.dark-mode .footer-section ul li i {
    color: #ccc;
}

body.dark-mode .social-link {
    background-color: #333;
    color: #ccc;
}

body.dark-mode .social-link:hover {
    background-color: #0078d4;
    color: white;
}

body.dark-mode .footer-bottom {
    border-top-color: #333;
}

body.dark-mode .footer-bottom p {
    color: #ccc;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section h3 {
        justify-content: center;
    }

    .footer-section ul li a {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Content Form Styles */
.content-form-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.form-header {
    margin-bottom: 2rem;
}

.form-header h1 {
    font-size: 2rem;
    color: #000;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: #666;
    font-size: 1.1rem;
}

.content-form {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #333;
    background-color: #fff;
    cursor: pointer;
    transition: border-color 0.2s;
}

.form-select:focus {
    outline: none;
    border-color: #0078d4;
}

.form-input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #333;
    transition: border-color 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: #0078d4;
}

.form-textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #333;
    transition: border-color 0.2s;
    resize: vertical;
}

.form-textarea:focus {
    outline: none;
    border-color: #0078d4;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background-color: #0078d4;
    color: #fff;
}

.btn-primary:hover {
    background-color: #106ebe;
}

.btn-secondary {
    background-color: #f8f9fa;
    color: #333;
    border: 1px solid #e5e5e5;
}

.btn-secondary:hover {
    background-color: #e5e5e5;
}

.btn-danger {
    background-color: #dc3545;
    color: #fff;
}

.btn-danger:hover {
    background-color: #c82333;
}

/* TinyMCE Editor Customization */
.tox-tinymce {
    border: 1px solid #e5e5e5 !important;
    border-radius: 4px !important;
}

.tox .tox-toolbar__group {
    padding: 0 5px !important;
}

.tox .tox-tbtn {
    color: #333 !important;
}

.tox .tox-tbtn:hover {
    background-color: #f8f9fa !important;
}

/* Responsive Design for Form */
@media (max-width: 768px) {
    .content-form-container {
        padding: 0 1rem;
    }

    .content-form {
        padding: 1rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

/* Legal Page Styles */
.legal-hero {
    background: linear-gradient(135deg, #0078d4, #00a2ed);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.legal-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.legal-hero p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

.legal-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.legal-section {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.legal-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.legal-section h2 {
    color: #0078d4;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.legal-section h2 i {
    font-size: 1.75rem;
    color: #0078d4;
}

.legal-text {
    color: #333;
    line-height: 1.6;
}

.legal-text p {
    margin-bottom: 1rem;
}

.legal-text ul {
    list-style: none;
    padding-left: 1.5rem;
}

.legal-text ul li {
    margin-bottom: 0.75rem;
    position: relative;
}

.legal-text ul li:before {
    content: "•";
    color: #0078d4;
    font-weight: bold;
    position: absolute;
    left: -1.5rem;
}

@media (max-width: 768px) {
    .legal-hero {
        padding: 3rem 1rem;
    }

    .legal-hero h1 {
        font-size: 2rem;
    }

    .legal-content {
        padding: 0 1rem;
    }

    .legal-section {
        padding: 1.5rem;
    }
}

/* Resources Page Styles */
.resources-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.resource-section {
    margin-bottom: 3rem;
}

.resource-section h2 {
    color: #0078d4;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.resource-section h2 i {
    width: 24px;
    text-align: center;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.resource-card {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.2s;
}

.resource-card:hover {
    transform: translateY(-5px);
}

.resource-card i {
    font-size: 2.5rem;
    color: #0078d4;
    margin-bottom: 1rem;
}

.resource-card h3 {
    color: #333;
    margin-bottom: 1rem;
}

.resource-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.resource-list {
    display: grid;
    gap: 1.5rem;
}

.resource-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.resource-item i {
    font-size: 1.5rem;
    color: #0078d4;
    width: 24px;
    text-align: center;
}

.resource-info h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.resource-info p {
    color: #666;
    margin-bottom: 0.5rem;
}

.resource-info .link {
    color: #0078d4;
    text-decoration: none;
    font-weight: 500;
}

.resource-info .link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 1rem;
    }

    .legal-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .legal-section h2 {
        font-size: 1.3rem;
    }

    .legal-text h3 {
        font-size: 1.1rem;
    }

    .resource-grid {
        grid-template-columns: 1fr;
    }
}

/* Legal Section Styles */
.legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.legal-card {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.legal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.legal-card-icon {
    width: 64px;
    height: 64px;
    background: #f0f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.legal-card-icon i {
    font-size: 1.8rem;
    color: #0078d4;
}

.legal-card h2 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.legal-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.legal-card-link {
    color: #0078d4;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legal-card-link i {
    transition: transform 0.2s ease;
}

.legal-card:hover .legal-card-link i {
    transform: translateX(5px);
}

/* Responsive adjustments for legal section */
@media (max-width: 768px) {
    .legal-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem 0;
    }

    .legal-card {
        padding: 1.5rem;
    }

    .legal-card-icon {
        width: 56px;
        height: 56px;
    }

    .legal-card-icon i {
        font-size: 1.5rem;
    }

    .legal-card h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .legal-grid {
        gap: 1rem;
        padding: 1rem 0;
    }

    .legal-card {
        padding: 1.2rem;
    }

    .legal-card-icon {
        width: 48px;
        height: 48px;
    }

    .legal-card-icon i {
        font-size: 1.3rem;
    }

    .legal-card h2 {
        font-size: 1.2rem;
    }

    .legal-card p {
        font-size: 0.9rem;
    }
}

.account-dropdown {
    margin-left: 1rem;
}

.account-dropdown .dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.account-dropdown .dropdown-trigger:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.account-dropdown .dropdown-content {
    min-width: 150px;
}

.account-dropdown .login-btn,
.account-dropdown .signup-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s;
}

.account-dropdown .login-btn:hover,
.account-dropdown .signup-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.account-dropdown .signup-btn {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .account-dropdown {
        margin-left: 0;
        margin-top: 0.5rem;
    }
    
    .account-dropdown .dropdown-trigger {
        padding: 0.75rem 1rem;
    }
}

/* Authentication Pages Styles */
.auth-container {
    min-height: calc(100vh - 60px - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    background-color: #f8f9fa;
}

.auth-box {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.auth-box h1 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.auth-box h1 i {
    color: #0078d4;
}

.auth-box p {
    color: #666;
    margin-bottom: 2rem;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.auth-form label i {
    color: #0078d4;
}

.auth-form .form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.auth-form .form-input:focus {
    outline: none;
    border-color: #0078d4;
}

.auth-form .btn {
    width: 100%;
    padding: 0.875rem;
    font-size: 1rem;
    margin-top: 1rem;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.auth-footer a {
    color: #0078d4;
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 576px) {
    .auth-container {
        padding: 1rem;
    }

    .auth-box {
        padding: 1.5rem;
    }

    .auth-box h1 {
        font-size: 1.5rem;
    }

    .auth-form .form-input {
        padding: 0.625rem 0.875rem;
    }

    .auth-form .btn {
        padding: 0.75rem;
    }
}

@media (max-width: 768px) {
    .auth-container {
        padding: 1.5rem;
    }

    .auth-box {
        padding: 2rem;
    }
}

.account-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.account-section .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    min-width: 100px;
    white-space: nowrap;
}

.account-section .btn-outline {
    color: #0078d4;
    border: 1px solid #0078d4;
    background: transparent;
}

.account-section .btn-outline:hover {
    background: #f0f7ff;
    color: #0078d4;
}

.account-section .btn-primary {
    background: #0078d4;
    color: #fff;
    border: none;
}

.account-section .btn-primary:hover {
    background: #106ebe;
    color: #fff;
}

@media (max-width: 992px) {
    .top-nav {
        padding: 0;
    }

    .nav-links {
        gap: 1rem;
    }

    .account-section {
        margin-left: 0;
    }
}

.user-profile {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    z-index: 99999;
}

.user-profile:hover {
    background-color: rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.user-avatar {
    width: 32px;
    height: 32px;
    background-color: #0078d4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.user-avatar i {
    font-size: 1rem;
}

.user-name {
    font-size: 0.9rem;
    color: #333;
}

.user-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-radius: 4px;
    padding: 0.5rem 0;
    z-index: 99999;
}

.user-profile:hover .user-dropdown {
    display: block;
}

.user-dropdown a {
    color: #333;
    text-decoration: none;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s ease;
}

.user-dropdown a:hover {
    background-color: #f0f7ff;
    color: #0078d4;
}

.user-dropdown a i {
    width: 16px;
    color: #666;
    text-align: center;
}

[data-theme="dark"] .user-profile:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .user-name {
    color: #fff;
}

[data-theme="dark"] .user-dropdown {
    background-color: #1a1a1a;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

[data-theme="dark"] .user-dropdown a {
    color: #fff;
}

[data-theme="dark"] .user-dropdown a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #00a2ed;
}

[data-theme="dark"] .user-dropdown a i {
    color: #999;
}

/* Theme Toggle Button */
.theme-toggle {
    position: relative;
    margin-right: 1rem;
}

.theme-toggle-btn {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: all 0.3s ease;
    width: 44px;
    height: 44px;
}

.theme-toggle-btn:hover {
    color: #0078d4;
    transform: rotate(180deg);
}

.theme-toggle-btn i {
    font-size: 1.2rem;
}

.theme-toggle-btn .fa-moon {
    display: none;
}

.theme-toggle-btn .fa-sun {
    display: block;
}

[data-theme="dark"] .theme-toggle-btn {
    color: #fff;
}

[data-theme="dark"] .theme-toggle-btn:hover {
    color: #00a2ed;
}

[data-theme="dark"] .theme-toggle-btn .fa-sun {
    display: none;
}

[data-theme="dark"] .theme-toggle-btn .fa-moon {
    display: block;
}

@media (max-width: 768px) {
    .theme-toggle {
        display: none;
    }

    .logo {
        padding-left: 1rem;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .mobile-menu-toggle {
        margin-left: auto;
        z-index: 1001;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: white;
        padding: 1rem;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    [data-theme="dark"] .nav-links {
        background-color: var(--bg-secondary);
    }

    [data-theme="dark"] .mobile-menu-toggle {
        color: var(--text-primary);
    }

    [data-theme="dark"] .top-nav {
        background-color: var(--bg-secondary);
        border-bottom: 1px solid var(--border-color);
    }
}

/* Dark Mode Styles */
[data-theme="dark"] {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --border-color: #404040;
    --hover-bg: #3d3d3d;
    --card-bg: #2d2d2d;
    --shadow-color: rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

[data-theme="dark"] .top-nav {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .nav-links {
    background-color: var(--bg-secondary);
}

[data-theme="dark"] .nav-links a {
    color: var(--text-primary);
}

[data-theme="dark"] .nav-links a:hover {
    color: #00a2ed;
}

[data-theme="dark"] .nav-links a i {
    color: var(--text-primary);
}

[data-theme="dark"] .dropdown-content {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .dropdown-content a {
    color: var(--text-primary);
}

[data-theme="dark"] .dropdown-content a:hover {
    background-color: var(--hover-bg);
    color: #00a2ed;
}

[data-theme="dark"] .dropdown-content a i {
    color: var(--text-secondary);
}

[data-theme="dark"] .dropdown-trigger {
    color: var(--text-primary);
}

[data-theme="dark"] .dropdown-trigger:hover {
    color: #00a2ed;
}

[data-theme="dark"] .dropdown-trigger i {
    color: var(--text-primary);
}

@media (max-width: 768px) {
    [data-theme="dark"] .nav-links {
        background-color: var(--bg-secondary);
    }

    [data-theme="dark"] .nav-links.active {
        background-color: var(--bg-secondary);
    }

    [data-theme="dark"] .dropdown-content {
        background-color: var(--bg-secondary);
        border: none;
    }

    [data-theme="dark"] .dropdown-content a {
        color: var(--text-primary);
    }

    [data-theme="dark"] .dropdown-content a:hover {
        background-color: var(--hover-bg);
        color: #00a2ed;
    }
}

/* Technology Pages Styles */
.tech-hero {
    background: linear-gradient(135deg, #0078d4 0%, #00a2ed 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.tech-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.tech-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

.tech-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.tech-section {
    margin-bottom: 4rem;
}

.tech-section h2 {
    color: #0078d4;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tech-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.tech-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.tech-card h3 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.tech-card ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.tech-card ul li {
    margin-bottom: 0.4rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.tech-card ul li:before {
    content: "•";
    color: #0078d4;
    font-weight: bold;
    margin-right: 0.5rem;
}

.tech-card .button {
    width: 100%;
    text-align: center;
}

/* Dark Theme for Tech Pages */
[data-theme="dark"] .tech-card {
    background-color: var(--card-bg);
}

[data-theme="dark"] .tech-card h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .tech-card ul li {
    color: var(--text-secondary);
}

/* Responsive Design for Tech Pages */
@media (max-width: 768px) {
    .tech-hero {
        padding: 3rem 1rem;
    }

    .tech-hero h1 {
        font-size: 2rem;
    }

    .tech-grid {
        padding: 0 1rem;
    }

    .tech-section h2 {
        font-size: 1.75rem;
    }

    .tech-cards {
        grid-template-columns: 1fr;
    }
}

.last-updated {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: -10px;
    padding: 4px 8px;
    background-color: var(--bg-secondary);
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: absolute;
    top: 10px;
    right: 10px;
}

.last-updated i {
    color: var(--accent-color);
}

/* Dark mode specific styles */
[data-theme="dark"] .last-updated {
    background-color: var(--bg-secondary-dark);
    color: var(--text-secondary-dark);
}

/* Add position relative to sections and cards */
section, .tech-card {
    position: relative;
    padding-top: 58px;
}

/* Adjust spacing for sections with last-updated */
section h1, section h2, .tech-card h3 {
    margin-top: 0;
}

@media (max-width: 1200px) {
    .tech-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tech-cards {
        grid-template-columns: 1fr;
    }
}

/* Profile Page Styles */
.profile-container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.profile-avatar {
    position: relative;
    width: 150px;
    height: 150px;
}

.avatar-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.change-avatar-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #0078d4;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.change-avatar-btn:hover {
    background: #106ebe;
}

.profile-info h1 {
    margin-bottom: 0.5rem;
}

.user-role {
    color: #666;
    font-size: 1.1rem;
}

.profile-section {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.profile-section h2 {
    color: #0078d4;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.profile-section h2 i {
    font-size: 1.5rem;
}

.notification-settings {
    display: grid;
    gap: 1.5rem;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 4px;
}

.setting-info h3 {
    margin-bottom: 0.25rem;
}

.setting-info p {
    color: #666;
    font-size: 0.9rem;
}

/* Settings Page Styles */
.settings-container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.settings-header {
    margin-bottom: 3rem;
}

.settings-header h1 {
    color: #0078d4;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.settings-header p {
    color: #666;
}

.settings-section {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.settings-section h2 {
    color: #0078d4;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.settings-section h2 i {
    font-size: 1.5rem;
}

.toggle-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.toggle-label {
    color: #666;
}

.danger-zone {
    padding: 2rem;
    background: #fff5f5;
    border: 1px solid #ffcdd2;
    border-radius: 4px;
    text-align: center;
}

.danger-zone p {
    color: #d32f2f;
    margin-bottom: 1rem;
}

/* Notifications Page Styles */
.notifications-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.notifications-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.notifications-header h1 {
    color: #0078d4;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.notifications-actions {
    display: flex;
    gap: 1rem;
}

.notifications-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: white;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn.active {
    background: #0078d4;
    color: white;
    border-color: #0078d4;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.notification-item.unread {
    background: #f0f7ff;
    border-left: 4px solid #0078d4;
}

.notification-icon {
    width: 40px;
    height: 40px;
    background: #f0f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0078d4;
}

.notification-content {
    flex: 1;
}

.notification-content h3 {
    margin-bottom: 0.25rem;
}

.notification-content p {
    color: #666;
    margin-bottom: 0.5rem;
}

.notification-time {
    font-size: 0.8rem;
    color: #999;
}

.notification-actions {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s;
}

.action-btn:hover {
    background: #f0f0f0;
    color: #0078d4;
}

.notifications-empty {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.notifications-empty i {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 1rem;
}

.notifications-empty h3 {
    margin-bottom: 0.5rem;
}

.notifications-empty p {
    color: #666;
}

/* Dark Mode Styles for New Pages */
[data-theme="dark"] .profile-header,
[data-theme="dark"] .profile-section,
[data-theme="dark"] .settings-section,
[data-theme="dark"] .notification-item,
[data-theme="dark"] .notifications-empty {
    background-color: var(--card-bg);
}

[data-theme="dark"] .profile-info h1,
[data-theme="dark"] .settings-header h1,
[data-theme="dark"] .notifications-header h1 {
    color: var(--text-primary);
}

[data-theme="dark"] .user-role,
[data-theme="dark"] .setting-info p,
[data-theme="dark"] .settings-header p,
[data-theme="dark"] .notification-content p,
[data-theme="dark"] .notifications-empty p {
    color: var(--text-secondary);
}

[data-theme="dark"] .notification-item.unread {
    background: rgba(0, 120, 212, 0.1);
}

[data-theme="dark"] .filter-btn {
    background: var(--card-bg);
    border-color: var(--border-color);
    color: var(--text-secondary);
}

[data-theme="dark"] .filter-btn.active {
    background: #0078d4;
    color: white;
    border-color: #0078d4;
}

[data-theme="dark"] .action-btn:hover {
    background: var(--hover-bg);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .notifications-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .notifications-actions {
        width: 100%;
        justify-content: center;
    }

    .notifications-filters {
        justify-content: center;
    }

    .notification-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .notification-actions {
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .profile-container,
    .settings-container,
    .notifications-container {
        padding: 0 1rem;
    }

    .profile-section,
    .settings-section,
    .notification-item {
        padding: 1rem;
    }

    .notifications-filters {
        flex-direction: column;
    }

    .filter-btn {
        width: 100%;
    }
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    margin-left: 1rem;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .top-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: white;
        padding: 0;
        flex-direction: row;
        align-items: center;
        z-index: 1000;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        height: 60px;
    }

    .logo {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .logo-text {
        margin-right: 0;
    }

    .nav-links {
        display: none;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: white;
        padding: 1rem;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-links.active {
        display: flow-root;
        flex-direction: column;
        gap: 1rem;
    }

    [data-theme="dark"] .mobile-menu-toggle {
        color: var(--text-primary);
    }
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Add animation classes to elements */
.hero-section h1,
.hero-section p,
.card,
.footer-section h3,
.footer-section ul li {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.hero-section h1.visible,
.hero-section p.visible,
.card.visible,
.footer-section h3.visible,
.footer-section ul li.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Add staggered delays for cards */
.card:nth-child(1) { transition-delay: 0.1s; }
.card:nth-child(2) { transition-delay: 0.2s; }
.card:nth-child(3) { transition-delay: 0.3s; }
.card:nth-child(4) { transition-delay: 0.4s; }
.card:nth-child(5) { transition-delay: 0.5s; }
.card:nth-child(6) { transition-delay: 0.6s; }

/* Add staggered delays for footer items */
.footer-section ul li:nth-child(1) { transition-delay: 0.1s; }
.footer-section ul li:nth-child(2) { transition-delay: 0.2s; }
.footer-section ul li:nth-child(3) { transition-delay: 0.3s; }




/* Main wrapper */
.code-toolbar {
    background: #f8f9fa;
    border-radius: 8px;
    box-sizing: border-box;
    overflow: hidden; /* Hide scrollbars */
    width: 100%;
    max-width: 100%;
    margin-bottom:10px;
    margin-top:10px;
}

    /* Make the <pre> element wrap like paragraph */
    .code-toolbar pre[class*="language-"] {
        white-space: pre-wrap !important; /* ✅ allow wrapping */
        word-break: break-word !important; /* ✅ wrap long words */
        overflow-wrap: break-word;
        margin: 0;
        padding: 0;
        overflow: hidden; /* Remove horizontal scroll */
    }

    /* Ensure <code> inside <pre> also behaves */
    .code-toolbar code[class*="language-"] {
        white-space: pre-wrap !important;
        word-break: break-word !important;
        overflow-wrap: break-word;
        display: block;
    }

    /* Optional: Style the toolbar copy button */
    .code-toolbar .toolbar {
        position: absolute;
        top: 8px;
        right: 8px;
        z-index: 2;
    }

        .code-toolbar .toolbar .toolbar-item button {
            background: #0078d4;
            color: white;
            border: none;
            padding: 4px 10px;
            border-radius: 4px;
            font-size: 0.8rem;
            cursor: pointer;
        }

            


.copy-to-clipboard-button{
    margin-right:12px;
}

@media (max-width: 768px) {
    .code-toolbar pre[class*="language-"],
    .code-toolbar code[class*="language-"] {
        white-space: pre-wrap !important;
        word-break: break-word !important;
    }
}

.custom-download-btn {
    display: inline-block;
    background-color: #0078d4;
    color: white;
    padding: 2.5px 5px;
    font-size: 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

    .custom-download-btn:hover {
        background-color: #005a9e;
        transform: scale(1.05);
        text-decoration: none;
    }





.blog-banner-full {
    width: 100%;
    background-color: #e6f0fb;
    padding: 30px 20px;
    border-top: 3px solid #0078d4;
    border-bottom: 3px solid #0078d4;
    box-shadow: 0 2px 6px rgba(0, 120, 212, 0.2);
    margin-top: 30px;
}

.blog-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

    .blog-banner-inner h2 {
        color: #005a9e;
        font-size: 28px;
        margin-bottom: 15px;
    }

    .blog-banner-inner p {
        font-size: 16px;
        color: #333;
        line-height: 1.6;
    }

#toc a {
    display: block;
    margin: 5px 0;
    transition: font-weight 0.3s;
}

    #toc a:hover {
        text-decoration: underline;
    }





/* Drawer Toggle Buttons */
.drawer-toggles {
    display: none;
    justify-content: space-between;
    padding: 10px;
    background-color: #f0f0f0;
    z-index: 1050;
    position: relative;
}

    .drawer-toggles button {
        background-color: #0078d4;
        color: white;
        border: none;
        padding: 10px 15px;
        font-size: 16px;
        border-radius: 4px;
        cursor: pointer;
    }

/* ✅ Only apply drawer styles in mobile view */
@media (max-width: 768px) {
    .drawer-toggles {
        display: flex;
    }

    .page-layout {
        flex-direction: column;
    }
    .right-drawer-nav {
        position: fixed;
        top: 11px;
    }
        .left-drawer-nav, .right-drawer-nav {
        position: fixed;
        top: 0px;
        height: 100%;
        width: 260px;
        background-color: #f9f9f9;
        z-index: 1000;
        transition: transform 0.3s ease-in-out;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }

    .left-drawer-nav {
        left: 0;
        transform: translateX(-100%);
    }

    .right-drawer-nav {
        right: 0;
        transform: translateX(100%);
    }

    .left-drawer-nav.active {
        transform: translateX(0);
    }

    .right-drawer-nav.active {
        transform: translateX(0);
    }
}


.drawer-toggles-floating {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1100;
}

    .drawer-toggles-floating .btn {
        width: 45px;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    }

/*@media (min-width: 768px) {
    .drawer-toggles-floating {
        display: none;
    }
}*/


/* ✅ Right Drawer Hidden by Default on ≤ 992px */
@media (max-width: 992px) {
    .right-drawer-nav {
        position: fixed;
        top: 0px;
        right: 0;
        height: 100%;
        width: 260px;
        background-color: #f9f9f9;
        z-index: 1000;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    }

        .right-drawer-nav.active {
            transform: translateX(0%);
        }

    .drawer-toggles-floating {
        display: flex;
        flex-direction: column;
        gap: 10px;
        position: fixed;
        bottom: 20px;
        left: 20px;
        z-index: 1100;
    }

        .drawer-toggles-floating .btn {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        }
}


@media (min-width: 993px) {
    .toggle-left {
        display: none !important;
    }
    .toggle-right {
        display: none !important;
    }
}

@media (min-width: 769px) {

    .toggle-left {
        display: none !important;
    }
}



/* Animated gradient backgrounds on all headings inside .main-content */

.main-content h2,
.main-content h3,
.main-content h4,
.main-content h5,
.main-content h6 {
 
    background-size: 200% 200%;
  
    
    padding: 0.1em 0.25em;
    border-radius: 4px;
    margin-top: 2em;
    margin-bottom: 0.75em;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


.intro {
    font-family: Arial, sans-serif;
    margin-bottom: 1em;
    line-height: 1.4;
}

.tree,
.tree ul {
    list-style: none;
    margin: 0;
    padding: 0 0 0 1em;
    position: relative;
    font-family: Arial, sans-serif;
}

    .tree li {
        margin: 0.5em 0;
        padding: 0.25em 0 0.25em 1em;
        position: relative;
    }

        /* horizontal connector */
        .tree li::before {
            content: "";
            position: absolute;
            top: 1em;
            left: 0;
            width: 1em;
            border-top: 1px solid #ccc;
        }

    /* vertical connector */
    .tree ul::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        border-left: 1px solid #ccc;
    }

    .tree li .topic {
        font-weight: bold;
        margin: 0.5em 0;
    }


     .tree > li:first-child::before {
        display: none;
    }
.nav-section {
    background: #f8f9fa; /* light background */
    
    border-radius: 0.5rem;
   
    margin-bottom: 1rem;
}

    .nav-section h3 {
        font-size: 1rem;
        margin-bottom: 1rem;
        color: #000;
        font-weight: 600;
    }
    .nav-section h3 {
        font-size: 1rem;
        margin-bottom: 1rem;
        color: #000;
        font-weight: 600;
        position: relative;
        padding-bottom: 0.5rem;
    }

        .nav-section h3::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background-color: deepskyblue; /* light gray line */
            border-radius: 2px;
        }



.subject-icon {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes spinY {
    0% {
        transform: rotateY(0deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}

.animate-icon {
    animation: spinY 3s linear infinite;
    transform-style: preserve-3d;
}

@media (max-width: 768px) {
    .tech-card, .compare-box {
        flex: 1 1 100%;
    }
}

.side-nav {
    overflow: hidden;
    scrollbar-width: none; /* For Firefox */
}

    .side-nav::-webkit-scrollbar {
        display: none; /* For Chrome, Safari, Edge */
    }

.dashboard-container {
    display: flex;
    flex-wrap: wrap;
    gap:60px;
    margin-top: 50px;
    margin-bottom: 50px;
    justify-content: center;
}

.summary-card {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 300px;
    box-sizing: border-box;
    transition: box-shadow 0.3s ease;
    margin-left: 13px;
    margin-right: 13px;
}

    .summary-card:hover {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    }

.summary-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}

.title-blue {
    color: #0d6efd;
}

.title-green {
    color: #198754;
}

.title-purple {
    color: #6f42c1;
}

.summary-number {
    font-size: 32px;
    font-weight: bold;
    color: #212529;
    margin-bottom: 4px;
}

.summary-description {
    font-size: 14px;
    color: #6c757d;
}

.active-dot {
    height: 10px;
    width: 10px;
    background-color: #28a745;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.2;
    }
}

@media (max-width: 768px) {
    .summary-card {
        width: 100%;
    }
}

.subscription-section {
   
    text-align: center;
    padding: 60px 20px;
    border-radius: 16px;
    max-width: 100%;
}

    .subscription-section svg {
        width: 40px;
        height: 40px;
        color: #2b2b2b;
        margin-bottom: 20px;
    }

    .subscription-section h2 {
        font-size: 28px;
        font-weight: 700;
        color: #111;
        margin-bottom: 10px;
    }

    .subscription-section p {
        font-size: 16px;
        color: #444;
        margin: 0;
    }

        .subscription-section p strong {
            color: #000;
        }

.subscription-form {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

    .subscription-form input[type="email"] {
        padding: 12px 20px;
        font-size: 16px;
       
        border-radius: 6px;
        min-width: 250px;
        outline: none;
    }

    .subscription-form button {
        padding: 12px 24px;
        font-size: 16px;
        background-color: rgb(0, 120, 212);
        color: white;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        transition: background-color 0.3s;
    }

        .subscription-form button:hover {
            background-color: #1d4ed8;
        }



h2 {
    font-size: 26px;
    font-weight: bold;
    color: #111;
    margin-bottom: 30px;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    font-family:'Times New Roman'
}

.course-card {
    background-color: #f9fbfd;
    border: 1px solid #ddd;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s;
}

    .course-card:hover {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    }

.course-title {
    font-size: 18px;
    font-weight: bold;
    color: #0d3b9d;
    margin-bottom: 8px;
}

.course-desc {
    font-size: 14px;
    color: #333;
    margin-bottom: 15px;
}

.download-btn {
    background-color: rgb(0, 120, 212);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 16px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

    .download-btn:hover {
        background-color: #1d4ed8;
    }

.ai-teacher {
    color: red;
    animation: blink 2s infinite;
    
}

@keyframes blink {
    0%, 50%, 100% {
        opacity: 1;
    }

    25%, 75% {
        opacity: 0;
    }
}

.ai-label {
    font-family: 'Times New Roman';
    color:deepskyblue
}

