:root {
    --primary-color: #4f46e5;
    --secondary-color: #7c3aed;
    --tag-color: #64748b;
    --text-color: #0f172a;
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --shadow-color: rgba(15, 23, 42, 0.08);
    --success-color: #10b981;
    --error-color: #ef4444;
}

.dark-mode {
    --tag-color: #94a3b8;
    --text-color: #f8fafc;
    --bg-color: #0f172a;
    --card-bg: #1e293b;
    --shadow-color: rgba(0, 0, 0, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: color-mix(in srgb, var(--card-bg) 75%, transparent);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 6px -1px var(--shadow-color);
    border-bottom: 1px solid var(--shadow-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    animation: rotateLogo 10s linear infinite;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

@keyframes rotateLogo {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    visibility: hidden;
}

.nav-links a {
    position: relative;
    text-decoration: none;
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
    background-color: var(--shadow-color);
    transform: translateY(-2px);
}

.nav-links a.active {
    color: var(--primary-color);
    background-color: var(--shadow-color);
    font-weight: bold;
}

.theme-toggle,
.mobile-menu {
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-color);
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.theme-toggle:hover,
.mobile-menu:hover {
    background-color: var(--shadow-color);
}

.mobile-menu {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    font-size: 1.5rem;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.mobile-menu:hover {
    color: var(--primary-color);
}

.hero {
    padding: 8rem 5% 4rem;
    text-align: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-about {
    margin-top: 2rem;
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 3rem;
    line-height: 1.5;
    text-align: justify;
    margin-left: 1rem;
    margin-right: 1rem;
}

.hero-about h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.hero-about span {
    color: var(--primary-color);
}

.hero-associations {
    margin-top: 2rem;
}

.hero-associations h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.association-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.association-logos img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
}

.hero-investment {
    margin-top: 2rem;
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.5;
    /* text-align: justify; */
}

.hero-investment h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.investments {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.investment {
    background: color-mix(in srgb, var(--card-bg) 60%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid color-mix(in srgb, var(--text-color) 10%, transparent);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 16px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: center;
    text-align: left;
}

.investment:hover {
    transform: translateY(-5px);
}

.investment h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 2rem;
}

.investment hr {
    border: 1px solid var(--tag-color);
    margin: 1rem 0;
}

.investment i {
    color: var(--tag-color);
}

.investment p {
    color: var(--tag-color);
    font-weight: 500;
    margin-bottom: 3px;
}

.investment span {
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 10px;
}

.investment button {
    background-color: var(--primary-color);
    color: var(--text-color);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    font-size: 20px;
    font-weight: 600;
    margin-top: 10px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn.primary {
    background-color: var(--primary-color);
    color: white;
}

.btn.secondary {
    background-color: var(--secondary-color);
    color: white;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card {
    background: color-mix(in srgb, var(--card-bg) 60%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid color-mix(in srgb, var(--text-color) 10%, transparent);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 16px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
}

footer {
    background-color: var(--card-bg);
    padding: 3rem 5% 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section a {
    display: block;
    color: var(--text-color);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

/* Mobile Menu Styles */
.mobile-menu {
    background: none;
    border: none;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: rotate(90deg);
}

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

.no-scroll {
    overflow: hidden;
}

.support {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10px;
    background-color: var(--card-bg);
    box-shadow: 0 2px 5px var(--success-color);
    border-radius: 50%;
    margin-bottom: 2rem;
    position: fixed;
    bottom: 1rem;
    right: 5%;
    animation: pulse 1.5s infinite;
    z-index: 1000;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 5px var(--success-color);
    }

    50% {
        box-shadow: 0 0 20px var(--success-color);
    }

    100% {
        box-shadow: 0 0 5px var(--success-color);
    }
}


.support a {
    text-decoration: none;
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.support:hover {
    box-shadow: 0 5px 10px var(--success-color);
}

@media screen and (max-width: 768px) {
    /* .sidebar {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 4rem;
        overflow: hidden;
        background: var(--bg-color);
        z-index: 1000;
        transition: height 0.3s ease;
        padding: 0 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    

    

    .sidebar .dashboard-nav a {
        display: block;
        padding: 1rem;
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
        background-color: var(--card-bg);
        border-radius: 5px;
    }

    .sidebar .dashboard-nav a:hover,
    .sidebar .dashboard-nav a.active {
        background-color: var(--primary-color);
        color: white;
    } */

    .dashboard-container {
        padding-top: 5rem;
    }

    body.no-scroll {
        overflow: hidden;
    }


    .dashboard-container {
        margin: 0 !important;
        padding: 4rem 1rem 1rem 1rem;
    }

    .dashboard-main {
        margin-left: 0 !important;
        width: 100%;
        padding: 0;
    }

    .navbar {
        height: 4rem;
    }

    body.no-scroll {
        overflow: hidden;
    }
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    font-size: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--shadow-color);
}

@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: var(--card-bg);
        padding: 1rem;
        box-shadow: 0 2px 5px var(--shadow-color);
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        padding: 1rem;
        text-align: center;
        border-radius: 5px;
    }

    .nav-links a:hover {
        background-color: var(--shadow-color);
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

/* Animations and Premium Layout */

/* Moving Background Shapes */
.bg-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    filter: blur(80px);
    opacity: 0.5;
    border-radius: 50%;
    animation: float 15s infinite ease-in-out alternate;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 350px;
    height: 350px;
    background: var(--secondary-color);
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
    animation-duration: 20s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: var(--success-color);
    top: 40%;
    left: 45%;
    animation-delay: -10s;
    opacity: 0.3;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(40px, 60px) scale(1.1);
    }
}

/* Fade in for main content */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Glassmorphism Panel Utility */
.glass-panel {
    background: color-mix(in srgb, var(--card-bg) 60%, transparent);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid color-mix(in srgb, var(--text-color) 10%, transparent);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-color);
}

/* Revamped Landing Page Styles */
.hero-section {
    padding: 8rem 5% 4rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 2.5rem;
    max-width: 80%;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-buttons-left {
    display: flex;
    gap: 1rem;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Abstract CSS Graphic */
.hero-graphics {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.abstract-graphic {
    position: relative;
    width: 300px;
    height: 300px;
}

.glass-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    background: color-mix(in srgb, var(--primary-color) 40%, transparent);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5rem;
    color: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    z-index: 2;
    animation: orb-float 6s infinite ease-in-out;
}

.circle-1,
.circle-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    z-index: 1;
}

.circle-1 {
    width: 250px;
    height: 250px;
    background: var(--primary-color);
    top: -20%;
    left: -20%;
    animation: pulse 8s infinite alternate;
}

.circle-2 {
    width: 200px;
    height: 200px;
    background: var(--secondary-color);
    bottom: -10%;
    right: -10%;
    animation: pulse 10s infinite alternate-reverse;
}

@keyframes orb-float {
    0% {
        transform: translate(-50%, -50%);
    }

    50% {
        transform: translate(-50%, -60%);
    }

    100% {
        transform: translate(-50%, -50%);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.2);
        opacity: 0.9;
    }
}

/* Features Override */
.icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.icon-wrapper i {
    font-size: 1.8rem;
    color: white !important;
    margin-bottom: 0 !important;
}

/* About Grid */
.about-grid {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.about-text {
    width: 50%;
}

.about-list ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-list li {
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.text-success {
    color: var(--success-color);
    font-size: 1.5rem;
    margin-top: 3px;
}

/* Marquee */
.marquee-wrapper {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    padding: 2rem 0;
}

.marquee {
    display: inline-block;
    animation: slide-left 20s linear infinite;
}

.marquee img {
    height: 70px;
    margin: 0 4rem;
    vertical-align: middle;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.3s ease;
}

.marquee img:hover {
    filter: grayscale(0%) opacity(1);
}

@keyframes slide-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Pricing Overrides */
.hero-investment {
    padding: 4rem 5%;
    text-align: center;
}

.section-subtitle {
    margin-bottom: 3rem;
    color: var(--tag-color);
}

.tier-badge {
    font-weight: bold;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.plan-features {
    list-style: none;
    text-align: left;
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding-left: 0;
}

.plan-features i {
    color: var(--success-color) !important;
    margin-right: 0.5rem;
}

.btn.block {
    width: 100%;
    margin-top: 1rem;
    background: var(--card-bg);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    cursor: pointer;
}

.btn.block:hover {
    background: var(--primary-color);
    color: white;
}

.highlight-tier {
    transform: scale(1.05);
    border: 2px solid var(--primary-color) !important;
    position: relative;
    box-shadow: 0 15px 35px rgba(79, 70, 229, 0.2) !important;
}

.highlight-tier .btn.block {
    background: var(--primary-color);
    color: white;
}

.highlight-tier:hover {
    transform: scale(1.08);
}

.popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

@media (max-width: 992px) {

    .hero-grid,
    .about-grid {
        display: grid;
        grid-template-columns: 1fr;
    }

    .about-text{
        width: 100%;
    }
    .about-text h2 {
        width: 75%;
    }

    .hero-text {
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }

    .cta-buttons-left {
        justify-content: center;
    }

    .highlight-tier {
        transform: scale(1);
    }

    .highlight-tier:hover {
        transform: translateY(-5px);
    }
}