:root {
    --primary-color: #d90057ce;
    --dark-color: #d90057ce;
    --features-bg: #d90057ce; /* Light grey background for features section */
    --cta-bg: #d90057ce; /* Blue background for CTA section */
    --card-bg: #0000003f; /* White background for cards */
    --icon-color: #d90057ce; /* Blue color for icons */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #000000;
    color: #ffffff; /* Default text color - change this to change all default text */
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Grid pattern overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(37, 150, 190, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 150, 190, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridShift 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes gridShift {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 50px;
    }
}

/* Main glowing light effects with particles */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        /* Glows */
        radial-gradient(circle 800px at 90% 10%, rgba(217, 0, 87, 0.212) 0%, rgba(217, 0, 87, 0.199) 30%, transparent 60%),
        radial-gradient(ellipse 600px 900px at 10% 90%, rgba(217, 0, 87, 0.199) 0%, rgba(217, 0, 87, 0.199) 40%, transparent 70%),
        radial-gradient(circle 500px at 50% 50%, rgba(217, 0, 87, 0.199) 0%, transparent 60%),
        /* Animated particles */
        radial-gradient(2px 2px at 20% 30%, rgba(217, 0, 87), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(217, 0, 87), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(217, 0, 87), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(217, 0, 87), transparent),
        radial-gradient(2px 2px at 90% 40%, rgba(217, 0, 87), transparent),
        radial-gradient(1px 1px at 30% 60%, rgba(217, 0, 87), transparent),
        radial-gradient(2px 2px at 40% 80%, rgba(217, 0, 87), transparent),
        radial-gradient(1px 1px at 70% 20%, rgba(217, 0, 87), transparent),
        radial-gradient(2px 2px at 15% 50%, rgba(217, 0, 87), transparent),
        radial-gradient(1px 1px at 85% 75%, rgba(217, 0, 87), transparent),
        radial-gradient(2px 2px at 55% 15%, rgba(217, 0, 87), transparent),
        radial-gradient(1px 1px at 25% 85%, rgba(217, 0, 87), transparent),
        radial-gradient(2px 2px at 75% 55%, rgba(217, 0, 87), transparent),
        radial-gradient(1px 1px at 45% 25%, rgba(217, 0, 87), transparent),
        radial-gradient(2px 2px at 65% 90%, rgba(217, 0, 87), transparent);
    background-size: 100% 100%, 100% 100%, 100% 100%, 
        200px 200px, 200px 200px, 200px 200px, 200px 200px, 
        200px 200px, 200px 200px, 200px 200px, 200px 200px, 
        200px 200px, 200px 200px, 200px 200px, 200px 200px, 200px 200px;
    background-repeat: no-repeat, no-repeat, no-repeat, 
        repeat, repeat, repeat, repeat, repeat, repeat, repeat, 
        repeat, repeat, repeat, repeat, repeat, repeat, repeat;
    animation: glowPulse 6s ease-in-out infinite, particleFloat 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.85;
        transform: scale(1.05);
    }
}

@keyframes particleFloat {
    0% {
        background-position: 0% 0%, 0% 0%, 0% 0%, 
            0% 0%, 10% 20%, 20% 40%, 30% 10%, 
            40% 60%, 50% 30%, 60% 70%, 70% 50%, 
            80% 80%, 90% 15%, 15% 90%, 25% 25%, 
            75% 75%, 85% 45%;
    }
    100% {
        background-position: 0% 0%, 0% 0%, 0% 0%, 
            100% 100%, 90% 80%, 80% 60%, 70% 90%, 
            60% 40%, 50% 70%, 40% 30%, 30% 50%, 
            20% 20%, 10% 85%, 85% 10%, 75% 75%, 
            25% 25%, 15% 55%;
    }
}

.hero-section {
    background: transparent;
    padding-top: 80px;
    position: relative;
    z-index: 1;
}

.hero-image {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.8rem;
    padding: 0.5rem 0; /* Adjust vertical padding to control navbar height */
}

.navbar-logo {
    height: 60px;     
    width: auto;         
    max-width: 300px;
    transform: scale(1.3); /* Scale it up visually */
    transform-origin: left center; /* Scale from left side */
}

/* Make navbar links bigger */
.nav-link {
    font-size: 1.15rem !important;
    padding: 0.75rem 1rem !important;
    transition: color 0.3s ease !important;
}

/* Navbar link hover effect - highlight text/icon with brand color */
.nav-link:hover {
    color: #D90057 !important;
}

.nav-link:hover i {
    color: #D90057 !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border-radius: 50px;
    box-shadow: 0 0 20px rgba(217, 0, 87, 0.5);
    color: #ffffff !important;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background-color: #D90057;
    border-color: #D90057;
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(217, 0, 87, 0.8);
    color: #ffffff !important;
}

/* Button hover effect - highlight text/icon for non-primary buttons */
.btn:not(.btn-primary):hover {
    color: #D90057 !important;
}

.btn:not(.btn-primary):hover i {
    color: #D90057 !important;
}

.pricing-section {
    padding-top: 100px;
}

/* Pricing cards text color - make all text white */
.pricing-section .card,
.pricing-section .card-body,
.pricing-section .card-title,
.pricing-section .card-body li,
.pricing-section .card-body .display-4,
.pricing-section .card-body .text-muted,
.pricing-section .card-body span {
    color: #ffffff !important;
}

.login-section, .signup-section, .profile-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    padding-top: 150px;
}

/* Profile page text colors */
.profile-section .card-body {
    color: #ffffff !important;
}

.profile-section .card-body strong {
    color: #ffffff !important;
}

.blog-section {
    padding-top: 100px;
}

/* Footer styling - transparent background */
footer,
footer.bg-dark,
footer[class*="bg-dark"],
body footer {
    margin-top: auto !important;
    background-color: transparent !important;
    background: transparent !important;
    position: relative;
    z-index: 1;
}

footer .container {
    padding-left: 13rem !important;
}

/* Ensure footer background is always transparent */
footer[style*="background"] {
    background-color: transparent !important;
    background: transparent !important;
}

footer h4,
footer h5 {
    color: #ffffff !important;
    font-size: 1.5rem;
    font-weight: bold;
}

footer h5 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

footer .text-white-50 {
    color: rgba(255, 255, 255, 0.7) !important;
}

footer ul li a {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1rem;
    display: block;
}

footer ul li a:hover {
    color: #D90057 !important;
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: #D90057 !important;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #000000;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ffffff;
}

.btn-custom-signin {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer;
    display: flex !important;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
    width: 100%;
    min-height: 35px;
}

.btn-custom-signin:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.btn-custom-signin:active {
    transform: scale(0.98);
}

.btn-custom-signin svg {
    width: 94px !important;
    height: 34px !important;
    display: block !important;
    flex-shrink: 0;
    margin: 0 auto;
}

/* Google Sign-In Button */
.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #000000;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.btn-google:hover {
    background: #f5f5f5;
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
    color: #000000;
}

.btn-google:active {
    transform: translateY(0);
}

.btn-google svg {
    flex-shrink: 0;
}

/* Divider */
.divider {
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.divider-text {
    position: relative;
    background: var(--card-bg);
    padding: 0 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.custom-signin-btn {
    display: inline-flex;
    align-items: center;
    padding: 0;
    background: none;
    border: none;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.custom-signin-btn:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.custom-signin-btn:active {
    transform: scale(0.98);
}

.custom-signin-btn svg {
    display: block;
    height: 34px;
    width: auto;
}

/* Color overrides for sections */
.bg-light {
    background-color: transparent !important;
}

.bg-primary {
    background-color: #D90057 !important;
}

.text-primary {
    color: var(--icon-color) !important; /* Icons and primary-colored text - change --icon-color variable above */
}

/* Override Bootstrap text classes if needed */
.text-white {
    color: #ffffff !important; /* White text color - change this value */
}

.text-muted {
    color: #6c757d !important; /* Muted/gray text color - change this value */
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important; /* Semi-transparent white - adjust opacity value (0.0-1.0) */
}

/* Icon animations */
.fas, .fab {
    transition: transform 0.3s ease;
}

.card:hover .fas,
.card:hover .fab {
    transform: scale(1.1) rotate(5deg);
}

/* Smooth entrance for navbar */
.navbar:not(.nav-modern) {
    animation: slideDown 0.5s ease-out;
    background-color: transparent !important;
    min-height: 70px;
    padding: 0.75rem 0;
}

/* Don't apply old navbar styles to modern nav */
.nav-modern {
    animation: none !important;
    min-height: auto !important;
}

/* Make dropdown text bigger */
.navbar .dropdown-toggle,
.navbar .dropdown-item {
    font-size: 1.15rem !important;
}

.navbar .dropdown-toggle i {
    font-size: 1.2rem !important;
}

/* Remove background from dropdown items */
.navbar .dropdown-menu-dark,
.navbar .dropdown-menu-dark .dropdown-item {
    background-color: transparent !important;
}

.navbar .dropdown-menu-dark .dropdown-item:hover {
    background-color: transparent !important;
    color: #D90057 !important;
}

.navbar .dropdown-menu-dark .dropdown-item:hover i {
    color: #D90057 !important;
}

/* User dropdown menu styling */
.navbar .dropdown-menu {
    background-color: transparent !important;
    border: none !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    left: auto !important;
    right: -40px !important;
    transform: translateX(0) !important;
}

.navbar .dropdown-menu .dropdown-item {
    background-color: transparent !important;
    color: #ffffff !important;
}

.navbar .dropdown-menu .dropdown-item:hover {
    background-color: transparent !important;
    color: #D90057 !important;
}

.navbar .dropdown-menu .dropdown-item:hover i {
    color: #D90057 !important;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.card {
    background-color: var(--card-bg) !important;
}

/* Page animations */
section {
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section h1,
.hero-section p,
.hero-section .d-flex {
    animation: fadeInUp 1s ease-out;
}

.hero-section .d-flex {
    animation-delay: 0.2s;
    animation-fill-mode: both;
}

.hero-section p {
    animation-delay: 0.1s;
    animation-fill-mode: both;
}

/* Features section animations */
#features .card {
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

/* Features cards text color - make all text white */
#features .card,
#features .card-body,
#features .card-title,
#features .card-text {
    color: #ffffff !important;
}

#features .card:nth-child(1) { animation-delay: 0.1s; }
#features .card:nth-child(2) { animation-delay: 0.2s; }
#features .card:nth-child(3) { animation-delay: 0.3s; }
#features .card:nth-child(4) { animation-delay: 0.4s; }
#features .card:nth-child(5) { animation-delay: 0.5s; }
#features .card:nth-child(6) { animation-delay: 0.6s; }

/* Smooth transitions for all interactive elements */
.nav-link,
.btn,
.card {
    transition: all 0.3s ease;
}


/* Scroll reveal animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}